surge icon indicating copy to clipboard operation
surge copied to clipboard

macOS based latency in standalone with audio input

Open baconpaul opened this issue 1 year ago • 1 comments

On macOS 14.x the 1.3 standalone, when input is bound to the MacBook pro microphone (and perhaps other inputs) has a noticeable playback latency independent of output block size.

To test open surge in logic and simultaneously open the standalone. Set the patches an octave apart or so

Setup like this and press a midi key and the logic synth fires meaningfully before the standalone

Screenshot 2024-02-23 at 8 00 00 AM

set the standalone input to <<NONE>> and the latency disappears

Screenshot 2024-02-23 at 8 02 04 AM

So something either in JUCE standalone input handling or our handing of bound input or somewhere along that path is causing the latency to tick up or the block size to explode. Need to ivnestage. Input to none os the workaround for now.

baconpaul avatar Feb 23 '24 13:02 baconpaul

My first suspicion - that this changes the block size - is false. Just we get latency somewhere.

Also if I use loopback with the mic input the latency is gone.

Def something about how juce is binding the mic and calling process with JUCE 7, somewhere, or something in the OS adding mic latency.

baconpaul avatar Feb 23 '24 13:02 baconpaul