SYNOPSIS
DESCRIPTION
The original clefs of the SATB parts will automatically be commented out in local comments, and the treble and bass clefs of a grand staff will be placed at the start of the soprano/alto and tenor/bass staves. Also, fermatas in the tenor and alto parts will automatically be hidden if they occur at the same time as fermatas in the bass and soprano parts, respectively, as long as the tenor/bass or alto/soprano note durations are the same. As an example consider the following Humdrum file containing four monophonic SATB parts:
When this data is printed, it will be typeset with four staves -- one staff for each part:
| muse2ps '=z21js^[(....)]^v170,170,170,200' | ps2pdf - - > 4staves.pdf
Using satb2gs, the music is placed onto two staves rather than four: Notice that the exclusive interpretation line now contains two **kern spines rather than four, and that the fermatas in the inner voices are now marked as hidden. This data will now print using a grand staff:
| muse2ps '=z21jv250,250s^{(..)}^C^^T^^' | ps2pdf - - > chor001gs.pdf
Here is an example of printing through abcm2ps rather than muse2ps (autostem is not needed to add stems for the input to hum2abc since abcm2ps determines all stem directions automatically): | ps2pdf - - > chor001gsabc.pdf EXAMPLES
ONLINE DATA
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: Which is found in the 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 DOWNLOAD
The source code for the program was last modified on 6 Feb 2011. Click here to go to the full source-code download page. |