Equalizer for ALSA
|Version||Status||Date Updated||Updated By|
|810||Relevant||19th July 2011||purps|
ALSA stands for Advanced Linux Sound Architecture, and is a Linux kernel component for providing device drivers for sound cards. This page aims to walk you through the steps of installing an ALSA plugin called alsaequal that will give you a graphical equalizer on the command line. Doing this will allow you to fine tune the various frequency strengths i.e. bass, treble, etc.
I decided to do this because my speakers do not have any bass control, but to be honest, it's a great way of getting that perfect sound from your system. Yes I'm sure many people have fancy Hi-Fis and amplifiers that can do all of this, but if like me you are not an audiophile, but want to get the best out of the equipment that you have, then this is a good way to go. AND it can be done remotely.
If you are not already, make yourself root...
sudo su -
Just check you are in the root equivalent of the home directory...
...the output of which should be "/root").
Before we can start, we need to install a few dependencies...
apt-get install build-essential caps libasound2-dev libasound2-plugins
(you may find some or all of these are already installed).
And finally, we need to download the alsa equalizer plugin itself...
Firstly, we need to uncompress what we have just downloaded, using...
tar -xjvvf alsaequal-0.6.tar.bz2
Then we need to enter the folder that has just been extracted (type "ls" to list what is in the current directory if you don't believe me). This folder contains the goodies we need to complete the installation...
And now for the make/install stuff...
make clean make
...checking there aren't any errors. And then...
make install make clean
...and that's it, alsaequal is now installed.
But we're not quite done. Before alsaequal will work properly, we have to set up a configuration file, enabling alsaequal to interact with ALSA properly. This is as simple as making a text file in "/root" called ".asoundrc". As a beginner, I like to use nano, so I would type...
...but nano is not installed by default. You can use vi or vim or whatever it is called instead.
Either way, paste the following into the blank file...