I was able to follow Tom1502 guide to successfully install and configure the Alsaequal, thank you! However, I noticed my sound card was randomly assigned to card 0 or card 1 on each reboot by the OS, this made the Hifiberry card intermittently no sound when the card# configured did not match the Hifiberry sound card number. Is there a way to fix the sound card to either card0 or card1?
Same problem here! Plus, the mpd configuration (the audio_output section) is changed back to defaultâŚ
name: âalsaâ âŚinstead of the configurated one (âequalâ)
device: "hw:0,0) âŚinstead of âplug:plugequalâ.
This makes me get into SSH and modify the mpd in every new session, not only to get the right âaudio-outputâ but also to activate âalsaequalâ.
Does this workf with the Hifiberry Digi+ (which has no alsa controls at all)? I tried following the instructions, but when I set mpd.conf to use âplug:plugequalâ I only get a âfailed to open audio deviceâ or similar. Otherwise I get the equalizer with âalsamixer -D equalâ, but it doesnât affect the sound. However, âaplay -D plug:plugequal test.wavâ works fine: I get sound and it responds to the equalizer.
I suceeded, in combining the equalizer with software mixer, so now I have software volume, balance and equalizer control. Think the key was using right device names and permissions.
After configuring Volumio to use the software mixer, I added the equalizer plugin to /etc/asound.conf
[code]ctl.equal {
type equal
controls /home/volumio/.alsaequal.bin
}
pcm.plugequal {
type equal
slave.pcm âplughw:1,0â
controls /home/volumio/.alsaequal.bin
}
pcm.equal {
type plug
slave.pcm plugequal
}[/code]
Note the configuration file, which is in the âvolumioâ userâs directory. I granted world-writable permissions to this file, so the âmpdâ user can still read and write the configuration. Then I chaged the âpcm.softvolâ block, so that instead of:
pcm "plughw:1,0"
it says:
pcm "equal"
that is, the software mixer sends the result to the equalizer instead of the physical card, and the equalizer sends it to the card. I tried doing it the other way around, but couldnât get it to work. And I think I had to change /etc/mpd.conf to use âsoftvolâ instead of âsoftvolumeâ, but I canât see why. Running âsudo service mpd restartâ then did it. I can control everything with âalsamixerâ (as the âvolumioâ user).