How Do I Loop Midi Files OR keep another form active when they stop 
Author Message
 How Do I Loop Midi Files OR keep another form active when they stop

I am making a program that has a midi sequence in the background. When it ends,
the form it is on becomes active, and comes to the front. How do I prevent
this?

Also...

How could i make it so that the midi file restarts itself when it is finished
playing?

Thanks Alot,
Jacob



Thu, 06 Jul 2000 03:00:00 GMT  
 How Do I Loop Midi Files OR keep another form active when they stop


Quote:
> I am making a program that has a midi sequence in the background. When it ends,
> the form it is on becomes active, and comes to the front. How do I prevent
> this?

By playing mine using MMControls, I've never had this problem (see below).

Quote:
> How could i make it so that the midi file restarts itself when it is finished
> playing?

If you play it with a MMControl, there's an event that occurs ('done', I
believe) when it finished executing a command. Put a 'play' command in
here, and it should work. You may have to play around with your MIDI file
to get it to sound right. HTH. Cheers!

--------------------------------------------------------------------------------
"Maybe it's a problem with your source."
                      - My boss trying, seriously, to help me with a
                        programming difficulty
--------------------------------------------------------------------------------



Thu, 06 Jul 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to run midi / stop midi / change midi ?

2. How to run midi / stop midi / change midi ?

3. How to run midi / stop midi / change midi ?

4. Play Midi Files <Hows it done?!>

5. Looping a Midi File

6. Looping MIDI Files with Win32 API

7. Loop a midi file with mciSendString

8. Looping Midi File

9. Looping Wav, Midi FILES??????????????????????????????

10. Looping MIDI files

11. How To Loop Midi Files?

12. Loop a MIDI file with MciSendString API

 

 
Powered by phpBB® Forum Software