Humdrum Lab 1: Difference between revisions

From CCARH Wiki
Jump to navigation Jump to search
Line 15: Line 15:
=== MIDI rendering ===
=== MIDI rendering ===


 
Convert a particular chorale into a MIDI file with this command:
    hum2mid chor001.krn -o chor001.mid


=== Graphical Music Notation ===
=== Graphical Music Notation ===

Revision as of 17:23, 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

Convert a particular chorale into a MIDI file with this command:

    hum2mid chor001.krn -o chor001.mid

Graphical Music Notation

Key