Get VST/CLAP parameters from cursorDevice

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi there,

I'm struggling to get VST or CLAP parameters from a CursorDevice obtained with

Code: Select all

    CursorTrack cursorTrack = host.createCursorTrack(0, 0);
    CursorDevice cursorDevice = cursorTrack.createCursorDevice();
I don't want to use a remote control page, but changing parameters directly.

For the context, I'm working on https://github.com/kernicPanel/bitwig-randomizer and I want to randomize parameters for any plugin, without the need for the user to build remote controls.

Using DrivenByMoss with a Push 2, I see that only remote controls are accessible, so I highly doubt this is doable.

Post

Watch this:

Post

Thanks for your reply!
I'll watch it again, maybe I missed something.

Post

moss wrote: Wed Aug 03, 2022 7:31 am Watch this:
Thank for all your work on Bitwig!
In my context, I don't want to hardcode any ID.
Is there a way to get a SpecificPluginDevice from a CursorDevice without knowing his ID?

Post

kernicPanel wrote: Wed Aug 03, 2022 5:04 pm
moss wrote: Wed Aug 03, 2022 7:31 am Watch this:
Thank for all your work on Bitwig!
In my context, I don't want to hardcode any ID.
Is there a way to get a SpecificPluginDevice from a CursorDevice without knowing his ID?
Sadly, not! I was just discussing that but somehow they did not see the need. Maybe more people need to ask for it 8)

Post

moss wrote: Wed Aug 03, 2022 5:16 pm
kernicPanel wrote: Wed Aug 03, 2022 5:04 pm
moss wrote: Wed Aug 03, 2022 7:31 am Watch this:
Thank for all your work on Bitwig!
In my context, I don't want to hardcode any ID.
Is there a way to get a SpecificPluginDevice from a CursorDevice without knowing his ID?
Sadly, not! I was just discussing that but somehow they did not see the need. Maybe more people need to ask for it 8)
Thanks for your help, moss!
Should I use the contact form here https://www.bitwig.com/contact/ to pray the Bitwig gods, or do you have a more direct way ?

Post

I sent them a request through the form. :pray:
Thanks again for your help and all your work, moss.
You allowed me to write some funky code!

Post

Hi @kernicPanel! Your randomizer looks like a great idea.

This should absolutely be part of the API (I have my own distinct use case, and I'm sure there are lots of others) and I'll send a feature request myself. Heads up that, as a stopgap, I've managed to get the underlying IDs using reflection, based on an approach developed by @minortom for use with channels. See here: viewtopic.php?p=8506301#p8506301 (code example coming soon)

Post Reply

Return to “Controller Scripting”