You are not logged in.
audio_output {
type "alsa"
name "My ALSA EQ"
device "plug:plugequal"
}Last edited by ivanovnegro (2011-11-19 23:41:40)
Offline
Offline
Thank you for helping, but step 3 is not working as previously. I restart MPD and then I cannot play anything. GMPC is saying:
problems opening audio deviceLast edited by ivanovnegro (2011-11-14 01:09:19)
Offline
audio_output {
type "alsa"
name "My ALSA EQ"
device "plug:plugequal"
format "44100:16:2" # optional
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}like this?
Offline
Yes, exactly. I cannot help myself. I just cannot figure this out, it drives me nuts.
Offline
You don't accidentally have other audio_outputs defined in mpdconf?
And you edit the 'right' mpdconf? (No pun, I made the mistake once, using mpd.conf instead of .mpdconf, or something like this)
Offline
I use only one audio output and am really editing the correct config file. Everything works also perfectly here, just cannot configure it to work with the EQ.
This is my actual audio output section and that of course works but if I change that I am out of business:
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0"
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}MPD is really a big headache always. When I first wanted to set things up in the early days, I could not and now this. That I cannot use the EQ is a kick in the a** because it works so good with my bunch of music and I am an audiophile, I cannot use this crappy Alsa sound forever. 
Offline
Meh @alsa
What about .asoundrc, does it look like
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
# Modify the line below if you don't
# want to use sound card 0.
slave.pcm "plug:dmix";
}this (partly)?
Offline
Yes, it looks like this, otherwise the EQ would not work at all but it works system wide.
Offline
do you run mpd as root? If yes, run alsamixer -D equal as root, too. Can't think of anything else.
Offline
Offline
Ok, I solved it finally. There is always a solution, you have just to find it.
So, here is what I did.
I changed first again the mpd.conf with the alsaequal output instead of default Alsa:
audio_output {
type "alsa"
name "My ALSA EQ"
device "plug:plugequal"
format "44100:16:2" # optional
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}Of course I had no sound again but this time I had no connection error to audio device with a client.
But to be possible to actually here the music, I had to change something trivial. As root:
usermod -aG audio mpdThis will add MPD to the audio group, where my user is also.
cat /etc/group | grep audioThis command showed me that MPD is also in the audio group.
Pressed play on whatever client and I have sound and alsaequal is working now with MPD.
This workaround in my case is when you set to use MPD as your user and not as root.
Now I think I am an MPD Pro or not. 
Offline
Good morning @HerrIvanov
MPD is like a very hot lady - hard to get, but if you get her, she rubs you the right way
Anyway, glad you solved it! Now you can pull up everything to 11 
Offline
ivanovnegro
Thank you so much, you made my day!
My MPD started to need this out of the blue, before it always well worked with alsaequal without needing any output declared before, so with autodetect, so this was really unexpected but I found your thread rather quickly
thanks for the solution !
Last edited by Clind (2013-09-04 20:30:14)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat