Closed PhlegmingChee closed 3 years ago
Hello @PhlegmingChee 🙂
There are several similar issues floating around about this. It seems SuperCollider might be having difficulty connecting to the default sound devices. (Here is a link to a related issue on the Supercollider repository: https://github.com/supercollider/supercollider/issues/4718). Sometimes it's because microphones are disabled in Windows settings; sometimes it's because microphones are enabled... sometimes the input and output devices are using different sampling rates; sometimes because there are other incompatible pieces of software like 64 bit Jackrouter installed; and various other reasons. PortAudio, the audio I/O library that SuperCollider uses on Windows, is good but there are occasions where it gets tripped up by things.
As Sam notes here: https://github.com/sonic-pi-net/sonic-pi/issues/2528#issuecomment-764510464, you can now alter the sound devices and drivers that Sonic Pi tries to use, in the new audio configuration file - which is in .sonic-pi/config/audio-settings.toml found starting from your home directory. That may work - feel free to have a go and let us know how you get on 🙂
Regarding the other error in the log files:
ERROR: Unable to write information for PID 20712 to path C:/Users/Phillip/AppData/Local/Temp/sonic-pi-pids/20712! undefined method `cmdline' for nil:NilClass
I've personally got no idea why that's happening unfortunately. Hopefully someone else may be able to provide advice about that.
Problem solved by enabling the microphone as per the comments in #2528. I didn't realize I had it turned off in my privacy settings. This also fixes an issue I had with not having my microphone work in Zoom, either.
Thanks
Wonderful to hear that that it's solved! I'll close this issue for now.
Unfortunately I won't be able to follow up, so basically as an info: I just spent 2 hours trying to make SP 3.3.1 boot on Windows 10, and finally returned to 3.2.2. This time for me the Windows-boot problem is unique in that I can boot/use vanilla SuperCollider 3.11.2 (same server version) on the same system without problems, including of course being able to boot the server from the command-line. I cannot get SP to work, and I cannot get the SP-scsynth-server to boot from the command line, regardless of the parameters I use. I am aware of the new configuration option, and I also know how to edit the scsynthexternals file, so I am pretty sure it is not a mal-configuration, I fear this time the problem lays deeper. A specific of my system is that in fact I do use the jack(d) you mention above. Note however that the new release of Jack for Windows (1.9.17 - which I am using) does not conflict with scsynth anymore. I haven't had the energy yet to uninstall Jack and reinstall 3.3.1, maybe someone else would like to make that experiment ;-)
@bagong for the record, the scsynth.exe
bundled with Sonic Pi v3.3.1 is not a standard stable release. It is in fact a nightly build used to match the boost headers from the (also non-standard) macOS release we built that included support for Big Sur.
Still, we haven't had any issues as of yet wrt to v3.3.1 Windows that are out of the ordinary (there are definitely still some quirky boot issues wrt boost which have been there for years now).
So sorry you had issues though.
This has been an issue since v. 3.1 for me, but 3.3 still won't start one of my Windows computers. The error log is this: `Sonic Pi Boot Error Report
System Information
GUI Log
C:\Users\Phillip\.sonic-pi\log\gui.log
Server Errors
C:\Users\Phillip\.sonic-pi\log\server-errors.log
Server Output
C:\Users\Phillip\.sonic-pi\log\server-output.log
Scsynth Output
C:\Users\Phillip\.sonic-pi\log\scsynth.log
Process Log
C:\Users\Phillip\.sonic-pi\log\processes.log
`