Tone.Normalize
↳ EXTENDS Tone.SignalBaseNormalize takes an input min and max and maps it linearly to NormalRange [0,1]
CONSTRUCTOR
new Tone.Normalize (inputMin
, inputMax
)
inputMin
the min input value
type:
number
inputMax
the max input value
type:
number
EXAMPLE
var norm = new Tone.Normalize(2, 4);
var sig = new Tone.Signal(3).connect(norm);
//output of norm is 0.5.