Parses the MML music language used in games like Archeage and plays it through MIDI.js
- https://github.com/mudcube/MIDI.js/ (installed as the
mididependency, pinned to the latest commit of the defaultmasterbranch — the library is not published to npm, andnpm i mudcube/MIDI.jswould drop thebuild/directory because of the repo's own.gitignore, so a codeload tarball is used instead) - https://github.com/mudcube/MIDI.js/blob/master/examples/soundfont (fetched
via
npm run fetch-soundfont)
npm run dev-example- vite dev server for the demo page (example/)npm run build-example- fetch soundfont + build the demo toexample/dist/npm run watch-example- like build-example, but keeps rebuilding on changesnpm run build-dist- compile the library (src/mml.ts) todist/