setPeriodicWave abstract method

void setPeriodicWave(
  1. PeriodicWave periodicWave
)

The setPeriodicWave() method of the OscillatorNode is used to point to a PeriodicWave defining a periodic waveform that can be used to shape the oscillator's output, when OscillatorNode.type is custom.

Implementation

void setPeriodicWave(PeriodicWave periodicWave);