Linux Commands Examples

A great documentation place for Linux commands


manual page for musicxml2ly (LilyPond) 2.16.0


musicxml2ly [OPTION]... FILE.xml

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


./src/GenLesson lessonAdv.fmt > out.xml &&
musicxml2ly --no-beaming out.xml &&
lilypond && evince out.pdf &
echo "Writing $1 to $ and output/$1.png"
musicxml2ly $DIR/input/$1 -o $DIR/input/$ && lilypond --pdf --output=$DIR/output/$1 $DIR/input/$
echo "SRG\n| m" | doremi2musicxml | tee > tmp/doremi2musicxml.xml; musicxml2ly tmp/doremi2musicxml.xml -o tmp/
echo "`wc -l tmp/`"
musicxml2ly $1.xml -o $
lilypond --png --output mops $
convert -trim mops.png $TESTDIR/lilypond/$1.png
for a in abc2ly musicxml2ly convert-ly midi2ly etf2ly lilypond-book mup2ly; do
rm -f $a;
ln -s $wrapscript.python $a;


Convert MusicXML from FILE.xml to LilyPond input. If the given filename is -, musicxml2ly reads from the command line.


-h, --help

show this help and exit


show version number and exit

-v, --verbose

be verbose


use lxml.etree; uses less memory and cpu time

-z, --compressed

input file is a zip-compressed MusicXML file

-r, --relative

convert pitches in relative mode (default)

-a, --absolute

convert pitches in absolute mode

-l, --language=LANG

use LANG for pitch names, e.g. ’deutsch’ for note names in German


Print log messages according to LOGLEVEL (NONE, ERROR, WARNING, PROGRESS (default), DEBUG)

--nd --no-articulation-directions

do not convert directions (^, _ or -) for articulations, dynamics, etc.

--nrp --no-rest-positions

do not convert exact vertical positions of rests

--npl --no-page-layout

do not convert the exact page layout and breaks


do not convert beaming information, use lilypond’s automatic beaming instead

-o, --output=FILE

set output filename to FILE, stdout if -

-m, --midi

activate midi-block


Copyright © 2005--2012 by
Han-Wen Nienhuys <hanwen[:at:]xs4all[:dot:]nl>,
Jan Nieuwenhuizen <janneke[:at:]gnu[:dot:]org> and
Reinhold Kainhofer <reinhold[:at:]kainhofer[:dot:]com>

This program is free software. It is covered by the GNU General Public License and you are welcome to change it and/or distribute copies of it under certain conditions. Invoke as ’lilypond --warranty’ for more information.

reporting bugs

Report bugs via

see also

The full documentation for musicxml2ly is maintained as a Texinfo manual. If the info and musicxml2ly programs are properly installed at your site, the command

info musicxml2ly

should give you access to the complete manual.

How can this site be more helpful to YOU ?

give  feedback