Forums > MaxMSP

generate simple chord sequence

April 7, 2008 | 5:54 pm

how can i generate a simple chord sequence using max, i am a complete novice and am really strugling, any help would be much appreciated


April 8, 2008 | 3:37 am

Well first you need to pick a more specific goal, this question is too open ended.

Do you want Max to generate random chords, or do you want to do some algorithmic music, like notes determined by math formulas? Do you even want Max to generate the notes or do you want to sequence/record them ahead of time and have Max play it back?

Are you planning on using MIDI or do you want to control MSP synthesizers? Either way, usually a chord is most easily represented as a list of MIDI note numbers like this:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 158 212 42 196617 noteout;
#P newex 158 183 85 196617 makenote 80 100;
#P newex 158 159 25 196617 iter;
#P message 158 134 52 196617 60 64 67;
#P comment 155 110 100 196617 C Major chord;
#P connect 2 0 3 0;
#P connect 1 0 2 0;
#P connect 3 1 4 1;
#P connect 3 0 4 0;
#P window clipboard copycount 5;

And then you can use the [mtof] object to control MSP synths if you want.

Or instead of a list of notes you can just generate the roots of the chords, and then have chord builder patches that create additional notes based on the root (like the third and fifth if you are working with standard triads):

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 330 100 100 196617 Major chord builder;
#P newex 386 152 27 196617 + 7;
#P newex 350 151 27 196617 + 4;
#P newex 331 212 42 196617 noteout;
#P newex 331 183 85 196617 makenote 80 100;
#P message 331 117 20 196617 60;
#P connect 0 0 1 0;
#P connect 0 0 3 0;
#P connect 0 0 4 0;
#P connect 4 0 1 0;
#P connect 3 0 1 0;
#P connect 1 0 2 0;
#P connect 1 1 2 1;
#P window clipboard copycount 6;

The actual sequencing gets trickier, but you need a better idea of what you want to do first…


April 8, 2008 | 3:55 am

Do the tutorials. After the tutorials, you will be able to generate chord sequences and much more.


April 8, 2008 | 4:13 am

I’ve only been using Max about 6 months.
I’ve asked questions in the forums and many have graciously helped point me in the right direction, or just given me a patch. Max users are some of the most giving users I’ve never met. However, if you haven’t done the tutorials (or at least a bulk of them), you should look through them, pick apart as many working patches related to what your goals are, and the help files are your friend, I copy and paste all the time.

Also use the reference guide when learning about an object, there’s some attributes that may not be in the help file.

Max can be a little frustrating at first, but a few "Ah ha!" moments of Max enlightenment, and it will start to click.

Here’s one object that I’ve been using lately to generate sequences based on modality.

http://vincemanzo.com/modal_change

My patching is far from great, but here’s one I made recently.
Messy, but it works.

http://www.joekickass.com/blog/?p=73


April 8, 2008 | 8:18 am


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