WaveShaperNode
js.html.EventTarget → AudioNode → js.html.audio.WaveShaperNode (extern class)
A WaveShaperNode
always has exactly one input and one output.
Documentation WaveShaperNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Instance Members
curve: js.lib.Float32Array
Is a Float32Array
of numbers describing the distortion to apply.
oversample: OverSampleType
Is an enumerated value indicating if oversampling must be used. Oversampling is a technique for creating more samples (up-sampling) before applying the distortion effect to the audio signal.
new(context: BaseAudioContext, ?options: Null<WaveShaperOptions>): Void
Name | Type | Default |
---|---|---|
context |
BaseAudioContext | |
options |
Null<WaveShaperOptions> | (optional) |