Liking cljdoc? Tell your friends :D

web.audio.WaveShaperNode

A WaveShaperNode always has exactly one input and one output.

A WaveShaperNode always has exactly one input and one output.
raw docstring

curvecljs

(curve this)

Property.

The curve property of the web.audio.WaveShaperNode interface a js.Float32Array of numbers describing the distortion to apply.

var audioCtx = new AudioContext(); var distortion = audioCtx.createWaveShaper(); distortion.curve = myCurveDataArray; // myCurveDataArray is a Float32Array

See also: https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve

Property.

The curve property of the `web.audio.WaveShaperNode` interface
a `js.Float32Array` of numbers describing the distortion to apply.

`var audioCtx = new AudioContext();
var distortion = audioCtx.createWaveShaper();
distortion.curve = myCurveDataArray; // myCurveDataArray is a Float32Array`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve`
sourceraw docstring

oversamplecljs

(oversample this)

Property.

The oversample property of the web.audio.WaveShaperNode interface an enumerated value indicating if oversampling must be used. is a technique for creating more samples (up-sampling) before a distortion effect to the audio signal.

distortion.oversample = enumeratedValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample

Property.

The oversample property of the `web.audio.WaveShaperNode` interface
an enumerated value indicating if oversampling must be used.
is a technique for creating more samples (up-sampling) before
a distortion effect to the audio signal.

`distortion.oversample = enumeratedValue;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample`
sourceraw docstring

set-curve!cljs

(set-curve! this val)

Property.

The curve property of the web.audio.WaveShaperNode interface a js.Float32Array of numbers describing the distortion to apply.

var audioCtx = new AudioContext(); var distortion = audioCtx.createWaveShaper(); distortion.curve = myCurveDataArray; // myCurveDataArray is a Float32Array

See also: https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve

Property.

The curve property of the `web.audio.WaveShaperNode` interface
a `js.Float32Array` of numbers describing the distortion to apply.

`var audioCtx = new AudioContext();
var distortion = audioCtx.createWaveShaper();
distortion.curve = myCurveDataArray; // myCurveDataArray is a Float32Array`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/curve`
sourceraw docstring

set-oversample!cljs

(set-oversample! this val)

Property.

The oversample property of the web.audio.WaveShaperNode interface an enumerated value indicating if oversampling must be used. is a technique for creating more samples (up-sampling) before a distortion effect to the audio signal.

distortion.oversample = enumeratedValue;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample

Property.

The oversample property of the `web.audio.WaveShaperNode` interface
an enumerated value indicating if oversampling must be used.
is a technique for creating more samples (up-sampling) before
a distortion effect to the audio signal.

`distortion.oversample = enumeratedValue;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WaveShaperNode/oversample`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close