[LV2] Sharing sample data between plugin and ui
Stefan Westerfeld
stefan at space.twc.de
Sun Oct 21 05:51:42 PDT 2018
Hi!
I'm at a point where I want a LV2 plugin to load sample data for processing and
the UI should be able to access the sample data for drawing. Since the sample
data may be large, I think it cannot be sent as one message. Splitting it up
into multiple messages sounds complicated.
Of course this could be solved by requiring instance access, but as far as I
understand it, instance access is not a recommended feature.
So I wonder if a good solution would be to only send a filename as message from
the plugin to the UI, and the plugin and UI would load the sample from the same
file. This would break if plugin and UI were running on different hosts, but I
don't know if LV2 is even supposed to support this case.
Cu... Stefan
--
Stefan Westerfeld, http://space.twc.de/~stefan
More information about the Devel
mailing list