Forums > MaxMSP

difference between previous value and current value?

Apr 19 2013 | 7:37 pm

Hello, fellow forumers,

I need guidance in the following scenario: Let’s say a random object outputs 5, the next number it outputs is 7, the difference between those numbers is 2, but how can I implement that in the patch? I’ve been looking at different objects, such as through, minimum, maximum, change… but I just can’t figure out how to implement a way too see the difference as a number from previous value to the next incoming value :(

I need a way to monitor the distance/difference between the incoming number values,



Apr 19 2013 | 8:53 pm

Use this as an abstraction:

-- Pasted Max Patch, click to expand. --

Apr 19 2013 | 9:57 pm

You’re a LEGEND, sir.

Thank you!!

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

Forums > MaxMSP