You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably a result of me missing something important in the documentation, but I am struggling to get the equaliser applied across all the audio sources for my Raspberry Pi.
I primarily use MPD and Shairport-Sync, both of which run as services using the standard user ids (mpd and shairport-sync). I then have another user account which I can use to access the box over SSH or via a web ui. When I play music the sound is therefore coming from one (or more) of these three accounts.
Initially I tried using all the default configuration for the equaliser with my pcm and ctl entries named equaliser. This worked well when I tested using aplay and alsamixer -D equaliser but not when I used mpd or anything else. I found that mpd could be controlled if I used sudo -H -u mpd alsamixer -D equal (which doesn't match any pcm or ctl that I have defined...).
Reading more of the docs I saw that the default config file location is under $HOME which seemed to be a potential problem (neither mpd nor shairport-sync have home directories). I therefore explicitly defined a folder /equaliser and set controls to be /equaliser/.alsaequal.bin. Once I set the permissions correctly (folder and file owned by my user account and group audio, file permissions 664) I was able to access the control from all three accounts.
My problem, however, remains. If I change the equaliser using alsamixer -D equaliser then it only affects audio played by my user account. What I want is to make changes using alsamixer and have that affect the audio from mpd and shairport-sync as well. Is that possible, and if so what do I need to do to get it working?
Thank you!
The text was updated successfully, but these errors were encountered:
This is probably a result of me missing something important in the documentation, but I am struggling to get the equaliser applied across all the audio sources for my Raspberry Pi.
I primarily use MPD and Shairport-Sync, both of which run as services using the standard user ids (
mpd
andshairport-sync
). I then have another user account which I can use to access the box over SSH or via a web ui. When I play music the sound is therefore coming from one (or more) of these three accounts.Initially I tried using all the default configuration for the equaliser with my
pcm
andctl
entries namedequaliser
. This worked well when I tested usingaplay
andalsamixer -D equaliser
but not when I usedmpd
or anything else. I found thatmpd
could be controlled if I usedsudo -H -u mpd alsamixer -D equal
(which doesn't match anypcm
orctl
that I have defined...).Reading more of the docs I saw that the default config file location is under
$HOME
which seemed to be a potential problem (neithermpd
norshairport-sync
have home directories). I therefore explicitly defined a folder/equaliser
and setcontrols
to be/equaliser/.alsaequal.bin
. Once I set the permissions correctly (folder and file owned by my user account and groupaudio
, file permissions 664) I was able to access the control from all three accounts.My problem, however, remains. If I change the equaliser using
alsamixer -D equaliser
then it only affects audio played by my user account. What I want is to make changes using alsamixer and have that affect the audio from mpd and shairport-sync as well. Is that possible, and if so what do I need to do to get it working?Thank you!
The text was updated successfully, but these errors were encountered: