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.

    4.
    Which Brandenburg Concerto contains a horn part? Which movements from this concerto don't use the horn?
    COMMAND:     grep '!!!AIN:.*cor' bwv*.krn
    COMMAND:     grep -l '!!!AIN:.*cor' bwv*.krn
    ANSWER:         BWV 1046 (Concerto No. 1)
    The -l option for grep restricts the output to the filenames only.


Return to Music 824 Index