Baseline Widely available
The curve
property of the WaveShaperNode
interface is a Float32Array
of numbers describing the distortion to apply.
The mid-element of the array is applied to any signal value of 0
, the first one to signal values of -1
, and the last to signal values of 1
; values lower than -1
or greater than 1
are treated like -1
or 1
respectively.
If necessary, intermediate values of the distortion curve are linearly interpolated.
Note: The array can be a null
value: in that case, no distortion is applied to the input signal.
A Float32Array
.
See BaseAudioContext.createWaveShaper()
for example code.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3