Solved Set step size of button for pluginParameter ?
-
Hello HISE community,
I am currently creating my first plugin in HISE and wanted to ask if it is possible to set a pluginParameter stepSize for a button, because if I want to automate a button in Reaper, I can not only switch back and forth between 2 states as with other plugins, but it has a range of 100 and if the value is greater than 50 the button is activated.I hope the pictures make the problem easier to understand.
I only want it to be able to switch back and forth between 2 valuesThanks
-
@WillDevelop I'm not sure what you mean by "automating a parameter". Do you mean by sending MIDI or OSC out of a HISE plugin?
-
@clevername27 he's referring to parameter automation
-
@WillDevelop If I understand correctly, you want to quantize the value a value you created in your DAW for a parameter in your HISE plugin. If that's the case, do it, and assuming it's MIDI CC data, you can probably do this manually in your MIDI callback. Intercept the data as it comes in, perform your comparison, and then change the CC value there. (Anyone else?)
-
@clevername27 said in Set step size of button for pluginParameter ?:
assuming it's MIDI CC
It's parameter automation which is separate from CCs. The problem is on the HISE end I believe. It gives a larger range of values than just 0/1 for buttons.
Here's an example of how it shows up in Ardour. This is a button on my UI called, Activate which has an on/off status, but the automation is showing up with a range of values.
-
@d-healey That's exactly my problem, but if it's due to HISE itself, then there's nothing you can do about it, right?
It's not that bad anyway@d-healey said in Set step size of button for pluginParameter ?:
The problem is on the HISE end I believe
-
@WillDevelop said in Set step size of button for pluginParameter ?:
then there's nothing you can do about it, right?
Open an issue on the github page and link to this thread.
-