Liking cljdoc? Tell your friends :D

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.PannerNodes spatialize in relation the AudioListener stored in the web.BaseAudioContext.listener

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

doppler-factorcljs

(doppler-factor this)

Property.

The deprecated dopplerFactor property of the 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.

The deprecated dopplerFactor property of the `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.

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

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.

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

`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.

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

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.

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

`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.

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

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.

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

`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.

The positionX read-only property of the audio.AudioListener is an audio.AudioParam representing the x position of the listener 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.

The positionX read-only property of the `audio.AudioListener`
is an `audio.AudioParam` representing the x position of the listener
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.

The positionY read-only property of the audio.AudioListener is an audio.AudioParam representing the y position of the listener 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.

The positionY read-only property of the `audio.AudioListener`
is an `audio.AudioParam` representing the y position of the listener
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.

The positionZ read-only property of the audio.AudioListener is an audio.AudioParam representing the z position of the listener 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.

The positionZ read-only property of the `audio.AudioListener`
is an `audio.AudioParam` representing the z position of the listener
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.

The deprecated dopplerFactor property of the 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.

The deprecated dopplerFactor property of the `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-forward-x!cljs

(set-forward-x! this val)

Property.

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

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.

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

`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

set-forward-y!cljs

(set-forward-y! this val)

Property.

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

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.

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

`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

set-forward-z!cljs

(set-forward-z! this val)

Property.

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

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.

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

`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

set-orientationcljs

(set-orientation this & args)

Method.

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.

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-position-x!cljs

(set-position-x! this val)

Property.

The positionX read-only property of the audio.AudioListener is an audio.AudioParam representing the x position of the listener 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.

The positionX read-only property of the `audio.AudioListener`
is an `audio.AudioParam` representing the x position of the listener
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

set-position-y!cljs

(set-position-y! this val)

Property.

The positionY read-only property of the audio.AudioListener is an audio.AudioParam representing the y position of the listener 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.

The positionY read-only property of the `audio.AudioListener`
is an `audio.AudioParam` representing the y position of the listener
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

set-position-z!cljs

(set-position-z! this val)

Property.

The positionZ read-only property of the audio.AudioListener is an audio.AudioParam representing the z position of the listener 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.

The positionZ read-only property of the `audio.AudioListener`
is an `audio.AudioParam` representing the z position of the listener
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-speed-of-sound!cljs

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

Property.

The speedOfSound property of the 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.

The speedOfSound property of the `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

set-up-x!cljs

(set-up-x! this val)

Property.

The upX read-only property of the audio.AudioListener interface an 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.

The upX read-only property of the `audio.AudioListener` interface
an `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

set-up-y!cljs

(set-up-y! this val)

Property.

The upY read-only property of the audio.AudioListener interface an 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.

The upY read-only property of the `audio.AudioListener` interface
an `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

set-up-z!cljs

(set-up-z! this val)

Property.

The upZ read-only property of the audio.AudioListener interface an 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.

The upZ read-only property of the `audio.AudioListener` interface
an `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

speed-of-soundcljs

(speed-of-sound this)

Property.

The speedOfSound property of the 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.

The speedOfSound property of the `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.

The upX read-only property of the audio.AudioListener interface an 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.

The upX read-only property of the `audio.AudioListener` interface
an `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.

The upY read-only property of the audio.AudioListener interface an 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.

The upY read-only property of the `audio.AudioListener` interface
an `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.

The upZ read-only property of the audio.AudioListener interface an 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.

The upZ read-only property of the `audio.AudioListener` interface
an `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