LucHeart.CoreOSC 1.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package LucHeart.CoreOSC --version 1.2.1                
NuGet\Install-Package LucHeart.CoreOSC -Version 1.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LucHeart.CoreOSC" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LucHeart.CoreOSC --version 1.2.1                
#r "nuget: LucHeart.CoreOSC, 1.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LucHeart.CoreOSC as a Cake Addin
#addin nuget:?package=LucHeart.CoreOSC&version=1.2.1

// Install LucHeart.CoreOSC as a Cake Tool
#tool nuget:?package=LucHeart.CoreOSC&version=1.2.1                

LucHeart.CoreOSC - ASYNC OSC Library for .NET Standard 2.1 & NET 7.0

NuGet NuGet

CoreOSC is a small library designed to make interacting with Open Sound Control easy (OSC). It provides the following features:

  • Produce an OSC Packet (messages and bundles) from .NET objects.
  • Translate an OSC message (consisting of a sequence of bytes) into a .NET object.
  • Transmit OSC packets via UDP.
  • Receive OSC packets via UDP.

Supported Types

The following OSC types are supported:

  • i - int (System.Int32)
  • f - float (System.Single)
  • s - string (System.String)
  • b - blob (System.Byte[])
  • h - long - 64 bit big-endian two's complement integer (System.Int64)
  • t - OSC-timetag (System.UInt64 / CoreOSC.TimeTag)
  • d - double - 64 bit IEEE 754 floating point number (System.Double)
  • S - CoreOSC.Symbol Alternate type represented as an OSC-string (for example, for systems that differentiate "symbols" from "strings") (CoreOSC.Symbol)
  • c - an ascii character, sent as 32 bits (System.Char)
  • r - 32 bit RGBA color (CoreOSC.RGBA)
  • m - 4 byte MIDI message. Bytes from MSB to LSB are: port id, status byte, data1, data2 (CoreOSC.Midi)
  • T - true. No bytes are allocated in the argument data. (System.Boolean)
  • F - false. No bytes are allocated in the argument data. (System.Boolean)
  • N - mull. No bytes are allocated in the argument data. (null)
  • I - Infinity. No bytes are allocated in the argument data. (Double.PositiveInfinity)
  • [ - Indicates the beginning of an array. The tags following are for data in the Array until a close brace tag is reached. (System.Object[] / List<object>)
  • ] - Indicates the end of an array.

(Note that nested arrays (arrays within arrays) are not supported, the OSC specification is unclear about whether that it is even allowed)

Using The Library

NuGet NuGet

Get this library at NuGet.

License

LucHeart.CoreOSC is licensed under the MIT license.

See LICENSE

History

CoreOSC is forked and converted from SharpOSC made by ValdermarOrn

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.
  • net7.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.

Version Downloads Last updated
1.4.0 292 7/10/2024
1.2.1 548 8/4/2023
1.2.0 172 8/3/2023