# Windows+ASIO support

**URL:** <https://in-thread.sonic-pi.net/t/windows-asio-support/777>\
**Category:** \[P\] Patreon Support\
**Created:** [February 18, 2018, 6:32am UTC](https://in-thread.sonic-pi.net/t/windows-asio-support/777 "2018-02-18T06:32:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvarocaceresmunoz](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@alvarocaceresmunoz](https://in-thread.sonic-pi.net/u/alvarocaceresmunoz)\
**Post date:** [February 18, 2018, 6:32am UTC](https://in-thread.sonic-pi.net/t/windows-asio-support/777/1 "2018-02-18T06:32:00Z")

</div>

Hi everyone,

I am using Sonic Pi 3.1.0 to control VST’s in Windows (can’t use them in Linux for VST compatibility issues). Preferably, I wanted to use ASIO to have better timing and audio quality.

I have seen that

- using Sonic Pi without ASIO works perfectly
- using Sonic Pi with ASIO gives an error at program startup (log pasted below)
- using SuperCollider from its IDE without / with ASIO (using the s.options.device\_(“ASIO : ASIO4ALL v2”); instruction) works perfectly

I guess it is possible to use ASIO in Sonic Pi, but I may be skipping something. Any ideas?

Best regards,  
Alvaro

# Sonic Pi Boot Error Report

## System Information

- Sonic Pi version: 3.1.0
- OS: Windows 8

## GUI Log

**`C:\Users\alvar\.sonic-pi\log\gui.log`**

```ruby
[GUI] - Detecting port numbers...
[GUI] - GUI OSC listen port 4558
[GUI] - port: 4558 [OK]
[GUI] - Server OSC listen port 4557
[GUI] - port: 4557 [OK]
[GUI] - Server incoming OSC cues port 4559
[GUI] - port: 4559 [OK]
[GUI] - Scsynth port 4556
[GUI] - port: 4556 [OK]
[GUI] - Server OSC out port 4558
[GUI] - GUI OSC out port 4557
[GUI] - Scsynth send port 4556
[GUI] - Erlang router port 4560
[GUI] - port: 4560 [OK]
[GUI] - OSC MIDI out port 4561
[GUI] - port: 4561 [OK]
[GUI] - OSC MIDI in port 4562
[GUI] - port: 4562 [OK]
[GUI] - Init script completed
[GUI] - using default editor colours
[GUI] - launching Sonic Pi Server:
[GUI] - starting UDP OSC Server on port 4558...
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 1584
[GUI] - waiting for Sonic Pi Server to boot...
............................................................
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - UDP OSC Server no longer listening

```

## Server Errors

**`C:\Users\alvar\.sonic-pi\log\server-errors.log`**

```ruby

```

## Server Output

**`C:\Users\alvar\.sonic-pi\log\server-output.log`**

```ruby
Sonic Pi server booting...
Using protocol: udp
Detecting port numbers...
Send port: 4558
Listen port: 4557
  - OK
Scsynth port: 4556
  - OK
Scsynth send port: 4556
  - OK
OSC cues port: 4559
  - OK
Erlang port: 4560
  - OK
OSC MIDI out port: 4561
  - OK
OSC MIDI in port: 4562
  - OK
Started [9308] [-] "C:\Program Files (x86)\Sonic Pi\app\server\native\scsynth.exe" -u 4556 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U "C:/Program Files (x86)/Sonic Pi/app/server/native/plugins/" -b 4096 -B 127.0.0.1 [-] C:/Users/alvar/AppData/Local/Temp/sonic-pi-pids/9308

```

## Scsynth Output

**`C:\Users\alvar\.sonic-pi\log\scsynth.log`**

```ruby
# Starting SuperCollider 2018-02-18 06:24:32

Device options:
  - MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
  - MME : Microphone Array (Realtek High (device #1 with 2 ins 0 outs)
  - MME : Microsoft Sound Mapper - Output (device #2 with 0 ins 2 outs)
  - MME : Speaker/HP (Realtek High Defini (device #3 with 0 ins 2 outs)
  - Windows DirectSound : Primary Sound Capture Driver (device #4 with 2 ins 0 outs)
  - Windows DirectSound : Microphone Array (Realtek High Definition Audio) (device #5 with 2 ins 0 outs)
  - Windows DirectSound : Primary Sound Driver (device #6 with 0 ins 2 outs)
  - Windows DirectSound : Speaker/HP (Realtek High Definition Audio) (device #7 with 0 ins 2 outs)
  - ASIO : ASIO4ALL v2 (device #8 with 2 ins 2 outs)
  - ASIO : FL Studio ASIO (device #9 with 2 ins 2 outs)
  - Windows WASAPI : Speaker/HP (Realtek High Definition Audio) (device #10 with 0 ins 2 outs)
  - Windows WASAPI : Microphone Array (Realtek High Definition Audio) (device #11 with 2 ins 0 outs)
  - Windows WDM-KS : Speakers (Realtek HD Audio output) (device #12 with 0 ins 2 outs)
  - Windows WDM-KS : Microphone Array (Realtek HD Audio Mic input) (device #13 with 2 ins 0 outs)

Booting with:
  In: MME : Microphone Array (Realtek High 
  Out: MME : Speaker/HP (Realtek High Defini
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Device unavailable'
could not initialize audio.

```

## Process Log

**`C:\Users\alvar\.sonic-pi\log\processes.log`**

```ruby

Clearing pids: []
No pids to clear :-)
Started [1584] [-] "C:\Program Files (x86)\Sonic Pi\app\gui\qt\release\..\..\..\..\app\server\native\ruby\bin\ruby.exe" --enable-frozen-string-literal -E utf-8 "C:\Program Files (x86)\Sonic Pi\app\gui\qt\release\..\..\..\..\app\server\ruby\bin\sonic-pi-server.rb" -u 4557 4558 4556 4556 4559 4560 4561 4562 [-] C:/Users/alvar/AppData/Local/Temp/sonic-pi-pids/1584
Started [9308] [-] "C:\Program Files (x86)\Sonic Pi\app\server\native\scsynth.exe" -u 4556 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U "C:/Program Files (x86)/Sonic Pi/app/server/native/plugins/" -b 4096 -B 127.0.0.1 [-] C:/Users/alvar/AppData/Local/Temp/sonic-pi-pids/9308

```

---

<div class="post-metadata">

**Author:** ![Martin](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/martin/32/157_2.png) [@Martin](https://in-thread.sonic-pi.net/u/Martin)\
**Post date:** [February 18, 2018, 10:12am UTC](https://in-thread.sonic-pi.net/t/windows-asio-support/777/2 "2018-02-18T10:12:03Z")

</div>

Hi,

> [@alvarocaceresmunoz](#):
>
> I am using Sonic Pi 3.1.0 to control VST’s in Windows (can’t use them in Linux for VST compatibility issues).

you might wanna give [Carla](https://github.com/falkTX/Carla) a try. Seemingly it can also host VST-plugin via Wine. I did not try that but I use Carla for my audio setup (not always but often when I am working with softsynths as a session management). Here is an introduction by [Filipe Coelho](https://www.youtube.com/watch?v=IPwO3NEwsMU).
