createOscillator abstract method

OscillatorNode createOscillator()

The createOscillator() method of the BaseAudioContext creates an OscillatorNode, a source representing a periodic waveform. It basically generates a constant tone.

Note: The OscillatorNode.OscillatorNode constructor is the recommended way to create a OscillatorNode; see Creating an AudioNode.

Implementation

OscillatorNode createOscillator();