Thanks very much for the code -- I'll look at it in detail later today. The "sleep" is around line 7946, I think, and line 8024, but it's been years (or feels like years) since I looked at this code. Eventually I'd like to include an option to use portaudio in this case.