reducing latency without hearing clicks?

shhhh's icon

Hi all,
I have a piece in which it is very important to have the lowest possible latency -- the sensor input and audio output need to be as close as possible to simultaneous. It works ok when the i/o vector size is 128, but i'd like to get the i/o vector size down to 64 or even 32. When I do this, I start to hear clicks in my audio. Is there anything further I can do to eliminate clicks while still keeping the i/o vector small?

This is on max 6 with a macbook pro.

Floating Point's icon

depends on what the patch is, and what you're priorities are, but generally reduce the sample rate, increase the signal vector size (up to the i/o vector size), use overdrive. Other strategies is to use gen for complex audio signal processes wherever possible. You may want to optimise the patch as much as possible by using as few UI components as possible. if you use poly~ you can use multithreading by sending a thread message, or reduce the sample rate /increase the vector size of certain lower-priority audio processes via poly~. If you have jitter components you may want to transfer certain processes to the GPU, using gl calls (also use jit.gl.pix etc). that's all I can think of for now...