Re: asoundrc, ladspa and biamplification

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

 



Hi Frédéric,
I tried exactly the same some time ago. Unfortunately the outcome wasthe same: no sound on both amps. My guess was, that the front and rear"output thingy" mute each other when they got initialized, that is onecould use either of them but not both. I don't know for sure but theonly option I see is to combine the streams and then route it throughthe surround51 device but I never came that far.
Cheers, Jan
---
BISSON Frédéric wrote:> 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 test> I 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 multi> plugin and the ladspa plugins but I have not been able to determine what> was wrong. I have also tested each part individually and they seem to> work. 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 frequencies> pcm.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 lpf> pcm.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 hpf> pcm.copymediumhigh {>   type plug>   slave.pcm "mediumhigh">   slave.format FLOAT_LE>   slave.rate 44100>   slave.channels 2> }> > # apply low-pass filter at 200 Hz> pcm.bass {>   type ladspa>   slave.pcm "copyfront">   path "/usr/lib64/ladspa">   plugins [ {>     label lpf>      input {>        controls [ 200 ]>      }>   } ]> }> > # apply high-pass filter at 200 Hz> pcm.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 defined> pcm.copyfront {>   type plug>   slave.pcm "front"> }> > # send medium-high stream to rear speakers> # rear is system defined> pcm.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