I need to store and recall various states of an 8×8 matrix.
I want to use a jit.matrix with 8 planes, selecting one plane at a tine to work with.
However, I can’t seem to find any info on how to do this, other than using jit.pack and jit.unpack.
I see that jit.fill has a @plane attribute, but I can’t seem to find anything equivalent that would let me work with individual cells (or planes).
what’s wrong with pack/unpack ?
It might be a very large number of planes, and I would prefer to just change one number, instead of adding lots of inlets/outlets/patch cords. However, pack/unpack will probably work for now.
Is it possible to use srcdim/dstdim with a parameter to indicate the planes?
i’m not really sure what you’re trying to do, but you can’t have more than 32 planes in a matrix. perhaps the jump and offset messages to pack/unpack will be of use?
It seems like jit.matrixset might be the thing…
You might be interested in this article:
The article covers different ways that a matrix can be used as a multidimensional data storage and interpolation structure.
Wow, extremely useful. This is very much in line with what I’m trying to do. Thanks!
the link above is dead but i think i still found it… (this is exactly what i was looking for :)
Log in to reply
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.