Skip to content

csi970/prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •