[linux-audio-dev] python and jack, performance report

From: Leonard \ <paniq@email-addr-hidden>
Date: Sun Dec 11 2005 - 17:32:21 EET

frustrated by the poor implementation of the jack bindings for python
(pyjack), i wrote my own in native python using ctypes.

the first test client mixed a 440hz sine wave using native python lists,
and the cpu usage was about ~11%.

i reimplemented the sine generator with numerics, and got it down to
~2%.

i believe that considering the overhead of the python implementation,
that result isn't too bad, and maybe allows for more than just
prototyping.

i attached the jack wrapper with the test client contained for those who
are interested. its not entirely wrapped and lacks some functionality.

-- 
-- leonard "paniq" ritter
-- http://www.mjoo.org
-- http://www.paniq.org

Received on Sun Dec 11 20:15:06 2005

This archive was generated by hypermail 2.1.8 : Sun Dec 11 2005 - 20:15:07 EET