final case
A UGen that detects a specific keyboard stroke. When the given key is not
pressed, the lo
value is output, while the key is pressed the hi
value is
output. If lag
is greater than zero, a Lag
-type operation is applied for a
smoother transition between lo
and hi
.
- Value Params
- hi
value output when the currently pressed does match the code
- keyCode
hardware code for the key to monitor. This is likely platform dependent. For example, on Linux, key-codes 24 to 29 correspond to 'Q', 'W', 'E', 'R', 'T', 'Y'.
- lag
60 dB lag time in seconds.
- lo
value output when the currently pressed does not match the code
- See also
- Companion
- object
trait Serializable
trait ControlRated
class SingleOut
class SomeOut
trait Lazy
trait GE
class UGenSource[UGenInLike]
trait Expander[UGenInLike]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any