This patch will output a bang if it receives a bang in both of its inputs simultaneously. A bang received by the right inlet will store a 1 in the integer object via the cold inlet. If the left inlet receives a bang before the end of the low priority queue, then a 1 will be outputted by the integer object to the select resulting in a bang from its left outlet.
This patch monitors data and outputs a bang when no change is detected.
This example shows three conditions to trigger a bang when incoming values either increase or decrease.
1. A single bang is sent whenever a value goes down below a specific number. In this case, when the value in the slider is below 96.
Floating-point numbers are necessary for representing fractional numbers, and they're useful for numbers that might range from very small (e.g., 0.000396) to very large, but it's important to bear in mind that they can't possibly represent every possible real number. So there are certain situations in which they misrepresent values.
Did you know that some Max objects make a distinction between integer numbers and numbers that have a fractional part?