[SOLVED]: Tracks & Slots selection

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi!

I'm writing a controller for my Akai mpk mini mkII.
I am trying to map some pads in CC mode to navigate among tracks and slots, but there is something that's not really clear to me.
Taken from the official API, my idea was to use

Code: Select all

host.createCursorTrack(int numSends, int numScenes) 
This works. I can navigate my tracks and I can call

Code: Select all

track.getClipLauncherSlots() 
to get slots.
The thing I don't understand is why I always need to know the number of scenes in the moment I create a cursor track. I can't select slots with index greater than that number of scenes. But what if this amount changes later? Isn't there a way to get the "next slot" in a track, without knowing how many they are?

second question: what does the parameter "sends" mean?

EDIT: I got an answer to all my questions by installing Bitwig 1.1 Beta9 and reading the docs there (which contain much more informations) about the TrackBank. Now I know what is a Bank, and how I can use it with my controller.

thanks!

Post

:tu:
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." · Rumi
UrbanFlow.art · Instagram · YouTube

Post Reply

Return to “Controller Scripting”