createPeriodicWave abstract method

PeriodicWave createPeriodicWave(
  1. TauArray<TauNumber> real,
  2. TauArray<TauNumber> imag, [
  3. PeriodicWaveConstraints constraints
])

The createPeriodicWave() method of the BaseAudioContext Interface is used to create a PeriodicWave, which is used to define a periodic waveform that can be used to shape the output of an OscillatorNode.

Implementation

PeriodicWave createPeriodicWave(
  TauArray<TauNumber> real,
  TauArray<TauNumber> imag, [
  PeriodicWaveConstraints constraints,
]);