Shop OBEX P1 Docs P2 Docs Learn Events
PropOSC - Open Sound Control — Parallax Forums

PropOSC - Open Sound Control

UltraLazerUltraLazer Posts: 30
edited 2014-12-12 08:33 in Propeller 1
"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.

Comments

Sign In or Register to comment.