type property

OscillatorType get type

The type property of the OscillatorNode interface 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

external OscillatorType get type;
set type (OscillatorType value)

Implementation

external set type(OscillatorType value);