2

Beginner Pd user here. I have a number message, and I am trying to get the numerical difference between the current number and the previous number - does anyone know of a simple way to do this?

Max N
  • 1,134
  • 11
  • 23
James Alvarez
  • 7,159
  • 6
  • 31
  • 46

1 Answers1

4

This is probably the simplest way to do it:

enter image description here

If you need the absolute difference, use the object abs before the final result (to ignore the negative sign).

gilbertohasnofb
  • 1,984
  • 16
  • 28