Humdrum Extras

hum2xml manpage


COMMAND

    hum2xml -- Convert Humdrum files into MusicXML files.

SYNOPSIS

    hum2xml [-r[input[> output]

OPTIONS

    -r Reverse the ordering of the staves in a printed system. Usually a Humdrum file contains the bottom staff in a system in the left-most column. If the ordering of the staves in a Humdrum file are reversed, then use the -r to store them in correct order in the MusicXML output.

DESCRIPTION

    Printing Humdrum data in Finale 2003 or higher

    Humdrum files converted into MusicXML files can be imported into the Finale Music Typesetting program by following these instructions:

        hum2xml input.krn > output.xml
     

    For the sample input data on the left, the output file will contain the following data:

    input.krn
    output.xml

    To load the MusicXML file into Finale, first create a blank default document. This must be done in order to activate the "MusicXML Import..." item in the "Plug-ins" menu. If you do not have a blank Finale document open, then the MusicXML data cannot be imported. To open a blank document go to the "File" menu and choose "New" then "Default Document" as illustrated below:

    Default Document menu item

    Next, go to the "Plug-ins" menu at the top of the Finale menu and select "MusicXML Import..." as illustrated in the next figure:

    Plugin Menu list

    In the "MusicXML Import..." window, select your MusicXML file to load into Finale. You should end up with music in the Finale window like this:

    You may also use the translation from Humdrum into MusicXML to import the musical data into other notation programs listed on the recordare.com website, such as LilyPond which is a popular linux music-typesetting program.

EXAMPLES

    Non-kern spines

    Non-kern spines to the right of a **kern spine will be converted into lyrics when the file is converted into a MusicXML file. For example, the following input:

    Will generate this result when the MusicXML file is loaded into Finale:

    Music with verses in Finale

    More example usages of the hum2xml program are avaliable on the hum2xml examples page

SEE ALSO

DOWNLOAD

    The compiled hum2xml program can be downloaded for the following platforms:
    • Linux (i386 processors) compiled on 23 Sep 2008.
    • Mac OSX (version 10.2 and higher) compiled on 6 Sep 2004.
    • Windows compiled on 1 Jun 2006.

    The source code for the program was last modified on 12 Dec 2006.