First, make sure you have installed the
bs2b
library:sudo apt-get install libbs2b0
gstreamer0.10-bs2b
package which I have already uploaded to a PPA (Precise and Quantal):sudo add-apt-repository ppa:beebarss-saj-ma/misc
sudo apt-get update
sudo apt-get install gstreamer0.10-bs2b
Type the following line into a terminal window to see if the effect works:
gst-launch-0.10 audiotestsrc ! crossfeed ! autoaudiosink
Once you have checked that everything is working correctly, you need to set a global pipeline to enable the crossfeed effect for all Gstreamer players:
gconftool --type string --set /system/gstreamer/0.10/default/musicaudiosink "crossfeed preset=YOURPRESET ! autoaudiosink"
The bs2b library provides three presets:
- preset=0 / Closest to virtual speaker placement (30°, 3 meter)
- preset=1 / (Cmoy) Close to Chu Moy's crossfeeder (popular)
- preset=2 / (Jmeier) Close to Jan Meier's CORDA amplifiers (little change)
Example: Activate the Cmoy preset
gconftool --type string --set /system/gstreamer/0.10/default/musicaudiosink "crossfeed preset=1 ! autoaudiosink"
To view your settings, use the following command:
gconftool-2 -a /system/gstreamer/0.10/default
NOTE: You can disable the bs2b effect by executing the following command:
gconftool --unset /system/gstreamer/0.10/default/musicaudiosink
Comments