How would I get the value of a parameter of the first device of the selected track?

Post Reply New Topic
RELATED
PRODUCTS

Post

How would I get the value of a parameter of the first device of the selected track?
Also: is it possible to access a device by it's name.
As i've only managed to access a device by primary device/instrument or selected device.

cursorTrack = host.createCursorTrack(2, 0);
primaryDevice = cursorTrack.getPrimaryDevice();
primaryInstrument = cursorTrack.getPrimaryInstrument();

ps. I've only experience in Applescript and Max/M4L, this API is very hard to understand for me. :neutral:

Post Reply

Return to “Controller Scripting”