# My experience audio routing on Windows

**URL:** <https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738>\
**Category:** Support, Help & Resources\
**Created:** [December 4, 2020, 5:28pm UTC](https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738 "2020-12-04T17:28:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![theibbster](https://avatars.discourse-cdn.com/v4/letter/t/da6949/32.png) [@theibbster](https://in-thread.sonic-pi.net/u/theibbster)\
**Post date:** [December 4, 2020, 5:28pm UTC](https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738/1 "2020-12-04T17:28:16Z")

</div>

So I’ve noticed this is an issue that has come up a few times. I’m not 100% sure the setup I have now is the best but I’m hoping that documenting what worked for me will be helpful for others.

The setup I have right now does the following:

- Sonic Pi sends midi signals to vital synth
- Vital sends audio to Sonic Pi (and does **not** send any sound to computer speaker)
- Sonic Pi sends sound to computer speakers

## What worked for me

1. Install [VoiceMeeter](https://vb-audio.com/Voicemeeter/index.htm)
2. Restart computer
3. Start VoiceMeeter
4. Open ‘Sound mixer options’, which you can find by searching it in the start bar
5. Set the default output to ‘Speakers / Headphones’ and default input as ‘VoiceMeeter Output’
  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/2X/b/bc019eb3adcca6794a24477cf828729f51b80a25.png)
6. Open Vital and Sonic Pi
7. Set the audio output in Vital to ‘VoiceMeeter Input’ (you can find the settings by clicking the Vital logo)
  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/2X/d/da210500c5243bea236e72b32ad60049ee7f76a8.png)
8. Send midi and receive audio in sonic pi ( **note:** I used [loopMIDI](https://www.tobias-erichsen.de/software/loopmidi.html) for midi routing)

```ruby
live_loop :vital do
  midi :c, sustain: 0.5, port: "vital"
  sleep 1
  midi :e, sustain: 0.75, port: "vital"
  sleep 1
end

live_audio :vital, input: 1

```

Note that VoiceMeeter only has on virtual input/output as far as I can tell, but it seems that the same company have other programs that have more than one input if that is something you need.

## What didn’t work for me

- Leaving the output & input as default in the Windows mixer. With the output as default sonic pi’s audio went through VoiceMeeter. With the input left as default I couldn’t find the right input channel in Sonic Pi.
- Jack. I tried for ages to get it to work yesterday, including installing ASIO4ALL and Synchronous Audio Router. Technically the jack program was running, with both default windows sound and ASIO4ALL, but I couldn’t manage to do any routing.

---

<div class="post-metadata">

**Author:** ![soxsa](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/soxsa/32/1669_2.png) [@soxsa](https://in-thread.sonic-pi.net/u/soxsa)\
**Post date:** [December 4, 2020, 6:08pm UTC](https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738/2 "2020-12-04T18:08:57Z")

</div>

This looks useful. Can I ask why you want to route the audio through SPi, is it so you can use ASIO?

---

<div class="post-metadata">

**Author:** ![theibbster](https://avatars.discourse-cdn.com/v4/letter/t/da6949/32.png) [@theibbster](https://in-thread.sonic-pi.net/u/theibbster)\
**Post date:** [December 4, 2020, 7:06pm UTC](https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738/3 "2020-12-04T19:06:24Z")

</div>

So I can apply FX to the audio in Sonic Pi

---

<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:** [December 4, 2020, 7:48pm UTC](https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738/4 "2020-12-04T19:48:19Z")

</div>

hi,

It’s funny cause i tried voicemeeter two days ago and managed to get sonic pi sound but a very very weak volume. I will try tomorrow.  
As far as audio routing on windows is concerned, is there somebody using this tool : [https://give.academy/posts/2018/03/02/AsioLinkPro/](https://give.academy/posts/2018/03/02/AsioLinkPro/)  
it seems to be a very good software but maybe a bit tough to understand.  
cheers

---

<div class="post-metadata">

**Author:** ![theibbster](https://avatars.discourse-cdn.com/v4/letter/t/da6949/32.png) [@theibbster](https://in-thread.sonic-pi.net/u/theibbster)\
**Post date:** [December 4, 2020, 8:24pm UTC](https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738/5 "2020-12-04T20:24:34Z")

</div>

It will probably just go over my head then, I was pretty confused most of the time that I was trying to figure out the Jack and ASIO4ALL stuff 😅

I’ll just use VoiceMeeter for now. I’ll look at the other stuff again if I’m affected by any limitations it might have.

---

<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:** [December 5, 2020, 8:46am UTC](https://in-thread.sonic-pi.net/t/my-experience-audio-routing-on-windows/4738/6 "2020-12-05T08:46:10Z")

</div>

About routing audio on windows

> **[r/Twitch - Routing audio from applications around your PC: a quick overview](https://www.reddit.com/r/Twitch/comments/7w0i2b/routing_audio_from_applications_around_your_pc_a/)**
>
> 22 votes and 14 comments so far on Reddit
