creating indexes from coll

Apr 16, 2009 at 12:15am

creating indexes from coll

i have values in a coll which i’d like to act as indexes, my problem is formatting these to messages which crop a buffer.

here is the coll info

1, 509;
2, 533;
3, 556;
4, 579;
5, 602;
6, 625;
7, 3005;

i need the messages to read ‘crop 509 533′ ‘crop 533 556′ etc.

i’ve tried various combinations with gates and counters but i can’t seem to figure it out

#43394
Apr 16, 2009 at 12:17am

Mike S wrote on Wed, 15 April 2009 17:15i have values in a coll which i’d like to act as indexes, my problem is formatting these to messages which crop a buffer.

Are you trying to do this:

– Pasted Max Patch, click to expand. –

??

mz

#155660
Apr 16, 2009 at 12:20am

yes i am

zl group FTW

nice one Smile

#155661
Apr 16, 2009 at 3:36pm

ok it almost works!

for some reason i cant output the last two values from the coll, here’s my max window, any ideas?

message: set 1, 2
output: 1
output: 2

etc .. .

message: set 11, 12
output: 11
output: 12
message: set 12, 13
output: 12

#155662
Apr 16, 2009 at 4:20pm

What is at index 13 in your [coll], anything? Could you post this part of your patch so we can get a clearer idea of what is going on.

lh

#155663
Apr 16, 2009 at 6:09pm

seems it was a triggering problem

thanks again for the help

#155664

You must be logged in to reply to this topic.