"horizontal" signal to test
"vertical" signal to test
lower margin of horizontal test range (inclusive)
lower margin of vertical test range (inclusive)
upper margin of horizontal test range (inclusive)
upper margin of vertical test range (inclusive)
"horizontal" signal to test
"vertical" signal to test
lower margin of horizontal test range (inclusive)
lower margin of vertical test range (inclusive)
upper margin of horizontal test range (inclusive)
upper margin of vertical test range (inclusive)
"horizontal" signal to test
"vertical" signal to test
lower margin of horizontal test range (inclusive)
lower margin of vertical test range (inclusive)
upper margin of horizontal test range (inclusive)
upper margin of vertical test range (inclusive)
A UGen that tests if two signals lie both within a given ranges. The two input signals can be understood as horizontal and vertical coordinates, therefore the test become one that determines whether the input is within a given "rectangle".
If
x >= left
andx <= right
andy > top
andy <= bottom
, outputs 1.0, otherwise outputs 0.0.Examples
Clip
InRange