Tone.LFO↳ EXTENDS Tone.AudioNode
LFO stands for low frequency oscillator. Tone.LFO produces an output signal which can be attached to an AudioParam or Tone.Signal in order to modulate that parameter with an oscillator. The LFO can also be synced to the transport to start/stop and change when the tempo changes.
CONSTRUCTORnew Tone.LFO ( [
.amplitude↝ Number #
The amplitude of the LFO, which controls the output range between the min and max output. For example if the min is -10 and the max is 10, setting the amplitude to 0.5 would make the LFO modulate between -5 and 5.
.state↝ Tone.State READONLY #
Returns the playback state of the source, either “started” or “stopped”.
.context↝ Tone.Context READONLY #
Get the audio context belonging to this instance.
.start ( )#
Start the LFO.
.stop ( )#
Stop the LFO.
.sync ( )#
Sync the start/stop/pause to the transport and the frequency to the bpm of the transport
.disconnect ( )#
Either the output index to disconnect if the output is an array, or the node to disconnect from.
disconnect the output