Forums > MaxMSP

Looking for an object that bangs on a precise number

March 21, 2011 | 11:27 am

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.


March 21, 2011 | 11:29 am

[select 55] -> [onebang]?


March 21, 2011 | 11:30 am

==, 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


March 21, 2011 | 11:32 am

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.


March 21, 2011 | 11:58 am

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


March 21, 2011 | 12:14 pm

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

– Pasted Max Patch, click to expand. –

March 21, 2011 | 12:17 pm

http://cycling74.com/docs/max5/vignettes/core/max_functional.html

radically reduces searching/learning time

Brendan


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