More then 2 sends at a time

kunzs
KVRer
2 posts since 22 Jan, 2019

Post Tue Jan 22, 2019 2:37 pm

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hi everybody,

I just bought a Novation Launch Control XL (https://novationmusic.com/de/launch/launch-control-xl (https://novationmusic.com/de/launch/launch-control-xl)).

The device has 3 rotary encoders for each of its 8 channels. Usually these encoders are used for controlling 2 sends and the pan of a track.

I would like to use all 3 encoders for my sends, so I created a custom script for the device. Everything works fine, except the mapping of this encoder.

Bitwig just won't let me create a sendBank with more then 2 slots. It gives me the error "Parameter size must be in the range 0 to 2" when trying to set the size of the bank to 3:

sendBank.setSizeOfBank(3);

I also tried to create 2 banks and set the cursor of the second bank to 2, but this won't work too.

Is there some way to get around that limitation of the api? I just can't believe that I'm the only one trying to control more then 2 sends at a time... :(

Would it maybe be possible to have 2 scripts for the same controller?

Information:
Api-Version: 7
Bitwig: 2.4.3

User avatar
Tj Shredder
KVRAF
1833 posts since 6 Jan, 2017 from Outer Space

Re: More then 2 sends at a time

Post Wed Jan 23, 2019 2:34 am

I have to look how I did it, but my MixTAB script is using 3 sends. Can't remember of having had any problems with it. I made my script by modifying something existing. I am not a script wizard...
You can have a look at it yourself:
https://github.com/TjShredder/MixTAB-Bitwig-Script

kunzs
KVRer
2 posts since 22 Jan, 2019

Re: More then 2 sends at a time

Post Wed Jan 23, 2019 7:11 am

I took a look at your script and I think I already saw what my mistake is: when creating my track bank I only specified 2 sends (because that was my plan at first)...

I will try this later, but should be the solution. It's just a mistake on my side!

Thank you!

Return to “Controller Scripting”