"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

GeeXLab Changelog

XML Ref. Guide
Scripting Ref. Guide
Code Samples

Purchase GeeXLab

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 ]



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


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

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

  • 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

Depth Buffer Visualization
Depth Buffer Visualization

Thermal Vision PostFX
Thermal Vision PostFX

Blender Object Viewer
Blender Object Viewer

Random Code Samples

3D Curve
3D Curve


Texture - JPG image
Texture - JPG image

(C)2009-2010 Geeks3D.com