I would like to implement an interactive evolutionary algorithm for generating music (probably just simple melodies to start with).
I'd like to use JFugue for this. Its website claims that it is well-suited to evolutionary music, but I can't find any evolutionary examples.
I already have a framework to provide the evolutonary machinery. What I am looking for is some simple, working code that demonstrates viable approaches for the musical part (e.g. suitable encodings and evolutionary operators for the evolved tunes).
I have some ideas how it might be achieved, but I'm not particularly knowledgeable about music theory, so to start with I'd like to just reimplement something that is known to work.
So does anybody have, or know of, any freely available code (any language is fine) that demonstrates one or more approaches to evolutionary music?
EDIT: I'm specifically looking for evolutionary code rather than other techniques that could be used for music synthesis.