Copying one matrix to another
To set matrix “B” to have the contents of matrix “A”, you simply send “A” to “B”. (More specifically, you cause matrix “A” to send a jit_matrix message to matrix “B”.) The trick, though, is to suppress thruput on matrix “B” by setting its @thru attribute to 0 (it’s 1 by default), so that you can set and recall its contents independently.
So if matrix “A” is the one that has the most recent settings, and matrix “B” is the one that has the previous settings, you can bang matrix “B” to get it to send out the previous settings, compare those to the settings of matrix “A”, and then set the contents of matrix “B” to be those of matrix “A”. Note that matrix “B” has the attribute @thru 0.