elemaudio / elementary

Elementary is a JavaScript library for digital audio signal processing.
https://www.elementary.audio/
MIT License
331 stars 29 forks source link

Crackling audio in macOS Safari #39

Open psugihara opened 7 months ago

psugihara commented 7 months ago

I get intermittent crackling when audio is playing via @elemaudio/web-renderer. I'm on Sonoma 14.2.1, Safari 17.2.1.

Places I'm hearing crackling in the audio coming out of safari:

FWIW I don't hear crackling in the howler.js demos I've checked or arpeggi studio

nick-thompson commented 6 months ago

Hey @psugihara thanks for writing, and sorry for the delay here. Can you share more information on the machine you're running? I'm currently on a Mac M1 Air, Ventura 13.6/Safari 16.6 with no crackling, curious if we can diagnose what you're seeing.

psugihara commented 6 months ago

no problem, just checked and it still does it on both links 🤷

Apple M1 Max 14.2.1 (23C71), Safari Version 17.2.1 (19617.1.17.11.12)

nick-thompson commented 5 months ago

Thanks @psugihara! Seems so strange that a faster machine with a newer Safari would show issues that I'm not seeing on mine. I'll see if I can collect some more data here to help illuminate what's going on