A UGen that outputs two different values depending on whether the mouse button
is pressed. 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
// toggle sine frequency
play { SinOsc.ar(MouseButton.kr(400, 440, 0.1)) * 0.1 }
A UGen that outputs two different values depending on whether the mouse button is pressed. 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
MouseY
MouseX