Re: [LAD] Realtime inter-thread communication

From: Harry van Haaren <harryhaaren@email-addr-hidden>
Date: Mon Feb 29 2016 - 22:05:54 EET

On Mon, Feb 29, 2016 at 7:52 PM, Spencer Jackson <ssjackson71@email-addr-hidden>
wrote:
> > The generic solution for cases like this is a lock-free ringbuffer.
> I've also used the jack ringbuffer for this and it was easy enough.

Simple tutorial on using JACK ringbuffer and C++ event class here:
https://github.com/harryhaaren/realtimeAudioThreading

> >> But to be honest I've found this API to be a bit intimidating and I'm
> >> not familiar with any LV2 host that would allow me to test such a
> >> plugin. Any recommendations? Ardour?
> >
> > jalv, Carla, QTractor, Ardour..

+1 for Jalv, very fast turnover time, and LV2 implementation
by the lead LV2 developer: I concider it the reference implementation :)

> > A LV2 simple synth example can be found at
http://lv2plug.in/book/#_sampler
>
> I like jalv for debugging because its quite simple and quick to load.
> I can run it with gdb and valgrind/callgrind without any trouble. I've
> found it important to test in other hosts too though but only once its
> working in jalv.

+1 again

> FWIW I hope you do make an LV2 plugin version as I rarely use
> standalone synths these days.

+1, and LV2 is supported by MOD (hardware platform that runs LV2):
http://moddevices.com/ and https://vimeo.com/92739423

> If you have any questions about my code I've linked you are welcome to
> ask. Also, LV2 has a ML and IRC channel and I'll be happy to offer any
> advice or support there that I can too.

Same!

Cheers, -Harry

--
http://www.openavproductions.com

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Mar 1 00:15:02 2016

This archive was generated by hypermail 2.1.8 : Tue Mar 01 2016 - 00:15:02 EET