< Back to IRCAM Forum

Issue with listener orientation in spat.viewer

Hi,

There seems to be a bug (or something I fail to understand) in the the listener’s orientation in spat5.oper (or viewer).

I was saving the state of a spat5.viewer instance and oddly, the listener was switching orientation when recalling my presets.

After some investigation I found out that the default state for the two parameters below is the following :

  • /listener/lookat/aed defaults to 90 0 0
  • /listener/orientation defaults to 0 0 0 1

… which seem to be in conflict, as when you send the message /listener/lookat/aed 90 0 0, it will change the listener’s orientation (now facing the back, with the orientation param being now 0 0 1 0).

Is this expected ?

Reading Thibault’s last comment in this thread, should we just discard the /listener/lookat/aed parameter ?

Thanks for any light on this!
Vincent

See patcher below.


----------begin_max5_patcher----------
821.3ocwWssbZCCD8Y3qPidpcFGGK4KXx68Gn8wNcXDlsfRwRdjjIjIS92qt
XBj.TtDmzgLnH40Z04r6YWwSCGfmJWCZL5NzOQCF7zvAC7K4VXP27A3Z15pk
Ls2LbMn0r4.NJ7LCr13W+1kbsADf5VohCBCyvkBTh+CYi0MJPu4YSVxEPkrU
3eeZmEh1ZtXIXz6tXCyTsfKlOQAUlvgkLtHNIBQxJ8C4ItAJMNA8qs6jr0rY
qHcqFVx7XCD1GL9kWfOyCD4z6uIkfcq87vgtuhNSpoRVWaQ2dTSVL5G.fLKX
FztjyBlFUsfIlCyPFYfoPImlqx5rXZ6zoKgcQ2qXOxwYu7hLGekR7CzBOIRy
1g8B6cijGboidODslrO2QG2yb2r15FDaNiKN+znqmZnDpOiJYTXftG0bZFnr
OYfzXz2gar30ljr.PUsJk0LzL32r1kFDZqvaoT9Gl4VlMc5KeaciER1+6NDh
asVBZjPZ5x2PLwiFGv+5oozwueJc7337HznTGUlSRuBFsnOYT5N5wMz3t5Rt
9xqa8t0hzxw9gzrSoEIWfVLuO4MRmVTaIhWZ.b8.mT5Kgm5K9Lt7JxJxtFzc
zFXNrguz1PEogxD9fWFsW6BQoWC9z1iYdrTWEuhCOfuvfRZZHMrLDOn9YEGG
QoGEQQHrKgM5XfaaiNlhUCFPMADrtboj9LvdnBjiShQ9+tzHd1t7CIunWi3j
qpNm.dv9x6g6sIBJq2gFq4GtYwAu5F95TyzLufHkleBh4el3bzrFR1lyklsB
lMwtl8DLgYLJ9TKH0czTGOcjjqn8dXMqo4U4dgXv+2ZKAwWn9XOWZgjh+3UX
tdnWLny78+FkEtce+Jux6c0kqDKntXsRHxRJ82wbTwGiToOTJ6KE7tB6tCza
9Yidb5V+0boV1pp1bf65pEg1B0Yf1vEgRNaMhDr4fgqy0Q1b7OGGk+YAH6dP
Okex5AGkR9rPT143nBqQj9vSjS3I2cRdClBo61tCq.ktyZuSrEItWpbSKi7S
4hvTuZEqfU7M1662fYJaY.iUC1p7GL75hPyLbsbFnDsbeUigN3Ycou.jvpHs
EZBHwWmZ3yC+KTrB7rI
-----------end_max5_patcher-----------

Hi Vincent,

Indeed, this bug (conflicting parameters) has been reported by someone else yesterday ! in the very same scenario as you (saving/recalling presets).
This is fixed for the next release.
Sorry for the inconvenience.

Best,
T.

Good to know… thanks!