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!
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close