squelch.nodes.oscillator

get-detune

(get-detune oscillator)
An a-rate AudioParam representing detuning of oscillation in cents (though
the AudioParam returned is read-only, the value it represents is not.)

get-frequency

(get-frequency oscillator)
An a-rate AudioParam representing the frequency of oscillation in hertz
(though the AudioParam returned is read-only, the value it represents is
not.)

get-on-ended

(get-on-ended oscillator)
Used to set the event handler for the ended event, which fires when the tone
has stopped playing.

get-type

(get-type oscillator)
Represents the shape of the oscillator wave generated. Different waves will
produce different tones.

set-detune

(set-detune oscillator detune)
An a-rate AudioParam representing detuning of oscillation in cents (though
the AudioParam returned is read-only, the value it represents is not.)

set-frequency

(set-frequency oscillator frequency)
An a-rate AudioParam representing the frequency of oscillation in hertz
(though the AudioParam returned is read-only, the value it represents is
not.)

set-on-ended

(set-on-ended oscillator ended-fn)
Used to set the event handler for the ended event, which fires when the tone
has stopped playing.

set-periodic-wave

(set-periodic-wave oscillator wave)
Used to point to a PeriodicWave defining a periodic waveform that can be used
to shape the oscillator's output, when type = "custom" is used. This
replaces the now-obsolete OscillatorNode.setWaveTable.

set-type

(set-type oscillator wave-type)
Represents the shape of the oscillator wave generated. Different waves will
produce different tones. Supported types are sine, square, sawtooth, triangle,
and custom.

start

(start oscillator)(start oscillator when-seconds)
As defined in AudioBufferSourceNode, this method specifies the exact time to
start playing the tone.

stop

(stop oscillator)(stop oscillator when-seconds)
As defined in AudioBufferSourceNode, this method specifies the exact time to
stop playing the tone.