An Open Sound Control library for the mbed, created to be compatible with Recotana's OSCClass library (http://recotana.com) for the Arduino with Ethernet shield. It also uses parts of the OSC Transceiver(Sender/Receiver) code by xshige written by: Alvaro Cassinelli, October 2011 tweaked by: Toby Harris / *spark audio-visual, March 2012
Dependencies: NetServices mbed
Diff: mbedOSC.h
- Revision:
- 10:b4cc0df203b7
- Parent:
- 9:b37b68fdd9a4
- Child:
- 11:853a9e887023
diff -r b37b68fdd9a4 -r b4cc0df203b7 mbedOSC.h --- a/mbedOSC.h Sun Apr 15 13:21:01 2012 +0000 +++ b/mbedOSC.h Sun Apr 15 13:26:47 2012 +0000 @@ -36,26 +36,19 @@ /** Container class for OSC messages (receiving or sending) - mbedOSC version 0.1 Specification (similar to Recotana's OSCClass library) - - ******** + @note mbedOSC version 0.1 Specification (similar to Recotana's OSCClass library) + Example of an OSC message: "/mbed/test1, if 50 32.4" + ie. "Address TypeTag Args" Address : max 2 - "/ard" - "/ard/output" --address[0]="/ard" :max 15character - --address[1]="/output" :max 15character - - ******* - TypeTag : max 2 - - "i" - long or unsigned long - "f" - double - - ******* + "/ard" + "/ard/output" + --address[0]="/ard" :max 15character + --address[1]="/output" :max 15character + TypeTag : max 2 + "i" - long or unsigned long + "f" - double arg : max 2 - - ******* - Example of an OSC message: "/mbed/test1, if 50 32.4" - (Note: this is not the byte string sent as UDP packet - there are no spaces, and arguments are in binary, BIG ENDIAN) + (Note: The byte string as seen here is not sent as UDP packet directly - there are no spaces, and arguments are in binary, BIG ENDIAN) */ class OSCMessage{