0.0.1 • Published 2 years ago

midi2json v0.0.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
2 years ago

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.