FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Show HN: Gapless.js – gapless web audio playback
NewsWeb Development

Show HN: Gapless.js – gapless web audio playback

via Hacker Newsswitz7h ago

Hey HN, I just released v4 of my gapless playback library that I first built in 2017 to handle our audio playback on https://relisten.net where we stream concert recordings. It's built from scratch backed by a rigid state machine (the sole dependency is xstate) and is already running in production over at Relisten. The way it works is by preloading future tracks as raw buffers and scheduling them via the web audio API. It seamlessly transitions between HTML5 and web audio. We've used this technique for the last 9 years and it works fairly well. Occasionally it will blip slightly from HTML5->web audio, but there's not much to be done to avoid that (just when to do it - lotta nuance here). Once you get on web audio, everything should be clean. Unfortunately the web audio support still lacks on mobile in which case you can just disable web audio. But if you drive a largely desktop experience, this is fine. On mobile, most people use our native app. You can view a demo of the project at ht

Continue reading on Hacker News

Opens in a new tab

Read Full Article
0 views

Related Articles

Handling 100K+ Lines of Code in VS Code Like a Pro
News

Handling 100K+ Lines of Code in VS Code Like a Pro

Medium Programming • 46m ago

What Estimation Is Really For (And Why We Keep Misunderstanding It)
News

What Estimation Is Really For (And Why We Keep Misunderstanding It)

Medium Programming • 2h ago

Jesus' Messages to the World – Vol.3, Lessons 7-9: A Florilegium
News

Jesus' Messages to the World – Vol.3, Lessons 7-9: A Florilegium

Medium Programming • 3h ago

Everything Lenovo announced at MWC 2026, including foldables and modular laptops
News

Everything Lenovo announced at MWC 2026, including foldables and modular laptops

ZDNet • 3h ago

A new app alerts you if someone nearby is wearing smart glasses
News

A new app alerts you if someone nearby is wearing smart glasses

TechCrunch • 3h ago

Discover More Articles