asoundrc, ladspa and biamplification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there !
I'm trying to do biamplification (maybe triamplification) under Linux(FC6 x86_64) with ALSA and an Audigy 1 ES.
I tried the following configuration :
                -- Low-pass filter --- rear speakers --->               /->-multi plugin               \                -- High-pass filter -- front speakers --->
(the asoundrc is at the end of this mail)
I use aplay -Dbiamp test.wav to run a testI get no error message but my speakers emit no sound.aplay -v -v -Dbiamp test.wav does not give more help.
After investigation, it seems that the problem is between the multiplugin and the ladspa plugins but I have not been able to determine whatwas wrong. I have also tested each part individually and they seem towork. It is not due to a mixer settings as every output is set to max,neither it is due to a jack incorrectly plugged behind the soundcard.
Does anyone have tried to do something similar ?Does anyone see what I did wrong ?
Thanks
Frédéric Bisson
------ ~/.asoundrc -------------------------------------------------# generate a 4 channels stream from a 2 channels stream (stereo)pcm.biamp {  type plug  slave.pcm "bassmediumhigh"  route_policy "duplicate"}
# create a fork with 2x2 channels stream from one 4 channels stream,# one stream for bass frequencies and# one stream for medium-high frequenciespcm.bassmediumhigh {  type multi
  slaves {    a {      pcm "copybass"      channels 2    }
    b {      pcm "copymediumhigh"      channels 2    }  }
  bindings [    { slave a channel 0 }    { slave a channel 1 }    { slave b channel 0 }    { slave b channel 1 }  ]}
# convert bass stream from multi to accomodate ladspa lpfpcm.copybass {  type plug  slave.pcm "bass"  slave.format FLOAT_LE  slave.rate 44100  slave.channels 2}
# convert medium-high stream from multi to accomodate ladspa hpfpcm.copymediumhigh {  type plug  slave.pcm "mediumhigh"  slave.format FLOAT_LE  slave.rate 44100  slave.channels 2}
# apply low-pass filter at 200 Hzpcm.bass {  type ladspa  slave.pcm "copyfront"  path "/usr/lib64/ladspa"  plugins [ {    label lpf     input {       controls [ 200 ]     }  } ]}
# apply high-pass filter at 200 Hzpcm.mediumhigh {  type ladspa  slave.pcm "copyrear"  path "/usr/lib64/ladspa"  plugins [ {    label hpf     input {       controls [ 200 ]     }  } ]}
# send bass stream to front speakers# front is system definedpcm.copyfront {  type plug  slave.pcm "front"}
# send medium-high stream to rear speakers# rear is system definedpcm.copyrear {  type plug  slave.pcm "rear"}
-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys - and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux