Forums > MaxMSP

pass for decrementing values?


Dec 09 2013 | 8:30 pm

I need a single bang whenever a value passes a specific integer, but only when the value is decreasing. The Pass object only ever bangs when increasing, and I cant find an option to reverse that behavior. Any suggestions? Seems like there’d be a simple workaround but I’ve yet to successfully find one.

Dec 09 2013 | 10:21 pm

Pass does not appear on the object list in Max (6.1.5) here. So I’m not sure what that does or if you meant something else. In any case, have you tried [trough], or perhaps [minimum]?

Dec 09 2013 | 11:01 pm
<code>
-- Pasted Max Patch, click to expand. --

</code>

Dec 10 2013 | 8:07 am

Sorry, Past, not Pass. Christopher’s patch has a working solution combining less than, change, and a select of 1. Much appreciated. As always, its obvious once someone else shows you. =)

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

Forums > MaxMSP