Sound support

  • Email
  • Sharebar
  • Email
No replies
Yeh
Yeh's picture
Offline
Editor
Joined: 01/07/2013

VRM2 Update 2013-12-05

Now the Insert a sound/music funstion is implemented. You can click on  icon or from the menu to insert a sound file. Currently supported sound files are .wav, .oga and .mp3.

Sound node support in X3DOM at the moment is not spatialised, which means the direction and intensity have not effect on the sound node at this stage.

There are some sound files in the Media for you to test.

The associated LOGO command is SOUND "url enabled loop.  enabled and loop are to be true or false. For example,

There is no play, pause or stop controls at the moment. By default, enabled is set true, and loop is set false. To control the play of sound, we can use SET command or behaviour control.  See the Logo Guide in the VRMath2 Editor for some explanations.

Please let me know if any comments or suggestions.

Enjoy cool