Dayo312
Jan 9th, 2000, 01:37 AM
If Anyone is interested I did figure out how to loop a midi with out a contoll.
No one seemed to answer so I tried to figure out a way to do it.
You take the midi time and then
Put it in a couple variables like
this.
''''''''''''''
Midi_Minutes = 2
Midi_Seconds = 31
'''''''''''''''
In a timer, set the interval to
1 second and then.. put this in
the timer code.
'''''''''''''''''''
If Midi_Seconds = 0 then
Midi_Minutes = Midi_Minutes - 1
Midi_Seconds = 59
else
Midi_Seconds = Midi_Seconds - 1
End if
If Midi_Seconds And Midi_Minutes = 0 then
'Play Midi Code
End if
'''''''''''''''''''
:) Hope that helps all of you
that also had problems with
looping midis
No one seemed to answer so I tried to figure out a way to do it.
You take the midi time and then
Put it in a couple variables like
this.
''''''''''''''
Midi_Minutes = 2
Midi_Seconds = 31
'''''''''''''''
In a timer, set the interval to
1 second and then.. put this in
the timer code.
'''''''''''''''''''
If Midi_Seconds = 0 then
Midi_Minutes = Midi_Minutes - 1
Midi_Seconds = 59
else
Midi_Seconds = Midi_Seconds - 1
End if
If Midi_Seconds And Midi_Minutes = 0 then
'Play Midi Code
End if
'''''''''''''''''''
:) Hope that helps all of you
that also had problems with
looping midis