Gapless playback
See original GitHub issueWhat
- Reduce sound interuption between two songs
Currently, when a song is over, the src of the audio tag is changed, but the tag has to preload the file a bit. So there is a micro interruption of a few miliseconds.
- Crossfading option between song ?
How
~Instead of having a single Audio object, need to have an array of 3: [previous, current, next]. Then when playing next or previous, it should be faster, cause tracks will already be loaded + Pop/Shift audio when needed.~ not working :[
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Gapless playback - Wikipedia
Gapless playback is the uninterrupted playback of consecutive audio tracks, such that relative time distances in the original audio source are preserved ...
Read more >What is gapless playback? - Darko.Audio
Gapless playback – “the uninterrupted playback of consecutive audio tracks” – is a concept that's well known to veteran music streamers.
Read more >When the Gapless Playback function is set to - Sony Corporation
When the Gapless Playback function is set to [Auto], the HDD AUDIO PLAYER plays tracks without the silent part between tracks. This is...
Read more >What is Gapless playback and Crossfade? : r/audiophilemusic
Normally you want to have gapless playback if you are listening to an entire album because often songs are meant to blend into...
Read more >Gapless Playback Issue - Apple Support Communities
Gapless Playback Issue. Hi, I have recently noticed an issue where pauses have suddenly appeared on an album that should have no gaps ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@s0 great to hear! #128 is a blocker for that though. I really want to solve this so I will try to find myself some time to work on AudioContext.
I would also like to try https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/audioTracks as maybe Gapless playback comes baked in.
I’ve been playing around with the WebAudio API in Musseks for a slightly different reason (accurate timestamps for synchronizing audio with lighting with my synesthesia project), which it turned out the HTML
<audio>tag was insufficient for (see https://github.com/synesthesia-project/synesthesia/tree/master/precise-audio). I’d be willing to attempt implementing gapless playback in Museeks using web audio, though I cannot provide a timescale.