Forums > MaxMSP

Counter Questions

December 17, 2009 | 12:28 am

1. What’s a good way to stop a counter (@ 0) without turning off the metro?

2. Is there a way to add/subtract an amount other than 1 to a counter? (like make it jump back 10)?

TIA!


December 17, 2009 | 12:38 am

1. You can use the third outlet to report when the counter reaches its maximum value and use that to close a [gate].

2. Use a [*] after your counter to increase the step size.

lh

– Pasted Max Patch, click to expand. –

December 17, 2009 | 2:05 am

There is a jam message to Counter that allows you to set it to some arbitrary place.


December 17, 2009 | 2:37 am

maybe . . .

1. if you run a counter through a number box, you can limit the min / max value

2. run the counter thru a [+ 10] or a [- 10]


April 28, 2011 | 2:12 pm

i also have a counter question.

if i have a counter object with no minimun, maximum or direction specified (the object is just counter), how far will it count? infinite? or 2^64?

thank youu


April 28, 2011 | 6:11 pm

Infinite would be a good trick. It uses a signed 32 bit integer, so 2,147,483,647.


April 28, 2011 | 7:06 pm

if no direction is specified, it will just jump across the garden like a little dog.


April 28, 2011 | 9:25 pm

Or you can make your own counter, and just select 0 to make the count pause:

– Pasted Max Patch, click to expand. –

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