Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | sound... SEARCH    

sound...

  Functions
sound.channel.create
sound.channel.isAvailable
sound.ID.balance
sound.ID.close
sound.ID.error.code
sound.ID.error.description
sound.ID.length
sound.ID.load
sound.ID.mute
sound.ID.pause
sound.ID.play
sound.ID.position
sound.ID.rate
sound.ID.repeat
sound.ID.selection
sound.ID.status
sound.ID.stop
sound.ID.volume
sound.play
sound.stop
sound.volume
sound.volume.left
sound.volume.right

  Events
event.sound_channel_endLoop
event.sound_channel_error
event.sound_channel_finished
event.sound_channel_loaded

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

sound...

Language: MioScript
Product: MioFactory


Functions and event for audio playback, including multi-channels MP3 playback.

Playing simple wave files


The easier way to play a sound is to use wave files (.wav) and the following functions:

sound.play, sound.stop
sound.volume, sound.volume.left, sound.volume.right

Playing MP3 and WMA files on several audio channels


You can play up to 64 audio files simultaneously with the following functions and events:

sound.channel.create, sound.channel.isAvailable, sound.ID.load
sound.ID.play, sound.ID.stop, sound.ID.pause, sound.ID.mute
event.sound_channel_loaded, event.sound_channel_endLoop, event.sound_channel_finished

sound.ID.balance, sound.ID.volume, sound.ID.rate
sound.ID.selection, sound.ID.position, sound.ID.repeat, sound.ID.status

event.sound_channel_error
sound.ID.error.code, sound.ID.error.description