Limits

zashort's icon

Ok so this should be an easy one but I am stumped. I am bringing in numbers through a live feed, lets say -15 to 15. The numbers stay pretty constant, 5-10. I am trying to figure out a way to produce a bang every time the incoming numbers fall out side of the 5-10 range. Thanks in advance!

goingdeaf's icon

[>], [

Or else, for example, with [if]:

[if ($i1 < 5) || ($i1 > 10) then 1 else 0]

Then you can connect the output of [if] to a [button].

: )

MIB's icon

[split 5 10]
5 - 10 will come out the left outlet everything else the right outlet... connect a [t b] to the right outlet to get your bangs