Re: [LAD] Communicating between python UI and C++ engine for real time audio?

From: Arnold Krille <arnold@email-addr-hidden>
Date: Wed Nov 02 2011 - 22:42:16 EET

On Wednesday 02 November 2011 18:09:34 Iain Duncan wrote:
> I looked into this about five years ago, but didn't get too far. Wondering
> if anyone on here has experience splitting apps up into:
>
> - realtime low latency engine in C++ using per sample callback audio (
> either RTAudio or Jack or PortAudio )
>
> - user interfaces and algo composition routines in python that either
> communicate with the engine by shared memory or over a queue

If the python stuff is only for the gui and non-realtime stuff, this is a very
practical approach. There are quite a few people doing that. I believe Fons'
session managment and assorted apps are running that way (altough he doesn't
seem to release them). Some of my prototype apps for the next-generation
JackMix are built that way. And I would have done this for my university-job
project had I learned python earlier.

Doing applications in python with the sound-stuff happening in a separate C-
compiled thread) gives that advantage that you can implement the apps as
modules and run them either stand-alone or within a bigger controlling app.

Have fun,

Arnold

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Received on Thu Nov 3 00:15:02 2011

This archive was generated by hypermail 2.1.8 : Thu Nov 03 2011 - 00:15:02 EET