Convert spectrum data from MATLAB or SPEAR, into Standard MIDI File which is compatible with MPE applications.
First, git clone or download this repository.
Then install dependencies.
npm i
Run example code and see the result.
node examples/convert.js
( async () => {
const s2m = require('s2m');
await s2m.convertFromSpear('path/to/file');
})();
(await s2m.convertFromSpear('path/to/file');})();
For more information, check example code ./examples/convert.js
What's MPE?
Spear (recommended spectral analysis tool)
How to make spectrum data with MATLAB?
The format of text file (Spear export)
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2018 Satoshi Suzuki