sonic-pi-net / sonic-pi

Code. Music. Live.

Home Page:https://sonic-pi.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sorry, the Audio Server failed to start...

linmuwx opened this issue · comments

Sorry, the Audio Server failed to start...
Please try changing your default OS audio input & outputs.
Note, the audio rate of the inputs & outputs must be the same.
For the curious among you, Sonic Pi uses the SuperCollider Audio Server to generate its sounds. By default it will connect to your default system audio input and outputs.
Unfortunately SuperCollider is having problems starting correctly. You can read the full error log below which should explain why.
To fix this you can try changing your default operating system audio inputs and outputs (ensuring they have the same audio rate).

What can I do about it? macbook m1

I've changed to the system default inputs and outputs but it still doesn't work!

hi @linmuwx,

Sorry you're having issues. Please could you share the contents of the full error log so we can see what happened on your system?

Sorry, the Audio Server failed to start...
Please try changing your default OS audio input & outputs.
Note, the audio rate of the inputs & outputs must be the same.
For the curious among you, Sonic Pi uses the SuperCollider Audio Server to generate its sounds. By default it will connect to your default system audio input and outputs.
Unfortunately SuperCollider is having problems starting correctly. You can read the full error log below which should explain why.
To fix this you can try changing your default operating system audio inputs and outputs (ensuring they have the same audio rate).
Advanced Users - you may manually override this and further configure how SuperCollider boots by editing the file: /Users/muwei/.sonic-pi/config/audio-settings.toml
SuperCollider Log
Number of Devices: 3
0 : "MacBook Pro麦"
1 : "MacBook Pro扬"
2 : "VB-Cable"

"MacBook Pro麦" Input Device
Streams: 1
0 channels 1

"MacBook Pro扬" Output Device
Streams: 1
0 channels 2

SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512
SuperCollider 3 server ready.

I've downloaded many versions and only 3.1.0 works.

macbook m1 version 14.2.1

But 3.1.0 is very strange, I open the webpage to watch a video for a while, then come back, there is no sound output, all the other sounds are normal, just this one no sound

Apologies - I'm not sure what's going wrong on your system.

Could you please post the full logs found in ~/.sonic-pi/log (all the .log files).

Also, are you using the Intel or Apple Silicon build?

apple arm64

Could you try the intel build and see if that works for you? Also, it would be nice to see the logs.

Hi, could you try the recently released v4.5.1 and let me know if that helps things?

https://github.com/sonic-pi-net/sonic-pi/releases/tag/v4.5.1

I have the same error and haven't been able to solve it.
sonic pi started showing this error when i attached my computer to an audio card of a friend, a focusrite scarlett.
I have win11 on thinkpad.
Uninstalled and reinstalled few times sonic pi v4.5.1

the error says

Sorry, the Audio Server failed to start...
Please try changing your default OS audio input & outputs.
Note, the audio rate of the inputs & outputs must be the same.
For the curious among you, Sonic Pi uses the SuperCollider Audio Server to generate its sounds. By default it will connect to your default system audio input and outputs.
Unfortunately SuperCollider is having problems starting correctly. You can read the full error log below which should explain why.
To fix this you can try changing your default operating system audio inputs and outputs (ensuring they have the same audio rate).
Advanced Users - you may manually override this and further configure how SuperCollider boots by editing the file: C:\Users\name.sonic-pi\config\audio-settings.toml
SuperCollider Log
Device options:

  • MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
  • MME : Microfono interno (Conexant Sma (device #1 with 2 ins 0 outs)
  • MME : Microsoft Sound Mapper - Output (device #2 with 0 ins 2 outs)
  • MME : Altoparlanti / Auricolari (Cone (device #3 with 0 ins 2 outs)
  • Windows DirectSound : Driver primario di acquisizione suoni (device #4 with 2 ins 0 outs)
  • Windows DirectSound : Microfono interno (Conexant SmartAudio HD) (device #5 with 2 ins 0 outs)
  • Windows DirectSound : Driver audio principale (device #6 with 0 ins 2 outs)
  • Windows DirectSound : Altoparlanti / Auricolari (Conexant SmartAudio HD) (device #7 with 0 ins 2 outs)
  • ASIO : ASIO4ALL v2 (device #8 with 2 ins 2 outs)
  • ASIO : FlexASIO (device #9 with 2 ins 2 outs)
  • Windows WASAPI : Altoparlanti / Auricolari (Conexant SmartAudio HD) (device #10 with 0 ins 2 outs)
  • Windows WASAPI : Microfono interno (Conexant SmartAudio HD) (device #11 with 2 ins 0 outs)
  • Windows WDM-KS : Gruppo microfoni (Conexant HD Audio capture) (device #12 with 2 ins 0 outs)
  • Windows WDM-KS : Speakers (Conexant HD Audio output) (device #13 with 0 ins 2 outs)

Requested devices:
In:

  • (default)
    Out:
  • (default)

Selecting default system input/output devices

Booting with:
In: MME : Microfono interno (Conexant Sma
Out: MME : Altoparlanti / Auricolari (Cone
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Unanticipated host error'
could not initialize audio.