Skip to content

Equalizer

project-owner edited this page Oct 31, 2018 · 3 revisions

Peppy Player leverages ALSA Equalizer plugin. It can be installed using the following command:

sudo apt-get install -y libasound2-plugin-equal

After installation the entry for the Equalizer plugin should be added to the ALSA configuration file .asoundrc. If the file doesnt't exist it should be created in the folder /home/pi. Here is the content of that file:

pcm.!default {
  type plug
  slave.pcm plugequal;
}
ctl.!default {
  type hw card 0
}
ctl.equal {
  type equal;
}
pcm.plugequal {
  type equal;
  slave.pcm "plughw:0,0";
}
pcm.equal {
  type plug;
  slave.pcm plugequal;
}

New Equalizer device equal can be tested in terminal by running the following command:

alsamixer -D equal

It should be also defined as output device for the media players in file /home/pi/Peppy/players.txt. Here is example of the definition for VLC player:

[vlc.linux] 
server.command = --aout=alsa --alsa-audio-device=equal --verbose=-1

At the moment Peppy Player doesn't provide Equalizer functionality on Windows platform.

<<Previous | Next>>

Contents

Clone this wiki locally