Windows user, have not touched sonic Pi in a few months. None of my scrips run right anymore. Same PC sonic pi 3.3.1 use to run great. No issues what so ever. Now sonic pi cant even run a few threads without going out of sync.
I’ve used the repair tool, and reinstalled sonic pi.
Anyone else encounter these kinds of issues recently or know of workarounds?
The main thing I’m getting is timing error: can’t keep up.
Again it’s very strange since a few months ago everything just worked no problem.
You can even look at my profile and see I was able to run large multi buffer jams with no problems.
I use to play with sonic pi heavily in my free time. Imagine how disheartened I feel with sonic pi when I can’t get it to run things it use to run. Or anything to run anymore without it giving me some thread timing error. I was hoping someone may have already noticed or experienced these issues.
It’s super odd that you’re experiencing issues - sorry about that.
If v3.3.1 Sonic Pi worked for you just fine and the same version is giving you issues now - given Sonic Pi hasn’t changed the likelihood is that something with your PC has.
Two things I’ve noticed on PCs that can interfere with the timing are:
Energy power settings
Sound card drivers
I’d therefore turn any energy power settings off (they can cause the CPU to sleep when it thinks it isn’t doing hard work which messes with the timing). I’d also check to see if you’re using the same sound card and settings as before. Try and update drivers, try and use ASIO drivers if possible and if you have additional sound cards, try playing with them to see if one is better than the others wrt timing.
That’s the weirdest thing I’ve heard in a long while and hopefully helps illustrate how difficult it is to get software running smoothly on such a wide distribution of hardware and software configurations.
I would love to know why this fixes it and if there would be anything we could do to bypass the situation by modifying Sonic Pi in some way. I fear we’ll never know and there wouldn’t be anything we could do anyway…
Perhaps loopMIDI installs drivers on your PC to operate that somehow adds significant latency to the Windows kernel when loopMIDI isn’t running? It’s a long shot, but something strange is definitely happening here.
A useful piece of software to work with to get further information here is LatencyMon - which might be worth playing with - with and without loopMIDI and with or without any drivers that it installed (such as virtualMIDI).