createPeriodicWave abstract method

PeriodicWave createPeriodicWave(
  1. Float32List real,
  2. Float32List 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(
  Float32List real,
  Float32List imag, [
  PeriodicWaveConstraints constraints,
]);