First time here? Check out the FAQ!
x

waituntil in timeline stops the running of midi file

0 votes
562 views
Hello Kyma brains!

I'm using the waituntil function on a timeline - as one usually does to move from scene to scene in a composition. This works fine for most cases but I have a 'sound' which makes use of a midi file and this always seems to pause at a waituntil - and only resume when I've clicked passed it. Is this a common issue? Is there a way around - a capytalk expression that can tell the midi clock(?) to keep running regardless?

Thanks! Y
asked Jan 20, 2019 in Using Kyma by yannisky (150 points)

1 Answer

+1 vote

If you use MIDIFileWithTimeIndex to play the MIDI file, the time index will continue computing and progressing even during the WaitUntil. On the other hand, if you ever do want progress through the MIDI file to stop with a WaitUntil, use a MIDIVoice instead of a MIDIFileWithTimeIndex.

answered Jan 21, 2019 by ssc (Savant) (128,080 points)
Brilliant - this makes total sense! Thank you.
Hi - Now that I'm back on the project - and tried to look for something like "MIDIFileWithTimeIndex" - can't seem to find it - is it in the prototypes? Or somewhere else?
Do you have the most recent version of Kyma 7? It should be in the Prototypes if you search for 'MIDIFile'
...