music-analysis
v0.1.8
Published
Analyzes MusicXML files and determines difficulty based on a variety of factors
Downloads
4
Readme
Music Analysis Package
Get some information about MusicXML files and (experimentally) find out how hard it might be to play!
Installation
$ npm install music-analysis
Or you can download the ZIP.
Usage
It's easy to use asynchronously in your Node.js programs:
var music = require('music-analysis');
music.parseMXLFile('AwesomeScore.mxl', function(score) {
var parts = score.parts;
parts.forEach(function(part) {
var stats = part.getRawStats();
var m = stats.numMeasures;
console.log('This part has ' + m + ' measures.')
});
});
You can also check out the ./examples/
.
Contributing?
Yes, please! Feel free to send pull requests :)