Open Sound Control for .NET
OSC .NET is Open Sound Control (OSC) library for .NET programming languages, and written in C#. It supports packing and unpacking OSC packets and sending and receiving packets via UDP. The following list of data types is supported: int(int32), long(int64), float, double, string, bundle.
.NET Framework 1.1 or upper is required.
Download
OSC.NET-0.0.2.zipSample
OSCTransmitter transmitter = new OSCTransmitter("localhost", 5500); transmitter.Send(new OSCMessage("/oscillater/freq", (float)440.0); transmitter.Close();
For details, see the GUI front-end example attached to the library.


コメント
Hello
You have an error in your OSCMessage Unpack(byte[] bytes, ref int start)
for double you unpack a float and for float you unpack nothing
bye
投稿者: barbapapaz | 2006年06月27日 20:41
how do you send a bundle
thanks
投稿者: barbapapaz | 2006年06月27日 20:59