Tone.FFT↳ EXTENDS Tone.AudioNode
Get the current waveform data of the connected audio source.
CONSTRUCTORnew Tone.FFT ( [
The size of the FFT. Value must be a power of two in the range 32 to 32768.
.context↝ Tone.Context READONLY #
Get the audio context belonging to this instance.
.getValue ( )#
Gets the waveform of the audio source. Returns the waveform data of length size as a Float32Array with values between -1 and 1.
.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