Axe Software Forums
  Quest Developer Forum
  A possible way to loop MIDI until the actual features becomes available...


Author Topic:   A possible way to loop MIDI until the actual features becomes available...
Tyrant posted 18-10-2001 01:16 GMT     
As of now, I don't think there is any MIDI looping feature within Quest. However, I had a thought that might work. I haven't tested it yet, but I'm assuming it will. I'm thinking that you could use a timer, and set the trigger function at however many seconds long your MIDI is. For example, if I have one that's 1 min long, I would set the timer to play the MIDI again at 60 seconds. Looping MIDI music is especially useful for my games, such as when you're battling. Right now, the music would just end and the battle is all quiet, but maybe now this new method could work. Is there an easier way?
Alex posted 18-10-2001 18:26 GMT          
Your method should indeed work.

Quest 3.1 allows you to loop MIDIs:
playmidi <mymidi.mid; loop>

...not that that will be of much use to you yet.