Tone.ScaleExp
↳ EXTENDS Tone.SignalBasePerforms an exponential scaling on an input signal. Scales a NormalRange value [0,1] exponentially to the output range of outputMin to outputMax.
CONSTRUCTOR
new Tone.ScaleExp ( [The output value when the input is 0.
The output value when the input is 1.
The exponent which scales the incoming signal.
EXAMPLE
Members
.exponent
↝ number #Instead of interpolating linearly between the min
and max
values, setting the exponent will interpolate between the two values with an exponential curve.
.max
↝ number #The maximum output value. This number is output when the value input value is 1.
.min
↝ number #The minimum output value. This number is output when the value input value is 0.
Methods
.connect ( )
#The output number to connect from.
The input number to connect to.
this
When signals connect to other signals or AudioParams, they take over the output value of that signal or AudioParam. For all other nodes, the behavior is the same as a default connect
.