Skip to content

Instantly share code, notes, and snippets.

View abhayap's full-sized avatar

Abhaya Parthy abhayap

View GitHub Profile
@abhayap
abhayap / headtrack.py
Last active May 6, 2024 15:52
Read Supperware head tracker and output OSC to SceneRotator
import mido
from pythonosc.udp_client import SimpleUDPClient
ip_out = '127.0.0.1'
port_out = 7000
client = SimpleUDPClient(ip_out, port_out)
def convert(msb, lsb, degrees=True):