Sonic-pi: Critical server error - could not boot server!

Created on 27 May 2016  路  4Comments  路  Source: sonic-pi-net/sonic-pi

Whenever I try to boot up Sonic pi from my mac, I get this error.`Sonic Pi Boot Error Report

System Information

  • Sonic Pi version: 2.10.0
  • OS: OS X Mountain Lion (10.8)

    GUI Log

/Users/janet/.sonic-pi/log/gui.log

[GUI] - using default editor colours
[GUI] - shutting down any old audio servers...
[GUI] - starting UDP OSC Server on port 4558...
[GUI] - UDP OSC Server ready and listening
[GUI] - booting live coding server
[GUI] - waiting for server to boot...
...[GUI] - server failed to start with this error message: 
      > Server Exception:
 Unable to boot sound synthesis engine: the input and output rates of your audio card are not the same. Got in: 16000.0, out: 44100.0.
.........................................................
[GUI] - Critical error! Could not boot server.

Server Errors

/Users/janet/.sonic-pi/log/server-errors.log

Failed to start server: Unable to boot sound synthesis engine: the input and output rates of your audio card are not the same. Got in: 16000.0, out: 44100.0.
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:331:in `rescue in boot_server_osx'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:305:in `boot_server_osx'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:183:in `boot'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:29:in `initialize'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/server.rb:73:in `new'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/server.rb:73:in `initialize'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/studio.rb:102:in `new'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/studio.rb:102:in `init_studio'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/studio.rb:43:in `initialize'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/lang/sound.rb:123:in `new'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/app/server/sonicpi/lib/sonicpi/lang/sound.rb:123:in `block (2 levels) in included'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/Contents/MacOS/../../app/server/bin/sonic-pi-server.rb:99:in `new'
/Volumes/Sonic Pi for Mac v2.10.0/Sonic Pi.app/Contents/MacOS/../../app/server/bin/sonic-pi-server.rb:99:in `<main>'

Server Output

/Users/janet/.sonic-pi/log/server-output.log

Sonic Pi server booting...
Using protocol: udp
Server is exiting.
Shutting down GUI...
Goodbye :-)

Scsynth Output

/Users/Toby/.sonic-pi/log/scsynth.log


All 4 comments

Failed to start server: Unable to boot sound synthesis engine: the input and output rates of your audio card are not the same. Got in: 16000.0, out: 44100.0.
You'll need to open "audio midi setup" to make those sample rates match. Sorry for the short answer but I'm replying from a phone.
Hope that helps,
Xavier

On 26 May 2016, at 23:10, Tob027 [email protected] wrote:

Failed to start server: Unable to boot sound synthesis engine: the input and output rates of your audio card are not the same. Got in: 16000.0, out: 44100.0.

Yes, apologies - unfortunately this is a limitation of the underlying synthesis engine - the rate of your in and out sound card settings needs to be identical.

If you have a bluetooth or USB mic attached (perhaps in a headset) try removing that and restarting Sonic Pi.

It would be great if sonic pi could just ignore a non-supported device. It is annoying to detach my voip headset just to run the problem-- I don't intend to use that headset with sonic-pi, but it's still attached to my machine when I am plugged in to my thunderbolt display. Can this just be made into a warning or grey out that particular device?

@programmerq

we鈥檙e aware of the issue, but unfortunately this is not trivial to implement. It requires changes to the underlying synthesis engine which we鈥檝e been discussing with their development team. As soon as we are able to technically achieve this and also assuming we have the capacity (we have very little funding which is rapidly running out) then I鈥檇 be very happy to add this feature.

If you (or someone else) is interested in helping implement this - that would be wonderful. Alternatively, you might be interested in supporting the project over on Patreon: http://patreon.com/samaaron

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomekr picture tomekr  路  4Comments

datramt picture datramt  路  5Comments

xorik picture xorik  路  7Comments

reiner-dolp picture reiner-dolp  路  6Comments

emlyn picture emlyn  路  4Comments