Tone.Scale↳ EXTENDS Tone.SignalBase
Performs a linear scaling on an input signal. Scales a NormalRange input to between outputMin and outputMax.
CONSTRUCTORnew Tone.Scale ( [
The output value when the input is 0.
The output value when the input is 1.
.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.
.connect ( )#
The output number to connect from.
The input number to connect to.
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