Awesome
OSCJackVS
OscJackVS is an extension for visual scripting in Unity that adds custom nodes for handling OSC (Open Sound Control) messages.
It uses OSC Jack as a backend. If you're interested in using OSC without visual scripting, please check the OSC Jack project.
System Requirements
- Unity 2021.3 or later
OSC Jack requires System.Net.Sockets
supported on most platforms but a few
network-restrictive platforms like WebGL.
How To Install
This package is available in the Keijiro
scoped registry.
- Name:
Keijiro
- URL:
https://registry.npmjs.com
- Scope:
jp.keijiro
Please follow this gist to add the registry to your project.
OSC Connection
The OSC Jack components require OSC Connection files to specify connection types, host addresses and port numbers. To create a new OSC Connection file, navigate to Assets > Create > ScriptableObjects > OSC Jack > Connection.
You must specify a target host address to send OSC messages (leave it empty for receive-only connections).
Custom Nodes
OSC Input
OSC Input receives OSC messages in a flow graph.
There are the following variants for different data types:
- OscBangInput (trigger without data)
- OscIntInput
- OscFloatInput
- OscStringInput
- OscVector2Input
- OscVector3Input
- OscVector4Input
Note that it triggers the event multiple times in a single frame.
OSC Output
OSC Output sends OSC messages from a flow graph.
There are the following variants for different data types:
- OscBangOutput (trigger without data)
- OscIntOutput
- OscFloatOutput
- OscStringOutput
- OscVector2Output
- OscVector3Output
- OscVector4Output