Introduction
The quantification of "richness" or "creativity" in music has historically been a qualitative endeavor within musicology. While the increasing complexity of Western harmony from the Renaissance to the 20th century is a well-accepted narrative, providing a rigorous statistical foundation for this evolution remains challenging. This study addresses this gap by applying Heaps' Law—a principle from quantitative linguistics—to a vast corpus of classical music, treating unique chordal combinations as a vocabulary that expands over time.
Methodology: Music as a Linguistic System
To analyze music through a linguistic lens, the authors developed a pipeline to convert musical scores into discrete "codewords." Using MIDI files from the Kunstderfuge corpus, they extracted "chromas" by collapsing all notes into 12 pitch classes. Each beat was then represented as a 12-bit binary vector, where each bit indicates the presence or absence of a specific pitch class. This encoding allows for $2^{12} = 4,096$ possible harmonic codewords. To ensure the analysis focused on functional harmony rather than absolute pitch, all pieces were transposed to a common key (C Major or A Minor).
The core of the statistical analysis relies on Heaps' Law: $V = KL^\alpha$. Here, $V$ represents the vocabulary size (unique codewords), $L$ is the total length of the work in beats, and $\alpha$ is the growth exponent. By fitting this model to the data, the authors defined a metric for Relative Richness ($R$), which measures the deviation of a composer's actual vocabulary from the expected average for their total output volume.
The Evolution of Harmonic Complexity
The study analyzed approximately 9,500 pieces by 76 composers, spanning nearly 600 years from the 14th to the 20th century. The results demonstrate that musical harmony follows Heaps' Law remarkably well, albeit with a lower growth exponent ($\alpha \approx 0.35$) compared to natural language ($\alpha \approx 0.5$). This suggests that while music behaves like language, its "dictionary" expands more slowly as more music is written.
The most significant finding is a clear, linear increase in harmonic richness over time. The data reveals that harmonic palettes expanded at a predictable rate of approximately 0.72 units of richness per century. This trend is further supported by a high correlation (0.95) between the richness metric and Shannon Entropy, suggesting that the evolution of harmony is fundamentally a process of increasing information density and unpredictability.
Rankings and Quantitative Growth
The application of the $R$ metric allowed for a quantitative ranking of composers. Modernist and late-Romantic composers such as Paul Hindemith, Sergei Rachmaninoff, and Igor Stravinsky exhibited the highest relative harmonic richness. Conversely, Renaissance composers like Tomás Luis de Victoria and Cristóbal de Morales occupied the lower end of the spectrum, reflecting the more rigid harmonic constraints of their era. Overall, harmonic entropy was found to increase by roughly 0.69 bits per century.
Limitations and Future Directions
While the study provides a robust framework for analyzing vertical harmony, it does not account for horizontal elements such as melody, counterpoint, or rhythm. Additionally, the reliance on a single predominant key for transposition may overlook the richness inherent in complex internal modulations. Future research could expand this methodology to non-Western musical traditions or other token-based systems to determine if this linear growth of complexity is a universal cultural phenomenon.
Summary updated