Live API - getting the track that my device is placed on


    Apr 16 2012 | 11:35 am
    I know that using the live.path object I can get any track by number, e.g.
    live_set tracks 0
    live_set tracks 1
    live_set tracks 2
    But what if I want my device to get the track it has been placed on? I cannot hard-code any particular track number, I need to get it dynamically. How do I do this?