search playing clip in a track


    Feb 27 2014 | 5:33 pm
    Hi everybody,
    I'm looking for a way to find and highlight (scene / track) the playing clip in a track.
    Is anybody know how to ?
    Cheers

    • Feb 27 2014 | 8:49 pm
      You'll have to do some iteration through every clip on a track and check if 'is_playing' is true. Sounds like a job for the LiveAPI javascript object.
    • Feb 27 2014 | 10:51 pm
      hi. you don't need to search, the LiveTrack has a 'playing_slot_index' property which indicates current playing clip slot if >= 0
    • Feb 27 2014 | 11:00 pm
      Lee,
      You're the man. I never new about that property. So much easier then the way I was thinking :)
    • Feb 28 2014 | 4:43 pm
      Thanks you 2, I'll try that this w-e.
      will tell you
    • Feb 28 2014 | 9:52 pm
      np. its worth just scanning through the LOM document to see what's out there :)
    • Mar 02 2014 | 4:40 pm
      Thanks a lot, I've come to that :
      Don't think it's really clean, but workable ;o)
      to be continued ...