A framework for producing test MIDI files
npm install test-midi-filesnpm install to make sure all dependencies are up to date.
node index.js [ | print | inspect | base64]
node index.js midi/test-c-major-scale.mid
node index.js midi/test-c-major-scale.mid "Microsoft GS Wavetable Synth"
node index.js midi/test-c-major-scale.mid print
node index.js midi/test-c-major-scale.mid inspect
print, but also outputs the data offset within the MIDI file.
node index.js midi/test-c-major-scale.mid base64
Base64 format.
index.html
code/test-c-major-scale.js or your favorite test in the code directory.
node code/your-test-name.js, it will create a MIDI file with the same name in the midi directory.
code2 and midi2 directories.
npm install test-midi-files --save
js
const TEST = require('test-midi-files');
//...
``