value when the mouse is on the left side of the screen
value when the mouse is on the right side of the
screen. Note: this value is never reached, because
the maximum mouse coordinate is one pixel less than the
screen size. For example, if the screen width is 1440,
lo
is 0.0 and hi
is 1.0, the maximum value output is
1.0 * 1439/1440 = 0.999306
.
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 horizontal screen location of the mouse to a given linear or exponential range. This 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
MouseY