Created by Paul Varcholik
"Open Sound Control (Osc) is an open, transport-independent, message-based protocol developed for communication among computers, sound synthesizers, and other multimedia devices." (from http://opensoundcontrol.org/spec-1_0)
There are a number of Osc implementations, including another in C#, but I decided to roll my own and make it freely available. This implementation sits atop the .NET 4.5 Framework and uses TCP or UDP as the transport protocol. It includes support for Osc Messages and Bundles, and supports the following payload data types:
- Blob (byte array)
- Osc TimeTag
- ASCII character
- RGBA color
The OscServer class is at the heart of the system, and includes support for unicast, broadcast, and multicast. As Osc packets, bundles, and messages are received corresponding events are fired. Additionally, the system will (optionally) filter Osc address patterns that the user registers.
The package includes simple client and server examples in both C# and Visual Basic.NET.