# Windows 10 - No Midi Output

**URL:** <https://in-thread.sonic-pi.net/t/windows-10-no-midi-output/2843>\
**Category:** Support, Help & Resources\
**Created:** [October 24, 2019, 6:13pm UTC](https://in-thread.sonic-pi.net/t/windows-10-no-midi-output/2843 "2019-10-24T18:13:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pnomolos](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/pnomolos/32/1096_2.png) [@pnomolos](https://in-thread.sonic-pi.net/u/pnomolos)\
**Post date:** [October 24, 2019, 6:13pm UTC](https://in-thread.sonic-pi.net/t/windows-10-no-midi-output/2843/1 "2019-10-24T18:13:55Z")

</div>

For the life of me, I can’t figure out why I’m not getting any midi output on Windows 10. I’ve even set up rtpMidi and Abelton will receive midi from Sonic PI on my Mac, but on the local instance of Sonic Pi it doesn’t work at all for some reason. Any suggestions?

---

<div class="post-metadata">

**Author:** ![pnomolos](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/pnomolos/32/1096_2.png) [@pnomolos](https://in-thread.sonic-pi.net/u/pnomolos)\
**Post date:** [October 24, 2019, 6:49pm UTC](https://in-thread.sonic-pi.net/t/windows-10-no-midi-output/2843/2 "2019-10-24T18:49:12Z")

</div>

I may have an answer, in which case this is a bug report - it looks like unless a specify a port for every single midi call, it causes all midi output to be muted - or it’s being redirected just to the MS wavetable synth (I’m not sure which).

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [October 25, 2019, 4:26pm UTC](https://in-thread.sonic-pi.net/t/windows-10-no-midi-output/2843/3 "2019-10-25T16:26:22Z")

</div>

I think you need to install a program like LoopMidi [https://www.tobias-erichsen.de/software/loopmidi.html](https://www.tobias-erichsen.de/software/loopmidi.html)  
Use this to create a virtual port. This should then appear in the list of ports available to Sonic Pi on the IO prefs screen. More to the point, it should also appear in the list of available midi ports on the synth device you are using (I tested it using the HELM synth. [https://tytel.org/helm/](https://tytel.org/helm/) )  
I selected this port for connection in Helm, and in Sonic Pi set the midi port using  
use\_midi\_defaults port: “loopmidi\_port” (Note you can give it an alternative name when you create it if you wish)  
You can test with a program such as

```ruby
use_midi_defaults port: "loopmidi_port" #use whatever appears in IO midi list
live_loop :test midi
  midi scale(:c4,:major).tick,sustain: 0.1,vel_f: 0.8
  sleep 0.1
end

```

Tested on Windows 10 with Sonic PI 3.1 install

---

<div class="post-metadata">

**Author:** ![pnomolos](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/pnomolos/32/1096_2.png) [@pnomolos](https://in-thread.sonic-pi.net/u/pnomolos)\
**Post date:** [October 30, 2019, 4:48pm UTC](https://in-thread.sonic-pi.net/t/windows-10-no-midi-output/2843/4 "2019-10-30T16:48:46Z")

</div>

Hi Robin,

I have already created a virtual midi port, but I did not know about `use_midi_defaults` which I think is going to solve a lot of my problems.

Thank you,

Phil
