strange s/r message order in max
when make a Send object [call it sA]， i can’t predict the order of the the rAs and it’s always jumping.
Firstly I found the order of the receive is the order you created it, but it changed after i close the file and open it again.
the order is totally reversed…..
I think this is a bug in Max, or I just didn’t get the right point.
Please Help me, Thanks a lot.
this is no bug… that’s just how Max works. You can’t make any assumption on the order in which a message will be passed from one [send] to several [receive]s. Btw, this is why I generally don’t like send/receive!
I’ve never tried this (and it has ‘bad practice’ written all over it), but if the order can be predicted in the way you describe (i.e. by order of instantiation) then it would follow that the behaviour you want could be achieved via scripting with [thispatcher]. That way you could create the [receive]s dynamically, in a set sequence every time you open the patch.
Thanks for all reply.
goodparleyandorfing, I don’t get your point of "make it dynamically", could you give me more details about it?
As Andrea mentioned, send/receive order is not guaranteed, you should never rely on it. What does it mean?
#1 they are cases where order doesn’t matter… so you might be fine.
#2 if order matters consider using trigger and multiple send/receives
You should follow the other advice in this post: what I proposed was very much me thinking aloud, and a far from viable solution even if it works. (That said, this hastily cobbled together experiment does seem to substantiate my hypothesis…)
----------begin_max5_patcher---------- 1039.3ocyY98iZiCDG+Y3uhQoU5jNQQw1Ilj6dgS2S8kJc5drc0oPh6haAmn DC61V0+2O+CRJrPHj.IKOPLXL1e8mYhmYB+X7HmEoOyJbf+.9HLZzOFOZjoK cGi184QNqidNdUTgYXNwoqWyDRmI1uSxdVZ5+uWxh+JHWx.0vgm3hjzmJGzm SERQzZlYf+UNOZU02j+3BcutSc20iXyZtXESZVMzdSPA+6lI.gqFaVjLdIW7 3+kyhk1MA1Obp+D.iopQAHpoAqld3ges.oajkqP4TwSLhKcwWdWH0Q22OGOV eYxUxk+kwVW.xT3oz7uNAVrQBuGVFskI9MIHYERVBvEJnI9FDmJR3RdpnX5z okyzJtfEmtQXlN7qFQQA38HJgzFhFP5BQWyJJhdjcDQKhy4YRMrTfQBJv8Qx CfKjkyERD3dVvYEp7aYL6tywoZaTOSOff3VSPjKdlwMLvzfH9FDhpEgniQnO tmQHtBg36PDFDhuZB12NgnJBRtCI3L+q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