| [ << External programs ] | [Top][Contents][Index] | [ Suggestions for writing files >> ] |
| [ < Invoking midi2ly ] | [ Up : Converting from other formats ] | [ Invoking abc2ly > ] |
4.3.2 Invoking musicxml2ly
MusicXML is an XML dialect for representing music notation.
musicxml2ly extracts notes, articulations, score structure and
lyrics from ‘part-wise’ MusicXML files then writes them to a
‘.ly’ file. It is run from the command-line as follows;
musicxml2ly [option]… file.xml
Note that by ‘command-line’, we mean the command line of the operating system. See Converting from other formats, for more information about this.
If ‘-’ is used instead of file.xml, musicxml2ly
reads all input directly from the command line.
The following options are supported by musicxml2ly:
-a, --absoluteconvert pitches in absolute mode.
--fb --fretboardsconverts
<frame>events to a separate FretBoard voice instead of markups.-h, --helpprint usage and a summary of all the available command line options.
-l, --language=LANGuse LANG for pitch names, e.g.
deutschfor note names in German.--loglevel=LOGLEVELSets the output verbosity to LOGLEVEL. Possible values are
NONE,ERROR,WARNING,PROGRESS(default) andDEBUG.--lxmluse the lxml.etree Python package for XML-parsing; uses less memory and cpu time.
-m, --midiactivate the midi block in the .ly file.
--nb, --no-beamingdo not convert beaming information, use LilyPond’s automatic beaming instead.
--nd, --no-articulation-directionsdo not convert directions (
^,_or-) for articulations, dynamics, etc.--nrp, --no-rest-positionsdo not convert exact vertical position of rests.
--nsb, --no-system-breaksignore system breaks.
--npl, --no-page-layoutdo not convert the exact page layout and breaks (shortcut for
--nsb--npb--npmoptions).--npb, --no-page-breaksignore page breaks.
--npm, --no-page-marginsignore page margins.
--nsd, --no-stem-directionsignore stem directions from MusicXML, use lilypond’s automatic stemming instead.
-o, --output=FILEset the output filename to FILE. If file is ‘-’, the output will be printed to stdout. If not given, xmlfile.ly will be used instead.
-r, --relativeconvert pitches in relative mode (default).
--transpose=TOPITCHthe interval between pitch
cand TOPITCH to transpose by.--sm, --shift-meter=BEATS/BEATTYPEchange the length|duration of notes as a function of a given time signature to make the score look faster or slower, (e.g.
4/4or2/2).--tc, --tab-clef=TABCLEFNAMEswitch between two versions of tab clefs (
tabandmoderntab).--sn --string-numbers=t[rue]/f[alse]deactivate string number stencil with
--string-numbersfalse. Default istrue.-v, --verbosebe verbose.
--versionshow version number and exit.
-z, --compressedinput file is a zip-compressed MusicXML file.
| [ << External programs ] | [Top][Contents][Index] | [ Suggestions for writing files >> ] |
| [ < Invoking midi2ly ] | [ Up : Converting from other formats ] | [ Invoking abc2ly > ] |