Sound
Provides a location and information on where a sound can be heard.
The Sound object is located at the specific place in the scene in the coordinates origin
of the object (or the scene if Owner is None) which is parent to Sound.
The direction of the sound is parallel to the (1 0 0) vector in local coordinate.
The region in which the sound can be heard is defined by two spherical regions.
The inner one defines the region where the sound played at the given intensity. In the region
between the inner and outer sphere, the volume fades as a function of distance from the
inner sphere.
Properties:
intensity
adjusts the volume of the sound source; an intensity of 0 is silence, and 1 is the full volume.
Loop
if TRUE, the sound is repeated indefinitely.
maxR
defines the spherical region where the sound can be heard.
minR
defines the spherical region where the sound is at full volume.
On
indicates whether the sound should be played or not whenever you load the
scene with the VRML browser. If False, the sound is not played.
Speed
lets you specify the factor to play a sound at different rates; a speed of 1 is normal playing.
URL
provides the method to select the sound file to be played.
Events:
Intensity
adjusts the volume of the sound source when the incoming event is of the SFFloat type.
on
if TRUE or FALSE, to play or stop playing a sound.
seton
to play a sound when the incoming event is of the SFTime type.