elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Crackling audio in macOS Safari

Open psugihara opened this issue 1 year ago • 3 comments

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:

  • https://teetow.com/elementary_grid/
  • https://www.elementary.audio/playground
  • el.sample (with both 44.1k and 48k sample rate wavs) and el.cycle(440) in my own simple tests with @elemaudio/web-renderer

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

psugihara avatar Feb 28 '24 06:02 psugihara

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.

nick-thompson avatar Apr 14 '24 18:04 nick-thompson

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)

psugihara avatar Apr 14 '24 18:04 psugihara

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

nick-thompson avatar Apr 25 '24 13:04 nick-thompson