0
0

Hey all of you.
I am still searching for a way to detect when a midi file is stopped.
First I’ve tried with FMUSIC_LoadSong but then I couldn’t find a function that returns the length of the song..
Then I’ve tried with FSOUND_Stream_OpenFile but again, how can I get the length of the song?
Any code that just runs a MIDI file, waits for it to stop, and then proceed will be very nice (btw. I’m coding in c++)
Thanks for any help!

  • You must to post comments
0
0

Just load the midi as a regular stream file and then use the FSOUND_Stream_GetLengthMs wich will return the length in millisecond as the doc said. Or you can hard code midi file support for gatering midi length 😉

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.