value within a range consistantly for a certain amount of time

Dec 13, 2009 at 12:30am

value within a range consistantly for a certain amount of time

hello,

any suggestions on how to do this somewhat elegantly?
I have a noisy stream of numbers and need a bang whenever the values are within a given range, for a certain amount of time.

i have a feeling this should be easy, but i’ve been away from the max front for a while, so any suggestions would be very much appreciated.

best regards,
klaas-jan

#47176
Dec 13, 2009 at 2:00am

Maybe like this:

– Pasted Max Patch, click to expand. –
#169611
Dec 13, 2009 at 2:11am

I think that will work. thank you! i forgot about the stop message to delay.
was messing around with a pipe and ==, but it didn’t seem totally consistent.

thanks again,
klaas-jan

#169612

You must be logged in to reply to this topic.