A UGen that normalizes the input amplitude to the given level. Unlike
Compander
, this UGen will not overshoot, but it needs to look ahead in the
input signal, introducing a delay in its output. The delay time is equal to
twice the value of the dur
parameter (the buffer internally used).
===Examples===
// compare dry and wet
play {
val z = Decay2.ar(
Impulse.ar(8, phase = LFSaw.kr(0.25) * 0.7),
attack = 0.001, release = 0.3) * FSinOsc.ar(500)
val in = z * SinOsc.ar(0.05) * 0.5
val flt = Normalizer.ar(in, dur = 0.15, level = 0.4)
LinXFade2.ar(in, flt, MouseButton.kr(-1, 1))
}
- See also
- Companion
- class
Type members
Value members
Concrete methods
- Value Params
- dur
look-ahead time in seconds. Shorter times will produce smaller delays and quicker transient response times, but may introduce amplitude modulation artifacts. ''(init-time only)''
- in
input signal to be normalized
- level
peak output amplitude level to which to normalize the input