squelch.nodes.wave-shaper

get-curve

(get-curve wave-shaper)
Is a Float32Array of numbers describing the distortion to apply.

get-oversample

(get-oversample wave-shaper)
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. Valid settings are none, 2x, and 4x.

set-curve

(set-curve wave-shaper curve)
Is a Float32Array of numbers describing the distortion to apply.

set-oversample

(set-oversample wave-shaper value)
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. Valid settings are none, 2x, and 4x.