standalone parameters changes and cc handling #519
Replies: 4 comments 2 replies
-
|
Best to set the default midiCC hint and let DPF handle that, which it does already. Current implementation at https://github.com/DISTRHO/DPF/blob/main/distrho/src/DistrhoPluginJACK.cpp#L465-L488 PS: You can't just be changing your own parameters and expecting the host to know about it, there is an API for this https://github.com/DISTRHO/DPF/blob/main/distrho/DistrhoPlugin.hpp#L147-L163 but expect it to not be universal. It is more to be used if you have some control of the host side too. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot for your answer.
That's nice ! Is it possible to change this value dynamically (to let user assign its own controls by implementing a cc assign mode in ui and dsp) ? It seems to be the case as those are read directly in the jack_process callback, but just to be sure, can you confirm ? Jack standalone use the DISTRHO_PLUGIN_WANT_PARAMETER_VALUE_CHANGE_REQUEST can/request value change, am i correct ? This leads me to a slightly unrelated question: on the UI side, it is expected that the UI can SetParameterValue that will inform host and then propagate to the dsp, right ? And this will work with jack standalone host ? Or should i also use the value change request or another mechanism ? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Ah, ok, very good to know. So i guess i'll use hints first if jack standalone use them and find the correct way to do assignation later. I need cc assignation ONLY for standalone anyway (i certainly won't go the host automation fighting against CC route).but i want them for sure in this case.
Ok, that's good ! Now, last question: I noticed that when inside a host (ardour in my case), i do Thanks ! |
Beta Was this translation helpful? Give feedback.
-
|
Ok, noted! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my plugin, for the standalone version, i want to handle MIDI Control Changes.
So what i do is, in the
runmethod:and then
in the
setParameterValue, i affect theMyPluginParameter::kParameterSomeParamvalue tosomeValueSo this works well.
But in the GUI, the
parameterChangedmethod does not receive these parameter changes.Note that in a plugin situation, when the host sends param changes, both UI and DSP react correctly to changes.
So how to handle this CC -> param change situation ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions