Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /home/clients/50536745d503cc9bd290722a231d5f8f/web/includes/o3_common.php on line 79

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/clients/50536745d503cc9bd290722a231d5f8f/web/includes/o3_common.php on line 79
oZone3D.Net - Demoniak3D Developer Guide




GeeXLab
Current version: 0.45.1
>GeeXLab homepage

FurMark
Current version: 1.30.0
>FurMark homepage

GPU Caps Viewer
Current version: 1.55.0.0
>GPU Caps Viewer homepage

GPU Shark
Current version: 0.26.0.0
>GPU Shark homepage


Blogs
>JeGX's HackLab

Geeks3D's Articles
>GPU Memory Speed Demystified

>Multi-Threading Programming Resources

>GeForce and Radeon OpenCL Overview

>How to Get your Multi-core CPU Busy at 100%

>How To Make a VGA Dummy Plug

>Night Vision Post Processing Filter

PhysX FluidMark
Current version: 1.5.4
>FluidMark homepage

TessMark
Current version: 0.3.0
>TessMark homepage

ShaderToyMark
Current version: 0.3.0
>ShaderToyMark homepage
>ShaderToyMark Scores

Demoniak3D
Current Version: 1.23.0
>Demoniak3D
>Download
>Libraries and Plugins
>Demos
>Online Help - Reference Guide
>Codes Samples
 
oZone3D.Net - Demoniak3D Developer Guide


» Back To Index

The <audio> node

Function

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

General syntax

<audio
	name="" 
	filename="" 
	looping="TRUE" 	
	play="TRUE" />



audio

audio is the xml tag that defines an audio node.

Attributes:

  • filename - [STR255] - 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

  • loop - [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

  • name - [STR127] - name of the node. This name will make it possible to refer this node throughout the XML script.

  • 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 Hyperion/LUA API for more information - default value: TRUE

  • group - [STR127] - name of the group where to add the current node. A group makes it possible to control the behavior of several objects in a unique way.
Example:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<hyperion version="1.0" >
	<scene name="myScene" />
	<camera name="myCamera" />
	<audio name="bluishbg" filename="mp3/music.mp3" 
	looping="FALSE" play="TRUE" />
</hyperion >


GeeXLab demos


GLSL - Mesh exploder


PhysX 3 cloth demo


Normal visualizer with GS


Compute Shaders test on Radeon


Raymarching in GLSL



Misc
>Texture DataPack #1
>Asus Silent Knight CPU Cooler
Page generated in 0.0032598972320557 seconds.