Music 824: Computer Applications in Music Research
Ohio State University
School of Music


Humdrum Exercise #6 - Answers


All of the following commands assume that you are located in the appropriate score directory.

    5.
    Which Brandenburg Concerto contains a trumpet part? How long is the longest note played by the trumpet? How long is the shortest note played by the trumpet?
    COMMAND:     grep -l '!!!AIN:.*tromp' bwv*.krn
    ANSWER:         BWV 1047 (Concerto No. 2)
    COMMAND:     extract -i '*Itromp' bwv1047a.krn | census -k
    ANSWER:         Longest note is a whole note.
    ANSWER:         Shortest note is a 32nd note.

Return to Music 824 Index