- time: from where will continue playing the sound
get_sound_length(channel id);
[returns the total length in seconds of the sound]
get_sound_playtime(channel id);
[returns the time in seconds what has been reproduced]
is_playing_sound(channel id);
[returns 0 if the sound channel is stopped and 1 if it is playing]
load_sound(filename, cyclic);
- cyclic: 0 to beep 1 time; 1 to ring being repeated indefinitely
pause_sound(channel id);
[returns the time where it has been paused in milliseconds]
polytone(frequency, note, max volume position, min volume position, volume);see example
set_volume(volume);
- volume: 0-100 to increase or decrease the overall volume of the game
sound(sound id, volume, frequency);
- sound id: returned by the sound file loaded with load_sound () - volume: 0 for minimum volume, maximum volume to 256 - frequency: 256 is the standard rate