How to create a certain device on a track?

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi folks,

I just try to create a "Chain" Device on a selected track.

I didn't find a direct command in the API which let's me create a certain device by device name like:

Code: Select all

cursorTrack.createDevice("Chain"); //just as an example
I found out that there is an Action called "Create New Audio Effect" which I can call like this:

Code: Select all

application.getActionCategories()[4].getActions()[119].invoke();
But it does nothing when I call it. And I also would like to define somewhere what type of device I can create (in this case the "Chain").

Any solutions here? Or is there a documentation for the actions somewhere?

Cheers, u-u-u

Post

It is currently not possible to add devices via the API.

Your first try creates a Device object to observe a device independent from the current or primary device. Not sure about the second one but might be an empty placeholder.

Post

Thank you very much! That's all I wanted to know.
moss wrote:Your first try creates a Device object to observe a device independent from the current or primary device.
Oh, yes. I should have given it a proper name. Just wanted to know whether such command existed or not ;)

Post Reply

Return to “Controller Scripting”