Thanks guys, it looked from what I could see on the port audio page that only non-blocking was supported, but Gary said on the stk list that it might be possible with the python wrappers in the rtaudio package. I realize it's probably not going to be practical as a long term solution ( though I sure with it were possible )  but as I actually earn my living coding python and am a total C++ amateur, it's probably worth saving some frustration figuring out architecture in a python prototype. I'm ok with high latency for now. 

Kjetil, do you know if anyone has experimented with a real time memory allocator for Python?

Thanks
Iain

On Wed, Nov 2, 2011 at 6:37 AM, Kjetil Matheussen <k.s.matheussen@notam02.no> wrote:
> On Wed, Nov 2, 2011 at 9:24 AM, Kjetil Matheussen
> <k.s.matheussen@notam02.no> wrote:
>
>> I also think I remember someone using Python for real time sample
>> by sample signal processing in Pd...
>
> right, but not sample-by-sample, or am i misremembering Pd internals?
>

It is possible (and quite simle) to write a wrapper for letting python do
sample-by-sample processing in Pd. I remember someone mentioning
someone doing it, but this was in 2005, and the performance was
so bad it wasn't useful. But I might remember wrong.



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