NormalizeWindow

final case class NormalizeWindow(in: D, size: I, mode: I) extends SingleOut[Double]

A UGen that normalizes each input window according to a mode. It can be used for normalizing the value range or removing DC offset. If the last window is not entirely filled, the output will pad that window always to zero (no matter the normalization mode!)

A window size of 1 should be avoided (and does not really make sense), although the UGen makes efforts to not output NaN values.

Value parameters:
in

the input signal

mode

0 for normalizing the amplitude to 1, 1 for fitting into the range of 0 to 1, 2 for fitting into the range of -1 to 1, 3 for removing DC (creating a mean of zero).

size

the input's window size

Companion:
object
trait Serializable
trait SingleOut[Double]
trait Lazy[Double]
trait GE[Double]
trait Expander[UGenInLike[Double]]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final def name: String
Inherited from:
UGenSource
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product