[LV2] MIDI: NOTE OFF on or just before deactivate() or cleanup()
Filipe Coelho
falktx at gmail.com
Sat Nov 23 03:05:39 PST 2019
On 23.11.2019 08:58, Sven Jaehnichen wrote:
> Hi,
>
> I observed, that my (and others) lv2 midi plugins do not stop
> plugin-generated midi NOTE ON signals after closing the plugin. I
> thought about it but I didn't find a way to do this. Feeding the
> respective atom output port with LV2_MIDI_MSG_NOTE_OFF in deactivate()
> would be too late and without effect (if allowed anyway?). And even
> later in cleanup, it doesn't make any sense.
>
> Is there any way to send a MIDI NOTE OFF if the plugin is deactivated
> or just before?
There is no way to do this as far as I know.
In Carla, I setup a flag so that on the very first run of a plugin, it
sends "all-notes-off" to every MIDI channel.
Doesn't help with the cleanup, though
More information about the Devel
mailing list