Sound
The Sound node controls the 3D spatialization of sound playback by a child AudioClip or MovieTexture node. Sound intensity includes stereo support, varying according to user location and view direction in the scene.
The Sound node belongs to the Sound component and its container field is children. It is available since X3D version 3.0 or later.
Fields
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFFloat [in, out] intensity 1 [0,1]
Factor [0,1] adjusting loudness (decibels) of emitted sound.
SFBool [ ] spatialize TRUE
Whether to spatialize sound playback relative to viewer.
Hint
Only effective between minimum and maximum ellipsoids.
SFVec3f [in, out] location 0 0 0 (-∞,∞)
Position of sound center, relative to local coordinate system.
SFVec3f [in, out] direction 0 0 1 (-∞,∞)
Direction of sound axis, relative to local coordinate system.
SFFloat [in, out] minBack 1 [0,∞)
Inner (full volume) ellipsoid distance along back direction. Ensure minBack <= maxBack.
SFFloat [in, out] minFront 1 [0,∞)
Inner (full volume) ellipsoid distance along front direction. Ensure minFront <= maxFront.
SFFloat [in, out] maxBack 10 [0,∞)
Outer (zero volume) ellipsoid distance along back direction. Ensure minBack <= maxBack.
SFFloat [in, out] maxFront 10 [0,∞)
Outer (zero volume) ellipsoid distance along front direction. Ensure minFront <= maxFront.
SFFloat [in, out] priority [0,1]
Player hint [0,1] if needed to choose which sounds to play.
SFNode [in, out] source NULL [X3DSoundSourceNode]
Input/Output field source.