I need help creating a step recorder

Post Reply New Topic
RELATED
PRODUCTS

Post

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.
I am creating a controller for step recording.
https://github.com/lsetzl/BitwigStudioStepRecorder (https://github.com/lsetzl/BitwigStudioStepRecorder)

The basic functionality is working, but I have the following issues:
  • I don't know how to specify the target clip, so I can only target the last created scene clip.
  • I can't retrieve the Time Range specified in the UI, so I am managing the cursor for adding notes on the controller side.
If anyone has any insight, please let me know.

I apologize if my English is hard to understand.

Post

from your code...

Code: Select all

cursorClip = host.createCursorTrack(0, 0).createLauncherCursorClip(1024, 128);
the clip object you created here will just be the one you have selected in bitwig. Since it is a pinnable clip you can pin it temporarily based on user input. you'd have to explore the API and build some conditions to do what you want since there is no obvious way to get the last created clip. One idea that comes to mind is observing all the slots in the clip launcher and when a new clip is added to a slot the thing is pinned there... I think you'll run into a lot of unexpected issues taht way.

not sure what you mean by time range in the ui. Your cursor clip can do 1024 steps... the amount of time the cursor clip can observe is based on the step size.

Not sure if that helps but maybe others will join the discussion.
----------------------------------------------------------------------
/CTRL → http://slashctrl.io
Music & mixes → http://soundcloud.com/kirkwoodwest

Post

Thank you, Kirkwood.

> target clip
I confirmed that the target clip is working without issues. I didn't realize that the target track could be changed from the controller's status view.

> time range
It would be ideal if I could get the current step in the clip, similar to Clip.getStepSize, but I couldn't find a corresponding function.

Post Reply

Return to “Controller Scripting”