Triggers when a value changes.
A special case fixed filter.
signal input
threshold
Implements the formula:
detect changes in a signal: