LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2020, 09:16 PM   #1
Ghost-Order
Member
 
Registered: Jan 2020
Distribution: Arch Linux
Posts: 52

Rep: Reputation: Disabled
CMUS library view and MOCP volume control questions


For Cmus, is there a way to display the music in the first view according to the album name and not the artist? At first I liked very much this music player but when I wanted to listen an OST album that contains music from different artists I have to create a playlist to group all the music from an album. A solution was playing music from the browser view (5) but the problem is when a track finish it starts playing music randomly from the sorted view (2).

So because of this I search for other terminal like music player and I found Mocp, and at first it seems to do the job but then I realize the volume control was global. Is there a way to control the volume in a way that only affects the music player?

Last edited by Ghost-Order; 02-18-2020 at 09:32 PM.
 
Old 02-19-2020, 07:20 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Both players are of the sort that requires you to read some documentation.
I don't use cmus, but for MOC I can say: "softvolume" exists. I don't remember if it's necessary to edit the config or accessible from the UI.
You can also tell it which sound architecture to use.
 
Old 02-19-2020, 07:30 AM   #3
Ghost-Order
Member
 
Registered: Jan 2020
Distribution: Arch Linux
Posts: 52

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Both players are of the sort that requires you to read some documentation.
I don't use cmus, but for MOC I can say: "softvolume" exists. I don't remember if it's necessary to edit the config or accessible from the UI.
You can also tell it which sound architecture to use.
Yeah, I read both manuals but I couldn't find anything regarding these subjects. I think 'softvolume' and 'sound architecture' are the keywords here, thank you I will search more about that.
 
Old 02-19-2020, 11:45 AM   #4
Ghost-Order
Member
 
Registered: Jan 2020
Distribution: Arch Linux
Posts: 52

Original Poster
Rep: Reputation: Disabled
Ok I found that the issue here is the sound driver, I was using mocp with the default configuration and for my purpose being enabling a 'local' volume control instead of the 'global' aka 'master' one that comes with the program by default I needed to enable the Jack Server, because that would make the driver run as a service (sorry if this sounds awfully redundant but I was a Windows 10 user and all this things are new to me) and that way it becomes a kind of separate entity from the music player, please correct me if I'm wrong or misunderstanding how this works.

So when I enabled the jackserver and then started mocp, it indeed started but before that it showed me a message saying that I needed add this line in /etc/security/limits.conf
Code:
@audio           -       rtprio          99
After doing that I start again mocp and it again started but before it showed a message saying that although my system had an audio group I myself was not member of it so I did:
Code:
sudo usermod -a -G audio "my user name"
as the message said, then I restarted the pc.

Now finally the master volume changed to 'soft-mixer' and now the volume control does not affect my system globally. However, again, before mocp starts the terminal displays a message with the following:

Code:
could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory

JACK compiled with System V SHM support.
cannot lock down memory for jackd (Cannot allocate memory)
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
JACK: unable to mlock() port buffers: Cannot allocate memory
JACK: unable to mlock() port buffers: Cannot allocate memory
JACK server started

jack main caught signal 12

Now I have two issues that maybe are related to that message.
1- From time to time (in a 30-45 secs interval approximately) the audio quality drops for about 1 or 2 secs
2- I can't play tracks from playlists, I hit enter again and again and nothing happens.

Anyone can give me a hand on this subject?

Last edited by Ghost-Order; 02-19-2020 at 11:48 AM.
 
Old 02-22-2020, 02:01 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Sorry but you are vastly overthinking this.
There was no need at all to make such deep changes to your system.
I am currently not using MOC, but I reinstalled it and must say I was wrong: Softvolume does not do what I thought.
Question: what sound architecture were you originally using (before you messed your system up)?
I guess pulseaudio.
There are two approaches to use MOC with pulseaudio:
- through OSS - but I don't know how that works
- install 'apulse' and use it to start moc: 'apulse mocp'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: cmus – A Small, Fast And Powerful Console Music Player For Linux LXer Syndicated Linux News 0 09-22-2017 04:01 AM
mocp volume control problem illusionoflife Linux From Scratch 2 04-18-2011 11:57 PM
LXer: How-To: Enable Last.fm Song Submission in CMus in Debian and Ubuntu LXer Syndicated Linux News 0 04-26-2009 04:50 PM
moc or cmus? Berticus Linux - Software 0 07-17-2008 08:35 PM
Alternative to mocp frenchn00b Linux - Software 1 09-28-2007 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration