[newbie] playback a 2D matrix

Mar 13, 2010 at 11:51pm

[newbie] playback a 2D matrix

Hello,

I am having trouble converting a 2-D matrix in 1-D matrix. So I have a 256 x 256 matrix that I want to convert in a 1-D matrix and then feed into the buffer to play it. I tried using peek and poke but I am doing something wrong and nothing seems to work. Any help is much appreciated.

Thanks.

#49137
Mar 17, 2010 at 2:36am

Do you mean a Jitter matrix?
I would start with [jit.scanwrap] (to convert 2D->1D).
You could use other methods.

#176547

You must be logged in to reply to this topic.