Proceedings of the 7th ACM SIGPLAN International Workshop on Functional Art, Music, Modeling, and Design | 2019
Representing music with prefix trees
Abstract
Tonal music contains repeating or varying patterns that occur at various scales, exist at multiple locations, and embody diverse properties of musical notes. We define a language for representing music that expresses such patterns as musical transformations applied to multiple locations in a score. To concisely represent collections of patterns with shared structure, we organize them into prefix trees. We demonstrate the effectiveness of this approach by using it to recreate a complete piece of tonal music.