Looking for evolutionary music example code

Posted by Dan Dyer on Stack Overflow See other posts from Stack Overflow or by Dan Dyer
Published on 2008-10-13T18:58:36Z Indexed on 2010/05/17 3:20 UTC
Read the original article Hit count: 487

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.

© Stack Overflow or respective owner

Related posts about evolutionary-algorithm

Related posts about genetic-algorithm