first patch in max, HELP!

nit's icon

i've been exprimenting with pd for a while and just downloaded the max/msp demo yesterday (and will buy the program next month cause it is amazing!) and started messing with it.
so after a day a night and another day i came up with this generative drum patch wich brought up some questions.
please look at my patch:
you can see i set the time signature of [transport] to 16/4 wich allows me to make sequences of 16 beats a loop. but when i hook up to ableton live this causes ableton to count to 16 before it starts a new bar (offcourse). so what i want is the following: i want the time signature to stay at 4/4 but being able to make a 16 (or 32 or whatever) beat during loop. so: what i i need is something that counts to 16 or whatever and then starts over again. wich object with wich settings will do this?

and then i have another question, not related to this specific patch: in pd i can make somethin called a table wich contains steps(for notes i.e.) and and an object to read that. so i could make something that says: 1st step is 0 2nd step is 4 3rd step is 7 and so on. how can i do this in maxmsp?

nit's icon

sorry, i double posted this.
how can i delete one of 'em?

Chris Muir's icon

I haven't looked at your patch, but table exists in Max, and you could use counter to iterate through the table.

I have a couple simple examples of basic sequencers available on my examples page, called "PulseSequencer" and "Multislider Iterate."
http://www.xfade.com/max/examples/

-C

nit's icon

ok thanks for the help i think i get it (don't have time to try). could you maybe look @ my patch and look if there are things that i could do better?(programming it so it consumes less cpu or things like that where i can learn from)