
Latest News: Bitwig announces Bitwig Studio 3
Developing with the Bitwig Controller API - Video Tutorial available
-
moss
- KVRian
- 1469 posts since 13 May, 2004
-
T71
- KVRist
- 189 posts since 10 Sep, 2008
Re: Developing with the Bitwig Controller API - Video Tutorial available
Killer. Thanks, dude!
-
C-quence
- KVRist
- 118 posts since 27 Sep, 2004
-
moss
- KVRian
- 1469 posts since 13 May, 2004
-
tvdv
- KVRist
- 35 posts since 17 Jul, 2016
Re: Developing with the Bitwig Controller API - Video Tutorial available
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/

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/
-
moss
- KVRian
- 1469 posts since 13 May, 2004
Re: Developing with the Bitwig Controller API - Video Tutorial available
Yes, you are right! Will mention it in the next part.
-
pc999
- KVRian
- 1318 posts since 19 Aug, 2009
-
moss
- KVRian
- 1469 posts since 13 May, 2004
-
moss
- KVRian
- 1469 posts since 13 May, 2004
-
moss
- KVRian
- 1469 posts since 13 May, 2004
-
deadReactor
- KVRer
- 29 posts since 26 Jan, 2012
Re: Developing with the Bitwig Controller API - Video Tutorial available
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.
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

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.
-
moss
- KVRian
- 1469 posts since 13 May, 2004
Re: Developing with the Bitwig Controller API - Video Tutorial available
Good question. I guess I am just old-schooldeadReactor wrote: ↑Fri Jan 18, 2019 10:35 amHi 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 wayGreat 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.

-
BufoBufo
- KVRist
- 168 posts since 23 Oct, 2008
Re: Developing with the Bitwig Controller API - Video Tutorial available
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.deadReactor wrote: ↑Fri Jan 18, 2019 10:35 amJust 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?
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
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
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.deadReactor wrote: ↑Fri Jan 18, 2019 1:45 pmI 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.