Head tracking with Spat 5

Hi!
I’m working with AR and I’m trying to connect my Magic Leap head tracking info with Spat via OSC for delivering my audio in headphones. I want the listener to be able to rotate and the sources to stay in the same position.
Could you help me figuring out with would be the best way to do that?
Thanks!

Hi,
You can set the listener orientation, either with quaternion angles or with Euler angles (yaw/pitch/roll) – I don’t know what the Magic Leap provides.
You’ll find some info in the “orientation” tab of spat5.binaural~.maxhelp.

Best,
T.

Hi diana,

here’s another way to rotate

May be it can helps…

cheers

Jerome


----------begin_max5_patcher----------
1620.3oc6YssiaaCD8YueEBB8oBu1hh5ZeJMn.AnHAnH4ghhMAKnk45kI5hg
Dk8lDj9M0ug9kUNCkjkrkuEqsYCPV.6UhWDOyYFdlgxe9pQlyxdfWXZ7KF2X
LZzmuZzHrIngQU2OxLg8PTLq.GlYBunfsfaNV2mj+fDaeZQVYdDeJYJ6SF+D
ot+zxDQZLWhS1tpQwbbJYyd+0AsFXVordjjpV0MI+3RtFillFuqpqkLYz8hz
E2lyij5dcb7mXM1fn+WHA911dhkw6fo7kqtB9Z7IZno70J.ticVnVW2IyDor
xbV7ea7LscWXXWOzXQJOJqLU11jOFO3zL86xRkEhOgFLALg93G593mBwhTVr
431WsgyfmcJKAGr4ulKf92Ka55Ow2crA01CIUhK7OJEnypIUvVwmeqB9p4bK
SJyEyJk5voQMrJ7ryUqojmeKOkMKFWcKrOzkLPNl3L17YrzE8F4Q1kwCOyHO
7YennOpuyDaEgQrCAlxM3wK7akfulma7LQpPtVHu23slSiYeTgYiBEnh4iMl
tVjNOa8THTxv00B9roUoPYcFuNKKYSa2oXPoZ1Fj2Zd5wx8vrDWyyKnECRGe
jM2Ugi1dH6Rsv83T2u4gi6WPbIm8Ad9TEILS4r7TLccS+7zUkHDltRTHTXPQ
iM8V.JnWSslX.eBUeHtpurIvW9VSTircbdGWD8DkaHdCotaSje.YB3hnNfuw
I7qLz+XoXpHTjxzsrG9rtynrzBYNSjJmFIxiJiYsmcCeODDK0YHIVhU.FzWS
rNzKhXiEq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