[LAD] prototyping callback based architecture in python?

Kjetil Matheussen k.s.matheussen at notam02.no
Fri Nov 4 18:32:06 UTC 2011


>> 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?
>>
>
> No, I don't know.
> Are you sure you need to use Python? There are other high level languages
> letting you do this, which are much faster than Python.
> LuaAV for Lua is the most obvious since Lua is the same
> type of language as Python. Other alternatives I know of are Faust,
> Kronos (if it's available now) and Snd-RT.
> (Of those last three, you should look at Faust first.)
>
I also forgot ChucK. But last time I checked, it was a bit inconvenient
to do sample-by-sample programming in Chuck, plus that it was very
inefficient.






More information about the Linux-audio-dev mailing list