March 2, 2026

No Pause, Big Applause? Maybe

Show HN: Gapless.js – gapless web audio playback

Seamless songs at last — unless Firefox crashes the party

TLDR: Gapless.js promises smooth, no‑pause playback between songs in the browser and has devs excited about simpler audio tools. But the comments spark a split: fans want to adopt it now, while others report Firefox hiccups and question overlap with similar projects—making cross‑browser reliability the headline concern.

Gapless.js rolls in promising no awkward pauses between songs, and the crowd goes wild… mostly. The new web audio player, built for live-show site Relisten, claims smooth, back‑to‑back tracks using the browser’s audio tech, a simple setup, and minimal baggage. Devs love the idea of a higher‑level tool that hides the confusing bits and just, you know, plays music without the tiny “click” between tracks.

Cheer squad first: one builder from Museeks is eyeing Gapless.js for their open‑source player, praising it for making the Web Audio world “super cryptic” no more. Another reader imagines DJ‑style fun: “Perfect use case for a web‑based sample sequencer!” Translation: folks want to spin beats in the browser without the record-scratch pause.

Then the drama drops: a Firefox user bluntly reports, “It’s not gapless” in the latest version. Cue the browser wars. Is this a library problem or a Firefox quirk? Meanwhile, another commenter asks how this stacks up against Gapless‑5, poking the “are we reinventing the wheel?” bear. So the thread splits into camps—early adopters hyped for no‑pause playlists, skeptics grilling cross‑browser reliability, and archivists linking related projects like it’s genealogy night. The vibe: big potential, bigger expectations, and jokes about road trips finally free from that half‑second “uhh” between tracks. Will the music play on—every browser? Stay tuned.

Key Points

  • Gapless.js provides seamless, gapless audio transitions on the web using HTML5 audio with the Web Audio API.
  • The library emphasizes a simple API and uses a single production dependency (xstate) to drive a state machine.
  • Developers can install via pnpm and quickly initialize a Queue with track URLs and event callbacks.
  • The API includes playback, navigation, seeking, volume control, queue management, getters, and cleanup methods.
  • Version 4 is a complete rewrite with changed public API, including new import paths and renamed methods from v3.

Hottest takes

"It's not gapless on firefox latest." — NoahZuniga
"WebAudio APIs have always been super cryptic" — martpie
"looks like that is also recently updated" — modec
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.