About This Site
About the site
This site serves two main purposes:
To publish and bring together MStruct tools, with download links and documentation, including the pages you are reading;
To serve as an experimental platform for the MStruct search system, bringing together voluntarily contributed MStruct files in a database of musical harmony and compositional techniques for learning and research.
Running the server costs money, and reviewing contributions may take substantial time. I may not always be able to cover these costs myself.
I welcome contributions here, but I am equally happy for someone to build a better website, even one that completely replaces this one.
To maintain a basic level of content quality, registration is currently by invitation and published contributions are subject to review.
For the terms and rights associated with contributing analyses, see User Rights and Terms.
For the review process, see Review Policy.
Project history
When I was a student in 2018, my professor often used musictheoryexamples.com, which is no longer available, to set harmonic-analysis exercises. It collected excerpts from classical works and classified them by technique, such as authentic cadences, augmented-sixth chords and modal mixture. It was very useful for music-theory students.
As a long-time rhythm-game player and a fan of doujin music, I felt that many contemporary pieces, trends and phenomena of harmonic interest lacked systematic documentation. For people unfamiliar with classical repertoire, learning theory through unfamiliar music can also be intimidating. Why not have a similar platform that includes popular music?
Soon after graduating, around 2020-2021, I programmed an unfinished prototype in PyQt5, shown on the right. At the time, I had to write the code the traditional way.
The prototype stored song metadata in JSON and allowed analytical tags, such as sequences, chord progressions, modes and cadences, to be placed at a timestamp or measure number. I also wanted to search music by those tags. Someone looking for a compositional technique could then find works that used it or a particular harmonic progression. Naturally, I hoped to include plenty of rhythm-game and doujin music.
Work later kept me busy, and the project remained on hold. In mid-2026, advances in AI agents and their supporting harnesses made me feel it was time to restart it.
With AI helping to write the code, why not build a complete system? I can barely remember how the prototype grew into today's MStruct. At one point I was trying to use Codex to make music videos with Manim; somehow that developed into designing a new syntax.
During development, AI mainly wrote code and helped with some documentation. As my own ideas became clearer, the requirements I gave it were usually very specific.
The biggest bottleneck was designing clear, usable chord-symbol syntax. This was necessary for structural search: matching an internal musical representation rather than unstructured strings. I spent a week writing requirements like those shown on the right before handing them to AI.
I hope to develop MStruct into a wider rendering ecosystem, including HTML and Markdown extensions. Some groundwork already exists, such as the embedded MStruct scores on this site, but broader extensions have not yet been developed. I also hope for a LaTeX package and other tools that let people use the language in their own work.
Further thoughts
Researching this project showed me that several related websites already exist, along with open classical harmonic-analysis datasets such as When in Rome.
To me, MStruct is most immediately useful for content creators, especially myself, and then for learners.
I used to make harmonic-analysis videos, but having to transcribe a score simply to display the harmony became frustrating. MStruct primarily addresses that problem: a short piece of text can produce the analytical notation and synchronized playback.
The project may have greater potential, or it may remain a personal pastime and gradually fade away (which is probably the more likely outcome, honestly). Its future depends largely on whether the community can produce enough high-quality data to sustain a useful cycle of contribution and reuse.
Reaching this point fulfils an old ambition. That, at least, feels worthwhile.
2026/10/18
Polymath9