MIDI is a widely used music format online. However the HTML5 Audio tag supports only wav/mp3/ogg formats so far. Playing MIDI usually uses the embed tag which ...
A Javascript Library to Play MIDI files in a web site using the WebMIDIAPI. Based on the project WebAudioFont https://github.com/surikov/webaudiofont by Sergey Surikov.