About

oscP5 is a library written by Andreas Schlegel for the programming environment processing. Last update, 12/23/2012.

oscP5 is an OSC implementation for the programming environment processing. OSC is the acronym for Open Sound Control, a network protocol developed at cnmat, UC Berkeley.
Open Sound Control 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. for further specifications and application implementations please visit the official osc site

Installation

Unzip and put the extracted oscP5 folder into the libraries folder of your processing sketches. Reference and examples are included in the oscP5 folder.

Export to Applet

The security regulations for applets are very high and strict, in order to make oscP5 work properly wityhin an applet, you need to make fields and functions which are used by oscP5 public in your code.

Details

Keywords osc,protocol,networking,udp,tcp

Reference. Have a look at the javadoc reference here. a copy of the reference is included in the .zip as well.

Source. The source code of oscP5 is available at google code, and its repository can be browsed here.

Platform osx,windows,linux
Processing 1.5
Dependencies none

Features

Automatic event detection
oscP5 locates functions inside your sketch and will link incoming OSC message to matching functions automatically oscP5Plug → example. Incoming OSC messages can easily be captured within your sketch by implementing the oscEvent function oscP5message → example.

Network protocols
oscP5 supports TCP, UDP and Multicast. Networking operations are handled by package netP5 which can also be used on its own for various networking operations which do not necessarily require OSC as protocol. See the netP5 → reference

Examples

Find a list of examples in the current distribution of oscP5, or have a look by following the links below.