Menu
<< Week 3: Encoding Basics for Notation Week 5: Standards in Curation >>

Week 4: Computational Analytics of Notated Music

Task 1: Generating a Piano Roll and Pitch Histogram using music21

1. Pitch Histogram

A pitch bar graph shows how many times a particular note has been played in a song. In my case, the most common pitch in Arvo Pärt's Spiegel im Spiegel is C5.

Pitch Histogram

2. Piano Roll

Piano roll is a diagram that shows the time position of each note, where it starts playing, its duration (length), and pitch.

Piano Roll

3. Scatter Plot of Pitches

This pitch scatter plot shows the correlation between pitch and note length.

Scatter Plot of Pitches