Forums > MaxMSP

Strange behavior

May 2, 2012 | 9:55 pm

Hello forum members, I have not had luck with my questions on this forum, I am new to Max / Msp and really is a bit frustrating how little help I found to my previous questions.
Maybe it’s my bad English. I hope you can get around and figure out what is not expressed properly.
Well, here is my question:
Strange behavior of [%~]
Sometimes [% ~ 3] or other odd: -> 0, 1, 2, 0, 1 etc – and other -> 1. 2. 3.
This happens inside a poly ~. if I load it manually after starting the patch, it corrects this strange behavior.

– Pasted Max Patch, click to expand. –

May 3, 2012 | 12:18 am

So is the problem that sometimes it seems 0-based, and sometimes it seems 1-based?

May 3, 2012 | 1:09 am

Thank you for your answer, yes, that’s what happens.
I had to do a routine to detect if it is an even or an odd to add one as the case basically thought always add 1 to the operation without distinction of odd or even ([%]> [+ 1]), then I found that not doing "dynamic loading" but rewriting the name in the poly ~ object which is included, that normalized the two results.
Now on another computer throws me correct results without all the baroque procedure.
I do not know that happened.
Thank you again.
And again sorry for my English.

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