Onebang for numbers

Patrick Keenan's icon

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

Tim Lloyd's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Something like this perhaps?

Patrick Keenan's icon

Cheers Tim,

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

Just did this and then you replied.

Like your succinct method better.

Patrick

jvkr's icon
Max Patch
Copy patch and select New From Clipboard in Max.

A version for any type of data.

brendan mccloskey's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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