The Dink Network

Midi

July 20th 2006, 07:09 AM
milder.gif
How can I let a midi repeat. I have one midi number 5 that's during 34 sec I want it to repeat.

I am using this script for the other midi also this one.

void main(void)
{
playmidi("5.mid");
}

Is there a simple line that I can at or something else?

July 20th 2006, 07:24 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
1.08 introduced the loopmidi command... however, it causes all midis to repeat.

Just put this command in main.c:

loopmidi(1);