Protocols




OSC message format for d.tools input

d.tools accepts messages from hardware devices in OpenSoundControl (OSC format).

 

OSC message format for Exemplar input

Exemplar accepts messages from hardware devices in OpenSoundControl (OSC format).

 

 

WiTilt message format for Exemplar input

 

XML message format between Exemplar and Flash

Exemplar sends XML fragment strings of the following format to Flash:

<exemplarevent address="" value="" />

Examples:

<exemplarevent address="/xevent1" value="1" />
<exemplarevent address="/xstream3" value="248" />


XML message protocol between Flash and Exemplar for "Extending Everyday Play" demo

For the CHI07 demo of "Extending Everyday Play" we used a custom bidirectional protocol. This is NOT turned on in the default public distribution of Exemplar.

 

Direction: Flash->Exemplar

<startrecord event="eventname"/>
Start recording a new example.

<stoprecord event="eventname"/>
Stop recording the example started before.

<toggle event="eventname" status="on/off" />
Turn detection of event "eventname" on or off.

<startdetect />
Start reading data & detecting events. Only events that have been
turned on with <toggle...> will be detected.

<stopdetect />
Stop reading data & detecting events. Keep all examples in memory.

<reset />
Stop reading data. Clear all learned examples.

 

Direction: Exemplar->Flash

<detect event="eventname" status="on/off" />
Sent when event of type "eventname" is detected. For pattern matching,
only status "on" will be sent. For thresholding, "on" will be sent
when the event starts, "off" will be sent when the event ends.

<forwardreset />
Sent when the Reset button on a WiTilt device is pressed.