Thursday, June 21, 2012

Cool shit: "consumer evolved" music

Evolutionary computation is cool, not to mention a really useful tool for finding algorithms that are well optimized or solve problems that are too complicated to simply write down an algorithm.  DarwinTunes  is a project by a couple of researchers from the Imperial College London which uses a genetic evolution algorithm to evolve short loops of music into something that appeals to our pop sensibilities.  Each generation has a number of different loops which have a few "genes" which each determine a series of notes to be played.  After the loops of each generation have been rated by listeners, they produce a new generation where two loops pair up to get it on and make a new baby loop (so the offspring has a combination of the genes from the two parents plus some random mutations).  The loops that get the highest ratings have the highest fitness and become the Genghis Khans to the future gene pool.  It doesn't take too long before the loops develop the same four-chord harmonies that we enjoy in our favorite pop songs.  Their algorithm has it's limitations so it's not eventually going to produce the Hamlet of 8-second music loops, but it does produce something that sounds like it could have been written by your favorite elevator music composer.

If you also think this is a cool project you can check out their paper here, go to their website above to rate some loops, or listen to the evolution in action through their SoundCloud channel: