PeriodicWave

external class PeriodicWave(context: BaseAudioContext, options: PeriodicWaveOptions = definedExternally)(source)

PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The PeriodicWave itself is created/returned by AudioContext.createPeriodicWave().

MDN Reference

Constructors

Link copied to clipboard
constructor(context: BaseAudioContext, options: PeriodicWaveOptions = definedExternally)