Music
Sound and Music
 
Image bm942.GIF play music
 
The play music command starts playback of music entered as a parameter. A possible, already running music playback will be interrupted.
 
Image bm943.GIF play music repeated
 
The play music repeated command starts a repeated playback of music entered as a parameter. A possible, already running music playback will be interrupted.
 
Image bm944.GIF stop playing music
 
The stop playing music command stops the music playback.
 
Image bm945.GIF pause/continue playing music
 
The pause/continue playing music element enables to pause or continue the music playback. It can be used as a logic variable, i.e. it can be entered or read. A validity flag means that the music is paused. By using it as a command without entering a parameter the state will be switched over.
 
Image bm946.GIF test playing music
 
The test playing music element returns a logic flag indicating whether the music playback is running.
 
Image bm947.GIF position in music being played
 
The position in music being played element enables to find out or to adjust the music playback position in seconds. This element can be used as a logic variable, i.e. it can be entered or read.
 
Image bm948.GIF length of music being played
 
The length of music being played element returns the length of the music being played, the length being expressed in seconds.
 
Image bm949.GIF music identity
 
The music identity element serves to compare sorts of music. When doing this, it is only judged whether the matter in question is an identical data object of the music type, the contents of the music sorts being not compared. One or more music sorts can be specified. The comparison takes place from the top downwards. The element returns a logic validity flag in case all music sorts are identical. A special case is comparing one music. The music is compared with an empty music, e.g. to test, whether a valid music has been readed from a file.

Full Html Context Help of The Peter - Gemtree Software & Children Programming