[ Back ]
NaaLaa uses the open source Audiere for music and sound playback. Therefor audiere.dll must be included with your programs. Please visit http://audiere.sourceforge.net for more information about what music and sound formats are supported!
procedure load music music_id, filename$
procedure set music volume music_id, vol
procedure play music music_id[, looped]
procedure stop music music_id
procedure free music music_id
function music(music_id)
procedure load sound(sound_id, filename$)
procedure play sound(sound_id[, vol[, pan]])
procedure free sound(sound_id)
function sound(sound_id)
Load filename to music_id.
Set volume of music music_id to vol (0..100).
Start playing music music_id and loop it if looped is set to true (default).
Free music music_id. All music is automaticly freed when program exits.
Return true if music music_id has been loaded.
Load filename to sound sound_id.
Play sound sound_id at volume vol (0..100, default 100) and with the panning pan (-100..100, left to right, default 0).
Free sound sound_id. All sounds are automaticly freed when program exits.
Return true if sound sound_id has been loaded.
[ Back ]