Basics - feedback please

staticseven's icon

Hi guys
New user alert. I've only been at this for a couple of days and I've been working my way through tutorials (sick of seeing drawing in lcd!).
Attached is an implementation of just a weird little midi sequencer using a coll. I was wondering if anyone would mind giving me some feedback on it?

Max Patch
Copy patch and select New From Clipboard in Max.

* Is there an easier way to get the coll to sequentially output its content (rather than the int loop thing I've got going on)?
* Is there a better way to loop back to the start of the coll's contents?
* Why does the == function output it's state when it does? I thought state would have to be 7 rather than 6 to make an 8 note loop.

Thanks for any and all opinions. I hope I've not made a total idiot of myself.
Liam.

broc's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here is a simple solution with counter.

pdelges's icon

coll also understands the next message (but then the coll has to be well sorted).

p

staticseven's icon

broc
thanks for the patch. that makes a lot more sense, figured there must be an easier way to do it that the little loop thing I had going.

p
like the next idea. as a result have discovered the world of lovely messages the coll can receive.

thanks guys