Jit. iter outputs lists?

Jul 4, 2012 at 11:09am

Jit. iter outputs lists?

Trying to use the jit. iter to output two seperate lists of cell numbers and values for a 2-dimensional, 1 plane, 8×8 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.

Jul 4, 2012 at 11:31am

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…

Jul 4, 2012 at 4:41pm

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


You must be logged in to reply to this topic.