Enabling Equalizer on Raspberry Pi using ALSA equal Plugin


This post shows how to setup a system wide equalizer on Raspberry Pi using ALSA equal plugin. Below are my setup.

  • Raspberry Pi3 B+ with Raspbian Stretch (2018 April version)
  • 3.5 mm plug Speaker

 

Contents
– Assumptions
– Steps
1. Equalizer Plugin Installation
2. ALSA Configuration
3. Play audio
4. Verify Equalizer
– Notes
– Reference

 

Steps
1. Equalizer Plugin Installation

 

2. ALSA Configuration
2-1. Create .asoundrc.

2-2. Add the lines below, save and close the file.

2-3. Reload .asoundrc.

 

3. Play audio
Play a sample sound file in a loop for testing.

Note: Press Ctrl+C to exit.

 

4. Verify Equalizer
Adjust the equalizer by using alsamixer command.

The sound from Raspberry Pi’s speaker should change as you change the equalizer values.

 

Notes
Since Raspbian Stretch, Bluetooth audio is handled by ALSA using bluez-alsa [2]. So if A2DP sink is enabled, this equalizer can be also applied on Bluetooth audio.

 

References
[1] Raspbian: the great Equalizer
[2] Raspbian Stretch has arrived – Raspberry Pi Official Blog

 

 

Sponsor Link

Leave a Reply

Your email address will not be published. Required fields are marked *