Forums > MaxMSP

firing multiple sequence of integers

January 28, 2010 | 5:12 pm

I did that:

– Pasted Max Patch, click to expand. –

how I could improve that? any ideas or experiencies to share ?
the uzi 6 structure needs to be use one time… but how could I do that?


January 28, 2010 | 5:31 pm

another take on it:

– Pasted Max Patch, click to expand. –

January 28, 2010 | 5:36 pm

I just did this:

– Pasted Max Patch, click to expand. –

tested it with uzi/cpuclock little benchmark … it is longer!
no… I cannot say that: it is equal (0.40 for the first, 0.43 for the second … mean with around 8000 shots!)


January 28, 2010 | 5:48 pm

hello seejayjames,
crossed posts :)

ok I’m inside the patch with zl group.
I don’t need to especially group them but indeed, I need to have consecutive 6 integers (206 207 208 209 210 211, etc etc)
how could I do that with zl without grouping/degrouping?


January 28, 2010 | 6:25 pm

so, I benchmark all these tests/alternatives.
benchmarking doesn’t mean a lot …
Cause everything has to be tested in real condition.

I don’t know which one could be the best.
the benchmark gave constant result: the "original" is the fastest (finally)

here are the 3 equivalents/alternatives…

– Pasted Max Patch, click to expand. –

January 28, 2010 | 9:06 pm

Something like this?

lh

– Pasted Max Patch, click to expand. –

January 28, 2010 | 10:15 pm

thanks to all of you.

Luke,
I tweaked it a bit:

– Pasted Max Patch, click to expand. –

it seems it is the best one of the series ;)
I guess I’ll use it in my 1.1 version :)


January 28, 2010 | 10:21 pm

btw, I retested with my original and ugly version… it seems to work better :(
strange…


January 29, 2010 | 11:27 am

another way (I guess I can factorize the multiple [+ 100] or something like that)

– Pasted Max Patch, click to expand. –

January 29, 2010 | 11:31 am

wow
the last one is twice faster, here is the result:

– Pasted Max Patch, click to expand. –

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