Crossfeed in Ubuntu?
Apr 20, 2012 at 8:20 PM Thread Starter Post #1 of 5

manveru

Headphoneus Supremus
Joined
Oct 1, 2011
Posts
3,556
Likes
76
I've been hopelessly searching for a way to implement crossfeed in Ubuntu (11.10). Something that I could use with Audacious like a LADSPA plugin would be ideal. My Google searches keep turning up bs2b, but I can't for the life of me figure out how to get it working. Can anyone help? Thanks.
 
Apr 21, 2012 at 5:10 AM Post #2 of 5
Install libbs2b and ladspa-bs2b. Launch a text editor and edit either ~/.asoundrc or /etc/asound.conf (those files might not already exist) and copy the following:

Code:
pcm.!default "crossfeed"
ctl.!default "crossfeed"

pcm.soundcard { type hw; card 0; device 0; }
pcm.plugSoundcard { type plug; slave.pcm "soundcard"; }

pcm.bs2b {
 type ladspa
 slave.pcm "plugSoundcard"
 path "/usr/lib/ladspa"
 playback_plugins [ {
 label bs2b
 } ]
}

pcm.crossfeed { type plug; slave.pcm "bs2b"; }
ctl.crossfeed { type hw; card 0; }

Set your player to output to ALSA's "default". Restart it. Push play.

That should work. I have no idea how to tweak the plugin's settings, however.
 
Apr 21, 2012 at 5:57 AM Post #4 of 5
If there are no packages for your distribution, you can compile and install them from source.
http://sourceforge.net/projects/bs2b/files/libbs2b/3.1.0/
http://sourceforge.net/projects/bs2b/files/plugins/LADSPA%20plugin/0.9.1/

In ~/.asoundrc or /etc/asound.conf, replace "card 0" and "device 0" accordingly (run "aplay -l" to find out which is your USB DAC).
 
Apr 21, 2012 at 3:31 PM Post #5 of 5
 
Quote:
If there are no packages for your distribution, you can compile and install them from source.
http://sourceforge.net/projects/bs2b/files/libbs2b/3.1.0/
http://sourceforge.net/projects/bs2b/files/plugins/LADSPA%20plugin/0.9.1/
In ~/.asoundrc or /etc/asound.conf, replace "card 0" and "device 0" accordingly (run "aplay -l" to find out which is your USB DAC).

 
Finally got it working. As it turns out neither .asoundrc or asound.conf exist for me, and if I created them it broke my music player. But then, I noticed that it shows up as a plugin in Audacious, just not where I was expecting it to show up so I didn't notice it at first. Thanks for your help! 
L3000.gif

 

Users who are viewing this thread

Back
Top