Re: Using compressor + limiter with 6 channel sounds

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

 



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

[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