W3cubDocs

/Haxe JavaScript

WaveShaperNode

package js.html.audio

extends AudioNodeEventTarget

Available on js

A WaveShaperNode always has exactly one input and one output.

Documentation WaveShaperNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(context:BaseAudioContext, ?options:Null<WaveShaperOptions>)

Throws:

null

DOMError

Variables

curve: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.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/audio/WaveShaperNode.html