< Back to IRCAM Forum

Spat5.abs2rel seems not to work always

The object spat5.abs2rel seems not to works always! I have a spat5.viewer that sends the message, for instance, “/listener/aed 36.8699 0 0.5” to spat5.abs2rel which goes to spat5.oper. I can see the changes reflected in the abs2rel status window but it outputs nothing! Did I miss something? Or did I sent an incorrect message?

1 Like

Hi,
Please send a minimal patch that illustrates your issue.
T.

abs2rel.maxpat (34.7 KB)

I use keyboard arrows and +/- keys to move listener.

The problem in your patch is the spat5.osc.routepass /listener.
Due to this route, the spat5.abs2rel object does not receive the source positions, therefore it doesn’t output anything.


----------begin_max5_patcher----------
2958.3oc6cszaiiiD9bxuBAg9zttS3S8XOs6fEXtrCvBrG1CYFDHay3ntkkL
jjSR2Cl+6KEeHS4XIQmHp1YwjdfsIoj4W8UEKVEEMme+5q7WV7Bqx26u4cm2
UW86We0UhpZp3JU4q72l7xprjJwk4WsKoldSQ0padJk8r+B4kTruNiUW+scL
42ku+BO+z75l2789M0Uwu0UOllu49R1pZ4Eh.2.V3ghkuEHdKj+Z68jueaZN
+6Vz6vCUJ6QQsXUsoqEHrX4W9LwusKKS1xpYk2yxSVlIfGnoo+35qadYgkhc
N6Y92q9asl8h.+9YEIqWljuoWdPz33D.ldCIl+GI.SoQv3vEdThfRfmGW.eM
Wf8mN4Up8SVVgJYYCp7sQqSiugxU2z2hfhdsfhPZDUk7Da88753838I00koK
2WKsyupUfGv3PxVmKmskUUkrg8JR61rzpZVNq71W91289Dz6SHuOg6m8Fh4h
nMTFDD0vYPHZXpCYqMBYJMR14oEXuhxTVdcRcZQ96Qdi.RwMbXwEXq3Ri8M6
RV4wVFOjlwdhUV0f6CeEW4mramQ0WYbKMTyWJDeQQKZqJMWVErspR1So56mz
VaRIWvq4R89RAs3+Rf1EVyWSwZVY99Tw2jrRtRRAIg5HmaGyGatRdyMZMcyG
nRBrg8hDtUffPQoPH9.YxU2axJV8U1ZCxjqv1wxSy2UxpZUklMul8Px9r56e
nHutJ86BDHrKOQ6OnP3IarQFDv+eTll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62yGfxP064+Erb8eb8+CPxk9Lk
-----------end_max5_patcher-----------
1 Like

Thanks for the quick reply, Thibaut. I have to vary source aperture and thats why I used spat5.osc.routepass /listener so that I can send the listener informations to spat5.abs2rel and messages related to source directly to spat5.oper. Because, if I send aperture information via spat5.abs2rel, it will create error. Is there a different way to do that? But I guess even if I use spat5.osc.routepass /listener, spat5.abs2rel receives the same message, right?

Ah OK. Right, I forgot about aperture.

Here is how you could do it :
(NB : I might improve spat5.abs2rel, in future versions, so that aperture messages are bypass)


----------begin_max5_patcher----------
3179.3oc6ckzaiiiE9bxuBAi5zLob3pVlSyzX.5KSCL.yg4P5FAx1JNpJYIC
I4jTUi9+dSwEYJGQIZGQaW.c5F1ljZ489d6TTr98auY1hh2Rpl48O7dv6la9
8au4FdWMcbir8My1D+1xr3J9gMqZabMcdQ0x4ujl75r6DGR5J9fEK9xmgHUm
aiKi2jTmT9XRd7hrjlCAHGKe2lhc0YI07qJV1qnq5usMQPRylcm2rz75lul4
8asW25kOmlu9wxjk0hCDgfyA24QffluPznluvgyAsmD6Fllqtevl99iaus4i
6rjweJqfcM5igAGOCiFhgWDmudO29TQ4lXNa5al+wTNiGx+T76FDY539MIUU
wqSTbZcxa767r6qJ1UtL4d38eK9UuOA6CeZ6rKF.MhACIokbJDDx+BhGlWQS
ojN5xKnQ3KtfNdaRY8txj9k1ASovVxstTXmm7JireG6V+b4td3N5jxcRmV9B
wXvzKLMvb68gmtNufIIUB2+VqvsGdGM630vGl+E7cj3KzXJyxNqheIY0iLBh
ccdLtttLcwtZQLraZggAMQ0GbS71ssCyGkCwGKPOZTQxkHnHGQabXRY.KQzJ
ZN045WYEwq391dONfORCnttHGfImShX+Q7wTZHLJf4bjblsmhWTgJSx5yxwQ
lNXwWAT2a4b5lFFCnjkVUmjmTd+ae66rXIdeB48IbelN3ozoaHswZnMhB5rE
QYqmhg8JJSSxqiqSKx6KFSzzyuh7EfvQhw.zuNIkGpY7TZVxKIkUMz8dB5lY
LenZcei1oz.M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gTW
tGj6S+dM70AYuJRTtidhYYGXdHc54vS.oA+XxopxNNcC7Vk+9sWwA9j.N4iC
IXHmkHGXychlpVCcmjAd2Ys4H0qm0YT0+vU7PiasoUBF+VfMJq+kfbZbH+kE
K9KX93sWhF2bYRDOesJKkkvy+uIangjSZHgXhtz+XhnEwrS8SY6RF1Ga7xkr
aPGYCF1nDzHQ7ay1IRpWL0D3OWljjezTHngjn3l+Z9EzOjkL1jRb74c6mYwL
OZZqAn.bMaZDBR43HTWy93IPQp5F92Joa+ia+STv7IIH
-----------end_max5_patcher-----------
1 Like

Thank you very much, T :grinning: