Vizcon.OSC
1.0.3
dotnet add package Vizcon.OSC --version 1.0.3
NuGet\Install-Package Vizcon.OSC -Version 1.0.3
<PackageReference Include="Vizcon.OSC" Version="1.0.3" />
<PackageVersion Include="Vizcon.OSC" Version="1.0.3" />
<PackageReference Include="Vizcon.OSC" />
paket add Vizcon.OSC --version 1.0.3
#r "nuget: Vizcon.OSC, 1.0.3"
#addin nuget:?package=Vizcon.OSC&version=1.0.3
#tool nuget:?package=Vizcon.OSC&version=1.0.3
Vizcon.OSC 🎶
About This Fork 🚀
This project is a modernized fork of SharpOSC by Valdemar Örn Erlingsson. I didn't reinvent the wheel—I just gave it a fresh coat of .NET 8 paint, sprinkled in some newer language features, and made sure it's ready for the future.
Original Work & Credits 🎩
All the heavy lifting was done by Valdemar back in 2012, and this project proudly carries his work forward. It remains free and open under the original MIT License, so everyone can continue using, modifying, and sharing it however they see fit.
What’s New? ✨
- Upgraded to .NET 8 for modern compatibility
- Improved performance & language features
- Bug fixes and refinements
- Proper OSC message formatting for Ventuz compatibility
- Fixed float encoding issues with correct Big Endian conversion
- Ensured 4-byte alignment for OSC messages
Installation 📦
You can install Vizcon.OSC via NuGet:
dotnet add package Vizcon.OSC
Or use the NuGet Package Manager in Visual Studio.
Usage 📖
Sending an OSC Message
using Vizcon.OSC;
var sender = new OscSender("127.0.0.1", 9000);
var message = new OscMessage("/test", new object[] { 55, "hello", 3.1f });
sender.Send(message);
Receiving OSC Messages
var listener = new OscListener(9000);
listener.MessageReceived += (msg) =>
{
Console.WriteLine($"Received: {msg.Address}");
};
listener.Start();
Ventuz Compatibility Fixes 🛠️
- Fixed Float Encoding: Floats are now correctly converted to Big Endian for Ventuz.
- Ensured Message Alignment: All strings and type tags are properly padded to 4 bytes.
- Handled Special Cases: Improved parsing to prevent "Unknown Type Tag" errors.
Disclaimer ⚠️
I claim no ownership over the original work—this is just an evolution. If you like it, great! If something breaks, well... you know the drill. 🔧
License 📝
This project follows the original MIT License from SharpOSC. See LICENSE
for details.
🚀 Happy coding!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.