setPeriodicWave method

void setPeriodicWave(
  1. PeriodicWave periodicWave
)

The setPeriodicWave() method of the OscillatorNode interface 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

external void setPeriodicWave(PeriodicWave periodicWave);