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

    Max For Live

    Duggle ...'s icon
    Duggle ...'s icon
    Duggle ...
    Jan 25 2023 | 4:48 am
    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
      Roman Thilenius's icon
      Roman Thilenius
      Jan 25 2023 | 1:03 pm
      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)
      Share
    • broc's icon
      broc's icon
      broc
      Jan 25 2023 | 1:58 pm
      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
      Duggle ...'s icon
      Duggle ...
      Jan 27 2023 | 12:53 pm
      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.