Difference between revisions of "Humdrum Lab 1"

From CCARH Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
The data files can be downloaded using the humcat and humsplit commands:
 
The data files can be downloaded using the humcat and humsplit commands:
 +
    mkdir chorales
 +
    cd chorales
 
     humcat -s h://370chorales | humsplit
 
     humcat -s h://370chorales | humsplit
 
This should create 370 files in the format chor001.krn, chor002.krn, chor003.krn, etc.
 
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:
+
=== MIDI rendering ===
    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):
+
 
 +
 
 +
=== Graphical Music Notation ===
 +
 
 +
 
 +
=== Key ===

Revision as of 17:20, 11 March 2014


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:

    mkdir chorales
    cd chorales
    humcat -s h://370chorales | humsplit

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

MIDI rendering

Graphical Music Notation

Key