OscObject

Provides access to send and receive OSC values, and via the OSC-to-MIDI mapping, MIDI output. This is used to send data to third-party audio software. The OSC address is controlled by the settings for the implant, with optional replacement values for x and y coordinates.

Properties
None. TODO: add OSC format

Methods

 * double get(int x, int y) - gets the last OSC value set to the address with the provided x and y replacements, either set by this program or received from a third-party.
 * void set(int x, int y, double value) - set an OSC value to the address with the provided x and y replacements, and sends it to all remote software configured to receive OSC data from this implant.
 * void on(string eventName, fn callback) - adds a callback for one of the events below

Events

 * change - Event triggered whenever a change to an OSC address happened on any node of the current cluster.  This will send only messages appropriate for the implant once OSC registration is implemented, but currently will trigger the event for all OSC data.  The event fields are address and value, so it will be important to check e.address until OSC registration is implemented correctly.

TODO: provide a mechanism to add new OSC-to-MIDI mappings automatically.