Forums > MaxMSP

accum issue


April 4, 2013 | 7:03 am

I’m reseting accum~ but I get 1 instead of 0.. why?
Please see the example patch for more details.

Thanks

— Pasted Max Patch, click to expand. —
April 5, 2013 | 9:58 am

nobody?

April 5, 2013 | 7:05 pm

maybe because you reset and count to 1 at the same time. (with signals there’s no right to left order).O.

April 5, 2013 | 7:42 pm

The same patch in gen will give you a 0

— Pasted Max Patch, click to expand. —
April 6, 2013 | 12:02 pm

I’ve logged a note to think about this more deeply, but basically what’s happening is that Max’s plusequals~ reset the count and increment it afterward, while gen~ just reset the count. The patch bellow show the difference of calculation in gen~.

— Pasted Max Patch, click to expand. —
Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP