Hello,

I have a problem with my ALSA configuration: I want to use LADSPA plugins.

I installed all ALSA packages according to the BLFS book and configured it
by ~/.asoundrc trial and error. I now have 5.1 sound (ASUS A7N8X Deluxe)
also from stereo sources played with aplay. I now want to use plugins for
several reasons. The main reason is that I want to send only low frequencies
(below 80 Hz) to my subwoofer. The ALSA documentation suggests the LADSPA
plugin 'lpf' (lowpass filter) for this task. So I created the 'type ladspa'
part of ~/.asoundrc according to the ALSA documentation. It should work,
because there are no other configuration examples on the net, and I searched
for nearly a week. But it doesn't work:

aplay -D filter test.wav
aplay: set_params:860 Broken configuration for this PCM: no configurations
available

My devices 'dmixer0-51' and '2to6' work. This is my ~/.asoundrc:

#### BEGIN ####
pcm.dmixer0-51 {
 type dmix
 ipc_key 1024
 slave {
  channels 6
  pcm "hw:0,0"
  period_time 0
  period_size 1024
  buffer_size 4096
  rate 44100
 }
 bindings {
  0 0
  1 1
  2 2
  3 3
  4 4
  5 5
 }
}

pcm.2to6 {
 type route
 slave {
  pcm "dmixer0-51"
  channels 6
 }
 ttable.0.0 1.0
 ttable.0.2 1.0
 ttable.0.4 0.5
 ttable.0.5 0.5
 ttable.1.1 1.0
 ttable.1.3 1.0
 ttable.1.4 0.5
 ttable.1.5 0.5
}

pcm.filter {
 type ladspa
 slave.pcm 2to6
 path "/usr/local/lib/ladspa"
 plugins [ {
   label lpf
   input {
    controls [ 50 ]
   }
  } ]
}
#### END ####

I have a clean BLFS system. Is there a configuration (file) missing, that
other distros have?

Thanks for your time!

Michael

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to