Developing with the Bitwig Controller API - Video Tutorial available

User avatar
moss
KVRian
1469 posts since 13 May, 2004

Post Wed Nov 28, 2018 2:11 pm

Many people asked for it! And here we go, first part is online:

https://youtu.be/l4AuiQ8krQc

T71
KVRist
189 posts since 10 Sep, 2008

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Wed Nov 28, 2018 3:44 pm

Killer. Thanks, dude!

C-quence
KVRist
118 posts since 27 Sep, 2004

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Thu Nov 29, 2018 12:24 am

:clap: :clap: :clap:

User avatar
moss
KVRian
1469 posts since 13 May, 2004

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Sun Dec 02, 2018 9:29 am


tvdv
KVRist
35 posts since 17 Jul, 2016

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Mon Dec 03, 2018 10:01 am

Great videos! Thank you very much for creating these! :)

One minor issue; around 3:35 in Part II you state that the Controller Scripts and Extensions directories can be found in ~/Bitwig Studio/ on the Mac. This is incorrect; they’re actually in ~/Documents/Bitwig Studio/

User avatar
moss
KVRian
1469 posts since 13 May, 2004

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Mon Dec 03, 2018 12:00 pm

tvdv wrote:
Mon Dec 03, 2018 10:01 am
One minor issue; around 3:35 in Part II you state that the Controller Scripts and Extensions directories can be found in ~/Bitwig Studio/ on the Mac. This is incorrect; they’re actually in ~/Documents/Bitwig Studio/
Yes, you are right! Will mention it in the next part.

pc999
KVRian
1318 posts since 19 Aug, 2009

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Fri Dec 07, 2018 3:34 pm

Really cool :tu: :tu: :tu:

User avatar
moss
KVRian
1469 posts since 13 May, 2004

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Thu Dec 20, 2018 2:56 pm

Part III is online! All about MIDI:

https://youtu.be/hseQpTtyvFM

User avatar
moss
KVRian
1469 posts since 13 May, 2004

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Mon Dec 31, 2018 3:25 am

On to Part 4: Controlling the Transport

https://www.youtube.com/watch?v=OGBCxqseoWo


deadReactor
KVRer
29 posts since 26 Jan, 2012

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Fri Jan 18, 2019 10:35 am

Hi moss,

I also enjoy watching your videos, even though your series literally started just a few days too late for sparing me of figuring most of this stuff out the hard way ;) Great stuff.

Just out of interest, any particular reason why you keep using "var" instead of "let" (like everybody seems to)?
Is the bitwig api not consistent with the version of the nashorn library?

w.

User avatar
moss
KVRian
1469 posts since 13 May, 2004

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Fri Jan 18, 2019 12:02 pm

deadReactor wrote:
Fri Jan 18, 2019 10:35 am
Hi moss,

I also enjoy watching your videos, even though your series literally started just a few days too late for sparing me of figuring most of this stuff out the hard way ;) Great stuff.

Just out of interest, any particular reason why you keep using "var" instead of "let" (like everybody seems to)?
Is the bitwig api not consistent with the version of the nashorn library?

w.
Good question. I guess I am just old-school :-)

BufoBufo
KVRist
168 posts since 23 Oct, 2008

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Fri Jan 18, 2019 12:19 pm

deadReactor wrote:
Fri Jan 18, 2019 10:35 am
Just out of interest, any particular reason why you keep using "var" instead of "let" (like everybody seems to)?
Is the bitwig api not consistent with the version of the nashorn library?
Nashorn is only a slow implementation of ES5.1, so no block-level variables (EDIT: wrong, let does work), fat arrows or other current goodies. Even worse, Nashorn itself has been flagged for deprecation. I desperately hope Bitwig won't drop JS controller scripts support anytime soon.
Last edited by BufoBufo on Fri Jan 25, 2019 12:20 am, edited 1 time in total.

deadReactor
KVRer
29 posts since 26 Jan, 2012

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Fri Jan 18, 2019 1:45 pm

BufoBufo wrote:
Fri Jan 18, 2019 12:19 pm
Nashorn is only a slow implementation of ES5.1, so no block-level variables, fat arrows or other current goodies. Even worse, Nashorn itself has been flagged for deprecation. I desperately hope Bitwig won't drop JS controller scripts support anytime soon.
I figured that const and let came around the same time and const is used all over the place in scripts. I think both were part of es5. Let definitely works in my scripts, didn't test if the implementation is correct though.
Edit: My bad it actually was part of es6.

@deprecation, I also noticed, but it seems like graalvm could be a drop in replacement.
Last edited by deadReactor on Sat Jan 19, 2019 8:33 am, edited 1 time in total.

BufoBufo
KVRist
168 posts since 23 Oct, 2008

Re: Developing with the Bitwig Controller API - Video Tutorial available

Post Sat Jan 19, 2019 5:44 am

deadReactor wrote:
Fri Jan 18, 2019 1:45 pm
I figured that const and let came around the same time and const is used all over the place in scripts. I think both were part of es5. Let definitely works in my scripts, didn't test if the implementation is correct though.
You're right, const & let do work despite being ES6 features. Dunno if they didn't work from the start, or if I just cut out both in favor of writing clean ES5 that can be eslinted using a regular ES5 profile, instead of using an ES6 profile for linting when the Nashorn runtime is far from ES6-compatible.

Return to “Controller Scripting”