"No one can be told what GeeXLab is, you have to see it for yourself!"

"Stop Playing Games and Start Making Them! With GeeXLab, your are on your way!"


Quick Links
What is GeeXLab
Download GeeXLab
GeeXLab Requirements
Online Help
Articles and Tutorials
Samples Screenshots
Videos

GeeXLab Changelog

XML Ref. Guide
Scripting Ref. Guide
Code Samples

Purchase GeeXLab
GeeXLab SDK

Shader Library

Follow GeeXLab's News
GeeXLab news, articles, tutorials and demos @ Geeks3D.com
GeeXLab @ Twitter GeeXLab RSS Feed

Subscribe to GeeXLab news by email

[ Back to Geeks3D.com ]

GeeXLab

GeeXLab

Laboratory for Real Time 3D Programming (prototyping and demos)
OpenGL, Lua, Python, GLSL,
PhysX and more...

Reference Guide
XML Nodes



Back to homepage
Back to Developer's Guide Index

<audio> XML Node


XML Node Summary
<audio
  name=""
  filename=""
  looping="TRUE"
  play="TRUE"
  >
</audio>


<audio>

Description
This node loads audio files (*.wav, *.mp3, ...) and plays them.

audio element has 4 attributes and 0 sub-element(s)

Attributes
  • name [STRING]: Name of audio node
  • filename [STRING]: name of the audio file. The type of playable audio file depends on the type of available audio plugin: plugin FMOD: allows to play almost all types of audio tracks plugin OpenAL: allows to play wave (*.wav) audio tracks
  • looping [BOOLEAN]: enables or disables the loop mode (repeat mode). If this mode is set to 'TRUE', the audio file is continuously played. If this mode is set to 'FALSE', the audio file is played only once - Default value = TRUE
  • play [BOOLEAN]: enables or disables the reading of the audio file. This state is useful when you do not wish to start the reading of an audio file from the beginning of the script. In that case, you just have to set the state to 'FALSE'. The reading of the audio file can then be launched by a LUA scripting code. Please refer to the Demoniak/LUA API for more information - Default value = TRUE

Code sample :

<audio name="bluishbg" filename="mp3/music.mp3"
looping="FALSE" play="TRUE" />
Random Projects

Lens Circle Effect
Lens Circle Effect

Posterization Effect
Posterization Effect

Gamma correction PostFX
Gamma correction PostFX


Random Code Samples

Texture - Video AVI
Texture - Video AVI

3D Sound
3D Sound

W4K Format Loading
W4K Format Loading



(C)2009-2010 Geeks3D.com