PropOSC - Open Sound Control
UltraLazer
Posts: 30
"Open Sound Control (OSC) is an open, message-based protocol developed for communication among computers, sound synthesizers, and other multimedia devices." (like the prop)
Hello all,
Attached is some prototype code that acts as a OSC client/server. It can unpack and pack OSC messages. Data is written to and from memory defined in a name space referenced by a name string and element number. Not all aspects of the spec OSC 1.0 are currently supported and a few of the ones that are are a bit 'hacked'. I have tested this with a few iPhones and a spinneret w/ wi/fi over UDP as well as between 2 props. Seems robust enough to function but needs work.
This is where I hope some community involvement will come in. Please post your work/re-work and have fun.
http://opensoundcontrol.org/introduction-osc
http://opensoundcontrol.org/spec-1_0
Addition: Note
Thought I should add that this code includes a demo using some dummy OSC messages defigned in DAT with an example namespace This can be tested on a single prop and debugs w/ parallax serial terminal.
To do some network testing, I would suggest adding this code to the UDP echo demo: http://obex.parallax.com/objects/614/
Pure Data, Flash or touchOSC for iPhone is also good for network testing.
Hello all,
Attached is some prototype code that acts as a OSC client/server. It can unpack and pack OSC messages. Data is written to and from memory defined in a name space referenced by a name string and element number. Not all aspects of the spec OSC 1.0 are currently supported and a few of the ones that are are a bit 'hacked'. I have tested this with a few iPhones and a spinneret w/ wi/fi over UDP as well as between 2 props. Seems robust enough to function but needs work.
This is where I hope some community involvement will come in. Please post your work/re-work and have fun.
http://opensoundcontrol.org/introduction-osc
http://opensoundcontrol.org/spec-1_0
Addition: Note
Thought I should add that this code includes a demo using some dummy OSC messages defigned in DAT with an example namespace This can be tested on a single prop and debugs w/ parallax serial terminal.
To do some network testing, I would suggest adding this code to the UDP echo demo: http://obex.parallax.com/objects/614/
Pure Data, Flash or touchOSC for iPhone is also good for network testing.
Comments
-Phil
Made a post on the spinneret forum for discussion specific to using propOSC on that device. Might be useful.
http://forums.parallax.com/showthread.php?134285-propOSC-(Open-Sound-Control)-spinneret-discussion.
Sincerely,
Marcus