Table of Contents Previous Directory Summary Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Summary X3D Resources

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 Figure 24 1 Emitter Markers A silent set of emitter markers indicating emitter location, minimum-range ellipsoid, and maximum-range ellipsoid. Used by other Chapter 24 examples.
Figure24_2AmbientSoundEmitterMarkers Figure 24 2 Ambient Sound Emitter Markers A world with ambient sound and a set of emitter markers.
Figure24_3TouchSensorTriggeredSound Figure 24 3 Touch Sensor Triggered Sound A world with sound triggered by touching a white ball, with an emitter marker marking the range of audible sound.
Figure24_4FourKeyKeyboard Figure 24 4 Four Key Keyboard Four keys in a keyboard showing how pitch can vary a single sound source.
Figure24_5TwoAmbientCirclingSounds Figure 24 5 Two Ambient Circling Sounds Two ambient sounds circling the origin.
Figure24_6DirectedAmbientSound Figure 24 6 Directed Ambient Sound A time-varying ambient sound aimed to the right.
Figure24_7VirtualTV Figure 24 7 Virtual TV A virtual television.

Online at https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter24Sound

Validate XHTML 1.1

Master source-code model archive is under subversion control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter24Sound

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

Table of Contents Previous Directory Summary Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Summary X3D Resources