On Tue, 19 Aug 2003, Luke Yelavich wrote:
Hi all I am wondering how one can reduce the latency of PD. I have made a simple patch that connects some inputs on my soundcard to the outputs, and played piano through it. The latency seems to be at least 2-3 ms. Yet in Ardour when using Jack at a period size of 64, the latency is much less.
I am using the same window manager for both pieces of software and they are both running with low latency and pre-empt kernel patches. I have tried using PD's -rt flag to no avail. This is using PD's alsa support on PD 0.36.
Try using OSS emulation, this should give you better latency figures. With ALSA the latency is at least 10 ms theoretically, due to the resolution of gettimeofday and how PD's ALSA part is implemented.
Guenter