PeriodicWave Class
An arbitrary periodic waveform for an OscillatorNode (https://webaudio.github.io/web-audio-api/#PeriodicWave), defined by the coefficients of its Fourier series.
public sealed class PeriodicWaveConstructors
| Name | Description |
|---|---|
| PeriodicWave(BaseAudioContext, PeriodicWaveOptions?) | Creates a periodic wave. |
PeriodicWave(BaseAudioContext, PeriodicWaveOptions?)
PeriodicWave.csCreates a periodic wave.
public PeriodicWave(BaseAudioContext context, PeriodicWaveOptions? options = null)Parameters
contextBaseAudioContextoptionsPeriodicWaveOptions?
Exceptions
DomException- The coefficient arrays have different lengths, or a length less than 2 (an
IndexSizeError).