Coder Social home page Coder Social logo

Comments (11)

linmuwx avatar linmuwx commented on August 15, 2024

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

from sonic-pi.

samaaron avatar samaaron commented on August 15, 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?

from sonic-pi.

linmuwx avatar linmuwx commented on August 15, 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.

from sonic-pi.

linmuwx avatar linmuwx commented on August 15, 2024

I've downloaded many versions and only 3.1.0 works.

from sonic-pi.

linmuwx avatar linmuwx commented on August 15, 2024

macbook m1 version 14.2.1

from sonic-pi.

linmuwx avatar linmuwx commented on August 15, 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

from sonic-pi.

samaaron avatar samaaron commented on August 15, 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?

from sonic-pi.

linmuwx avatar linmuwx commented on August 15, 2024

apple arm64

from sonic-pi.

samaaron avatar samaaron commented on August 15, 2024

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

from sonic-pi.

samaaron avatar samaaron commented on August 15, 2024

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

from sonic-pi.

pastalsugo avatar pastalsugo commented on August 15, 2024

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.

from sonic-pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.