Max can't count?

May 22, 2008 at 9:30pm

Max can't count?

Dear all, I’m puzzled as max seems to have some issues with basic math.. Please see the attached image.

[img]index.php?t=getfile&id=1651&private=0[/img]

#38019
May 22, 2008 at 9:40pm

Max does things right to left. Check the order of execution in your
patch. There are things that are not happening in the order that you
intend.

Max CAN count but the intention detector doesn’t come until version 11.

Cheers
Gary Lee Nelson
TIMARA Department
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

On May 22, 2008, at 5:30 PM, Rapatski wrote:

> Dear all, I’m puzzled as max seems to have some issues with basic
> math.. Please see the attached image.
>
> [img]index.php?t=getfile&id=1651&private=0[/img]

#131719
May 22, 2008 at 9:42pm

On 22 mai 08, at 23:30, Rapatski wrote:

> Dear all, I’m puzzled as max seems to have some issues with basic
> math.. Please see the attached image.
>
> [img]index.php?t=getfile&id=1651&private=0[/img]

I would really recommend reading tutorial number 5. (or 7 for those
who are using Max 4). The order of calculation is determinant to
obtain the correct result.

ej

#131720
May 22, 2008 at 9:56pm

Haha let me put afront: I can’t much max yet.

I have looked into this principe of last is first and right to left, but still can’t explain the results of this patcher, or lay the finger on the sore spot.. :/

#131721
May 22, 2008 at 10:16pm

You should use floats too instead of integers, especially since you’re dividing.

kinda like this:

– Pasted Max Patch, click to expand. –

the [t b b b] object forces the calculation order. [t] is the same as [trigger] and is your best friend for forcing the order of things.

#131722
May 23, 2008 at 1:43pm

I’ve tried about everything with the patcher code, but I can’t open it. Probably because I’m still in trial mode?

#131723
May 23, 2008 at 5:52pm

On May 23, 2008, at 6:43 AM, Rapatski wrote:
> I’ve tried about everything with the patcher code, but I can’t open
> it. Probably because I’m still in trial mode?

Once you have everything on your clipboard, including the “———-
begin_max5_patcher———-” and “———–
end_max5_patcher———–” lines, select New From Clipboard from
the File menu.

-C

Chris Muir
cbm@well.com

http://www.xfade.com

#131724
May 23, 2008 at 5:54pm

You need at least 5.0.1 installed to read the compressed code. You also have to make sure you get the “begin_max5_patcher” and “end_max5_patcher” lines in there when you copy.

#131725
May 23, 2008 at 7:23pm

Rapatski schrieb:
> I have looked into this principe of last is first and right to left,
> but still can’t explain the results of this patcher, or lay the
> finger on the sore spot.. :/

You can step through your patch step by step with trace. That helps a
lot if something is acting different than you think it should…


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#131726

You must be logged in to reply to this topic.