stop counter from reseting itself

Wax's icon

Is there a way to tell counter to NOT reset when it reaches its
maximum? In other words, STOP counting bangs?

I could create a gate to stop it from counting bangs but I'm wondering
if that might superfluous if there's a simpler way.

Chris Muir's icon

On Mar 1, 2008, at 12:05 PM, Wade wrote:

> Is there a way to tell counter to NOT reset when it reaches its
> maximum? In other words, STOP counting bangs?

I'm pretty sure there isn't.

Chris Muir
cbm@well.com

notyouraveragejoe's icon

just use the "finished" bang to trigger a gate. When you need to count
again, use a bang to reset the gate and the counter.

On 01/03/2008, Chris Muir wrote:
>
>
> On Mar 1, 2008, at 12:05 PM, Wade wrote:
>
> > Is there a way to tell counter to NOT reset when it reaches its
> > maximum? In other words, STOP counting bangs?
>
>
>
> I'm pretty sure there isn't.
>
>
> Chris Muir
> cbm@well.com
>
>
>
>
>
>

Stefan Tiedje's icon

Wade schrieb:
> I could create a gate to stop it from counting bangs but I'm wondering
> if that might superfluous if there's a simpler way.

I'd say its absolutely simple enough, I would not want an overhead which
I personally never use for such a thing. If needed, a gate is just one
more object, don't be lazy...

Stefan

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

Chris Muir's icon

On Mar 2, 2008, at 4:56 AM, Joe Bicker wrote:

> just use the "finished" bang to trigger a gate. When you need to
> count again, use a bang to reset the gate and the counter.

The original poster asked if it was possible to do this WITHOUT using
a gate.

Chris Muir
cbm@well.com

pvillez@gmail.com's icon

THis any good

Doesn;t use counter but line

Straight from the timing tricks in the help files

Max Patch
Copy patch and select New From Clipboard in Max.

On 02/03/2008, Chris Muir wrote:
>
> On Mar 2, 2008, at 4:56 AM, Joe Bicker wrote:
>
> > just use the "finished" bang to trigger a gate. When you need to
> > count again, use a bang to reset the gate and the counter.
>
>
>
> The original poster asked if it was possible to do this WITHOUT using
> a gate.
>
>
> Chris Muir
> cbm@well.com
>
>
>
>
>

--
Today I have a pixel deficiency

Wax's icon

Thanks everyone for the replies. I'll check out the patches.

I ended up just using a gate to stop the bangs from being counted for
now. Once it hits maximum, the flag closes the gate and stops the
bangs. I'm using it control knob input from my MotorMix. The knob is
turned up (clockwise), the bangs get counted going up. The knob gets
turned down (counterclockwise) the bangs get counted with the
direction of the counter going down. I've done it this way to allow me
to map the scale of the knobs later probably with a pattr for whatever
I need. The knobs of the MotorMix are also infinite and thus don't
give a specific position but only a direction.

On Sun, Mar 2, 2008 at 1:34 PM, Pere Josep Villez wrote:
> THis any good
>
> Doesn;t use counter but line
>
> Straight from the timing tricks in the help files
>
> max v2;
> #N vpatcher 10 59 695 585;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 6;
> #P comment 287 262 142 196617 In this case the number 0 is sent out
> twice immediately (once for the int message and once for the list
> message) , but the ramp arrives at the time specified.;
> #P window linecount 3;
> #P comment 255 140 171 196617 Or you can trick line by specifying a
> total time that is a little more than you want (less than one grain
> more).;
> #P number 232 323 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 242 262 42 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P button 232 140 15 0;
> #P window linecount 1;
> #P newex 232 298 34 196617 timer;
> #P message 242 206 82 196617 0 , 10 5001 500;
> #P newex 242 235 40 196617 line;
> #P connect 3 0 2 0;
> #P connect 2 0 5 0;
> #P connect 3 0 1 0;
> #P connect 1 0 0 0;
> #P connect 0 0 4 0;
> #P connect 0 1 2 1;
> #P pop;
>
>
>
>
> On 02/03/2008, Chris Muir wrote:
> >
> > On Mar 2, 2008, at 4:56 AM, Joe Bicker wrote:
> >
> > > just use the "finished" bang to trigger a gate. When you need to
> > > count again, use a bang to reset the gate and the counter.
> >
> >
> >
> > The original poster asked if it was possible to do this WITHOUT using
> > a gate.
> >
> >
> > Chris Muir
> > cbm@well.com
> >
> >
> >
> >
> >
>
>
> --
> Today I have a pixel deficiency
>
>
>

notyouraveragejoe's icon

That's a good point actually...

Must have replied on a day I didn't bother reading past two lines.

On 02/03/2008, Chris Muir wrote:
>
>
> On Mar 2, 2008, at 4:56 AM, Joe Bicker wrote:
>
> > just use the "finished" bang to trigger a gate. When you need to
> > count again, use a bang to reset the gate and the counter.
>
>
>
> The original poster asked if it was possible to do this WITHOUT using
> a gate.
>
>
> Chris Muir
> cbm@well.com
>
>
>
>
>