Latest News: Bitwig updates Bitwig Studio to v5.1
Help understanding the scene/clip pattern
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Hello, first off, I'm new here! I'm a java programmer by day, and a musician by night. I'm trying to write an extension for my old mpd24. I watched the extremely helpful videos that Mr Jürgen Moßgraber put together on youtube, and that gave me a really good start.
The issue I'm having is that I'm not quite sure how to interact with the clips/scenes. I was expecting there to be a bank like api for clips, but it appears to hang off of the track bank itself. I'm not sure how to tell if something is in a scene already, or once something is recording into a scene how to stop the recording.
I'm going to continue experimenting, and if I come up with the solution I'll report back to this thread.
For reference, here is the codebase I'm working on.
https://github.com/whodevil/bitwig-mpd
The issue I'm having is that I'm not quite sure how to interact with the clips/scenes. I was expecting there to be a bank like api for clips, but it appears to hang off of the track bank itself. I'm not sure how to tell if something is in a scene already, or once something is recording into a scene how to stop the recording.
I'm going to continue experimenting, and if I come up with the solution I'll report back to this thread.
For reference, here is the codebase I'm working on.
https://github.com/whodevil/bitwig-mpd
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Ok, looks like I missed that I could get the scene bank off of the trackbank in the init. I bet this is the part I was missing.
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Oh I see, I was confusing two things, the scenes are for launching sets of clips. I thought clips and scenes were the same thing.
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Well this is confusing, gradle pulled in a version 10 of the api jar, but bitwig 3.0.3 doesn't appear to support version 10 yet. Does what's the deal with that?
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Ok, new issue. I see how I can start a clip recording, and I see how I can view if it is recording or queued for recording, but I can't for the life of me figure out how to stop it while it is recording.
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Looks like stopping the recording is just hitting launch again. Not sure how to stop a clip though, once it is recording or playing, it is unclear how to schedule the clip to be stopped.
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Ok, learning and posting in realtime LOL. Looks like to stop the clip from being run I either have to launch a different clip, or trigger stop on the track.
I think that's all I got for this hack session, I think tomorrow I'll try messing with the device api.
I think that's all I got for this hack session, I think tomorrow I'll try messing with the device api.
- KVRAF
- 4145 posts since 13 May, 2004
Stick with API 8.devongleeson wrote: ↑Thu Oct 10, 2019 2:16 am Well this is confusing, gradle pulled in a version 10 of the api jar, but bitwig 3.0.3 doesn't appear to support version 10 yet. Does what's the deal with that?
-
- KVRer
- Topic Starter
- 20 posts since 10 Oct, 2019
Is API 9 not very stable?moss wrote: ↑Thu Oct 10, 2019 10:38 amStick with API 8.devongleeson wrote: ↑Thu Oct 10, 2019 2:16 am Well this is confusing, gradle pulled in a version 10 of the api jar, but bitwig 3.0.3 doesn't appear to support version 10 yet. Does what's the deal with that?
- KVRAF
- 4145 posts since 13 May, 2004
API9 requires Bitwig 3.0.2 and adds only 1 new function. For that you give up backwards compatibility down to Bitwig 2.4.devongleeson wrote: ↑Fri Oct 11, 2019 1:16 amIs API 9 not very stable?moss wrote: ↑Thu Oct 10, 2019 10:38 amStick with API 8.devongleeson wrote: ↑Thu Oct 10, 2019 2:16 am Well this is confusing, gradle pulled in a version 10 of the api jar, but bitwig 3.0.3 doesn't appear to support version 10 yet. Does what's the deal with that?