Hello,
Wow, a 393-speaker, that’s an impressive DIY project ! Curious to know more about it !
As the name suggests, spat5.iko.decoder~
is designed for the IKO and cannot be used for other spherical arrays.
Also, decoding an HOA stream to a compact loudspeaker array requires a set of decoding filters. There’s (currently) no tools in the Spat package to calculate these filters.
(for the IKO, pre-calculated filters are included in the package, as wav files)
You’d have to compute these filters on your own. Then you can use Spat tools (such as spat5.hoa.slaconv~
) to render (i.e. convolve) the decoding filters.
Also, be aware that decoding to IKO is extremely CPU-intensive; it involves 16 x 20 x 2048 filters
(where 16 == 3rd order HOA, 20 = number of speakers in IKO, and 2048 is the typical FIR filter length)
In the case of a 393-array, I doubt this can operate in real-time.
as the final decoder and adjust the original output to 15?
why 15 ??
the differences between two approaches
spat5.hoa.encoder~
encodes a mono signal to 3rd order HOA.
This is equivalent to creating a beampattern with “hypercardioid” shape.
See the attached patcher.
Hope this helps,
T.
----------begin_max5_patcher----------
2099.3oc6Zk0iihCD94t+UfPiz9R2IXtBYeZ1U6y6eftWEY.mDOMfivl9XFM
8u80GbXH.ARmLyNRqT24nJSJWe0oK3a2diYH4UD0z32Mdv3la91s2bijjfvM
ke+FyT3qQIPpbYlQjzTTFy7NEOF5UljNEkfhX3rcFOZt+sCn7HXdLlfiez7N
i2HE+VRhAIjAwYF4HZQBiZPwo3DXtAiXPO.YdK1SfKPYQjXT96UBHAmghHEY
Ro3VRju5n8bYsImKS0t212Zg0cFqjuB7juIHY7OkWSXQXXBRrXPIEbrbmSB+
x8.mJ4kUjhyRPLp9J4DIErJpVBhe+1aEub2DgsLzKb4bDp8L50C4FeZKvXoA
v23yzHHGQR4HfAnWDvdXDv0QpzNJf.Xo9liFDnzAF25ntBSyZV5XAXFXA3Lv
hFicLldHA91BTZHJNFEWI3CbWDtSFjgIYZZXfiTkr7Dus1U9ptItGPwWACtk
9E1MuMBpb2PHi055cHLGlhXn7MnLXoek0XvltJMLbZe4bsRHv3TDk13H0G7n
bVrCTwKRf0FbFtL1WYelD7ynELXXkXdFlmwM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