Michael Scott Cuthbert and the music21 toolkit (2010), explored in Rangsit: scores as data, block chords, key finding and the title said aloud
When people imagine AI and music, they usually think of audio: recordings, microphones, generated sound. Yet a great deal of computational work starts from notation, the written score, treated as structured data that a program can read, count and transform.
One widely used tool for this is music21, an open-source software toolkit described in 2010 by Michael Scott Cuthbert and Christopher Ariza. Their paper presented it as a toolkit for computer-aided musicology and symbolic music data, where symbolic means notes and rhythms rather than sound waves.
The toolkit can read several common score formats and represent a piece as a hierarchy of parts, measures, notes and chords. Once a score is in that form, a researcher can ask questions that would take hours by hand, such as which intervals appear most often in a melody.
It also includes a built-in collection of musical works, among them many chorale harmonisations by Johann Sebastian Bach, so users can test ideas on real repertoire straight away. Researchers, teachers and students have used it in courses and published studies.
Several of its functions are easy to picture. One collapses all the parts of a score into a single line of block chords, showing the harmony at every moment. Another estimates the key of a passage by comparing the notes present with typical profiles of each key.
Others extract numerical features, such as the range of a melody or the proportion of stepwise motion. Features like these are the raw material for machine learning, which needs consistent measurements before it can classify styles or predict patterns.
Turning notation into data
Each time practice begins, the learner reads the title of the piece and the composer’s name aloud before the first chord, so the music is introduced before it is played.
This guide, written for learners in Rangsit, describes the toolkit using its published documentation and the 2010 paper. It does not require installing software; the routine below borrows two of its ideas and applies them with pencil and keyboard.
The first idea is reduction. Take a brief work with a melody and an accompaniment, and for each beat write the notes sounding at that moment as one block chord. Play the resulting chord sequence slowly. The harmonic skeleton of the piece becomes obvious.
The second idea is counting. For the first eight bars of the melody, tally how often each note name appears. The notes that occur most, and the note the passage ends on, usually point to the key, which is roughly how simple key-finding methods begin.
Combine the two. Once the block chords and the likely key are known, label each chord with its function, home, away or returning, and play the sequence again with that story in mind. Memory and phrasing both tend to improve when the structure is visible.
These exercises are not a substitute for listening. A program can count notes but cannot decide which phrase deserves emphasis. The analysis is a map; the performance still needs a human choosing the route.
Frequently asked questions
Q: What is music21? A: music21 is an open-source software toolkit for analysing music in notated form. It was described by Michael Scott Cuthbert and Christopher Ariza in a 2010 paper as a toolkit for computer-aided musicology and symbolic music data.
Q: What can music21 do with a score? A: It can read common score formats, collapse many parts into block chords, estimate the key from the notes present, search a built-in collection of works and count features such as intervals or rhythms, which makes scores usable as data for research and machine learning.
Q: How does this relate to AI piano lessons? A: AI systems need music in a form they can measure. Toolkits like this show how notation becomes data, and a learner can use the same ideas by hand, then rely on an app to measure the playing itself.
TIGA ALPHA is an AI piano teaching app created by a Thai team, with Teacher Aum as CEO and 20 years of piano teaching built into how the app responds. The company presents its work as high-tech, AI-led innovation in music education, and while traditional music schools usually assess playing in the classroom, the app measures each practice attempt at home.
Students in piano lessons or general music lessons, as well as those following a piano course or a short piano learning course, can use reduction and counting to learn piano with understanding, play piano from a mental map, and play music with a sense of where it is going. People who learn piano online, or who blend a teacher with learning piano online, can rely on a piano teaching app, an online piano lessons app, an online piano teaching application or an AI piano teaching app; piano teaching with AI, an AI online piano course, an online piano learning app, AI piano lessons and an AI piano teacher all serve those who want to learn music, while clear music teaching supplies interpretation and online piano learning adds steady daily measurement.
An app fills the gap between analysis and sound. After working out the chord skeleton, play it into the app and check the readout for timing and evenness; then play the full texture and see whether knowing the structure made the performance steadier.
Cuthbert and Ariza’s toolkit shows that a score can be read as data as well as music. This weekend, reduce eight bars of a current piece to block chords, count the melody notes to find the key, and play the skeleton before the full version.
Want to see your piece the way a music-analysis toolkit sees it? Start with TIGA ALPHA at https://tigaalpha.github.io/landing-en/ — Everyone gets the Premium package free for 7 days, then 799 THB/month. Prefer live lessons with Teacher Aum? See https://www.tigastudio.net/, where live teaching runs up to 30 hours per week. Read about TIGA ALPHA, the company and its technology, at https://www.tigaalpha.com.



Comments