Clip recording using JavaScript API (in: Controller Scripting)
By: haiduc
26 Mar 12:24
Hi everyone,
I’m dabbling with the Bitwig Controller JavaScript API and can’t seem to figure out how to record into a clip slot in the Clip Launcher.
Here is a minimal snippet of what I’m doing:
[code]function recordClipSlot(trackIndex, slotIndex) {
var track = trackBank.getItemAt(trackIndex);
var slot = track.clipLauncherSlotBank().getItemAt(slotIndex);
println(“recordClipSlot(” + trackIndex + “, ” + slotIndex + “)”);
slot.record();
}[/code]
What this does is setting the focus onto…
Go to first unread post in this topic
Read more here: Source link
