|
@@ -13,8 +13,8 @@
|
|
|
<h1>[name]</h1>
|
|
|
|
|
|
<p class="desc">
|
|
|
- The [name] represents a virtual [link:https://developer.mozilla.org/de/docs/Web/API/AudioListener listener] of the all positional and non-positional audio effects in the scene.</br>
|
|
|
- A three.js application usually creates a single instance of [name]. It is a mandatory construtor parameter for audios entities like [page:Audio Audio] and [page:PositionalAudio PositionalAudio].</br>
|
|
|
+ The [name] represents a virtual [link:https://developer.mozilla.org/de/docs/Web/API/AudioListener listener] of the all positional and non-positional audio effects in the scene.<br />
|
|
|
+ A three.js application usually creates a single instance of [name]. It is a mandatory construtor parameter for audios entities like [page:Audio Audio] and [page:PositionalAudio PositionalAudio].<br />
|
|
|
In most cases, the listener object is a child of the camera. So the 3D transformation of the camera represents the 3D transformation of the listener.
|
|
|
</p>
|
|
|
|
|
@@ -22,8 +22,8 @@
|
|
|
<h2>Example</h2>
|
|
|
|
|
|
<p>
|
|
|
- [example:webaudio_sandbox webaudio / sandbox ]</br>
|
|
|
- [example:webaudio_timing webaudio / timing ]</br>
|
|
|
+ [example:webaudio_sandbox webaudio / sandbox ]<br />
|
|
|
+ [example:webaudio_timing webaudio / timing ]<br />
|
|
|
[example:webaudio_visualizer webaudio / visualizer ]
|
|
|
</p>
|
|
|
|