scheduling accuracy for audio

Paul Rubin http
Sun Jul 9 13:22:30 EDT 2006


andrea valle <andrea.valle at unito.it> writes:
> In order to have sequencing I have to send at precise timing messages
> from Python to SC. Obviously, being a musical application, I need
> millisecond time accuracy, with less latency as possible or at least a
> fixed (short) latency. More, I need to have multithreading, with many
> processes sending messages from Python to SC.

You really can't get that kind of accuracy with a non-realtime OS.
The way this is handled in actual audio applications the sound board
has a fair amount of buffering, so you send the right number of
samples and precise scheduling isn't so important.



More information about the Python-list mailing list