a1k0n / jsxm

FastTracker 2 .xm module player in Javascript
http://www.a1k0n.net/code/jsxm/
MIT License
485 stars 36 forks source link

Add playlist #23

Open PeterNerlich opened 8 years ago

PeterNerlich commented 8 years ago

Relying on my Request for Events (#22), I have the idea of implementing a playlist. Handy would probably come a loopsBeforeNext as well as a nextGap property, holding a number of loops and milliseconds of pause before the playlist continues.

A playlist feature would also introduce the following events:

a1k0n commented 8 years ago

Sure, that might be useful. Loading is currently somewhat slow, so it'd be nice to load these in the background, but there are a few hardcoded singletons in here which wouldn't work. It'd take some doing to do gapless (or fixed gap) playback, but it would be nice.