
music21 Coding Tutorial: Computational Music Theory and Analysis
MIT lecturer Michael Scott Asato Cuthbert walks through the music21 Python toolkit in this coding tutorial from MIT's 21M.383 Computational Music Theory and Analysis course. The session extends material from the end of Class 1, showing how to load, manipulate, and analyze musical scores programmatically using the music21 library. Cuthbert demonstrates the core objects and functions students will rely on for the rest of the course, working through examples on screen as he codes. It is a hands-on companion to the lecture material rather than a survey talk, aimed at students who need to see the software in action to follow the course's analytical methods. The pace is practical and example-driven, suited to viewers who already have the conceptual grounding from Class 1 and want to see it implemented in code.