Forums > MaxMSP

Genetic Algorithm or Toolset in Max MSP

December 16, 2012 | 10:55 pm

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.

December 17, 2012 | 6:29 pm

have a look on Bill Vorn work

December 19, 2012 | 12:40 am
December 22, 2012 | 5:35 pm

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


December 25, 2012 | 10:51 pm

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.

December 26, 2012 | 3:22 am

I would be interested too!

December 26, 2012 | 4:34 am

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.

December 26, 2012 | 8:14 pm

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. —

December 26, 2012 | 10:48 pm

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. —
December 26, 2012 | 11:01 pm

  1. mutation.maxpat
December 26, 2012 | 11:08 pm

  1. crossover.maxpat

December 26, 2012 | 11:17 pm

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

December 26, 2012 | 11:24 pm

Here’s the abstractions in a zip file.

April 4, 2013 | 8:30 am


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

Viewing 14 posts - 1 through 14 (of 14 total)

Forums > MaxMSP