Head tracker code examples

ht-api-juce
Supperware’s head tracker API in C++/JUCE.

bridgehead-matlab.m
A MATLAB script by an anonymous and helpful user, to read and convert incoming quaternion data from Bridgehead.

head-tracker-ypr.pd
A very simple Pure Data patch: extracts yaw, pitch, and roll in degrees, zeroes the head tracker, and turns it on and off.

max-patch.txt
Examples of how to handle incoming OSC data in Max. Copy the contents of this text file to the clipboard, and then choose File→New From Clipboard.
Max patch

headtrack.py
A Python script by Abhaya Parthy: converts incoming MIDI to OSC for SceneRotator. Run or adapt this if you have issues with the Bridgehead version.

head-tracker.vi
A basic-but-usable Virtual Instrument for National Instruments LabVIEW. It works with Bridgehead’s SPARTA profile to return yaw, pitch, and roll in degrees.