How to work with a single plane in a Jitter matrix?


    Nov 06 2009 | 9:47 pm
    I need to store and recall various states of an 8x8 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).

    • Nov 09 2009 | 6:13 pm
      what's wrong with pack/unpack ?
    • Nov 10 2009 | 2:50 am
      robtherich wrote on Mon, 09 November 2009 11:13what'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?
    • Nov 10 2009 | 5:14 pm
      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?
    • Nov 11 2009 | 2:40 am
      It seems like jit.matrixset might be the thing...
    • Nov 11 2009 | 6:34 pm
      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.
      Best,
      Andrew B.
    • Nov 11 2009 | 7:09 pm
      Wow, extremely useful. This is very much in line with what I'm trying to do. Thanks!
      andrewb@cycling74.com wrote on Wed, 11 November 2009 11:34You 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.
      Best,
      Andrew B.
    • Jan 21 2010 | 2:04 am
      the link above is dead but i think i still found it... (this is exactly what i was looking for :)