A Beginner-Friendly Tutorial for Live Coding Artists
This tutorial walks you through building a real-time audiovisual interaction between Unity and Sonic Pi, using Open Sound Control to send live-coded values to a Unity 3D object. It’s perfect for beginners in audiovisual live coding and interactive installation art.
Install Unity Hub
Download Unity Hub from the official website, and install the latest stable Unity version (recommended: Unity 2022 or later).
Create a New Project
In Unity Hub, click “New Project” → choose the 3D (built-in renderer) template → name your project and click Create.

Window > Asset Store.extOSC.unitypackage.Assets > Import Package > Custom Package... and import the file.


Hierarchy → choose Create Empty → name it OSCManager.OSCManager → click Add Component → add:
OSC Transmitter (if you want Unity to send messages out),OSC Receiver (required for this project).
OSC Receiver component, set:
7000 (or any open port).🔒 Make sure no other app is using the same port (like SuperCollider on 57120).
