You are not logged in.

#1 2006-09-11 12:41:31

hightower
Member
Registered: 2006-04-02
Posts: 182

"Pipe" all audio streams through a "preproces

Hallo,

I'm trying to configure a global equalizer for my system.
I used the ability of alsa to use ladsap plugins. Now I want that all streams are piped first through the equalizer and then to the dmix pcm.

/etc/asound.conf

#/etc/asound.conf start:
pcm.!default {
  type plug
  slave.pcm "preprocessor"
  }
pcm.dsp0 {
  type plug
  slave.pcm "preprocessor"
  }
  
pcm.dmixer {
  type dmix
  ipc_key 1024

 slave {
  pcm "hw:0,0"
  period_time 0
  period_size 1024
 buffer_size 8192
  rate 44100
  }
 bindings {
  0 0
  1 1
  }
   
}  


pcm.preprocessor {

type ladspa

slave.pcm "dmixer";

path "/usr/lib/ladspa";



 plugins [
 
 {

 label Eq
 
 input {

 controls [ 30 20 40 10 0 20 40 10 10 15 ]

 }
 
 }

 ]
 
 }
 

ctl.dmixer {
  type hw
  card 0
  }
#end.

I get the following error:

aplay /usr/share/sounds/gaim/login.wav 
Playing WAVE '/usr/share/sounds/gaim/login.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable
aplay: set_params:879: Broken configuration for this PCM: no configurations available

how can I solve this?

hightower

Offline

#2 2006-09-13 03:01:53

somairotevoli
Member
Registered: 2006-05-23
Posts: 335

Re: "Pipe" all audio streams through a "preproces

I have been looking for a global eq. myself. Once you get it solved, (hopefully someone here will be able to help) maybe you could document the steps you took?

Offline

#3 2006-09-13 12:46:40

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: "Pipe" all audio streams through a "preproces

My problem is now, that the type dmix only supports hw and no plughw. Is there a known workaround?

hightower

Offline

#4 2007-09-18 09:00:26

somairotevoli
Member
Registered: 2006-05-23
Posts: 335

Re: "Pipe" all audio streams through a "preproces

Any luck ever getting this running?

Offline

Board footer

Powered by FluxBB