Extract data of distinct cells in a jitter matrix

Adrian Gutzelnig's icon

Dear jitter-users,

I'm working on a multichannel sound installation with the amplitude of each audio channel being controlled by the RGB values of specific points (X/Y) in a matrix (char, RGB Video). Which object(s) would you use for doing that? I imagine the solution is pretty easy, however I'm new to jitter and couldn't find anything on the web so far.

Any hints are appreciated!

TFL's icon

Check the jit.matrix helpfile by alt/option + clicking a jit.matrix object (or right click -> "Open jit.matrix Help"), the solution is here. Simply send the following message to a jit.matrix: "getcell X Y" where X and Y are the coordinates of the cell you want the value from. Then you get the value from the rightmost outlet of the jit.matrix.

Max Patch
Copy patch and select New From Clipboard in Max.