-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume control via mpc / ncmpc is often ignored #19
Comments
The issue is still there in mopidy 2.2.3 and mopidy-alsamixer 1.1.1. |
The problem still persists... Is there any way I can further debug it? |
Hi, really sorry for the lack of replies here. Any MPD volume commands that Mopidy receives will be logged so you can see Mopidy's response to them (I'm using the software mixer here).
Run The README for Mopidy-ALSAMixer states:
But you say you are using linear scale, right? |
I tried what you suggested. When I run mopidy in verbose mode, I see something like
The effect is: when I press for example the key for decreasing volume in ncmpc or send a "vol -5" via mpc, the volume command mopidy receives is unaltered. The volume scale already is linear. |
I'd like to add: To repeat what I find bizarre: when I control the volume via ncmpc, for example, when I push the volume key for "lower the volume", the volume percentage
|
The readme states cubic is what alsamixer uses. Linear seems to be the wrong setting if you are trying to compare against alsamixer. I'm not saying it's the issue but you can't compare two different scales. |
Setting the volume scale to cubic does change nothing for me. |
I can confirm that I have the same issue using ncmpcpp, I am also using alsamixer |
I already wrote a forum query for this, but I didn't get any reaction. I still consider this a bug:
https://discourse.mopidy.com/t/volume-control-via-mpc-ncmpc-sometimes-is-ignored/3298
mopidy/stable,now 2.2.2-1 all
mopidy-alsamixer/stable 1.0.3-3 all
I use volume control via mpc from remote machines. I always send commands “volume -5” and “volume +5”. But sometimes, these commands seem to be ignored.
Even when I log in to the mopidy machine and try to control the volume via local ncmpc, volume control commands sometimes are ignored (I have alsamixer open in parallel to see if there are changes).
Also, what from my point of view really should’nt happen, is a misalignment between alsamixer’s volume and the volume reported by ncmpc. For example,
alsamixer says 76%, ncmpc says 84%.
I push the right cursor key for “louder” in ncmpc -> nothing happens.
I push it again -> nothing happens.
I push it a third time: the sound card as reported by alsamixer is spontaneously set to 80%, volume in ncmpc is reported to be 87%.
Iset the alsamixer min_/max_ volume values to 0 and 100, scale to linear, so there shouldn’t be problems.
To conclude, I see the following pattern:
For example, when repeatedly issuing “vol +”-commands, I see that a volume change is only applied every second/third time and then with 2 - 3% mostly.
Nevertheless, there is a discrepance between the volume percentage reported to mpd-clients (mpc / ncmpc) and the volume which is indeed set in alsamixer.
From my point of view, I consider this a bug. However, no error messages or warnings are logged in the mopidy log when controlling the volume.
The text was updated successfully, but these errors were encountered: