difference between previous value and current value?

Apr 19, 2013 at 7:37pm

difference between previous value and current value?

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,

Cheers,

Pfke

#67795
Apr 19, 2013 at 8:53pm

Use this as an abstraction:

– Pasted Max Patch, click to expand. –
#243749
Apr 19, 2013 at 9:57pm

You’re a LEGEND, sir.

Thank you!!

#243750

You must be logged in to reply to this topic.