< Back to IRCAM Forum

Spat align use case

Hi Forum,
I’m using Spat system with a 1-meter radius setup and a spat5.speaker.config + a spat5.align afterwards to configure the actual position speakers and calculate the delays and gains accordingly.
spat5.align does its job perfectly rescaling gain and delays.
Since the frontal stereo speakers in the theatre are more powerful, I would like to reduce their gain manually by indicating the desired value in spat5.speaker.config. However, spat5.align does not seem to receive the manually entered values.
Of course, I can reduce the values by hand before the dacs, but is there a way for spat5.align to accept the configuration created within spat5.speaker.config including some manual assignments?


----------begin_max5_patcher----------
1032.3ocyWsziaaCD9r8uBAd1qsndYodJ.onE8Pe.TzSMAKnj35kYkHcIorc
ZP5u8xGxRxxzRqSS.pALoHmQbl4iyK8okK.4rSXAv6679SuEK9zxEKLao2XQ
65EfZzohJjvvFPrGIiWyDEqOPvGAqrrn1r3YBc2ibbgzdbga8W6uxKwLFDZl
h7USduu8knM0DZEVZNXX6ljRiXX4e3AX+oyQ0XIl+HlhxqvZN76ODVi77oD1
tqcK4G2isJC.rxCPnR8Dv68Zl97xk5gUe0saikBiMSgms66vrC++jYSwGU5z
YMRhOIGfFnJxN5+38FwdL5ELW3kLOt.sSgPiawMwkjqwk.fSae6srcgR4PUZ
S+9eBzoUBzAb4iJ4qLjGQRImj2HsgLK5vrabWYnY.76E1KX00X881Hb+6+ie
927d6u9K+vO8iS.0o1XtD831LCdmdOwcwtQZ+u.CQAVRFcd2ByXb23qWWeUQ
KZifPwErJF2JV+0aSiBgQqTOAih8yR0O4GDFGjoTmK0fAXvYUHe2fCy3KewP
2amqj6KeQx8J+4bDc22ff31f20EL5SjcdugPIxiD4yduCrok1FEFji4dIuCL
6MYquWbxzw2NtJyb60EMUtst+cRoDIQiCNGYGCxuzSSrofw0FCgQ2ThqPezn
XnFICLIu6PDpg0ZDsQm83JlQ3RqJ+PTrFUrUFL0EFs9gL+tMBzCiWq72G8Ji
13LNLvng8lilqwjCllbXO4f0YvvTe0OHLJJxO6JlitGlimVvISSFZ.9Mk4ZF
dHacXl9WBLMNzOXanCybH+INszAb3RjQywP7bLjLGCvMTURLi6DD3vF5nF.b
n+cTCANT9NpQ.GZdG0XfC0tiZRO0FQCe+frrpsNRnkriajDoM+K32smf2aMI
W.iY7.QPtLUcOsZ1A7473vwD4XA4uuI09B.WQJm0PKaa3MdqNlIMPmzJUW2I
aPzyY9QEuriqeoMWjEOMXqN6clex1jTSN742AdQ3Yq.X6Q+Uiac0.i4HtShO
0TUIJ3XL0M5oRiWSDtgVQApEd7G5D1gszRLWkaWgi6TUMMWjfay0S6ESdQ9T
ECII5ZWNH9LoDKXpiBoxld.IceD1tHTocqXhabu1xwP691LgNcMSXUoASdZX
aaaeSZ.z3..zMiL5qtLETqZg6953BVCu3bEu1pjdv9pcXgBZQ5BQC3Qk5vy+
FcJbOxweF4D7UPN5yHYF4DdgtTSJ2yTeTSK.Bigqi00AyzS1Qyh+iJFL7Uf.
YSoYVcQ8Yvc5k94KTKq6.Z+9CpFEZOZiFo5l3C1rMoqLKITVeiK.NVGwY4Ov
rChq5GSp7Qa31H1SI177fZlJPk1PZ8sMN1.Syg5r5pl.slsoGxked4+BGj5c
F
-----------end_max5_patcher-----------

Hi Lorenzo,

At the moment, spat5.align~ does not accept manually assigned gains/delays.
Maybe something that can evolve in the future…

However, spat5.align~ is nothing but delays and gains, so it’s fairly straightforward to replace it (see attached patcher).

Best,
T.


----------begin_max5_patcher----------
2728.3oc6as0aiiaE94jeED5whDaQcyV8oo6tnCJPmtKvhhhhLKBnknc3DYQ
WcIIyNXyu8xahRTlRV1INydKXFaYdHEOmuyEd3sub4ENqnOgKc.+UvMfKt3K
WdwEhh3Ebg52W3rE8TRFpTTMmb7izUex4JIoJ7SUhh2lLKmRJwOCdWxcn7RP
TSUxH43DZctnddpB2gpRtiju41BbRkr6CilEdEv20cl6UfE9he3OyE7SpljW
ukjmgqDrATUHIUz6LN55kNsUjVW0ulxhp97Nrr6b1VmUQ37ZNNqjrIGk4.9I
dc+kKuj+wUSDPRna2hYRWeDojIigyPYrW8y.TcJgB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8j64F1eztN7UPDg9SniLNFD82BaewlVyl
SK+vXne9ExV7yPPzA3J+w3Jn7JbBWD2xWhe7JXRbH3x6sxzyfWL2waCesd2H
Tde16lf16Vft+M.c3a+Y+a9oHpwP23yK+kK++ie8ZEC
-----------end_max5_patcher-----------

Hi T.
Yes, I saw this example from the helpfile.
Thank you!