infojunkie / musicxml-player

A TypeScript component that loads and plays MusicXML files in the browser using Web Audio and Web MIDI.
https://blog.karimratib.me/demos/musicxml/
GNU General Public License v3.0
35 stars 6 forks source link

Provide interface and implementations for MIDI conversion #8

Closed infojunkie closed 1 year ago

infojunkie commented 1 year ago

Right now, the player accepts an explicit MIDI file. We can do better, by converting MusicXML to MIDI in this component, using existing methods:

In order to expose these and potentially other methods, create an interface IMIDIConversion and let the player accept an implementation of this interface (including an implementation that just takes a MIDI file URI).