UP   PREV   NEXT (intcode)

Create a new signal that is the delta between adjacent samples...

 
int a_mathops::momod_differentiate::run(int din)
{
  int r = din - lastval;
  lastval = din;
  return r; // Return difference of current and previous value
} 

Differentiating removes the lower frequencies.