Newb question: how to access "cursor clip/slot" ?

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi. I'm new to Bitwig controller scripting and from the very beginning I can't seem to figure out how to access currently selected clip/slot (which would probably be called something like "cursor clip" in BW terminology). My intention is to have a button which would start recording/stop recording into currently selected clip. Does anybody know how it's done?

I'm sorry for asking such a newb question, but the documentation and tutorials on BW programming on the web are almost non existent. I've gone through the API reference manual and it seems that the functionality I want just doesn't exist - which is very improbable :) I do some programming in real life so I won't have issues understanding whatever you throw at me.
Thanks.

Post

That is one of the missing things ATM.
What I do is creating one dummy TrackBank with as many tracks and scenes as I need so I can observe what clip(s) is(are) selected.
If you also want to create a new clip if the selected slot is empty, be warned that this can lead to timing issues if you do it while playback is running - the whole API isn't meant for this kind of "realtime" stuff.

Cheers,

Tom
"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”