Can an M4L device find the rack that it's in?

    Apr 11 2013 | 11:14 pm
    Hello all
    This might be quite simple but i still use the max4live API in a relativey basic way.. but I was wondering when using live.path to set the device parameter you want to control (a macro in the rack that the m4l device is part of) i was wondering if there's a way that an m4l device can find the rack it's in rather than having to specify which track / device. This to avoid having to change the path in the devices every time I add or remove things and the racks can be saved self-contained and work in any set.
    Any thoughts gratefully received!

    • Apr 12 2013 | 12:00 am
      hm... for instance if it was a midi effect, if you placed it at the very beginning of the rack, couldn't it just go "back one" - that would get the rack itself, wouldn't it?
    • Apr 12 2013 | 12:25 am
      Parent of the device is chain and parent of the chain is rack, so path of the rack is 'this_device canonical_parent canonical_parent'
    • Apr 12 2013 | 11:03 am
      great - thank you