Can an M4L device find the rack that it's in?
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!
J
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?
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'
great - thank you