A new approach for constraint programming in music using relation domains

Van Cauwelaert, Sascha;Gutiérrez Sabogal, Gustavo Adolfo;Van Roy, Peter
(2012) International computer music conference, ICMC — Location: Ljubljana, Slovenia (9.September.2012)

Files

icmc2012_submission_74.pdf
  • Restricted Access
  • Adobe PDF
  • 223.72 KB

Details

Authors
  • Van Cauwelaert, SaschaUCLouvain
    Author
  • Gutiérrez Sabogal, Gustavo AdolfoUCLouvain
    Author
  • Author
Abstract
Constraint programming (CP) has been used for several decades in music composition and analysis. It has served as the underlying technology of different tools that allow composers to compute with musical abstractions (e.g.,notes, scores). However, the traditional domains used in musical CP, namely finite domains (integers) and finite sets (integer sets), are not well suited to represent and express properties on structured information such as a score in a compact and efficient way. This paper introduces a new domain for musical CP, namely relations, where a relation is a set of integer n-tuples. It proposes new constraints on relations and shows how to use them for musical composition. A single relation variable can represent a score of any size and any transformation between scores. The result is a system that directly supports computing with musical abstractions at a high abstraction level more pleasant to composers. The relation domain and its constraints are implemented using Binary Decision Diagrams and are provided as a library in the Gecode platform.
Affiliations

Citations

Van Cauwelaert, S., Gutiérrez Sabogal, G. A., & Van Roy, P. (2012). A new approach for constraint programming in music using relation domains. International computer music conference, ICMC, Ljubljana, Slovenia. https://hdl.handle.net/2078.5/225662