Sound
This class allows you to load and play WAV/
MP3
/OGG audio files.
Functions
Free
- unloads the loaded sound buffer.
GetLoop
- determines if a sound buffer is looping or not.
GetPan(sndHndl, Number_Var)
- determines the pan balancing of a sound buffer.
GetStatus(sndHndl)
- determines status of sound buffer if it's playing or not.
GetVolume
- determines volume-level of a specific sound buffer.
Load
- loads a WAV/
MP3
/OGG file to buffer to be handled by a Number variable.
SetLoop(value,sndHndl)
- sets a sound to loop or not.
SetPan(value,sndHndl)
- pans a sound either left or right speaker, or balanced.
SetVolume(value,sndHndl)
- sets a volume of a specific sound-buffer.
Pause
- pauses a playing sound buffer specified by a sound-handler.
Play
- plays a sound buffer handled by a sound-handler.
Stop
- stops a playing sound buffer specified by a sound-handler.
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights
Reversed
| Licensed under
GNU GPL
| Designed by
Mj Mendoza IV