createPeriodicWave method
PeriodicWave
createPeriodicWave(
- JSArray<
JSNumber> real, - JSArray<
JSNumber> imag, [ - 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
external PeriodicWave createPeriodicWave(
JSArray<JSNumber> real,
JSArray<JSNumber> imag, [
PeriodicWaveConstraints constraints,
]);