[LAD] prototyping callback based architecture in python?
k.s.matheussen at notam02.no
Wed Nov 2 13:24:06 UTC 2011
> On Wed, Nov 2, 2011 at 12:23 AM, Iain Duncan <iainduncanlists at gmail.com>
>> Hi, I'm working on an a project that I intend to do using the STK in a
>> callback style, but am hoping I can prototype the architecture in python
>> until I've figured out the various components and their responsibilities
>> dependencies. Does anyone know of any kind of python library ( or
>> method? )
>> that would let me simulate the way callback based STK apps using RTAudio
>> work? IE I want to have a python master callable that gets called once
>> audio sample and has a way of sending out it's results to the audio
>> I've found a bunch of python audio libs but it doesn't seem like they
>> that way, maybe I'm missing something?
> the obvious choices would be the python wrappers for JACK and/or
> note, however, that the chances of using Python for per-sample
> processing at low latency without intense dropouts are low.
Actually, since Python has an incremental garbage collector,
it should in theory only require replacing the memory allocator with a
memory allocator to make Python pretty hard real time capable. I think.
I also think I remember someone using Python for real time sample
by sample signal processing in Pd...
Efficiency is another story though
More information about the Linux-audio-dev