Markov Chain sequencer

Venezoid's icon

Hello,

Today me and a friend asked ourselves how one would make a Markov chain sequencer (in autechre fashion, pinballesque). However, I'm not very good at Max sequencers and he isn't either. So I found it best to just ask here.

I appreciate all the help I can get!

Thanks.

Roman Thilenius's icon

a simple model could use [coll] as the database, the index of the coll represents the current state (for example a note number), and the possible next state including its probabilty would be the content of the line.

like so:

60, 61 70 67 30


when a C is played, next time something is played will send a 60 to the coll, then the stuff behind the comma will be output, and your patch will now have to make sure that a C# is played (with a chance of 70%) or a G (with a chance of 30%.)

first fill a coll with some valid example data, then build the code around it until it does what it should.

Venezoid's icon

I'll try that and see what I can expand in to! Thanks :)

redhexagonal's icon