Liking cljdoc? Tell your friends :D

web.audio.PannerNode

A PannerNode always has exactly one input and one output: the can be mono or stereo but the output is always stereo (2 channels); can't have panning effects without at least two audio channels!

A PannerNode always has exactly one input and one output: the
can be mono or stereo but the output is always stereo (2 channels);
can't have panning effects without at least two audio channels!
raw docstring

cone-inner-anglecljs

(cone-inner-angle this)

Property.

A double.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.coneInnerAngle = 360;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle

Property.

A double.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneInnerAngle = 360;`

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

cone-outer-anglecljs

(cone-outer-angle this)

Property.

A double.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.coneOuterAngle = 0;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle

Property.

A double.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneOuterAngle = 0;`

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

cone-outer-gaincljs

(cone-outer-gain this)

Property.

The coneOuterGain property of the web.audio.PannerNode interface a double value, describing the amount of volume reduction outside cone, defined by the coneOuterAngle attribute.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.coneOuterGain = 0;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain

Property.

The coneOuterGain property of the `web.audio.PannerNode` interface
a double value, describing the amount of volume reduction outside
cone, defined by the `coneOuterAngle` attribute.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneOuterGain = 0;`

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

constructorcljs

(constructor & args)

Constructor.

The PannerNode() constructor of the Web Audio API creates a new web.audio.PannerNode object instance.

Inherits parameters from the web.audio.AudioNodeOptions dictionary.

\tcontext \tA web.audio.BaseAudioContext representing the audio context you want the node to be associated with. \toptions Optional \tA PannerOptions dictionary object defining the properties you want the PannerNode to have (It also inherits the options defined in the AudioNodeOptions dictionary.):

\t\tpanningModel: The PannerNode.panningModel you want the web.audio.PannerNode to have (the default is equalpower.) \t\tdistanceModel: The PannerNode.distanceModel you want the web.audio.PannerNode to have (the default is inverse.) \t\tpositionX: The PannerNode.positionX you want the web.audio.PannerNode to have (the default is 0.) \t\tpositionY: The PannerNode.positionY you want the web.audio.PannerNode to have (the default is 0.) \t\tpositionZ: The PannerNode.positionZ you want the web.audio.PannerNode to have (the default is 0.) \t\torientationX: The PannerNode.orientationX you want the web.audio.PannerNode to have (the default is 1.) \t\torientationY: The PannerNode.orientationY you want the web.audio.PannerNode to have (the default is 0.) \t\torientationZ: The PannerNode.orientationZ you want the web.audio.PannerNode to have (the default is 0.) \t\trefDistance: The PannerNode.refDistance you want the web.audio.PannerNode to have. The default is 1, and negative values are not allowed. \t\tmaxDistance: The PannerNode.maxDistance you want the web.audio.PannerNode to have. The default is 10000, and non-positive values are not allowed. \t\trollOffFactor: The PannerNode.rollOffFactor you want the web.audio.PannerNode to have. The default is 1, and negative values are not allowed. \t\tconeInnerAngle: The PannerNode.coneInnerAngle you want the web.audio.PannerNode to have (the default is 360.) \t\tconeOuterAngle: The PannerNode.coneOuterAngle you want the web.audio.PannerNode to have (the default is 360.) \t\tconeOuterGain: The PannerNode.coneOuterGain you want the web.audio.PannerNode to have. The default is 0, and its value can be in the range 0–1.

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

Constructor.

The PannerNode() constructor of the Web Audio API creates a new `web.audio.PannerNode` object instance.

Inherits parameters from the `web.audio.AudioNodeOptions` dictionary.


\tcontext
\tA `web.audio.BaseAudioContext` representing the audio context you want the node to be associated with.
\toptions Optional
\tA PannerOptions dictionary object defining the properties you want the PannerNode to have (It also inherits the options defined in the AudioNodeOptions dictionary.):

\t\tpanningModel: The `PannerNode.panningModel` you want the `web.audio.PannerNode` to have (the default is equalpower.)
\t\tdistanceModel: The `PannerNode.distanceModel` you want the `web.audio.PannerNode` to have (the default is inverse.)
\t\tpositionX: The `PannerNode.positionX` you want the `web.audio.PannerNode` to have (the default is 0.)
\t\tpositionY: The `PannerNode.positionY` you want the `web.audio.PannerNode` to have (the default is 0.)
\t\tpositionZ: The `PannerNode.positionZ` you want the `web.audio.PannerNode` to have (the default is 0.)
\t\torientationX: The `PannerNode.orientationX` you want the `web.audio.PannerNode` to have (the default is 1.)
\t\torientationY: The `PannerNode.orientationY` you want the `web.audio.PannerNode` to have (the default is 0.)
\t\torientationZ: The `PannerNode.orientationZ` you want the `web.audio.PannerNode` to have (the default is 0.)
\t\trefDistance: The `PannerNode.refDistance` you want the `web.audio.PannerNode` to have. The default is 1, and negative values are not allowed.
\t\tmaxDistance: The `PannerNode.maxDistance` you want the `web.audio.PannerNode` to have. The default is 10000, and non-positive values are not allowed.
\t\trollOffFactor: The `PannerNode.rollOffFactor` you want the `web.audio.PannerNode` to have. The default is 1, and negative values are not allowed.
\t\tconeInnerAngle: The `PannerNode.coneInnerAngle` you want the `web.audio.PannerNode` to have (the default is 360.)
\t\tconeOuterAngle: The `PannerNode.coneOuterAngle` you want the `web.audio.PannerNode` to have (the default is 360.)
\t\tconeOuterGain: The `PannerNode.coneOuterGain` you want the `web.audio.PannerNode` to have. The default is 0, and its value can be in the range 0–1.

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

distance-modelcljs

(distance-model this)

Property.

A enum — see DistanceModelType.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.distanceModel = 'inverse';

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel

Property.

A enum — see DistanceModelType.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.distanceModel = 'inverse';`

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

max-distancecljs

(max-distance this)

Property.

A double. The default is 10000, and non-positive values are not

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.maxDistance = 10000;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance

Property.

A double. The default is 10000, and non-positive values are not

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.maxDistance = 10000;`

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

orientation-xcljs

(orientation-x this)

Property.

An web.audio.AudioParam whose value is the X component of the in which the audio source is facing, in 3D Cartesian coordinate

`var orientationX = PannerNode.orientationX;

PannerNode.orientationX.value = newOrientationX;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationX

Property.

An `web.audio.AudioParam` whose value is the X component of the
in which the audio source is facing, in 3D Cartesian coordinate

`var orientationX = PannerNode.orientationX;

PannerNode.orientationX.value = newOrientationX;`

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

orientation-ycljs

(orientation-y this)

Property.

An web.audio.AudioParam whose value is the Y component of the the audio source is facing, in 3D Cartesian coordinate space.

`var orientationY = PannerNode.orientationY;

PannerNode.orientationY.value = newOrientationY;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationY

Property.

An `web.audio.AudioParam` whose value is the Y component of the
the audio source is facing, in 3D Cartesian coordinate space.

`var orientationY = PannerNode.orientationY;

PannerNode.orientationY.value = newOrientationY;`

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

orientation-zcljs

(orientation-z this)

Property.

An web.audio.AudioParam whose value is the Z component of the the audio source is facing, in 3D Cartesian coordinate space.

`var orientationZ = PannerNode.orientationZ;

PannerNode.orientationZ.value = newOrientationZ;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationZ

Property.

An `web.audio.AudioParam` whose value is the Z component of the
the audio source is facing, in 3D Cartesian coordinate space.

`var orientationZ = PannerNode.orientationZ;

PannerNode.orientationZ.value = newOrientationZ;`

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

panning-modelcljs

(panning-model this)

Property.

A enum — see PanningModelType.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.panningModel = 'HRTF';

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel

Property.

A enum — see PanningModelType.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.panningModel = 'HRTF';`

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

position-xcljs

(position-x this)

Property.

An web.audio.AudioParam whose value is the X coordinate of audio source's position, in 3D Cartesian coordinates. The default is 0.

`var positionX = PannerNode.positionX;

PannerNode.positionX.value = newPositionX;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionX

Property.

An `web.audio.AudioParam` whose value is the X coordinate of
audio source's position, in 3D Cartesian coordinates. The default
is 0.

`var positionX = PannerNode.positionX;

PannerNode.positionX.value = newPositionX;`

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

position-ycljs

(position-y this)

Property.

An web.audio.AudioParam whose value is the Y coordinate of audio source's position, in 3D Cartesian coordinates.

`var positionY = PannerNode.positionY;

PannerNode.positionY.value = newPositionY;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionY

Property.

An `web.audio.AudioParam` whose value is the Y coordinate of
audio source's position, in 3D Cartesian coordinates.

`var positionY = PannerNode.positionY;

PannerNode.positionY.value = newPositionY;`

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

position-zcljs

(position-z this)

Property.

An web.audio.AudioParam whose value is the Z coordinate of audio source's position, in 3D Cartesian coordinates.

`var positionZ = PannerNode.positionZ;

PannerNode.positionZ.value = newPositionZ;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionZ

Property.

An `web.audio.AudioParam` whose value is the Z coordinate of
audio source's position, in 3D Cartesian coordinates.

`var positionZ = PannerNode.positionZ;

PannerNode.positionZ.value = newPositionZ;`

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

ref-distancecljs

(ref-distance this)

Property.

A non-negative number. If the value is set to less than 0, a is thrown.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.refDistance = 1;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance

Property.

A non-negative number. If the value is set to less than 0, a
is thrown.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.refDistance = 1;`

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

rolloff-factorcljs

(rolloff-factor this)

Property.

A number whose range depends on the distanceModel of the panner follows (negative values are not allowed):

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.rolloffFactor = 1;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor

Property.

A number whose range depends on the `distanceModel` of the panner
follows (negative values are not allowed):

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.rolloffFactor = 1;`

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

set-cone-inner-angle!cljs

(set-cone-inner-angle! this val)

Property.

A double.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.coneInnerAngle = 360;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle

Property.

A double.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneInnerAngle = 360;`

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

set-cone-outer-angle!cljs

(set-cone-outer-angle! this val)

Property.

A double.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.coneOuterAngle = 0;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterAngle

Property.

A double.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneOuterAngle = 0;`

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

set-cone-outer-gain!cljs

(set-cone-outer-gain! this val)

Property.

The coneOuterGain property of the web.audio.PannerNode interface a double value, describing the amount of volume reduction outside cone, defined by the coneOuterAngle attribute.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.coneOuterGain = 0;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneOuterGain

Property.

The coneOuterGain property of the `web.audio.PannerNode` interface
a double value, describing the amount of volume reduction outside
cone, defined by the `coneOuterAngle` attribute.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneOuterGain = 0;`

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

set-distance-model!cljs

(set-distance-model! this val)

Property.

A enum — see DistanceModelType.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.distanceModel = 'inverse';

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/distanceModel

Property.

A enum — see DistanceModelType.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.distanceModel = 'inverse';`

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

set-max-distance!cljs

(set-max-distance! this val)

Property.

A double. The default is 10000, and non-positive values are not

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.maxDistance = 10000;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/maxDistance

Property.

A double. The default is 10000, and non-positive values are not

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.maxDistance = 10000;`

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

set-orientationcljs

(set-orientation this & args)

Method.

Void.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.setOrientation(1,0,0);

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setOrientation

Method.

Void.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.setOrientation(1,0,0);`

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

set-orientation-x!cljs

(set-orientation-x! this val)

Property.

An web.audio.AudioParam whose value is the X component of the in which the audio source is facing, in 3D Cartesian coordinate

`var orientationX = PannerNode.orientationX;

PannerNode.orientationX.value = newOrientationX;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationX

Property.

An `web.audio.AudioParam` whose value is the X component of the
in which the audio source is facing, in 3D Cartesian coordinate

`var orientationX = PannerNode.orientationX;

PannerNode.orientationX.value = newOrientationX;`

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

set-orientation-y!cljs

(set-orientation-y! this val)

Property.

An web.audio.AudioParam whose value is the Y component of the the audio source is facing, in 3D Cartesian coordinate space.

`var orientationY = PannerNode.orientationY;

PannerNode.orientationY.value = newOrientationY;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationY

Property.

An `web.audio.AudioParam` whose value is the Y component of the
the audio source is facing, in 3D Cartesian coordinate space.

`var orientationY = PannerNode.orientationY;

PannerNode.orientationY.value = newOrientationY;`

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

set-orientation-z!cljs

(set-orientation-z! this val)

Property.

An web.audio.AudioParam whose value is the Z component of the the audio source is facing, in 3D Cartesian coordinate space.

`var orientationZ = PannerNode.orientationZ;

PannerNode.orientationZ.value = newOrientationZ;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/orientationZ

Property.

An `web.audio.AudioParam` whose value is the Z component of the
the audio source is facing, in 3D Cartesian coordinate space.

`var orientationZ = PannerNode.orientationZ;

PannerNode.orientationZ.value = newOrientationZ;`

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

set-panning-model!cljs

(set-panning-model! this val)

Property.

A enum — see PanningModelType.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.panningModel = 'HRTF';

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel

Property.

A enum — see PanningModelType.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.panningModel = 'HRTF';`

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

set-positioncljs

(set-position this & args)

Method.

Void.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.setPosition(0,0,0);

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setPosition

Method.

Void.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.setPosition(0,0,0);`

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

set-position-x!cljs

(set-position-x! this val)

Property.

An web.audio.AudioParam whose value is the X coordinate of audio source's position, in 3D Cartesian coordinates. The default is 0.

`var positionX = PannerNode.positionX;

PannerNode.positionX.value = newPositionX;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionX

Property.

An `web.audio.AudioParam` whose value is the X coordinate of
audio source's position, in 3D Cartesian coordinates. The default
is 0.

`var positionX = PannerNode.positionX;

PannerNode.positionX.value = newPositionX;`

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

set-position-y!cljs

(set-position-y! this val)

Property.

An web.audio.AudioParam whose value is the Y coordinate of audio source's position, in 3D Cartesian coordinates.

`var positionY = PannerNode.positionY;

PannerNode.positionY.value = newPositionY;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionY

Property.

An `web.audio.AudioParam` whose value is the Y coordinate of
audio source's position, in 3D Cartesian coordinates.

`var positionY = PannerNode.positionY;

PannerNode.positionY.value = newPositionY;`

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

set-position-z!cljs

(set-position-z! this val)

Property.

An web.audio.AudioParam whose value is the Z coordinate of audio source's position, in 3D Cartesian coordinates.

`var positionZ = PannerNode.positionZ;

PannerNode.positionZ.value = newPositionZ;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/positionZ

Property.

An `web.audio.AudioParam` whose value is the Z coordinate of
audio source's position, in 3D Cartesian coordinates.

`var positionZ = PannerNode.positionZ;

PannerNode.positionZ.value = newPositionZ;`

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

set-ref-distance!cljs

(set-ref-distance! this val)

Property.

A non-negative number. If the value is set to less than 0, a is thrown.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.refDistance = 1;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/refDistance

Property.

A non-negative number. If the value is set to less than 0, a
is thrown.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.refDistance = 1;`

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

set-rolloff-factor!cljs

(set-rolloff-factor! this val)

Property.

A number whose range depends on the distanceModel of the panner follows (negative values are not allowed):

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.rolloffFactor = 1;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/rolloffFactor

Property.

A number whose range depends on the `distanceModel` of the panner
follows (negative values are not allowed):

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.rolloffFactor = 1;`

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

set-velocitycljs

(set-velocity this & args)

Method.

[Obsolute]

The setVelocity() method of the web.audio.PannerNode Interface the velocity vector of the audio source — how fast it is moving in what direction.

var audioCtx = new AudioContext(); var panner = audioCtx.createPanner(); panner.setVelocity(0,0,17);

See also: https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/setVelocity

Method.

[Obsolute]

The setVelocity() method of the `web.audio.PannerNode` Interface
the velocity vector of the audio source — how fast it is moving
in what direction.

`var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.setVelocity(0,0,17);`

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

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

× close