## Convert jit.matrix to list

Sep 18 2008 | 1:45 am
Hi, would it be possible to convert the values of a jit.matrix into a list?I just need the values of the matrix but in a list format, in a message box that I could send to an object that receives lists.
Thanks!

• Sep 18 2008 | 1:57 am
The ability to search the integrate docs you have in Max would have saved you some trouble.
jit.spill
• Sep 18 2008 | 2:13 am
Thanks! I actually did look at the integrated doc in Max 5, but couldn't find this object. This is what I needed.... now, if instead of using jit.matrix I use matrixclt for instance, how could I achieve the same result? (convert values into a list).
Best!
Rodrigo
On Wed, Sep 17, 2008 at 9:57 PM, Gregory Taylor wrote:
> > The ability to search the integrate docs you have > in Max would have saved you some trouble. > > jit.spill > -- > knowledge is not enough/science is not enough/Love is dreaming this > equation >
• Sep 18 2008 | 2:54 am
On Sep 17, 2008, at 7:13 PM, Rodrigo Cadiz wrote: > This is what I needed.... now, if instead of using jit.matrix I use > matrixclt for instance, how could I achieve the same result? > (convert values into a list).
I have an example called FungibleData, which can be found on my Max examples page: http://www.xfade.com/max/examples
This example copies back an forth between many of Max's "bulk storage" data types.
That said, depending on what exactly you're trying to do, the getrow message to matrixctl outputs a list for the requested row. Maybe that's all you need?
-C
• Sep 18 2008 | 3:06 am
Hi Chris, I need all the values of the matrix into a list, not only one row. I could go iteratively through all the rows and concatenate them into a unique list... but that does not sound very efficient to me. BTW, how do you concatenate several lists into one? Thanks! Rodrigo
On Wed, Sep 17, 2008 at 10:54 PM, Chris Muir wrote:
> > On Sep 17, 2008, at 7:13 PM, Rodrigo Cadiz wrote: > >> This is what I needed.... now, if instead of using jit.matrix I use >> matrixclt for instance, how could I achieve the same result? (convert values >> into a list). >> > > > I have an example called FungibleData, which can be found on my Max > examples page: http://www.xfade.com/max/examples > > This example copies back an forth between many of Max's "bulk storage" data > types. > > That said, depending on what exactly you're trying to do, the getrow > message to matrixctl outputs a list for the requested row. Maybe that's all > you need? > > -C > > > > > >
• Sep 18 2008 | 3:29 am
On Sep 17, 2008, at 8:06 PM, Rodrigo Cadiz wrote:
> I need all the values of the matrix into a list, not only one row. I > could go iteratively through all the rows and concatenate them into > a unique list... but that does not sound very efficient to me. BTW, > how do you concatenate several lists into one?
[zl join] will glue lists together.
Maybe you should post your patch so we can see what you're trying to accomplish.
-C
• Sep 18 2008 | 3:32 pm
Hello Rodrigo,
Hope you are well. Will the flctk and its documentation be back online eventually? Do you think it will be functional in Max5 or only in 4?
Thank you.
All the best, Klaas-Jan
• May 11 2014 | 2:35 pm
hi, unfortunately the link mentioned in the last post is dead... is there any easy solution to this? i'm asking since i plan to compress a matrix with videodata with sadam.lzo (which accepts messages as input) and then save the compressed matrix to disk somehow. later i would need to read back this data, decompress and then convert it back into the original matrix. any hints on how to go on about this? thanks! karl
• May 13 2014 | 6:25 pm
bump... noone any idea? it's i tried already everything via quicktime but everytime quicktime kicks in, things slow down a lot. this is why i'm thinking maybe binary lzo-compression might be a way. the data i want to compress is 720p uyvy+alpha video but it's always just a tiny area of the screen so even some very mild compression which just compresses the black/empty areas would probably save me 4/5 of the data...
• May 16 2014 | 12:39 pm
sorry for being persistent but... i checked some more and played around with spill and fill and string matrixes and stuff but regardless there is a maximum message size so this whole approach is crap.
so... are there any other ways to compress matrixes without using quicktime? simple but fast run length encoding would perfectly be sufficient. thanks for any input!! k