Dear all, I have created a large Python-based GUI project and I'd like to use it as a GUI interface for real time audio sequencing (using the SuperCollider -SC- synthesis server). Python (the client) and SC (the server) can communicate via OSC protocol (there are available implementations). SC will generate events responding to Python messages.
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. I know that I can create a similar architecture in Python with sched and time modules, using scheduler class and .sleep method. But I was wondering: how precise will be timing? Is .sleep suitable for audio/music. Any hints? Thanks a lot Best -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list