You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From some testing of CLAP plugins, it seems like there are (at least) two cases when the process() call will emit parameter value output events:
When the user changes a parameter value, for instance by turning a dial in the UI
When a state is loaded using load on clap_plugin_state
It's useful in the plugin host to be able to disambiguate these two cases, for instance to determine whether or not the plugin host needs to persist a new state (typically yes in case (1), no in case (2) since the plugin host has just provided said state).
What's the expected way of doing so using CLAP? I thought perhaps that plugins should set the CLAP_EVENT_DONT_RECORD flag on any output events resulting from a state load, but it doesn't seem like CLAP plugins tend to do this.
Alternatively, I thought perhaps there might be a pair of events that indicate the start and end of a sequence of events resulting from a state load, but I didn't see any to that effect.
Any guidance on the expected behaviour of plugins according to the spec would be much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello!
From some testing of CLAP plugins, it seems like there are (at least) two cases when the
process()
call will emit parameter value output events:load
onclap_plugin_state
It's useful in the plugin host to be able to disambiguate these two cases, for instance to determine whether or not the plugin host needs to persist a new state (typically yes in case (1), no in case (2) since the plugin host has just provided said state).
What's the expected way of doing so using CLAP? I thought perhaps that plugins should set the
CLAP_EVENT_DONT_RECORD
flag on any output events resulting from a state load, but it doesn't seem like CLAP plugins tend to do this.Alternatively, I thought perhaps there might be a pair of events that indicate the start and end of a sequence of events resulting from a state load, but I didn't see any to that effect.
Any guidance on the expected behaviour of plugins according to the spec would be much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: