Liking cljdoc? Tell your friends :D

web.audio.AudioNode

The AudioNode interface is a generic interface for representing audio processing module. Examples include:

The AudioNode interface is a generic interface for representing
audio processing module. Examples include:
raw docstring

channel-countcljs

(channel-count this)

Property.

The channelCount property of the web.audio.AudioNode interface an integer used to determine how many channels are used when and down-mixing connections to any inputs to the node.

var oscillator = audioCtx.createOscillator(); var channels = oscillator.channelCount;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount

Property.

The channelCount property of the `web.audio.AudioNode` interface
an integer used to determine how many channels are used when
and down-mixing connections to any inputs to the node.

`var oscillator = audioCtx.createOscillator();
var channels = oscillator.channelCount;`

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

channel-count-modecljs

(channel-count-mode this)

Property.

The possible values of channelCountMode and their meanings are:

var oscillator = audioCtx.createOscillator(); oscillator.channelCountMode = 'explicit';

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode

Property.

The possible values of channelCountMode and their meanings are:

`var oscillator = audioCtx.createOscillator();
oscillator.channelCountMode = 'explicit';`

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

channel-interpretationcljs

(channel-interpretation this)

Property.

When the number of channels doesn't match between an input and output, up- or down-mixing happens according the following rules. can be somewhat controlled by setting the AudioNode.channelInterpretation to speakers or discrete:

var oscillator = audioCtx.createOscillator(); oscillator.channelInterpretation = 'discrete';

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation

Property.

When the number of channels doesn't match between an input and
output, up- or down-mixing happens according the following rules.
can be somewhat controlled by setting the `AudioNode.channelInterpretation`
to speakers or discrete:

`var oscillator = audioCtx.createOscillator();
oscillator.channelInterpretation = 'discrete';`

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

connectcljs

(connect this & args)

Method.

If the destination is a node, connect() returns a reference to destination web.audio.AudioNode object, allowing you to chain connect() calls. In some browsers, older implementations of this return js.undefined.

`var destinationNode = AudioNode.connect(destination, outputIndex, inputIndex);

AudioNode.connect(destination, outputIndex);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect

Method.

If the destination is a node, connect() returns a reference to
destination `web.audio.AudioNode` object, allowing you to chain
connect() calls. In some browsers, older implementations of this
return `js.undefined`.

`var destinationNode = AudioNode.connect(destination, outputIndex, inputIndex);

AudioNode.connect(destination, outputIndex);`

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

contextcljs

(context this)

Property.

[Read Only]

The read-only context property of the web.audio.AudioNode interface the associated web.audio.BaseAudioContext, that is the object the processing graph the node is participating in.

var aContext = anAudioNode.context;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/context

Property.

[Read Only]

The read-only context property of the `web.audio.AudioNode` interface
the associated `web.audio.BaseAudioContext`, that is the object
the processing graph the node is participating in.

`var aContext = anAudioNode.context;`

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

disconnectcljs

(disconnect this & args)

Method.

js.undefined

`AudioNode.disconnect();

AudioNode.disconnect(output);

AudioNode.disconnect(destination);

AudioNode.disconnect(destination, output);

AudioNode.disconnect(destination, output, input);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/disconnect

Method.

`js.undefined`

`AudioNode.disconnect();

AudioNode.disconnect(output);

AudioNode.disconnect(destination);

AudioNode.disconnect(destination, output);

AudioNode.disconnect(destination, output, input);`

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

number-of-inputscljs

(number-of-inputs this)

Property.

[Read Only]

The numberOfInputs property of the web.audio.AudioNode interface the number of inputs feeding the node.

var numInputs = audioNode.numberOfInputs;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfInputs

Property.

[Read Only]

The numberOfInputs property of the `web.audio.AudioNode` interface
the number of inputs feeding the node.

`var numInputs = audioNode.numberOfInputs;`

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

number-of-outputscljs

(number-of-outputs this)

Property.

[Read Only]

The numberOfOutputs property of the web.audio.AudioNode interface the number of outputs coming out of the node.

var numOutputs = audioNode.numberOfOutputs;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/numberOfOutputs

Property.

[Read Only]

The numberOfOutputs property of the `web.audio.AudioNode` interface
the number of outputs coming out of the node.

`var numOutputs = audioNode.numberOfOutputs;`

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

set-channel-count!cljs

(set-channel-count! this val)

Property.

The channelCount property of the web.audio.AudioNode interface an integer used to determine how many channels are used when and down-mixing connections to any inputs to the node.

var oscillator = audioCtx.createOscillator(); var channels = oscillator.channelCount;

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCount

Property.

The channelCount property of the `web.audio.AudioNode` interface
an integer used to determine how many channels are used when
and down-mixing connections to any inputs to the node.

`var oscillator = audioCtx.createOscillator();
var channels = oscillator.channelCount;`

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

set-channel-count-mode!cljs

(set-channel-count-mode! this val)

Property.

The possible values of channelCountMode and their meanings are:

var oscillator = audioCtx.createOscillator(); oscillator.channelCountMode = 'explicit';

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelCountMode

Property.

The possible values of channelCountMode and their meanings are:

`var oscillator = audioCtx.createOscillator();
oscillator.channelCountMode = 'explicit';`

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

set-channel-interpretation!cljs

(set-channel-interpretation! this val)

Property.

When the number of channels doesn't match between an input and output, up- or down-mixing happens according the following rules. can be somewhat controlled by setting the AudioNode.channelInterpretation to speakers or discrete:

var oscillator = audioCtx.createOscillator(); oscillator.channelInterpretation = 'discrete';

See also: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation

Property.

When the number of channels doesn't match between an input and
output, up- or down-mixing happens according the following rules.
can be somewhat controlled by setting the `AudioNode.channelInterpretation`
to speakers or discrete:

`var oscillator = audioCtx.createOscillator();
oscillator.channelInterpretation = 'discrete';`

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

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

× close