Tone.Volume↳ EXTENDS Tone.AudioNode
Tone.Volume is a simple volume node, useful for creating a volume fader.
CONSTRUCTORnew Tone.Volume ( [
the initial volume
.context↝ Tone.Context READONLY #
Get the audio context belonging to this instance.
.connect ( )#
optionally which output to connect from
optionally which input to connect to
connect the output of a ToneNode to an AudioParam, AudioNode, or ToneNode
.disconnect ( )#
Either the output index to disconnect if the output is an array, or the node to disconnect from.
disconnect the output