Tone.Zero

↳ EXTENDS Tone.SignalBase

Tone.Zero outputs 0’s at audio-rate. The reason this has to be it’s own class is that many browsers optimize out Tone.Signal with a value of 0 and will not process nodes further down the graph.

CONSTRUCTOR

new Tone.Zero ( )

Methods

.dispose ( )

#
↪ returns Tone.Zero

this

clean up

</>
inherited from Tone.SignalBase

.connect ( )

#
node
type: AudioParam or AudioNode or Tone.Signal or Tone
outputNumber

The output number to connect from.

type: number
default: 0
inputNumber

The input number to connect to.

type: number
default: 0
↪ returns Tone.SignalBase

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.

</>
docs generated Sep 15 2019