!body topmargin="15" leftmargin="5" alink="#ff8080" bgcolor="#e2dfc7" link="#dd0000" marginheight="5" marginwidth="5" text="#321e04" vlink="#118dcc">
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:
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:
Next, go to the "Plug-ins" menu at the top of the Finale menu and select "MusicXML Import..." as illustrated in the next figure:
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
such as LilyPond which is a popular
linux music-typesetting program.
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:
More example usages of the hum2xml program are available on the hum2xml examples page
program file.krnIt can also read the data over the web:
program http://www.some-computer.com/some-directory/file.krnPiped data works in a somewhat similar manner:
cat file.krn | programis equivalent to a web file using ths form:
echo http://www.some-computer.com/some-directory/file.krn | program
Besides the http:// protocol, there is another special resource indicator prefix called humdrum:// which downloads data from the kernscores website. For example, using the URI humdrum://brandenburg/bwv1046a.krn:
program humdrum://brandenburg/bwv1046a.krnwill download the URL:
Musedata Bach Brandenburg Concerto collection.
This online-access of Humdrum data can also interface with the classical Humdrum Toolkit commands by using humcat to download the data from the kernscores website. For example, try the command pipeline:
humcat humdrum://brandenburg/bwv1046a.krn | census -k
The source code for the program was last modified on 26 Jun 2012. Click here to go to the full source-code download page.