21M.383 | Spring 2023 | Undergraduate, Graduate

Computational Music Theory and Analysis

Class 7: Music Representation and Hierarchies

Class 7 Video: Music Representation (IV) & Hierarchies (I)

File: Streams Intro Notebook (IPYNB)

Video 7a unlocks music21 Duration, Note Modules, and Objects. Watch this video after completing PSet 1 as it will become useful for PSet 3:

Video 7a: Unlocking Duration and Note Objects in music21

Video 7b provides a one-minute introduction to the differences between Containers (such as Streams) and Leafs (such as Elements or Music21Objects or Notes) as used in computational music theory:

Video 7b: Streams as Hierarchies: Types of Containers in music21

Video 7c covers the main topic of Hierarchies, and a subtopic on that is the particular score hierarchy used in this class, the music21 Stream. This is the first of many introductions to Stream features. You will unlock and use Streams, Corpus, and Meter.

Video 7c: music21 Streams, Corpus, and Meter Features

Note: There are a few slight changes to music21 since video 7c. The rest should say music21.note.Rest eighth, for instance, and there are some improvements to how we can quickly put things into a stream that will make it simpler to create stream hierarchies, which we will get to later in the class.

Video 7d is a slightly deeper dive into musical representation in general, but Classical Western music notation (CWMN) in particular, with a look at the two major ways of representing polyphonic music: partwise or timewise.

Video 7d: Partwise vs. Timewise Polyphonic Representations

Course Info

As Taught In
Spring 2023
Learning Resource Types
Lecture Notes
Lecture Videos
Other Video
Multiple Assignment Types
Exams
Editable Files