Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorry, the Audio Server failed to start... #3383

Open
linmuwx opened this issue Mar 3, 2024 · 11 comments
Open

Sorry, the Audio Server failed to start... #3383

linmuwx opened this issue Mar 3, 2024 · 11 comments

Comments

@linmuwx
Copy link

linmuwx commented Mar 3, 2024

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

@linmuwx
Copy link
Author

linmuwx commented Mar 3, 2024

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

@samaaron
Copy link
Collaborator

samaaron commented Mar 3, 2024

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?

@linmuwx
Copy link
Author

linmuwx commented Mar 5, 2024

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.

@linmuwx
Copy link
Author

linmuwx commented Mar 5, 2024

I've downloaded many versions and only 3.1.0 works.

@linmuwx
Copy link
Author

linmuwx commented Mar 5, 2024

macbook m1 version 14.2.1

@linmuwx
Copy link
Author

linmuwx commented Mar 5, 2024

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

@samaaron
Copy link
Collaborator

samaaron commented Mar 5, 2024

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?

@linmuwx
Copy link
Author

linmuwx commented Mar 5, 2024

apple arm64

@samaaron
Copy link
Collaborator

samaaron commented Mar 5, 2024

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

@samaaron
Copy link
Collaborator

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

@pastalsugo
Copy link

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants