An algorithm for music composition. Results can be seen at

The code of the algorithm is in the main package (, the rest of the packages contain the model and the classes required for the website

In order to run the algorithm simply run the main method of the Generator class, or build the project with maven and deploy the war file (with the path to the properties file configured using -Dmusic.config.location=...)

The paper describing the algorithm in details is available here and here