store lists in cells to create a matrix and look up with x y values

Laurens Lammers's icon

im trying to find a way to store lists and look them up with xy values. the lists are rhythms that get generated and the ml.som object from the ml.star package gives every list an x and y value. but I can't find a method to store lists in matrix or grid like fashion.

first post! hope anyone can help.

Len Richardson's icon

Hey Laurens,

what might help you is the jit.cellblock object.

Kind regards

Len

Laurens Lammers's icon

thx Len,

I will look into that some more, but I can still only get separate values in every cell. Not a list in every cell.

Laurens

Source Audio's icon

you can store much more than list with 2 values into single cell,
as seen in help file under setting values, you need set x y data message


Laurens Lammers's icon

thx! that should work.

I also made it work with a coll symbol object. converting the xy values to symbols with tossymbol.

thx for helping me out!