User's Manual
168
Chapter 15: Adding Sounds To Virtual Worlds
Overview
A csSound node contains the location of a sound file and the parameters used for playing
it. To play a sound file in a virtual world, attach one or more csSound objects to a scene
graph and apply a csSoundAction to it. To associate a specific sound to a specific shape,
make the csSound object and shape nodes children of the same group nodes.
A csSound node references a csAudioClip node and a csAudioClip node references a
csAudioSamples node, as shown in Figure 15-1.
Figure 15-1 Sound Classes
A csAudioSamples node contains the raw sound data. A csAudioClip node specifies
how a sound file should be played.
For more information about csAudioClip, see “How to Play a Sound File” on page 173.
For more information about csAudioSamples, see “Specifying Audio Files” on page 174.
csSound
csAudioClip
csAudioSamples