Normalizer

object Normalizer extends ProductReader[Normalizer]

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
trait Product
trait Mirror
trait ProductReader[Normalizer]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar(in: GE, level: GE, dur: GE): Normalizer
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

def kr(in: GE, level: GE, dur: GE): Normalizer
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

def read(in: RefMapIn, key: String, arity: Int): Normalizer