OscillatorType Enum

The waveforms of an OscillatorNode (https://webaudio.github.io/web-audio-api/#enumdef-oscillatortype).

public enum OscillatorType

Fields

NameValueDescription
Sine0A sine wave.
Square1A square wave.
Sawtooth2A sawtooth wave.
Triangle3A triangle wave.
Custom4A PeriodicWave.