Music

Sound and Music


 

bm942 play music

 

The play music command starts playback of music entered as a parameter. A possible, already running music playback will be interrupted.

 

bm943 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.

 

bm944 stop playing music

 

The stop playing music command stops the music playback.

 

bm945 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.

 

bm946 test playing music

 

The test playing music element returns a logic flag indicating whether the music playback is running.

 

bm947 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.

 

bm948 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.

 

bm949 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.