3 ms·
There are inbrowser tracker file players, esp with Wasm rendering could be done client side. That said, with super low bitrate codecs from Xiph it might be much
by sitkack 5y ago
There are inbrowser tracker file players, esp with Wasm rendering could be done client side. That said, with super low bitrate codecs from Xiph it might be much much simpler to encode once and ship the compressed song. Sending the tracker files means that it can be much easier to visualize and slow down playback.
- rasz 5y agoMOD trackers worked fine on 8MHz systems, there is no need for WASM here. https://warpdesign.github.io/modplayer-js/ https://warpdesign.github.io/modplayer-js/
- codetrotter 5y agoA properly written WASM MOD player could probably be a lot nicer on the battery than one implemented in JS. Then again, JS does have some quite advanced audio specific APIs available in browsers these days. So profiling would be necessary in order to tell if a good implementation in WASM beats a good implementation in JS on power consumption.
- sitkack 5y agoI was thinking more like your could run a m68k emulator in Wasm to run the original Amiga tracking software so it would sound just like the machine it was written on.
- gregsadetsky 5y agoI found a few great JS-based trackers (and successfully tried a few mod files): https://www.stef.be/bassoontracker/?file=demomods%2Fspacedeb.mod https://www.stef.be/bassoontracker/?file=demomods%2Fspacedeb... https://mod.haxor.fi/Groo/mod.electrification https://mod.haxor.fi/Groo/mod.electrification (many songs available in the 'load' interface) I also did find a wrapper around an emscripten-JS'ified version of libopenmpt (a popular MOD player library..?): https://github.com/deskjet/chiptune2.js/ https://github.com/deskjet/chiptune2.js/
- montag 5y agoHere’s mine: https://mmontag.github.io/chip-player-js/browse https://mmontag.github.io/chip-player-js/browse