Which object can do it?

Baller Black's icon

When the number rises, send a message. When the number falls, send a message, similar to peak or trough, but there is no Current.
Thank you to answer

Bill 2's icon

I use a few objects to do that, like so:

Max Patch
Copy patch and select New From Clipboard in Max.

...but there's probably some really nifty "if" statement that'll do it in one object.

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

Bill 2's icon

Wow - a mode argument for the [change] object! Who knew?

Thanks Double_ug - I now have a few abstractions to edit. :-)

Baller Black's icon

Thank you both so much! They work so well for me and work smoothly. Many thanks!

Baller Black's icon

Ask another question,whether there is an object that can output the difference of the number. For example, the first input of 20, output 20, Second input 26, output 6, Third input 14, output 12...and so on

Bill 2's icon

Similar to my first answer...

Max Patch
Copy patch and select New From Clipboard in Max.

double_UG's icon

or

Max Patch
Copy patch and select New From Clipboard in Max.

:-)

Roman Thilenius's icon

110.delta :

[t i i b]
I ............... X
I ............... [i 0]
I ............... I
[- 0]

Baller Black's icon

That's great. Thank you very much.