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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to