Forums > MaxMSP

Onebang for numbers

April 30, 2010 | 11:01 am

Hi,

Is there a sort of onebang for numbers. For example if have one number box going into another and the first number box moves through 10 numbers, only the first number will get through and the rest will be ignored?

Cheers, Patrick


April 30, 2010 | 11:06 am

Something like this perhaps?

– Pasted Max Patch, click to expand. –

April 30, 2010 | 11:09 am

Cheers Tim,

Just did this and then you replied.

– Pasted Max Patch, click to expand. –

Like your succinct method better.

Patrick


April 30, 2010 | 11:26 am

A version for any type of data.

– Pasted Max Patch, click to expand. –

April 30, 2010 | 4:28 pm

I can’t add anything to these suggestions, but can you use a patch that triggers only if a number stream changes direction:

– Pasted Max Patch, click to expand. –

April 30, 2010 | 4:53 pm

Some good ideas here. I’ve been using OneInt here, for years.

– Pasted Max Patch, click to expand. –

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