| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

ExemplarInputOutput

Page history last edited by PBworks 13 years, 2 months ago

Input

Serial Input

Exemplar currently supports input using OpenSoundControl messages over serial ports. Message specification:

  • Each message address specifies one input channel. Addresses are "/adc0" through "/adc7"
  • Each message has one integer argument. The range of the integer (e.g. 8 bit vs 10 bit) can be set in the Exemplar Preferences dialog within Eclipse.
  • OSC over serialport messages differ slightly from the usual OSC over UDP:
    • At the start of each message, a start byte (0xBE) is sent
    • This is followed by the length of the message, not including start byte, length byte and checksum
    • Then the normal message follows.
    • A checksum byte (sum of all the bytes in the normal message mod 256) terminates the serial message.

 

UDP Input

OSC over UDP input is possible as of Exemplar 0.4.1. Select it in the Preferences and restart Eclipse. Message format is identical to OSC over serial, but no start byte, size, or checksum bytes are transmitted.

 

 

Output

XML Server for Flash

Exemplar can serve as a TCP socket server to deliver Events to Adobe Flash.

See the Protocols page for details on the message format.

 

OSC Output

Exemplar can also output its events as OSC messages over UDP. This feature is included in the public distribution as of Exemplar 0.4.1.

 

Key presses/mouse clicks

We have written a separate server program that takes OSC messages produced by Exemplar and turns them into key presses and mouse movements via the Java Robot API.

TODO: make this code available for download.

Comments (0)

You don't have permission to comment on this page.