type property

OscillatorType type

The type property of the OscillatorNode specifies what shape of waveform the oscillator will output. There are several common waveforms available, as well as an option to specify a custom waveform shape. The shape of the waveform will affect the tone that is produced.

Implementation

OscillatorType get type;
void type=(OscillatorType value)

Implementation

set type(OscillatorType value);