Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I ran v3 on my machine while listening to "Voyage" by "Yahel & Eyal Barkan" in Chrome and doing a bunch of background stuff. The background stuff took up about 20% of my CPU. While testing, the music played perfectly without any buffer underrun pops.

Ran it in each browser one at a time while the music played in Chrome.

Chrome 122.0.6261.112: 21.3 +/- 0.64

Edge 122.0.2365.80: 20.1 +/- 0.78

Firefox 121.0.1: 18.5 +/- 0.75

Machine specs: Intel Core i9 12900k (24 core) / 64GB RAM / 3080Ti / Windows 11 Pro 23H2

After finishing the tests, I played that same song on Firefox and Edge. Both Firefox and Edge played it perfectly.

> audio players on Edge stutter a lot while Firefox plays them smoothly

I'm curious about what could be leading to this inconsistency as I use Web Audio for a number of projects, so I have a bit of a vested interest. It is notoriously easy to do WebAudio wrong or to do just a bit too much computation which leads to buffer underruns (pops). It also may have a lot to do with specific tracks on DeepSID, could you share some tracks that perform inconsistently for you?



Any track plays completely garbage on Edge. The beat skips, the sound cuts off. This one for instance: https://deepsid.chordian.net/?file=/MUSICIANS/F/Fate/World_R...

I think Edge's problems come from some kind of power efficiency setting, not necessarily performance-related. (Like a low-granularity JS timer, or something like that)

EDIT: Turning off all efficiency settings on Edge didn't make any difference: 11.0


Do you have your Windows power plan on Performance? Maybe thats the difference?

Definitely would be a bummer if web audio didn't work reliably on the default power plan (which is Balanced iirc)


It’s on High Performance, yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: