Base element for receivers of OSC messages from OSCMapper. Handles registration and transformation of the values. This should be handeled as an abstract class and the following classes should be used instead
altName |
Alternatev name under which the element can also be accessed from via the OSCMapper |
defaultValue |
The default value which will be put out as long as no message was received. |
transformer |
An optional function which will transform the received values. |
callback |
A function which will be called. First argument is the received value. |
lag |
Will be used as a smoothing on the Ndef. |
Returns the values as Ndef, see OSCMapper: Examples for usage.
Returns the values in a Bus, see OSCMapper: Examples for usage.
Returns the values as Pdefn, see OSCMapper: Examples for usage.
Returns latest received value.
See OSCMapper: Examples.