Removing tempo from a plugin #463
-
|
A tempo can be passed to a plugin by setting the However, I'm not clear on how to remove a tempo from a plugin that already has a tempo. If an event is passed into |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
In a given process loop, if the transport doesn't support CLAP_TRANSPORT_HAS_TEMPO, then the plugin does not have access to the tempo. What a plugin does with that fact is up to the plugin. For instance, if the transport is NULL or the CLAP_TRANSPORT_HAS_TEMPO is not set, surge will go to 120bpm 4/4 for all its internal tempo measures. I think if a host set tempo as there and then changed it to not there, it would get a variety of behaviors from plugins. The correct behavior would be for the plugin to do whatever it does for a tempo-free hosting environment for that process block. But who knows if plugins would do that correctly! Does that help? |
Beta Was this translation helpful? Give feedback.
In a given process loop, if the transport doesn't support CLAP_TRANSPORT_HAS_TEMPO, then the plugin does not have access to the tempo.
What a plugin does with that fact is up to the plugin.
For instance, if the transport is NULL or the CLAP_TRANSPORT_HAS_TEMPO is not set, surge will go to 120bpm 4/4 for all its internal tempo measures.
I think if a host set tempo as there and then changed it to not there, it would get a variety of behaviors from plugins. The correct behavior would be for the plugin to do whatever it does for a tempo-free hosting environment for that process block. But who knows if plugins would do that correctly!
Does that help?