My initial few days of playing around with bitwig scripting and its amorphous and labyrinthine APIs, one wonders who (outside the bitwig core team) can figure out what the difference between these three different ways of launching a clip are, and what integer values mean in the context of any of these objects.
One could rather use a diagram, to sort out what a track, a track bank, a slot, a slot bank, and all these things even are.
Borrowing code from all over because one can't figure it out and then trying to puzzle out the weird results, surely there is a better way.
Code: Select all
// when do you want to directly call this:
trackBank.launchScene(column);
// and when do you want to getChannel and then get clipLauncherSlots and launch from this?
trackBank.getChannel(row).getClipLauncherSlots().launch(column);
One wonders why the API doesn't have transport.playClipAt(row,column). For the sake of keeping us sane.
Back to reading the shitty Java API DOCS that make NO SENSE. A Channel. What is a Channel. It has something to do with a track. What's a track and what's a track bank. DAW users can Guess what a Track is. It's probably one of those horizontal rows in the daw. Maybe?