How to detect when a Live session (project) has completely loaded and ready to play?

Duggle ...'s icon

I want to enable aspects of functionality of a multi instance device only after the liveset has finished loading.
Is there an object that does this, or is there perhaps a LOM property that can be observed to obtain such a signal?
Thanks

Roman Thilenius's icon

if it like in VST/AAX hosts (or max runtime for that mattter), you can tell that from the audio beeing turned on / beeing available.
(for example you could poll the samplingrate until you get a response)

broc's icon

Provided that turning on audio is the last action of loading a Live set you may use [plugsync~] as it will for example send 0 from the first outlet.


Duggle ...'s icon

Thanks for the suggestions.
I've gone with the 8th output of plugsync~. When this (sample count) is > 48000 the enable (1) is sent globally to all instances of my device ~1 second after the audio engine fires up. Seems to work o.k.