extends AudioNode › EventTarget
Available on HTML5
OscillatorNode interface represents a periodic waveform, like a sine wave. It is an
AudioNode audio-processing module that causes a given frequency of sine wave to be created — in effect, a constant tone.
Documentation OscillatorNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.
AudioParam representing detuning of oscillation in cents (though the AudioParam` returned is read-only, the value it represents is not.)
AudioParam representing the frequency of oscillation in hertz (though the AudioParam` returned is read-only, the value it represents is not.)
Represents the shape of the oscillator wave generated. Different waves will produce different tones.
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