I probably don't know any answers, but would like to make sure I at least understand the question. Are you trying do AGC on a pair-wise basis? Or, is it something else you're trying to do? Thanks, Robert Riches > Date: Sun, 13 Oct 2013 15:02:42 +0200 > From: Paolo Bolzoni <paolo.bolzoni.brown@xxxxxxxxx> > To: Uwe <upunkt@xxxxxxxxxxxxxx> > Cc: alsa-user@xxxxxxxxxxxxxxxxxxxxx > > I guess I can split the six channels in three limiters using the multi > plugin, but how I can join them back? > In the ladspa are other limiters, but they do not have the "gain" > control so they do not actually increase the > volume. Just adding plain 20db of amplification distorts the sound... > Maybe there is an "limited amplifier" > or something? > > I am trying to set-up a chain of plugins to always get the max volume... > > > On Sun, Oct 13, 2013 at 12:58 AM, Uwe <upunkt@xxxxxxxxxxxxxx> wrote: > > the problem with the configuration, I think, is: the plugins can handle a > > maximum of 2 channels. > > > > unfortunately, I cannot tell you exactly how, but it *should* be possible to > > route 3 pairs of channels to separate instances of the plugins. > > > > such a setup might also make sense musically. it might be a good idea to > > setup separate plugins for "center" and "bass" because the signal in the > > channels differs significantly from the left/right channels in frequency > > range and level. > > > > have fun, Uwe > > > > > > 2013/10/12 Paolo Bolzoni <paolo.bolzoni.brown@xxxxxxxxx> > >> > >> Dear list, > >> This is my .asoundrc, and the pair compressor + limiter works fine for > >> stereo input: > >> > >> ----------- >8 > >> pcm.ladcomp_compressor { > >> type ladspa > >> slave.pcm "ladcomp_limiter"; > >> path "/usr/lib/ladspa"; > >> plugins [{ > >> label dysonCompress > >> input { > >> #peak limit, release time, fast ratio, ratio > >> controls [0 1 0.5 0.99] } > >> }] > >> } > >> > >> pcm.ladcomp_limiter { > >> type ladspa > >> slave.pcm "plughw:Audigy2"; > >> path "/usr/lib/ladspa"; > >> plugins [{ > >> label fastLookaheadLimiter > >> input { > >> #InputGain(Db) -20 -> +20 ; Limit (db) -20 -> 0 ; Release > >> time (s) 0.01 -> 2 > >> controls [ 20 -1 0.8 ] } > >> }] > >> } > >> 8< ----------- > >> > >> Unfortunately, it does not work for 6 channels. > >> > >> I.e., this one works fine (I setup my system to use a certain PCM > >> via environment variable): > >> $ ALSAPCM='pcm.ladcomp_compressor' speaker-test -c 2 -t wav -l 5 > >> > >> This one does not and you hear only the left and right channels. > >> $ ALSAPCM='pcm.ladcomp_compressor' speaker-test -c 6 -t wav -l 5 > >> > >> Of course the hardware is wired correctly and this one works as expected: > >> $ ALSAPCM='pcm.surround51' speaker-test -c 6 -t wav -l 5 > >> > >> > >> Since normally you have to select surround51 manually I thought that the > >> problem could be in the output pcm, and I rewrote like this. But it is the > >> same: > >> > >> ----------- >8 > >> #[...] analogous 51 compressor omitted > >> > >> pcm.plug51 { > >> type plug > >> slave.pcm "surround51" > >> slave.channels 6 > >> } > >> > >> pcm.ladcomp_limiter51 { > >> type ladspa > >> slave.pcm "plug51" > >> path "/usr/lib/ladspa" > >> plugins [{ > >> label fastLookaheadLimiter > >> input { > >> #InputGain(Db) -20 -> +20 ; Limit (db) -20 -> 0 ; Release > >> time (s) 0.01 -> 2 > >> controls [ 20 -1 0.8 ] } > >> }] > >> } > >> 8< ----------- > >> > >> Is there a way? Any insight? > >> > >> Yours faithfully, > >> Paolo > >> > >> > >> ------------------------------------------------------------------------------ > >> October Webinars: Code for Performance > >> Free Intel webinars can help you accelerate application performance. > >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > >> from > >> the latest Intel processors and coprocessors. See abstracts and register > > >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Alsa-user mailing list > >> Alsa-user@xxxxxxxxxxxxxxxxxxxxx > >> https://lists.sourceforge.net/lists/listinfo/alsa-user > > > > > > > > > > -- > > ???????????????????????? > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > > from > > the latest Intel processors and coprocessors. See abstracts and register > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > > _______________________________________________ > > Alsa-user mailing list > > Alsa-user@xxxxxxxxxxxxxxxxxxxxx > > https://lists.sourceforge.net/lists/listinfo/alsa-user > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Alsa-user mailing list > Alsa-user@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/alsa-user ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user