Skip to content
 
 

Repository files navigation

UnityOSC

Open Sound Control (OSC) library for Unity, distributed as a UPM package.

This is a fork of jorgegarcia/UnityOSC maintained by Theoriz. It is used as a dependency in OCF and GenUI.

Installation

Add the following line to your project's Packages/manifest.json:

{
  "dependencies": {
    "com.theoriz.unityosc": "https://github.com/Theoriz/UnityOSC.git"
  }
}

Or in the Unity Editor, go to Window > Package Manager > + > Add package from git URL and enter:

https://github.com/Theoriz/UnityOSC.git

Incoming messages

Each receiver queues what arrives and delivers it on the main thread, once per frame.

MaxQueuedMessages (default 4096, 0 for unlimited) caps that queue. At the cap the oldest message is dropped to make room.

The cap is also the most one frame will deliver. Lowering it shortens the worst-case frame but discards more of a burst — including method invocations, which unlike values are not superseded by whatever comes next.

Credits

Original library by Jorge Garcia.

About

Open Sound Control (OSC) C# classes interface for the Unity3d game engine

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages