I’ve run into a stuttering audio issue on my MacBook Pro on Catalina. Here’s the scenario. I’m generating a Csound score, sending the full CSD file to an instance of Csound via ctcsound, and then playing and pausing the performance with CsoundPerformanceThread.
The stuttering audio occurs whenever the system’s sound output device is set to “MacBook Pro Speakers” or “External Headphones”. The stuttering goes away whenever the system’s sound output device is set to my “Scarlett 2i2 USB” audio interface or my docking station’s “USB audio CODEC”. Here are audio examples of the stuttering and non-stuttering.
I’ve never run into this stuttering issue before with my Csound projects, but this is my first time working with the CsoundPerformanceThread. Have any of you had experience with this stuttering issue? Could you give me guidance on how to fix this?
Thanks!
Jason