Lecture Notes in Computer Science vol:3819 pages:60-72
International Symposium on Practical Aspects of Declarative Languages, PADL edition:6 location:Charleston, South Carolina date:January 9-10, 2006
PRISM is a probabilistic-logical programming language based on Prolog. We present a PRISM-implementation of a general model for polyphonic music, based on Hidden Markov Models. Its probability parameters are automatically learned by running the built-in EM-algorithm of PRISM on training examples. We show how the model can be used as a classifier for music that guesses the composer of unknown fragments of music. Then we use it to automatically compose new music.