Back to Discussions
22
SoftwareSolved

How to connect PiEEG XR / Aura VR to Unity & VRChat via OSC for real-time brainwave avatar parameters?

Priya Nair (XR & Unity Dev)Contributor· Posted 11h ago
265 views1 reply

I'm building a neuro-responsive VR experience in Unity and VRChat using PiEEG XR mounted on a Meta Quest strap.

How do I stream real-time band powers (theta, alpha, beta) and focus/relaxation metrics into VRChat avatar parameters (/avatar/parameters/...) without writing a custom bridge?

1 Reply

Accepted Solution
25
youssefCo-Founder & Software Architect
· 11h ago

pieeg-server has a native VRChat OSC & Unity emitter built in!

  1. Run the interactive region setup once to map your channels:
    bash
    pieeg-server --osc-regions-setup
  2. Launch pieeg-server with OSC enabled (defaults to UDP port 9000, which VRChat listens on):
    bash
    pieeg-server --osc --osc-host 127.0.0.1 --osc-port 9000
  3. Your avatar or Unity OSC receiver will immediately receive normalized floats (0.0 to 1.0) for delta, theta, alpha, beta, gamma, focus, and blink detectors!

Your Reply

You'll verify with a quick 6-digit email code when posting.