Liking cljdoc? Tell your friends :D

web.audio.AudioListener

The AudioListener interface represents the position and orientation the unique person listening to the audio scene, and is used in spatialization. All web.audio.PannerNodes spatialize in relation the AudioListener stored in the BaseAudioContext.listener attribute.

The AudioListener interface represents the position and orientation
the unique person listening to the audio scene, and is used in
spatialization. All `web.audio.PannerNode`s spatialize in relation
the AudioListener stored in the `BaseAudioContext.listener` attribute.
raw docstring

doppler-factorcljs

(doppler-factor this)

Property.

[Deprecated]

The deprecated dopplerFactor property of the web.audio.AudioListener is a double value representing the amount of pitch shift to use rendering a doppler effect.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.dopplerFactor = 1;

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

Property.

[Deprecated]

The deprecated dopplerFactor property of the `web.audio.AudioListener`
is a double value representing the amount of pitch shift to use
rendering a doppler effect.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.dopplerFactor = 1;`

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

forward-xcljs

(forward-x this)

Property.

[Read Only]

The forwardX read-only property of the web.audio.AudioListener is an web.audio.AudioParam representing the x value of the vector defining the forward direction the listener is pointing

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.forwardX.value = 0;

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

Property.

[Read Only]

The forwardX read-only property of the `web.audio.AudioListener`
is an `web.audio.AudioParam` representing the x value of the
vector defining the forward direction the listener is pointing

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.forwardX.value = 0;`

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

forward-ycljs

(forward-y this)

Property.

[Read Only]

The forwardY read-only property of the web.audio.AudioListener is an web.audio.AudioParam representing the y value of the vector defining the forward direction the listener is pointing

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.forwardY.value = 0;

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

Property.

[Read Only]

The forwardY read-only property of the `web.audio.AudioListener`
is an `web.audio.AudioParam` representing the y value of the
vector defining the forward direction the listener is pointing

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.forwardY.value = 0;`

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

forward-zcljs

(forward-z this)

Property.

[Read Only]

The forwardZ read-only property of the web.audio.AudioListener is an web.audio.AudioParam representing the z value of the vector defining the forward direction the listener is pointing

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.forwardZ.value = 0;

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

Property.

[Read Only]

The forwardZ read-only property of the `web.audio.AudioListener`
is an `web.audio.AudioParam` representing the z value of the
vector defining the forward direction the listener is pointing

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.forwardZ.value = 0;`

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

position-xcljs

(position-x this)

Property.

[Read Only]

The positionX read-only property of the web.audio.AudioListener is an web.audio.AudioParam representing the x position of the in 3D cartesian space.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.positionX.value = 1;

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

Property.

[Read Only]

The positionX read-only property of the `web.audio.AudioListener`
is an `web.audio.AudioParam` representing the x position of the
in 3D cartesian space.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.positionX.value = 1;`

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

position-ycljs

(position-y this)

Property.

[Read Only]

The positionY read-only property of the web.audio.AudioListener is an web.audio.AudioParam representing the y position of the in 3D cartesian space.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.positionY.value = 1;

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

Property.

[Read Only]

The positionY read-only property of the `web.audio.AudioListener`
is an `web.audio.AudioParam` representing the y position of the
in 3D cartesian space.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.positionY.value = 1;`

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

position-zcljs

(position-z this)

Property.

[Read Only]

The positionZ read-only property of the web.audio.AudioListener is an web.audio.AudioParam representing the z position of the in 3D cartesian space.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.positionZ.value = 1;

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

Property.

[Read Only]

The positionZ read-only property of the `web.audio.AudioListener`
is an `web.audio.AudioParam` representing the z position of the
in 3D cartesian space.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.positionZ.value = 1;`

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

set-doppler-factor!cljs

(set-doppler-factor! this val)

Property.

[Deprecated]

The deprecated dopplerFactor property of the web.audio.AudioListener is a double value representing the amount of pitch shift to use rendering a doppler effect.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.dopplerFactor = 1;

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

Property.

[Deprecated]

The deprecated dopplerFactor property of the `web.audio.AudioListener`
is a double value representing the amount of pitch shift to use
rendering a doppler effect.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.dopplerFactor = 1;`

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

set-orientationcljs

(set-orientation this & args)

Method.

[Deprecated]

Void.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.setOrientation(0,0,-1,0,1,0);

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

Method.

[Deprecated]

Void.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.setOrientation(0,0,-1,0,1,0);`

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

set-positioncljs

(set-position this & args)

Method.

Void.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.setPosition(1,1,1);

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

Method.

Void.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.setPosition(1,1,1);`

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

set-speed-of-sound!cljs

(set-speed-of-sound! this val)

Property.

[Deprecated]

The speedOfSound property of the web.audio.AudioListener interface a double value representing the speed of sound, in meters per

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.speedOfSound = 343.3;

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

Property.

[Deprecated]

The speedOfSound property of the `web.audio.AudioListener` interface
a double value representing the speed of sound, in meters per

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.speedOfSound = 343.3;`

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

speed-of-soundcljs

(speed-of-sound this)

Property.

[Deprecated]

The speedOfSound property of the web.audio.AudioListener interface a double value representing the speed of sound, in meters per

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.speedOfSound = 343.3;

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

Property.

[Deprecated]

The speedOfSound property of the `web.audio.AudioListener` interface
a double value representing the speed of sound, in meters per

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.speedOfSound = 343.3;`

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

up-xcljs

(up-x this)

Property.

[Read Only]

The upX read-only property of the web.audio.AudioListener interface an web.audio.AudioParam representing the x value of the direction defining the up direction the listener is pointing in.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.upX.value = 0;

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

Property.

[Read Only]

The upX read-only property of the `web.audio.AudioListener` interface
an `web.audio.AudioParam` representing the x value of the direction
defining the up direction the listener is pointing in.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.upX.value = 0;`

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

up-ycljs

(up-y this)

Property.

[Read Only]

The upY read-only property of the web.audio.AudioListener interface an web.audio.AudioParam representing the y value of the direction defining the up direction the listener is pointing in.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.upY.value = 0;

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

Property.

[Read Only]

The upY read-only property of the `web.audio.AudioListener` interface
an `web.audio.AudioParam` representing the y value of the direction
defining the up direction the listener is pointing in.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.upY.value = 0;`

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

up-zcljs

(up-z this)

Property.

[Read Only]

The upZ read-only property of the web.audio.AudioListener interface an web.audio.AudioParam representing the z value of the direction defining the up direction the listener is pointing in.

var audioCtx = new AudioContext(); var myListener = audioCtx.listener; myListener.upZ.value = 0;

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

Property.

[Read Only]

The upZ read-only property of the `web.audio.AudioListener` interface
an `web.audio.AudioParam` representing the z value of the direction
defining the up direction the listener is pointing in.

`var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.upZ.value = 0;`

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

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

× close