1.0.1 • Published 2 years ago

neume-align v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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