Skip to content

This software converts MusicXML documents to MNX format using XSLT.

Notifications You must be signed in to change notification settings

evanlenz/painless-mnx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

painless-mnx

This software (musicxml-to-mnx.xsl) will convert MusicXML documents to MNX format using XSLT.

See MNX by example and the MNX Draft Specification.

Inspiration

The project title is earnest but tongue-in-cheek. It's inspired by the question "Why not XSLT?" and Adrian Holovaty's invitation/challenge given here: https://youtu.be/x2OZ5i2oD8U?t=5749

See also his Python-based mnxconverter project, which is included as a submodule for its test cases.

Running the tests

Run run-tests.sh (from the tests directory) after putting these jar files in your CLASSPATH environment variable:

NOTE: The tests don't pass yet, since this project is just getting started.

Visualizing the test-case conversions

Optionally, you can visualize the XSLT transformation for each test case (using the xslt-visualizer project), by running visualize.sh.

For example, from the tests directory, run:

visualize.sh basic

To view the results:

  1. Open visualized-conversions/basic.html in the browser.
  2. Drag the slider to inspect the transformation.
  3. Hover over the center column's match patterns (grouped by mode) to see the invoked XSLT.

About

This software converts MusicXML documents to MNX format using XSLT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published