Heaps' Law and Vocabulary Richness in the History of Classical Music Harmony
arXiv:2104.04143 · doi:10.1140/epjds/s13688-021-00293-8
Abstract
Music is a fundamental human construct, and harmony provides the building blocks of musical language. Using the Kunstderfuge corpus of classical music, we analyze the historical evolution of the richness of harmonic vocabulary of 76 classical composers, covering almost 6 centuries. Such corpus comprises about 9500 pieces, resulting in more than 5 million tokens of music codewords. The fulfilment of Heaps' law for the relation between the size of the harmonic vocabulary of a composer (in codeword types) and the total length of his works (in codeword tokens), with an exponent around 0.35, allows us to define a relative measure of vocabulary richness that has a transparent interpretation. When coupled with the considered corpus, this measure allows us to quantify harmony richness across centuries, unveiling a clear increasing linear trend. In this way, we are able to rank the composers in terms of richness of vocabulary, in the same way as for other related metrics, such as entropy. We find that the latter is particularly highly correlated with our measure of richness. Our approach is not specific for music and can be applied to other systems built by tokens of different types, as for instance natural language.
arXiv comment12 pages
References in corpus (12)
- Measuring the evolution of contemporary western popular music
- Large-scale analysis of Zipf's law in English texts
- Power-law size distributions in geoscience revisited
- Zipf's law for word frequencies: word forms versus lemmas in long texts
- Statistical laws in linguistics
- A scaling law beyond Zipf's law and its relation to Heaps' law
- The distinct flavors of Zipf's law in the rank-size and in the size-distribution representations, and its maximum-likelihood fitting
- Log-log Convexity of Type-Token Growth in Zipf's Systems
- The brevity law as a scaling law, and a possible origin of Zipf's law for word frequencies
- The arrow of time across five centuries of classical music
- Statistical Patterns in Written Language
- Zipf's law and the creation of musical context