-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@hvparam
type trig
is ignored when generating DPF and Javascript user interfaces
#13
Comments
Javascript certainly doesn't listen for this property, but the DPF generator should: https://github.com/Wasted-Audio/hvcc/blob/develop/hvcc/generators/c2dpf/templates/HeavyDPF.cpp#L126-L127 What do you mean exactly with "UI will be a slider"? It will depend on your host or UI code how this parameter is presented. |
Ah I realize you meant the auto-generated ImGui UI, this is indeed still very limited. I'm happy to accept pull requests that implement more features into these generated UIs. |
thanks! and yes, it's the auto-generated ImGui UI that renders it as a slider. Does HVCC have any existing way to influence the auto-generated ImGui, or would I need to write separate UI code and find some alternative way of compiling that with the Heavy output? What is the UI intent for the For Javascript it looks like I could write my own elements to replace the autogenerated UI, that seems straightforward and will probably be what I take on next. Is the lack of |
The https://github.com/Wasted-Audio/hvcc/blob/develop/hvcc/generators/c2dpf/templates/HeavyDPF_UI.cpp ps; I implemented this |
Thanks! I think this gives me what I need to explore this further, I'll have a look at the template codes, ideally I need to find some means of providing visual feedback as well (even just simple indicators). The docs state that |
Yeah being able to send values out of the patch has been requested before. I'll need to sit down to come up with a good way to do this for plugins. Will write a feature request for this to keep track. |
The current version of HVCC (0.9) does not appear to render the
trig
input type correctly when generating DPF or Javascript user interfaces, and appears to treat them as afloat
(e.g. if defined as|r <name> @hvparam 0 1 0 trig|
the UI will be a slider from 0 to 1). Suggest following up with Wasted-Audio or checking if a future release of HVCC addresses the issue.The text was updated successfully, but these errors were encountered: