< Back to IRCAM Forum

Spat5.matrix takes a long time initiating

Hi!

Since I’ve updated to 5.3.5 (and just recently to 5.3.6) i found out that initiating spat5.matrix with a large amount of in/output takes a very long time to initiate. Sometimes in the order of minutes! It increases with the amount of channels I use which makes sense, in a way. But it’s also ‘new’; causing my patch with multiple 1 > 128 matrix controllers to take at least 6 minutes to load.

I guess it’s not, but is this expected behaviour?

Thanks,
– Dennis

(Running spat5 3.5.6 within Max 9.1.2 on MacOS 15.7.3, on a 2021 M1 Max Macbook Pro)

Hi Dennis,

Thanks for the report and sorry for the inconvenience.
Of course this is not expected behaviour.
Just tested on my computer (with a setup very similar to yours), and the initialisation of spat5.matrix looks normal (i.e. “instantaneous”).

Could you please send (me) a patcher that causes problem on your side ? I suspect the issue is not only due to initialisation, but maybe also to some messages triggered when the patcher is loaded. So I’d like to investigate in more details.

Thanks,
T.

Hi Thibaut,

Thank you very much for taking the time.

My question about the ‘expected behaviour’ came from the idea that the total amount of cross-points might be of any concern. Since - after some more testing - it seems that the ‘trouble’ is on the combination of @inputs and @outputs.

What I’ve tried during initiating:

  • @inputs 1 @outputs 128: no problem
  • @inputs 1 @outputs 256: no problem
  • @inputs 8 @outputs 256: no problem
  • @inputs 64 @outputs 256: verrrryyyyyyy slow (> 4 minutes)
  • @inputs 128 @outputs 256: crash (or so slow I didn’t want to wait anymore… :-))

I’ve also tested it reversed (so with the many @inputs compared to the @outputs): same results

Just to be sure I re-installed spat5 again before testing it. It might very well be something on my computer, but I just cannot seem to pinpoint what it could be. All other objects that I use (for instance spat5.matrix~) work just fine, also with the larger channel counts.

Please tell me where to send the file, I cannot upload anything (yet) since I seem to be new user :blush:

Thank you!
– Dennis