[LV2] Question on schedule_work
Spencer Jackson
ssjackson71 at gmail.com
Mon Jun 11 07:52:29 PDT 2018
On Sun, Jun 10, 2018, 5:58 PM Phyllis Smith <phylsmith2004 at yahoo.com> wrote:
> Hi, we are the Cinelerra-gg developer (GoodGuy) and lovely-assistant
> (PhylSmith) team and have just finished phase 2 of hooking up some LV2
> plugins to this NLE -- "Phase 1 Proof of Concept".
>
> This is really amazing. Over 500 plugins load. Some of them cause
> problems, but the percentage which are loading and the percentage that
> actually perform is pretty impressive. Good work to all of the LV2
> programmers!
>
Congrats to you too! That's great.
>
> To avoid the current problems, we have a Bad Boys Blacklist (plugins
> that crash cin5), but it is a comparatively short list.
>
Got a link (so I can see if any of them are mine)?
>
> But having difficulty with knowing how to test schedule_work. Is there a
> plugin that uses schedule_work in an obvious way what does not involve
> using a MIDI or does this thing need a MIDI to be tested?
>
It doesn't need midi. The most common use that I know of in plugins is for
disk operations which are never realtime safe. Naturally samplers are a
common use case but they also use midi typically. I know my rakarrack ports
of rkr echotron and rkr reverbtron (https://github.com/ssj71/rkrlv2) are
loading files that only affect the audio processing, without any midi at
all. They are however not very tested so there may be other issues. I
believe Robin's convolver would be a better reference with a similar
mechanism (https://github.com/x42/convoLV2).
Note that all these require atoms and patch extensions to communicate to
the dsp which file to load. File loading is not the only use of the worker
thread but it's the only one I know examples of.
Cheers!
_spencer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20180611/39b6b738/attachment.html>
More information about the Devel
mailing list