HarmTrace : Automatic functional harmonic analysis

Music scholars have been intensively studying tonal harmony for centuries, yielding numerous theories and models. Unfortunately, a large number of these theories are formulated in a rather informal fashion and lack mathematical precision. In this article we present HarmTrace, a functional model of Western tonal harmony, which builds on well-known theories of tonal harmony. In contrast to many other theories which remain purely theoretical, we present an implemented system that is evaluated empirically. Given a sequence of symbolic chord labels, HarmTrace automatically derives the harmonic relations between chords. For this, we use advanced functional programming techniques which are uniquely available in the Haskell programming language. We show that our system is fast, easy to modify and maintain, is robust against noisy data, and returns harmonic analyses that comply with Western tonal harmony theory.

[1]  Mark Steedman The Blues and the Abstract Truth: Music and Mental Models , 2009 .

[2]  Terry Winograd,et al.  Linguistics and the computer analysis of tonal harmony , 1968 .

[3]  F. Pachet,et al.  Surprising Harmonies , 1999 .

[4]  Robert O. Gjerdingen,et al.  The Cognition of Basic Musical Structures , 2004 .

[5]  Richard S. Bird,et al.  Introduction to functional programming using haskeu , 1998 .

[6]  Alan Marsden,et al.  Schenkerian Analysis by Computer: A Proof of Concept , 2010 .

[7]  Robert B. Cantrick,et al.  A Generative Theory of Tonal Music , 1985 .

[8]  R. Jackendoff,et al.  A Generative Theory of Tonal Music , 1985 .

[9]  Martin Rohrmeier,et al.  Towards a generative syntax of tonal harmony , 2011 .

[10]  Simon Dixon,et al.  Discovering Chord Idioms Through Beatles and Real Book Songs , 2007, ISMIR.

[11]  M. Rohrmeier A generative grammar approach to diatonic harmonic structure , 2007 .

[12]  Andrew Choi,et al.  Jazz Harmonic Analysis as Optimal Tonality Segmentation , 2011, Computer Music Journal.

[13]  C. Roads,et al.  Grammars as Representations for Music , 1979 .

[14]  Satoshi Tojo,et al.  Implementing “A Generative Theory of Tonal Music” , 2006 .

[15]  Remco C. Veltkamp,et al.  Comparing Harmonic Similarity Measures , 2010, CMMR 2010.

[16]  S. Doaitse Swierstra,et al.  Combinator Parsing: A Short Tutorial , 2009, LerNet ALFA Summer School.

[17]  F. A. Gore Ouseley,et al.  A Treatise on Harmony , 2008 .

[18]  Johan Jeuring,et al.  Libraries for Generic Programming in Haskell , 2008, Advanced Functional Programming.

[19]  Simon L. Peyton Jones,et al.  Complete and decidable type inference for GADTs , 2009, ICFP.

[20]  Alicja Wieczorkowska,et al.  Music Information Retrieval , 2009, Encyclopedia of Data Warehousing and Mining.

[21]  Mark B. Sandler,et al.  Symbolic Representation of Musical Chords: A Proposed Syntax for Text Annotations , 2005, ISMIR.

[22]  Marc Chemillier Toward a formal study of jazz chord sequences generated by Steedman’s grammar , 2004, Soft Comput..

[23]  W. Bas de Haas,et al.  Functional modelling of musical harmony: an experience report , 2011, ICFP '11.

[24]  Mark Steedman,et al.  A Generative Grammar for Jazz Chord Sequences , 1984 .

[25]  Daniel Dominic Sleator,et al.  Modeling Meter and Harmony: A Preference-Rule Approach , 1999, Computer Music Journal.

[26]  Remco C. Veltkamp,et al.  Modeling Harmonic Similarity Using a Generative Grammar of Tonal Harmony , 2009, ISMIR.