The Daily Click ::. Forums ::. Klik Coding Help ::. testing if a song has ended
 

Post Reply  Post Oekaki 
 

Posted By Message

:JULI@N:



Registered
  14/07/2002
Points
  641
5th February, 2004 at 22:33:54 -

how do i test if a midi song (played with the MCI thing) has ended? so i can make a different one starts playing.
or how do i loop the song?

 
n/a

Kramy



Registered
  08/06/2002
Points
  1888
6th February, 2004 at 13:01:17 -

Start of Level
-send a command: "open .\musicname.mid alias tune"
-send a command: "status tune length"
-set global value 1: Return( "MCI" )

Always
-send a command: "status tune position"
-set global value 3: Return( "MCI" )

Global Value 3 = Global Value 1
-send a command: "play tune from 0"
Or close the song and play another

I wrote an article about this a long time ago didn't I?(points to name - click on it...click on it... )

Image Edited by the Author.

 
Kramy

:JULI@N:



Registered
  14/07/2002
Points
  641
6th February, 2004 at 19:02:16 -

ohhhh yes you did.
thanks!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click