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 ``js-nolint setPeriodicWave(wave) `` - wave - : A PeriodicWave object representing the waveform to use as the shape of the oscillator's output.

MDN Reference