Hallo, Mirko Maier hat gesagt: // Mirko Maier wrote:
- Is there any reason not to use [limiter~] (i.e. to stay Vanilla)?
I would like to understand it! And [limiter~] also produces a dampening not in the right moment (my 2nd question).
- To avoid clicks, look at:
[num
| [pack 0 50] | [line~]That doesn't work in my patch, there is still a big peak when i give a short (10 ms) loud sound.
... which is normal, because your input signal has a short click, too. A limiter will not elimiate clicks of arbitrary shortness. A lowpass filter does that or a clipper.
- [env~] gives "RMS amplitude which (for a sinusoid) is about 3 dB
below peak-to-peak amplitude" (from the [env~] help patch). For a limiter you are definitely interested in the peaks and not the average!!!!
A limiter does not fully eliminate peaks (see above). If you *really* want everything be below the cliping range, you would use [clip~ -1 1]. But that would not sound right and would give distortion. You can still use clip~ after the limiter if you want to be extra cautious. But any "real" limiter will use an analysis over a certain number of samples and calculate the average of that to change the volume.
Anyway you should definitely declick the limiting operation as well the way Derek described, i.e. with a line~. Limiters and compressors generally let you configure the interpolation time with controlls like attack and release times.
Attached is a declicked version of your patch, which also has an input declicker.
You can find e_dynproc in the rj librarya here: http://trac.rjdj.me/browser/trunk/rjlib/rj
Frank