Enforcing Meter in Finite-Length Markov Sequences

Authors

  • Pierre Roy Associate Researcher
  • Francois Pachet Sony CSL Paris

DOI:

https://doi.org/10.1609/aaai.v27i1.8661

Keywords:

Constraint, Markov chains, Meter, Music

Abstract

Markov processes are increasingly used to generate finite-length sequences that imitate a given style. However, Markov processes are notoriously difficult to control. Recently, Markov constraints have been introduced to give users some control on generated sequences. Markov constraints reformulate finite-length Markov sequence generation in the framework of constraint satisfaction (CSP). However, in practice, this approach is limited to local constraints and its performance is low for global constraints, such as cardinality or arithmetic constraints. This limitation prevents generated sequences to follow structural properties which are independent of the style, but inherent to the domain, such as meter. In this article, we introduce meter, a constraint that ensures a sequence is 1) Markovian with regards to a given corpus and 2) follows metrical rules expressed as cumulative cost functions. Additionally, meter can simultaneously enforce cardinality constraints. We propose a domain consistency algorithm whose complexity is pseudo-polynomial. This result is obtained thanks to a theorem on the growth of sumsets by Khovanskii. We illustrate our constraint on meter-constrained music generation problems that were so far not solvable by any other technique.

Downloads

Published

2013-06-30

How to Cite

Roy, P., & Pachet, F. (2013). Enforcing Meter in Finite-Length Markov Sequences. Proceedings of the AAAI Conference on Artificial Intelligence, 27(1), 854-861. https://doi.org/10.1609/aaai.v27i1.8661