value when the mouse is on the bottom side of the
screen. Note: this value is never reached, because
the maximum mouse coordinate is one pixel less than the
screen height. For example, if the screen height is 900,
lo
is 0.0 and hi
is 1.0, the minimum value output is
1.0 - 1.0 * 899.0/900 = 0.001111
.
value when the mouse is on the top side of the screen
curve shape. Either zero (default) for a linear
mapping, or 1 for an exponential mapping. Note:
When using exponential mapping, make sure the lo
value
is greater than zero, otherwise NaN values will be
output.
60 dB decay time of a lag-time smoothing. Use zero to avoid any smoothing.
A UGen that maps the vertical screen location of the mouse to a given linear or exponential range. The
lo
value corresponds to the bottom of the screen, and thehi
value corresponds to the top of the screen (not vice-versa).This UGen is useful for testing purposes. Mouse interaction with the regular desktop and windowing system is in no way altered by running this UGen.
Examples
KeyState
MouseButton
MouseX