Difference between revisions of "Humdrum homework"

From CCARH Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
=== Melodic intervals ===
 
=== Melodic intervals ===
  
Here is a template for extracting the melodic intervals for the Tenor part in the chorales and plotting them in a histrgram by percentages:
+
Here is a template for extracting the melodic intervals for the tenor part in the chorales and plotting them in a histrgram by percentages:
  
 
     extractx -s 2 *.krn | mint | grep -v r | ridx -H | grep -v [[] | \
 
     extractx -s 2 *.krn | mint | grep -v r | ridx -H | grep -v [[] | \

Revision as of 18:31, 7 March 2019

Music 253 Humdrum Homework

Examine the melodic and harmonic properties of the Bach chorale data set. Refer to Humdrum Lab 1 for how to download the chorales (and install the tools useful for the homework).

Melodic intervals

Here is a template for extracting the melodic intervals for the tenor part in the chorales and plotting them in a histrgram by percentages:

    extractx -s 2 *.krn | mint | grep -v r | ridx -H | grep -v [[] | \
      sortcount -vp --sort interval -T "Tenor melodic intervals" > melodic-tenor.html

This plot should be displayed when opening up the generated HTML file:

Melodic-tenor.png


Also make plots for bass (spine 1), alto (spine 3), and soprano (spine 4) and visually compare the plots to each other.

Questions:

1. Which part has the most repetitions (P1 interval)?

2. Which part has the most leaps (intervals greater than 2 or less than -2)?

Scale Degrees

Harmonic intervals

Here is an example of how to extract the harmonic intervals between the soprano and bass parts:

    extractx -s 1,4 *.krn | hint | ridx -H | grep -v [r-] | sortcount -pv -T "Harmonic intervals between Soprano and Bass" --sort interval  > analysis.html


This plot should be displayed when opening up the generated HTML file:


Harmonic-soprano-bass.png


Make plots comparing each pair of parts bass (spine 1), tenor (spine 2), alto (spine 3), and soprano (spine 4), which is a total of 6 plots.

Questions:

3. What is the most common harmonic interval between each part pair?