Remix.run Logo
vunderba 3 days ago

Nice job. I thought about building something like this many years ago, but ended up experimenting with music generated from abelian sand pile algorithms instead. I've seen a number of attempts at using genetic algorithms to recombine previous musical patterns.

What's obviously missing is a "fitness function" that can approximate the equivalent of human taste, so the final evolved forms just end up being widely random in terms of quality.

AlgoMotion also did a video explanation for a music based version of Conway's Game of Life last year. Highly recommend their videos.

https://www.youtube.com/watch?v=b2SjVwYNr54

Incidentally if you like musical toys like this - Electroplankton [1] was a fun little game that had a series of almost organic musical instruments.

[1] https://en.wikipedia.org/wiki/Electroplankton

chipsrafferty 3 days ago | parent | next [-]

I've been toying with ideas like this for a long time now. I think the fitness function is critical, but the problem is that taste is subjective, and you need to listen to many riffs/melodies to evolve to a "good" state. Also, you either start with specific melodies, in which case you would skew the results, or start with random noise, in which case it would take a very long time to evolve to anything good. So it seems like you must constrain i tsomehow, such as "only use 12 tones, with full/half/quarter/third notes".

But anyways, my idea for a way to resolve the problem of fitness taking forever would be to livestream it on Twitch, in the same vein as the "Twitch plays Pokemon" where viewers can input commands to vote for an action, they could vote on the fitness of musical tracks.

AlecSchueler 3 days ago | parent | prev [-]

> What's obviously missing is a "fitness function" that can approximate the equivalent of human taste, so the final evolved forms just end up being widely random in terms of quality.

Honestly for me this is a feature not a bug. If I want to hear music that matches my personal taste exactly I can just go to my instrument and play it. These tools are a way to taste more exotic forms and see if there's anything worth carrying over.

vunderba 3 days ago | parent [-]

And that's perfectly fine.

But when we conceptualize something like music in the form of evolutionary computation then it is important to be able to define a good metric for the fitness function otherwise you might as well just take X pieces of music, normalize them to the same key signature/tempo/etc., and then randomly mash them together.

If you're just in the mood for something more exotic, I'm happy to go repeatedly sit on my piano for a few hours and send you the final samples.

AlecSchueler 2 days ago | parent [-]

> then it is important to be able to define a good metric for the fitness function

This product seems to have shipped successfully without one.

> If you're just in the mood for something more exotic, I'm happy to go repeatedly sit on my piano for a few hours and send you the final samples.

This feels needlessly condescending.