» OSC
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

OSC

OSC - Open Sound Control

OpenSound Control ("OSC") is a protocol for communication among computers, sound synthesizers, and other multimedia devices that is optimized for modern networking technology and has been used in many application areas.

Use with VVVV

vvvv has native nodes to encode/decode to the OSC protocol. see the helpfiles of OSCEncoder (Network) and OSCDecoder (Network) for ease of use.

OSC Features

  • Open-ended, dynamic,URL-style symbolic naming scheme
  • Numeric and symbolic arguments to messages
  • Pattern matching language to specify multiple targets of a single message
  • High resolution time tags
  • "Bundles" of messages whose effects must occur simultaneously
  • Query system to dynamically find out the capabilities of an OSC server and get documentation''

Here's a patch which show how OSC encodes application's data type into packets.
OSC packets


Be aware that's OSC does not send data over network. It just feed data to a network transport layer, which most time will be UDP (as OSC encapsulate data into packets) and sometimes TCP. And this is the network transport layer that will then send/receive the data from/to the network communication.

Another important point. OSC converts the application data type into it's own data type, it's allow easier software inter-communication as you don't have to care which kind of data you could expect to send or receive.

So that whenever you a pass a data trough OSC, OSC will encodes it into one of the OSC data types (which could be int32, float32, OSC string, and OSC blob) and then feed it to a transport layer as packets. Once received, OSC will decode packets and extract the data to feed it to the application after convert it to the application data types.


OSC-Demo: Connecting your mobile device to vvvv

  1. Download and install the app "TouchOSC" on your mobile device (for iPhone/iPod Touch/iPad usehttp://hexler.net/software/touchosc and for Andoid usehttp://hexler.net/software/touchosc-android)
  2. Download the demo-patches, which are availible at TouchOSC's documentation:http://hexler.net/docs/touchosc-setup-other
  3. Follow the inscructions within the Help patch and enjoy!

Credits/Thanks: rrrr

anonymous user login

Shoutbox

~5h ago

mediadog: Anyone going to SxSW next month?

~1d ago

alg: @elliotwoods ok, thx. I will pull it and check )

~1d ago

elliotwoods: now i've moved i'm pretty happy. a bit more complicated to manage an open source contrib, but easier to build/update/addonpack

~2d ago

alg: @elliot when you planning to push the changes to the repo?

~2d ago

elliotwoods: and we're back. :). @dujoducom - elias + co did an awesome job!

~2d ago

dujoducom: wow, I have been away for awhile and totally missed the plugin development improvements. Mind bogglingly awesome c# integration!!

~2d ago

elliotwoods: p.s. everyone, please dont comment on the opencv contrib for a moment! slow connection from far away :)

~2d ago

elliotwoods: @vvvvebmaster. if someone edits a post whilst i'm uploading a contrib, i have to reupload. also a comment counts as an edit..