Skoczek
Posts: 9
Joined: Mon Feb 18, 2013 10:36 pm

MPD and equalizer

Sat Aug 03, 2013 11:16 am

Hi

Anyone get worked any equalizer when playing music from mpd? I'm working on music and internet radio player based on pi but i can't get any working eq. I have tried alsaequal but when i changing settings in 'alsamixer -D equal' sound doesn't change.

Sorry for my bad English and thanks for any help.

Greetings
Skoczek


// Added
Now I'm finally get it to work. The problem was in the user that runs mpd (mpd has it own user to run service so you need to do everything as this user).

bullwinkle
Posts: 117
Joined: Wed Jan 09, 2013 12:14 pm

Re: MPD and equalizer

Mon Aug 05, 2013 6:24 pm

Hi there,

I was wondering if you could help me?
I have Alsaequal working with mplayer, but I can not get it working with mpd.
I try to run with

Code: Select all

sudo -u mpd alsamixer -D equal
based on your comment above and the mixer appears, but mpd does not respond to the changes I make on the equalizer.

I've tried changing a few items in mdp.conf and asound.conf, based on some info I found via google, but I had no luck.

any help is appreciated...

cdlt,

///////
Edit - SOLVED
ok, I found the right configuration in mdp.conf I use

Code: Select all

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
}
my asound.conf looks like this

Code: Select all

ctl.equal {
   type equal;
}

pcm.plugequal {
   type equal;
   slave {
     pcm "plughw:0,0";
   }
}

pcm.mmap0 {
   type mmap_emul;
   slave {
     pcm plugequal;
   }
        

anandvnath
Posts: 2
Joined: Mon Feb 08, 2016 4:45 am

Re: MPD and equalizer

Sat Mar 26, 2016 11:16 am

I have setup RPI for HiFi stereo system.

I have the following setup:

AudioQuest DragonFly USB DAC
MPD with UPMPD Client

I have following config in my /etc/mpd.conf using which I am able to play music lossless to my DAC.

Code: Select all

audio_output {
  type            "alsa"
  name            "Audioquest Dragonfly"
  device          "hw:1,0"  # using card1
  auto_format     "no"
  auto_resample   "no"
  auto_channels   "no"
}
Now I want to use an equalizer in this setup. I tried the configuration mentioned in this post to configure alsaequal.

I configured /etc/asound.conf to have:

Code: Select all

ctl.equal {
   type equal;
}

pcm.plugequal {
   type equal;
   slave {
     pcm "plughw:1,0"; ## since I want to use card1
   }
}

pcm.equal {
  type plug;
  slave.pcm plugequal;
}
And /etc/mpd.conf contains:

Code: Select all

audio_output {
        type            "alsa"
        name            "Audioquest Dragonfly"
#       device          "hw:1,0"
        device          "plug:plugequal"
        auto_format     "no"
        auto_resample   "no"
        auto_channels   "no"
        mixer_device    "hw:1,0"
        mixer_control   "PCM"   
        mixer_index     "0"     
        dop             "no"
}
If I use this config, I do not have any output to my DAC. I tried many combinations, but did not get any working.
What I notice is that I have to set

Code: Select all

audio_output {
....
    device          "hw:1,0"
....
}
I don't get anything on my DAC if I change this.

Any suggestions on how I can fix it would be helpful.

Thanks

Return to “Graphics, sound and multimedia”