Try the web app : mxltoireal.com
Provides a library written in C, with WebAssembly bindings for both Node.js and the browser.
Both compressed .mxl files and .musicxml files are supported.
iReal Pro does not support this feature natively.
This makes it easier to import your scores directly into iReal Pro, especially if you are a composer.
npm install musicxml-irealprolib_a→ static librarylib_so→ shared librarylib_js→ WebAssembly targetmxl2irp→ cli tool
By default, all libraries are built.
inside the ./cli/ folder there are two utilities : main.c and index.js.
They both provide a CLI tool that prints the resulting iReal Pro file to standard output.
For now, this is the easiest way to understand the APIs. I am planning to write a proper documentation.
npm install
make mxl2irp./mxl2irp (one or more)[path/to/file[.musicxml|.mxl]] or
./cli/index.js (one or more)[path/to/file[.musicxml|.mxl]]