Hi sbp,
Here are the instructions and the links to the test-tcz packages.
One thing to note, this package uses an older version of caps. I tried to use the newer version of caps with alsaequal, and I almost got it working. I got to the point that I could start the equalizer. But when I started squeezelite with the equalizer, I got an segmentation fault..
So, I parked that one for a later date.
Anyway, here are the instructions for alsaequal with caps version 0.4.5, both compiled on piCore-7.0beta1:
Download the tcz packages, and add them to the onboot list:
cd /home/tc
wget http://www.gerrelt.nl/RaspberryPi/alsaequal.tcz -P /mnt/mmcblk0p2/tce/optional
wget http://www.gerrelt.nl/RaspberryPi/caps-0.4.5.tcz -P /mnt/mmcblk0p2/tce/optional
sudo echo "alsaequal.tcz" >> /mnt/mmcblk0p2/tce/onboot.lst
sudo echo "caps-0.4.5.tcz" >> /mnt/mmcblk0p2/tce/onboot.lst
Create a new file called asound.conf in the /etc directory:
sudo nano /etc/asound.conf
and copy-paste this content to it:
ctl.equal {
type equal;
controls "/home/tc/.alsaequal.bin"
library "/usr/local/lib/ladspa/caps.so"
}
pcm.plugequal {
type equal;
slave.pcm "plughw:0,0";
controls "/home/tc/.alsaequal.bin"
library "/usr/local/lib/ladspa/caps.so"
}
pcm.equal {
type plug;
slave.pcm plugequal;
}
Check if "plughw:0,0" contains the correct soundcard number, see
this chapter of my equalizer tutorial for more info.
Save and exit the file.
And add it to the .filetool.lst:
sudo echo etc/asound.conf >> /opt/.filetool.lst
Open the squeezelite settings file (this part might be different on your setup):
sudo nano -c /usr/local/bin/squeezelite_settings.sh
And change the
SL_SOUNDCARD value to "
equal" .
Save and exit the file, and don't forget to backup all the files now! :
filetool.sh -b
Do a reboot:
sudo reboot
Squeezelite should be up and running after the reboot....
Now, open the equalizer:
sudo alsamixer -D equal
And change some settings. To check if it is working, set all values to zero except the base. You should now hear a horrible muffled sound...
After you did your settings to your liking, exit the equalizer with escape, and don't forget to create a backup now!! :
filetool.sh -b
Otherwise your settings will be set to default after a reboot.
Let me know if this is working for you.
Greetings,
Gerrelt.