counting down a number object

Jan 25, 2009 at 8:47pm

counting down a number object

hello
I am a new max user and I a building my first patch, right now I am having a hard time figuring out how to get a number box with a 400 inside to count down to 200 over time. I tried banging a message that contains ( 400, 200 10000 ) but that just immediately sends a 200 to the number box then no change. How do I do this.
thank you,

JJR

#41935
Jan 25, 2009 at 9:12pm

As with most things in Max, there are myriad ways to do this. The simplest way to do what you ask for is to use line:

– Pasted Max Patch, click to expand. –

Depending on the bigger picture, there may be advantages to using other methods, such as a counter/metro combination, Uzi, accum, IncDec, etc.

Studying the tutorials should give you a better idea of the range of possible ways to approach this problem, and find the method that works for your specific problem.

- C

#149755
Jan 25, 2009 at 10:34pm

great thanks for the quick reply, how do I paste that code in max and turn it into something also what is that “line” called in max documentation so I read how to use it?
thanks

jjr

#149756
Jan 25, 2009 at 11:11pm

On Jan 25, 2009, at 2:34 PM, jimmy joe roche wrote:

>
> great thanks for the quick reply, how do I paste that code in max
> and turn it into something also what is that “line” called in max
> documentation so I read how to use it?

Copy the “funny” text, including the lines that read:

– Pasted Max Patch, click to expand. –

Then go to Max and select “New From Clipboard” from the file menu. You
could also just paste into an existing patcher.

There is a Max object called line.

It should be pretty easy to find.

- C

Chris Muir
cbm@well.com

http://www.xfade.com

#149757
Jan 25, 2009 at 11:45pm

awesome, got it. Thanks a lot.

jjr

#149758

You must be logged in to reply to this topic.