-
Notifications
You must be signed in to change notification settings - Fork 28
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
PluginParameterChanged event not raised for many paramters #52
Comments
Hi @nlaroche I noticed something curious before, in Reaper, which I think related: Indeed, Ysfx doesn't replicate that behavior, which is probably a problem. (On another note, Ysfx-plugin has |
Hi, Thanks for the response. I really don't know how Reaper is picking up the changes - in my code I am using In the YSFX code in I think its how parameters are bound. If you're not sure I can dig a bit more. Cheers! |
You can try to experiment with this quick patch (not tested) b85d5da This should make the plugin report value changes regardless whether the jsfx sets the change bit or not. |
Awesome, thank you for the quick replies and changes ! I will give it a shot and see if it helps. |
Unfortunately this fix did not appear to change anything, but I did discover in one case (Atlantis-Reverb) that when I switch to slider mode, as a host I will always receive change notifications to the parameter. However, that same parameter in graphic mode does not trigger the notification change message.... but, if I switch back to slider view, I can see that the slider component has updated. So there is a change notification getting lost somehow when updating certain parameters in graphic mode it appears. Still investigating why.. |
I figured out the issue. When changing a parameter in GFX mode I've made the change for the slider parameter and similar changes for the other types, however I did not do a PR as I'm not sure if this breaks anything for the way you envision ysfx should work (also im still testing this a bit more thoroughly, might be buggy in some situations). Here's the code for the slider. Hope this helps and thanks again for creating this amazing library!
|
I doubt it, this code is nearly a direct copy from Juce's generic parameter editor, except it takes its ranges from the Jsfx min-max slider specifications.
I'm going to try reproducing the situation, but let me know if I should do something specific. |
It works in this commit 99d3c34 which is a modification of b85d5da The deeper problem here though, it's that This solution is not valid as it is a proper fix however. (not RT, and unsafe) |
Its possible the message thread is the issue, vst3 does have weird limitations about only calling things on the message thread in many scenarios. I'll have to give it a shot and see. |
Hopefully that one should work 1821b19 |
I've noticed that for many parameters on different plugins that there is no change event which is raised when the parameter is modified by the user. I've been reviewing the code trying to understand if this is intentional or a bug but I'm still not sure - I believe it has to do with slider type. This is important for my use of the YSFX library so that I can react to the user changes as the plugin host
Examples:
-- The sliders in the "Ring" work notify host however the options in the middle do not
-- None of these raise changes
I'd be happy to make the changes on my side if you could advise and point me in the right direction.
Thanks!
The text was updated successfully, but these errors were encountered: