W3cubDocs

/Haxe JavaScript

WaveShaperNode

package js.html.audio

extends AudioNodeEventTarget

@:native("WaveShaperNode") 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:

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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/audio/WaveShaperNode.html