Time between callback calls?
I have a lab project that uses mainly PyAudio and to further understand its way of working I made some measurements, in this case time between callbacks (using callback mode). I timed it, and got an interesting result (@256 chunk size, 44.1k fs): 0.0099701;0.0000365;0.0000201;0.0201579 This pattern goes on and on. Between two longer calls, we have two shorter calls and sometimes the longer call is shorter (mind you I don't do anything else in the program than time the callbacks) . If we average this out we get our desired callback time: 1/44100 * 256 (roughly 5.8ms) Here is my measurement