Genetic Algorithm or Toolset in Max MSP

Dec 16, 2012 at 10:55pm

Genetic Algorithm or Toolset in Max MSP

Has anyone run across an open genetic algorithm patch written in max? I’ve been trying to write one but may get further building on the work of others. Alternately, any good related libraries would be useful.

I found a post about this from a couple years ago, hoping some new things have popped up.

Dec 17, 2012 at 6:29pm

have a look on Bill Vorn work

Dec 19, 2012 at 12:40am
Dec 22, 2012 at 5:35pm

Hey, thank you for posting about the gak object. I downloaded it and began messing around with the help file. I tried giving the gak object two lists of ones and zeros, twelve digits long, and I got totally unrelated lists as the “child” that seemed to have nothing to do with the parents.

Am I doing something wrong or missing something? It seems the child is completely unrelated to the parents. If I could figure out how this object works it would be really useful


Dec 25, 2012 at 10:51pm

I’m currently working on a fairly substantial project in this area, when I first started I had a look at GAK and didn’t really find it to be flexible enough so I’ve developed my own abstractions for population creation, mutation and crossover. I’m happy to share them if you’re interested.

Dec 26, 2012 at 3:22am

I would be interested too!

Dec 26, 2012 at 4:34am

I’m interested too. I looked at the Bill Vorn objects, which are really cool, but I would love to see what other people are doing.

Dec 26, 2012 at 8:14pm

Here’s my Genetic Algorithm, I just pulled it out of my main patch and tried to arrange it in a way that’s understandable/reusable, hopefully nothing went wrong in the process, let me know if you encounter any bugs or have any questions. The project I’m working on should be completed soon so I’ll try to get that uploaded as well when it’s done.

– Pasted Max Patch, click to expand. –
Dec 26, 2012 at 10:48pm

hello Tom, could you provide abstractions used in your patch?

btw, here is a simpler “binary to int” implementation:

– Pasted Max Patch, click to expand. –
Dec 26, 2012 at 11:01pm

  1. mutation.maxpat
Dec 26, 2012 at 11:08pm

  1. crossover.maxpat
Dec 26, 2012 at 11:17pm

ps. imho it’s better to zip all files and post one file (c74 forum prepends numbers to filenames)

Dec 26, 2012 at 11:24pm

Here’s the abstractions in a zip file.

Apr 4, 2013 at 8:30am


Torn, I am an architect , making my thesis project with max. Part of the project has to deal with a generative process. Your patch seem very interesting, but I can’t make it work in max5, do I need Max 6?

Thank you


You must be logged in to reply to this topic.