"Crackling" from external synth

Hello everyone

I’m using an external synth as part of my live set, and I have been experiencing an issue that I didn’t experience in version 3.1. The synth started “crackling”, as if there was a timing error, when I was playing it. I send MIDI notes using the midi function, and I send it back into Sonic Pi through a live_audio command. You can hear it sporadically in my last performance.

Does anyone know how to troubleshoot this? I’m running Windows 10 with the latest updates, and I have experienced it on my desktop and my laptop. There doesn’t seem to be a difference in how often it happens in either.