PeriodicWave
js.html.audio.PeriodicWave (extern class)
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()
.
Documentation PeriodicWave by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Instance Members
new(context: BaseAudioContext, ?options: Null<PeriodicWaveOptions>): Void
Name | Type | Default |
---|---|---|
context |
BaseAudioContext | |
options |
Null<PeriodicWaveOptions> | (optional) |