# Windows 10 Fixes For Sonic PI 2021

**URL:** <https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140>\
**Category:** General\
**Created:** [November 9, 2021, 5:49am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140 "2021-11-09T05:49:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![din](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@din](https://in-thread.sonic-pi.net/u/din)\
**Post date:** [November 9, 2021, 5:49am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/1 "2021-11-09T05:49:59Z")

</div>

So,

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.

So I’m pretty sure it’s not my bad code.

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [November 9, 2021, 12:16pm UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/2 "2021-11-09T12:16:34Z")

</div>

> [@din](#):
>
> Windows user, have not touched sonic Pi in a few months.

that’s the reason ! It’s a feature 🙂

More seriously, do you have changed some audio settings or devices ? Bluetooth in example ?

Cheers

---

<div class="post-metadata">

**Author:** ![din](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@din](https://in-thread.sonic-pi.net/u/din)\
**Post date:** [November 10, 2021, 1:16am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/3 "2021-11-10T01:16:44Z")

</div>

Hey man. I work full time and I’m a grad student.

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.

No have not have changed anything sadly.

I legit use to be able to use sonic pi no issues

[![](https://img.youtube.com/vi/3zHaNnRpQZc/hqdefault.jpg "Sonic Pi Jam 7-29") ](https://www.youtube.com/watch?v=3zHaNnRpQZc)

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [November 10, 2021, 1:26am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/4 "2021-11-10T01:26:40Z")

</div>

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:

1. Energy power settings
2. 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.

Good luck!

---

<div class="post-metadata">

**Author:** ![din](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@din](https://in-thread.sonic-pi.net/u/din)\
**Post date:** [November 10, 2021, 4:22am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/5 "2021-11-10T04:22:39Z")

</div>

Thanks Sam for the reply.

And all the hard work you put into sonic pi.

I’ve found this thread and tired everything that was suggested to no avail.

The code snippet freezes in sonic pi. And all my old stuff freezes also.

> [@Low performance on new PC](https://in-thread.sonic-pi.net/t/low-performance-on-new-pc/3967):
>
> Hello everyone I’ve just invested in a new PC, and while it handles everything like a dream it’s slower than a raspberry pi when I try to make music on it. This code snippet makes it fall behind in time in less than a minute. use\_bpm 120 live\_loop :main do 64.times do tick synth :tb303, cutoff: 60, release: 0.125, note: (chord :c3, :minor).choose sample :bd\_tek if (spread 1,4).look sample :bd\_zome if (spread 3,16).look or (spread 7,16).look synth :beep, note: (chord …

OS: Windows 10 Home Version 21H1  
CPU: Intel i7-9750H CPU @ 2.60GHz  
RAM: 32GB

Wasted a lot of time trying to get sonic pi to work like it use to ☹

Hope one day it will work again for windows.

---

<div class="post-metadata">

**Author:** ![din](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@din](https://in-thread.sonic-pi.net/u/din)\
**Post date:** [November 10, 2021, 5:00am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/6 "2021-11-10T05:00:06Z")

</div>

WOW! Last ditch effort have no, no, no clue why.

But I use to use sonic pi with a program called loopMIDI and send mid to apps like helm.

With loopMIDI off sonic pi lags crazy. And no none of my buffers and any midi stuff in it.

I turned loopMIDI back on (running while running sonic) on now magically sonic pi works again with no issue.

I have no clue why but I hope that will help someone else if they run into this issue.

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [November 10, 2021, 9:24am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/7 "2021-11-10T09:24:44Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [November 10, 2021, 9:28am UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/8 "2021-11-10T09:28:19Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![din](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@din](https://in-thread.sonic-pi.net/u/din)\
**Post date:** [November 10, 2021, 11:19pm UTC](https://in-thread.sonic-pi.net/t/windows-10-fixes-for-sonic-pi-2021/6140/9 "2021-11-10T23:19:48Z")

</div>

Yeah I have no clue either.  
When I get time I will play LatencyMon and let you know if I find anything.

Maybe your right that loopMIDI did something with my audio drivers that I had not noticed.

But I don’t notice any other audio issues with it off.
