Methods for getting a list of devices on a channel/track

Post Reply New Topic
RELATED
PRODUCTS

Post

I'm working on something where i can get a list of the devices used on a channel or track. At the moment I'm interested in just the names. But in the future I could se this useful for something to open up all the plugin windows on a device chain.

There was a discussing on the bitwig user group where somebody had done this is a device bank of 1 and moving over the elements 1 by 1 and gathering data. Since there is no explicit way to know if a device bank has changed/updated, they had to manually time it using scheduled tasks.

I wonder if there is a better way...
----------------------------------------------------------------------
/CTRL → http://slashctrl.io
Music & mixes → http://soundcloud.com/kirkwoodwest

Post

Kirkwood West wrote: Thu Nov 12, 2020 1:23 am I'm working on something where i can get a list of the devices used on a channel or track. At the moment I'm interested in just the names. But in the future I could se this useful for something to open up all the plugin windows on a device chain.

There was a discussing on the bitwig user group where somebody had done this is a device bank of 1 and moving over the elements 1 by 1 and gathering data. Since there is no explicit way to know if a device bank has changed/updated, they had to manually time it using scheduled tasks.

I wonder if there is a better way...
Simply use a device bank. No need for any tricks.

Post

moss wrote: Thu Nov 12, 2020 1:28 pm
Kirkwood West wrote: Thu Nov 12, 2020 1:23 am I'm working on something where i can get a list of the devices used on a channel or track. At the moment I'm interested in just the names. But in the future I could se this useful for something to open up all the plugin windows on a device chain.

There was a discussing on the bitwig user group where somebody had done this is a device bank of 1 and moving over the elements 1 by 1 and gathering data. Since there is no explicit way to know if a device bank has changed/updated, they had to manually time it using scheduled tasks.

I wonder if there is a better way...
Simply use a device bank. No need for any tricks.
So like... cursor_device.getDeviceChain().createDeviceBank(x)...
I willl try this... are you suggesting to make x= 32 or something big like this. then all the stuff is accessible this way? what about device layers and stuff like that?
----------------------------------------------------------------------
/CTRL → http://slashctrl.io
Music & mixes → http://soundcloud.com/kirkwoodwest

Post

Kirkwood West wrote: Thu Nov 12, 2020 9:18 pm
moss wrote: Thu Nov 12, 2020 1:28 pm
Kirkwood West wrote: Thu Nov 12, 2020 1:23 am I'm working on something where i can get a list of the devices used on a channel or track. At the moment I'm interested in just the names. But in the future I could se this useful for something to open up all the plugin windows on a device chain.

There was a discussing on the bitwig user group where somebody had done this is a device bank of 1 and moving over the elements 1 by 1 and gathering data. Since there is no explicit way to know if a device bank has changed/updated, they had to manually time it using scheduled tasks.

I wonder if there is a better way...
Simply use a device bank. No need for any tricks.
So like... cursor_device.getDeviceChain().createDeviceBank(x)...
I willl try this... are you suggesting to make x= 32 or something big like this. then all the stuff is accessible this way? what about device layers and stuff like that?
I use:

Code: Select all

cursorDevice.createSiblingsDeviceBank (numDevices)
After that get all devices and mark the attributes you are interested in or add observers to make them accessible.

Post Reply

Return to “Controller Scripting”