midi-json-parser icon indicating copy to clipboard operation
midi-json-parser copied to clipboard

This module is parsing midi files into a human-readable JSON object.

Results 5 midi-json-parser issues
Sort by recently updated
recently updated
newest added
trafficstars

Trying to import the module in node.js v17.4.0, I get the following error: ``` ReferenceError: Blob is not defined at node_modules/midi-json-parser/build/es5/bundle.js:10:13 at node_modules/midi-json-parser/build/es5/bundle.js:2:65 at Object. (node_modules/midi-json-parser/build/es5/bundle.js:5:3) ``` Looks like node.js...

I've created a function to convert the delta to miliseconds: ```js const microsecondsPerQuarter = ( midi.tracks[0].find(({ setTempo }) => setTempo).setTempo ).microsecondsPerQuarter; const deltaToMs = (delta, bpm = 110) => (60_000_000...

# Short version: - It would be nice if the events don't extend from IValueMap, that would make it possible for Typescript to properly infer the types. - And to...

Because the sub module `midi-json-parser-broker` is using `Worker`, the parser does not work with node.js. The Worker is supported by the browser, but not by node.js.

This is going to be super for testing that midi files were saved properly. The code for the converted is very basic - 100 lines tops. **Please let me know...