neume-align
-----------

Performs alignment of multiple MEI neume encodings and creates 
a new MEI containing the different readings (inside `<app>` and `<rdg>`).

How to use
----------

To install all the dependencies use
```
npm install
```

Afterwards, the project can be built using
```
npm run-script build
```

After building, neume-align can be used both as a library 
and as a stand-alone command-line tool, e.g.

```
node dist/main.js test/test01a.xml test/test01b.xml
```

In your own project, `neume-align` can be used as follows:
```
import { NeumeCollator } from 'neume-align'

const collator = new NeumeCollator()
collator.collate([ /* set of DOM documents */]))
const result = collator.dom() // returns DOM of all the encodings merged into one document
```

### Run Test
```
npm test
```

