setPeriodicWave

fun setPeriodicWave(periodicWave: PeriodicWave)(source)

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.

MDN Reference