Humdrum Lab 1

From CCARH Wiki
Revision as of 17:17, 11 March 2014 by Craig (talk | contribs) (→‎Download)
Jump to navigation Jump to search


Bach Chorales

Download

A Humdrum Edition of the Bach Chorales is available at http://kern.ccarh.org/browse?l=371chorales

The data files can be downloaded using the humcat and humsplit commands:

    humcat -s h://370chorales | humsplit

This should create 370 files in the format chor001.krn, chor002.krn, chor003.krn, etc.

Alternatively, all chorales can be saved to a single file like this:

    humcat -s h://371chorales > 371chorales.krns

The files can also be downloaded as a ZIP file by clicking on the "Z" icon on the above webpage. From the terminal, this zip file can be downloaded with either of the commands (curl for OS X, wget for linux):