Looking for an object that bangs on a precise number

kAh00t's icon

Hey folks, I am looking for an object that will bang when a precise number is put in to a number box, sort of like a bandpass filter for audio but for numbers.

Sorry if it is a vague description!

Cheers, David.

brendan mccloskey's icon

[select 55] -> [onebang]?

Tim Lloyd's icon

==, select or split ... == and select are more intuitive, split will work when the input number stream is moving too fast for == or select to register

kAh00t's icon

you, sir, are a total legend! I knew it would be something simple, you have just saved us a long day of sitting reading through every max/msp tutorial :)

Cheers, David.

kAh00t's icon

Out of interest, if i had 3 values, say, RGB values from a suckah object, and I wanted to trigger when 3 values hit a certain number? like, values 1 0.50 0.47.

Messing about with ways myself, but just incase anyone had a great idea they would like to share!

Cheers :) David

llumen's icon

[if $f1==1 && $f2==0.5 && $f3==0.47 than bang]

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

brendan mccloskey's icon