UNPKG

music21j-port

Version:

A toolkit for computer-aided musicology, Javascript version

28 lines (19 loc) 1.86 kB
# MIDI.js Soundfonts [MIDI.js](https://github.com/mudcube/MIDI.js) is a fantastic library for MIDI sequencing and playback in Javascript. It comes packaged with a [soundfont-generator](https://github.com/mudcube/MIDI.js/blob/master/soundfont-generator/ruby/soundfont_builder.rb) that is unfortuantely a little difficult to get up and running (requires installation of Ruby, Node.js, FluidSynth, Lame, etc.) This project contains pre-rendered [General MIDI](https://en.wikipedia.org/wiki/General_MIDI) soundfonts that can be used immediately with MIDI.js. Soundfonts Available ---- - Fluid-Soundfont - Generated from [FluidR3_GM.sf2](http://www.musescore.org/download/fluid-soundfont.tar.gz) (141 MB uncompressed) - Released under [Creative Commons Attribution 3.0 license](http://creativecommons.org/licenses/by/3.0/us/) - Instrument names as .json file [here](http://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/names.json) - URL prefix to fetch files: http://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/ - Musyng Kite Soundfont - Generated from [Musyng Kite.sfpack](http://www.synthfont.com/punbb/viewtopic.php?id=167) (1 GB uncompressed) - Released under [Creative Commons Attribution Share-Alike 3.0 license](https://creativecommons.org/licenses/by-sa/3.0/) - Instrument names as .json file [here](http://gleitz.github.io/midi-js-soundfonts/MusyngKite/names.json) - URL prefix to fetch files: http://gleitz.github.io/midi-js-soundfonts/MusyngKite/ Notes ----- - Fork of MIDI.js with parallized soundfont generation [available here](https://github.com/gleitz/MIDI.js). - You can fetch Soundfont files directly from this repository, so you can access them directly from a browser. Use the prefix URL following by the instrument name. For example: http://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/marimba-mp3.js