Jit. iter outputs lists?

stoopchow's icon

Trying to use the jit. iter to output two seperate lists of cell numbers and values for a 2-dimensional, 1 plane, 8x8 matrix. I will then be using these numbers to drive a synth. As far as I know this is exactly the kind of thing jit.iter is made for yet when I attempt to unpack the output list all I get is the last cell number and it's value. I want the output in the patcher to be similar to what comes out in the Max Window. Anyone able to help me out? Thanks.

Tobias Rosenberger's icon

output is same as in max.window, but very fast so probably you only see the last numbers in your display-object (f.e. flonum); depending on what you want to achieve maybe you could also use jit.spill to unroll the matrix in a list and then you could unpack the individual elements...

stoopchow's icon

Thanks very much. Even though I had already been experimenting with the jit.spill object, what you said inadvertently led me to the solution. Cheers