
Music Representation (III): Unlocking Pitch in music21
Michael Scott Asato Cuthbert, teaching MIT's 21M.383 Computational Music Theory and Analysis, walks through the pitch module of music21, the Python toolkit his lab built for analyzing scores computationally. He demonstrates the pitch.Pitch object, unlocking its functions one by one while deliberately setting aside anything involving transposition, which is saved for a later session. The video is part of a numbered series introducing how music21 represents musical information in code, aimed at students who need to manipulate pitch data programmatically rather than just read about it in the abstract. Cuthbert works through the object's properties and methods on screen, showing what each returns and how it fits into the larger framework for encoding and analyzing scores. It is a hands-on, code-along session rather than a conceptual overview, suited to students already working through the course's programming assignments.