X3D Example Archives: VRML 2 Sourcebook, Chapter 24 Sound

Figure 24.1 Emitter Markers

The Sound node controls the stereo 3D spatialization of sound playback by a child AudioClip or MovieTexture node.

Sounds can be triggered by viewer actions: clicks, horn honks, door latch noises, etc. Sounds can also be continuous in the background: wind, crowd noises, elevator music. Sounds emit from a location, in a direction, and within an ellipsoidal volume. A Sound node describes a sound emitter, where a source node provides the sound and range fields describe the sound region. An AudioClip node or a MovieTexture node describe a sound source, where a url points to the sound file. AudioClip also controls playback by start time, stop time, and (optionally) looping.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

  7 X3D Models       X3D Model Descriptions
   Figure24_1EmitterMarkers Figure24_1EmitterMarkers A silent set of emitter markers indicating emitter location, minimum-range ellipsoid, and maximum-range ellipsoid. Used by other Chapter 24 examples.
   Figure24_2AmbientSoundEmitterMarkers Figure24_2AmbientSoundEmitterMarkers A world with ambient sound and a set of emitter markers.
   Figure24_3TouchSensorTriggeredSound Figure24_3TouchSensorTriggeredSound A world with sound triggered by touching a white ball, with an emitter marker marking the range of audible sound.
   Figure24_4FourKeyKeyboard Figure24_4FourKeyKeyboard Four keys in a keyboard showing how pitch can vary a single sound source.
   Figure24_5TwoAmbientCirclingSounds Figure24_5TwoAmbientCirclingSounds Two ambient sounds circling the origin.
   Figure24_6DirectedAmbientSound Figure24_6DirectedAmbientSound A time-varying ambient sound aimed to the right.
   Figure24_7VirtualTV Figure24_7VirtualTV A virtual television.

The X3D Resources: Examples page and X3D Developers Guide provide more information about the production of this archive.