Selected Device Parameter Help

0

Hey, just wanna first say how amazing this program is, i cant imagine the work it took to reverse engineer their API (which should really be open and non-obfuscated to begin with)

Ive setup a reaction to set selected track, and device, to map my faders to parameters 1-x for currently selected device, which works!

except if the device im trying to control is inside an audio rack, it will just map to the macro knobs for the rack instead.

Script sets

M17 = selected track number

M18 = selected Device Number

M1-8 = 1-8

Is there anyway to dynamically tell if the current selected device is inside a rack, such that it works regardless of what device im selecting?

Second question:

Selected parameter mapping works great, but i cant find any reliable way to get the selected parameter inside of a reaction so i can bind it to a modifier.

Since its already one of the default mappings, the code for finding it should be there, but i cant find it anywhere in the reactions.

Basically what i want here is to bind the selected parameter, to a fader / button when that fader / button is pressed.

JohnC Answered question
0

You can use ‘can have chains’ in a condition to check if the device is a rack
Live object model > device > all devices > can have chains

There’s no way to essentially get the path to the device from the selected parameter.

JohnC Answered question