Skip to content

OSC Setup

tom5454 edited this page Aug 3, 2024 · 4 revisions

Addon mod required: CPM OSC compat on CurseForge, CPM OSC compat on Modrinth

Setting up OSC triggered animations with CPM

You have to configure OSC under Edit/Tools/OSC Settings.
Use Edit/Tools/OSC Animation Wizard to create OSC triggered animations.
The animations must be a Command Activated Animation.
Use the Value Layer animation type to map OSC values to CPM animations.
Toggle Layers trigger above 0.5 (mapped)
Value mapping:
CPM requires normalized values (0-1), set the Minimum and Maximum value using the Animation Wizard.
mapped_value = (osc_value - minimum_value) / (maximum_value - minimum_value)

CPM is compatible with OSC/VMC values.

Scripting

You can use TouchOSC to run lua scripts that react to OSC commands. TouchOSC scripting examples
Python library for OSC: python-osc

Other applications

Face tracking: VSeeFace
Most OSC sending applications will work that works with VRChat. VRChat OSC Resources