Plug'n Script, script to gui interaction tutorials?
-
- KVRist
- 112 posts since 21 Nov, 2018
Hi,
I'm getting unexpected results where I'm trying to change the gui from the dsp script.
Which are the best examples to look at?
I would like to set inputParameters from the script.
eg. I have a plugin that learns a note which can then be used to trigger things. I can learn that note and display it with an outputParameter ok. I'd like to have a knob that can set that note too but if you choose to learn it that input knkob will show the learned note.
Thanks,
Neil
I'm getting unexpected results where I'm trying to change the gui from the dsp script.
Which are the best examples to look at?
I would like to set inputParameters from the script.
eg. I have a plugin that learns a note which can then be used to trigger things. I can learn that note and display it with an outputParameter ok. I'd like to have a knob that can set that note too but if you choose to learn it that input knkob will show the learned note.
Thanks,
Neil
-
Blue Cat Audio Blue Cat Audio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=39981
- KVRAF
- 6335 posts since 8 Sep, 2004 from Paris (France)
Once the output parameter has been set you can use it in the GUI to change other things. However I am not 100% sure that you actually want to change input parameters like that. In many cases you can just use the trigger note to change internal parameters inside your script, and change the display accordingly.
There is another topic that is somewhat related where this was discussed: viewtopic.php?f=52&t=554524
There is another topic that is somewhat related where this was discussed: viewtopic.php?f=52&t=554524
-
- KVRist
- Topic Starter
- 112 posts since 21 Nov, 2018
Many thanks.
Yeah I've had a look at that thread. It inspired me to start playing with kuiml.
The PnS learning curve gets pretty steep when you want to do things with the gui, such as disable elements when your script is in a certain state.
e.g. my plugin is a midi stepper aimed at playing sequences on a drum pad. you play notes in and then play through them with the trigger note. The trigger note learning is done in my script. When it's learning I want it disable sequence recording in the gui.
I've achieved this to a degree but now I'm getting unexpected results when I re-enable recording.
I will post simplified scripts later.
Yeah I've had a look at that thread. It inspired me to start playing with kuiml.
The PnS learning curve gets pretty steep when you want to do things with the gui, such as disable elements when your script is in a certain state.
e.g. my plugin is a midi stepper aimed at playing sequences on a drum pad. you play notes in and then play through them with the trigger note. The trigger note learning is done in my script. When it's learning I want it disable sequence recording in the gui.
I've achieved this to a degree but now I'm getting unexpected results when I re-enable recording.
I will post simplified scripts later.
-
- KVRist
- 316 posts since 28 May, 2011
Don't give up and feel free to ask here or on Facebook:
https://www.facebook.com/groups/411296262925531/
KUIML is tricky sometimes, but it can do most of the things we may think of.
https://www.facebook.com/groups/411296262925531/
KUIML is tricky sometimes, but it can do most of the things we may think of.
-
Blue Cat Audio Blue Cat Audio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=39981
- KVRAF
- 6335 posts since 8 Sep, 2004 from Paris (France)
The issue here is probably not how to use KUIML but to get used to the asynchronous nature of DSP processing. Keeping the state of the DSP and the GUI in sync is not an easy thing.ilyaorlov wrote: Wed Dec 09, 2020 1:08 pm KUIML is tricky sometimes, but it can do most of the things we may think of.