Ladspa problems

I’m using 11.2 x64_86, Creative X-fi Extreme Music sound card. After a bit of searching around, I got surround sound working correctly on my system with the follow .asoundrc:

pcm.!default “plug:upmix51”

pcm.upmix51
{
type upmix
slave.pcm redirect
channels 6
hint {
show on
description “Creative X-Fi 5.1 Surround”
}
}

pcm.redirect
{
type plug
slave.pcm surround51
slave.channels 6
ttable {
0.0 1
1.1 1
2.2 1
3.3 1
4.4 1
5.5 1
0.5 0.20
1.5 0.20
}
}

The “upmix” plugin takes 2.0 sources and upmixes them to 5.1. It leaves 5.1 sources alone. The “redirect” plugin is to redirect left and right front channel bass frequencies to the subwoofer.

I’m stuck here, however. I have tried to add a low-pass ladspa plugin to limit what is getting fed to the subwoofer. When I add it to .asoundrc, it breaks it.

pcm.!default “plug:upmix51”

pcm.upmix51
{
type upmix
slave.pcm redirect
channels 6
hint {
show on
description “Creative X-Fi 5.1 Surround”
}
}

pcm.redirect
{
type plug
slave.pcm lowpass
slave.channels 6
ttable {
0.0 1
1.1 1
2.2 1
3.3 1
4.4 1
5.5 1
0.5 0.20
1.5 0.20
}
}

pcm.lowpass {
type ladspa
slave.pcm surround51
path “/usr/lib64/ladspa”
channels 6
plugins {
0 {
id 1098 #
policy duplicate
input.bindings.0 “Input”;
output.bindings.0 “Output”;
}
1 {
id 1672 # 4 Pole Low-Pass Filter with Resonance (FCRCIA) (1672/lp4pole_fcrcia_oa)
policy none
input.bindings.5 “Input”;
output.bindings.5 “Output”;
input {
controls 120 2 ]
}

       }
         }
    }

I got the script for the lowpass plugin itself from various sources, all with essentially the same info. It doesn’t work for me, however. I’m sure that all the ladspa stuff is properly installed.

Any help?

IMHO this is far too advanced for the users on our forum.

You are better off trying to go to IRC channel freenode #alsa and see if one of the sound gurus there can help you. And typically one needs to ask a dozen times over the course of a few days, at different times in the day to get a response (as the gurus there are from all around the world).

Even then, I’m a big skeptical you can succeed.

You could try writing a bug report on openSUSE-11.2 (guidance here: Submitting Bug Reports - openSUSE use your openSUSE user name and password) and that will get the attention of an alsa developer who works for openSUSE, but given this is beyond the basic, he may or may not help. Note he will not read forum threads so you must put everything relevant in the bug report.

You could also try the same, but this time write it on openSUSE-11.3 milestone3 (first download the milestone3 liveCD and apply this to the liveCD during a boot). An 11.3 milestone3 release bug report may get more attention than an 11.2 bug report.

Or you could also try for a feature request in openFATE: https://features.opensuse.org/, noting the feature you want is NOT supported, and then reference the work you have done on this. Again, use your forum username and password to log on.

Sorry that I can not help directly.

Thanks for the reply. I was hoping the problem would something simple and obvious, but apparently not. I’ll see if can generate some interest over at alsa.