createWaveShaper
Summary
Creates a WaveShaperNode, used to apply a distortion effect to audio.
Method of apis/webaudio/AudioContextapis/webaudio/AudioContext
Syntax
var = AudioContext.createWaveShaper();
Return Value
Returns an object of type
WaveShaperNode
Examples
var audioCtx = new AudioContext();
var distortion = audioCtx.createWaveShaper();
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft