May 21, 2007 at 12:46am
looking for some advice on some list/loop magic. i need to take a collection that has 2 associated elements: a buffer number (1-16) and a time in ms. the time values of each occurrence of each specific buffer need to be subtracted from the following occurrence of that same buffer, which tells me how much time elapsed between them. then, if the time is less than a certain variable (say 2000ms) that index should be removed from the coll.
for example, if this is the coll
1, 1 1000;
if would result in a list (or a coll) like this:
i have a really ugly attempt going (loops in max really suck), but it only half works. i don’t want to spend any more time on a bad algorithm. any advice would be appreciated.
May 21, 2007 at 10:33am
I like building things like these. Hope this is of some help to you:
#P window setfont “Sans Serif” 9.;
You must be logged in to reply to this topic.