A Constraint Programming System for Music Composition , Preliminary Results

We propose an environment for musical constraint solving, adapted to contemporary composition, in the visual programming language OpenMusic. The composer start with a predefined score and set constraint between some objects in a visual way. These constraints are translated in a specific syntax in order to be solved using an algorithm of adaptive research. Adaptive search refines the concept of cost function by taking the weight of each variable into account. We show that this algorithm is well adapted to musical problems. The first experimental results on real musical problems are satisfying, in terms of implementation and computation time.