midi2json
v0.0.1
Published
This is a couple of command line scripts that convert `.mid` files to json files and json files back to `.mid` using the `midi-file` library.
Downloads
2
Readme
midi2json
Description
This is a couple of command line scripts that convert
.mid
files to json files and json files back to .mid
using the midi-file
library.
Installation
npm install -g midi2json
Usage
midi2json [--force] <midifile> [jsonfile]
json2midi [--force] <jsonfile> [midifile]
If you don't specify an output file, json file will be
automatically named <midifilename>.mid.json
and the
midi file will be automatically named
<jsonfilename>.mid.json
.
If the destination file already exists, the command will
fail. You can force an overwrite by specifying the
--force
(or -f
) option.