Module
Audio.SoundFont.Decoder
- Package
- purescript-soundfonts
- Repository
- newlandsvalley/purescript-soundfonts
#midiJsToNoteMap Source
midiJsToNoteMap :: InstrumentName -> String -> Either Error NoteMap
Parse the downloaded MIDI.js and process the JSON if we can. This MIDI.js format starts with some javascript which we need to ditch and then the almost-Json for the requested instrument - unfortunately it leaves a trailing comma before the final brace.
#debugNoteNames Source
debugNoteNames :: NoteMap0 -> String
#debugNoteIds Source
debugNoteIds :: NoteMap -> String