Analyses of Pitch, Rhythm, and Meter based on Jonathan Foote's 2-D Self-Similarity Diagrams

Music represented in the picture

Numeric data extracted from the music

This data is extracted from the music by the triped program:

**kern **mlev **dur **pitch
*M2/4 * * *
16d -2 0.25 d
=1 =1 =1 =1
4d 2 1 d
16d 0 0.25 d
32A -2 0.125 A
32A -3 0.125 A
16A -1 0.25 A
32G -2 0.125 G
32G -3 0.125 G
=2|| =2|| =2|| =2||
*M3/4 * * *
[2G 2 2.75 G
8.G] . . .
16A -2 0.25 A
=3|| =3|| =3|| =3||
*M2/4 * * *
4A 2 1 A
16A 0 0.25 A
32G -2 0.125 G
32G -3 0.125 G
16G -1 0.25 G
32G -2 0.125 G
32G -3 0.125 G
=4|| =4|| =4|| =4||
*- *- *- *-

Example comparison of the metric levels of first three measures:

-3 |             *        *                 *        *
-2 | *        *        *        *        *        *   
-1 |                *                          *      
-3 |             *        *                 *        *
-2 | *        *        *        *        *        *   
 0 |       *                          *               
 1 |    *                    *     *                  
-2 | *        *        *        *        *        *   
 1 |    *                    *     *                  
-3 |             *        *                 *        *
-2 | *        *        *        *        *        *   
-1 |                *                          *      
-3 |             *        *                 *        *
-2 | *        *        *        *        *        *   
 0 |       *                          *               
 1 |    *                    *     *                  
-2 | *        *        *        *        *        *     
    ---------------------------------------------------
    -2  1  0 -2 -3 -1 -2 -3  1 -2  1  0 -2 -3 -1 -2 -3

Here is a graphical version of the previous figure:

Here is the same graph with the events weighted (linearly) by their durations:

Here is a plot with the three colors separated: red = pitch, green = duration, and blue = metric level.

(Mondriaan).

The same musical selection not weighted by duration:

Full musical example with separated colors:

Here is a plot where only the white portions of the plot are displayed (where all three components match exactly). Good for detecting regions of exact repetition.


Other types of pitch similarity

Pitch class:

Intervals:

Scale Degrees: (not done yet)

Continuous data

(to be implemented)

Comparing two different works

listen to the two pieces being compared:
sioux125a.mid
sioux125b.mid

Command options

Usage: triped -[RGBpiedfwar] file1.krn [file2.krn] > plot.ppm; convert plot.ppm plot.gif
-r=repeat the pixels to increase the size of the output plot
-a=display composite plot plus separate plots for each of the analyses: pitch, duration and metric level.
-w=display only the white portions of the plots
-f=flip the vertical axis of plots
-d=print humdrum data analysis output
-e=display events with equal area regareless of duration
-i=use intervals instead of absolute pitch
-p=use pitch class instead of absolute pitch
-R=do not print pitch analysis on composite graphs
-G=do not print duration analysis on composite graphs
-B=do not print metric level analysis on composite graphs


References


craig@ccrma.stanford.edu