Closed Michael-F-Ellis closed 3 years ago
I got same errors when a bluetooth earphone is connected to my computer.
/Users/MY_USERNAME/.sonic-pi/log/scsynth.log
# Starting SuperCollider 2018-06-02 18:56:21
Found 0 LADSPA plugins
Number of Devices: 4
0 : "Bose QuietControl 30"
1 : "Bose QuietControl 30"
2 : "Built-in Microph"
3 : "Built-in Output"
ERROR: Input sample rate is 16000, but output is 44100. Mismatched sample rates are not supported. To disable input, set the number of input channels to 0.
could not initialize audio.
Ah, I found this comment https://github.com/samaaron/sonic-pi/issues/1896#issuecomment-388068042, and this problem seems to be already solved.
@Michael-F-Ellis you can close this issue!
@Michael-F-Ellis - as mactkg suggests, this should no longer be an issue for you with recent versions of Sonic Pi.
As well as his comment above, in recent versions of Sonic Pi, there is a config file that you can use to specify the desired audio device before you boot Sonic Pi. See an example of this file here: https://github.com/sonic-pi-net/sonic-pi/tree/main/app/config/user-examples. The actual file would live in ~/.sonic-pi/config/audio-settings.toml
.
I'll close this ticket for now. If this is still an issue for you with the latest release of Sonic Pi from our website, please feel free to reopen this ticket and we can hopefully provide more advice.
Just downloaded Sonic Pi for the first time. Pretty neat! But I had a little trouble getting started. Had to unplug my web cam to prevent it complaining about mismatched sample rates. See log excerpt below.
Is there a config setting that would tell it to ignore certain devices, e.g. my web cam, so I don't have to remember to unplug it before starting Sonic Pi?
Thanks!
Sonic Pi Boot Error Report
System Information
Scsynth Output
/Users/mellis/.sonic-pi/log/scsynth.log