jsmodplayer
jsmodplayer copied to clipboard
A Javascript .MOD and .XM music player
Communicate to outside world through either callbacks or events (callbacks probably preferable so that the player isn't tied to a browser environment. May like to support using this headless on...
Lay out player with CSS grid, make themeable (re-arranging into different styles like Protracker-esque via CSS)
Add helper methods for inserting patterns, samples, etc into a mod file in memory.
Code seriously needs to be organized into one sane player object where user can instantiate it and just hit play. Do away with the globals and other practices.
After many years of ScriptProcessorNode being officially deprecated without any actual replacement, AudioWorklet is finally live in Chrome 66 and Opera. This should help with playback problems https://developers.google.com/web/updates/2017/12/audio-worklet Still an...
New refactor uses `import`. For full browser support this still requires pre-building a package. Provide a minimal Webpack setup that can transform and bundle the code. Also commit a pre-bundled...
A percentage of mods simply sound wrong, even without pitch bend effects. No clues on the cause as of yet (just generally poor sampling code?)
Portamentos often work accurately, but sometimes sound very off, or slide to high/low pitches that seem wrong