Open SecGus opened 2 years ago
@SecGus - what does the scsynth.log
log file say? you can find it at ~/.sonic-pi/log
.
Maybe there's an issue with the sample rate that the headphones emit? Typically, most times Sonic Pi connects to audio devices set to 44.1 or 48 KHz.
Hi, Was this issue ever solved? Having the same problem with Airpods 2. Thanks
Hi, unfortunately I don't have access to either a Mac with an M1 chip or Airpods to test and resolve this issue.
Using my Airpods Pro on my i9 MacBook (16" 2019), I only get screeching noises on hitting play.
I managed to borrow a pair of AirPods to test and also could only get either a very low-fi broken sound or screeching.
There's clearly something funky going on with SuperCollider here.
I've tried playing around with the audio-settings.toml
file but can't seem to find any settings that fix it.
I'll leave this issue open - in case someone has better ideas of how to fix it. However, until then, I can only recommend you do not use AirPods with Sonic Pi - apologies.
Same issue here... m1 mac using airpods severely distorts the audio for the program
Same issue here: Using a x86 MacBook + AirPods only plays severely distorted audio
Same issue here. Using MacBook Air (13-inch, Early 1015) with macOS 12.6.3 + AirPods 2 and Sonic Pi 4.3.0
I think I'm having similar issue on Windows 11, connected to PC using bluetooth Bose earbuds. When recorded, popping sound artifacts aren't there. Only when playing live.
I had the same issue with an Intel MacBook Pro and AirPods Pro.
It seems other people have had related issues with Bluetooth headphones and SuperCollider involving sample rate: https://github.com/supercollider/supercollider/issues/5729.
I found this Reddit thread which ended up providing a solution: https://www.reddit.com/r/supercollider/comments/qj36ji/issue_with_headphones_after_montereyos_update/
Setting the buffer size in my audio-settings.toml
to 64, 128, or 256 all seem to solve the issue:
## =================
## Soundcard Options
## =================
sound_card_buffer_size = 256
Anything larger than 256 leads to Block Size: 480
in the audio hardware info (which is the same thing I get with no config set), which gives crunchy sound.
For anyone looking to set this: on macOS, the file you need to edit is ~/.sonic-pi/config/audio-settings.toml
. You can do that in the terminal if you're comfortable, otherwise:
~/.sonic-pi/config/audio-settings.toml
Soundcard Options
section and make the necessary change.## ================= ## Soundcard Options ## ================= sound_card_buffer_size = 256
I was having the same issue with using an x86 MacBook Pro (16-inch, 2019) + Beats Fit Pro + Sonic Pi v4.5.1
Changing sound_card_buffer_size
to 256
fixed it for me.
Thank you @gjoseph92
Hi :)
I've recently started playing around with Sonic Pi and have found that sound resolution produces a crackling noise when using the AirPods Max.
I'm on the latest macbook pro with the M1 chip, so there shouldn't be any issues with the CPU or sound-card. Furthermore, the sound is fine when using the macbook speakers, however, upon using the bluetooth headphones there is a weird crackling distortion around each intensive sample.
Even simple code such as the following produces the noise:
It also only appears to happen with bassy samples (please note the headphones have no issue with normal bass-heavy songs outside of sonic pi).
Let me know what you think