Help with Optimization of Python software: real-time audio controller

Ross Ridge rridge at csclub.uwaterloo.ca
Mon Feb 12 09:21:39 EST 2007


Paul Rubin wrote:
> I think you can't really do that, not just because of Python but also
> as a result of using a multitasking OS that's not especially designed
> for real time.  You have to rely on some buffering in the audio
> hardware, so you don't have to be sample-accurate with the timings.

For his application you don't need "sample-accurate" timings.  Between
MIDI and synthesizer latency a few milliseconds of delay are inherent
in what he's trying to do, regardless of operatings system, and a
latency of 20 milliseconds or more is probably acceptable.  Assuming
he's not trying to write his own synthesizer, he might just be able to
write his application in Python under Mac OS X.

                      Ross Ridge




More information about the Python-list mailing list