@dawcore/midi
v0.0.1
Published
Framework-agnostic MIDI file loading and parsing for the dawcore family
Readme
@dawcore/midi
Framework-agnostic MIDI file loading and parsing for the dawcore family.
Used by @dawcore/components (the Lit web component layer, via editor.loadMidi()) and @waveform-playlist/midi (the React useMidiTracks hook).
Exports
parseMidiFile(data, options?)— parse a MIDIArrayBufferparseMidiUrl(url, options?, signal?)— fetch and parse a.midURL- Types:
ParsedMidi,ParsedMidiTrack,ParseMidiOptions,MidiLoadOptions,MidiLoadResult
License
MIT
