Headtracker

A python module for demonstrating head orientation tracking for binaural synthesis.

Usage: python opti_ssr_demo.py [SSR_IP] [SSR_port] [optitrack ip] [multicast address] [optitrack port] [end_message]

opti_ssr_demo_headtracker.demo(ssr_ip='localhost', ssr_port=4711, opti_unicast_ip=None, opti_multicast_ip='239.255.42.99', opti_port=1511, ssr_end_message='\x00')[source]

A demo function to track the head orientation.

Parameters:
  • ssr_ip (str, optional) – IP of the server running the SSR.
  • ssr_port (int, optional) – Port of SSR Network Interface. By default, port 4711.
  • opti_unicast_ip (str, optional) – IP of the Motive software to establish a unicast connection to. By default, no unicast connection is established.
  • opti_multicast_ip (str, optional) – Multicast address to connect to.
  • opti_port (int, optional) – Port of the Motive network interface.
  • ssr_end_message (str, optional) – Symbol to terminate the XML message sent to SSR. By default, a binary zero.