jit.matrix x y attribute

aestmb's icon

Hi Forum,

I'm a newbie trying to figure out if it is possible to change the x y values in a jit.matrix? What I try to achieve is writing a patch where you can change these values in the matrix using a fader or messages.

Just to be clear: it's the 7 6 i want to be able to change dynamically

jit.matrix foo 4 char 7 6

Best regards

MortenWB

Jesse's icon

Try the dim message.

Gregory Taylor's icon
Max Patch
Copy patch and select New From Clipboard in Max.

"dim" being short for "dimension," of course.

aestmb's icon

Hi guys,

so thats the way - thanks a lot for responding (and sorry i'm a bit slow to answer). I'll proceed deeper into the strange and beautiful jungle of the MaxMsp/Jitter language :)

aestmb's icon

Oh,

might I ask you Gregory, why "dim 80 60"? - I tried "dim 0 0" and that seemed to work just as well...

regards

Gregory Taylor's icon

Habit, I suppose. Since pak responds to any input, I suppose you don't care about initial state. I tend to.

aestmb's icon

Right-O :) thanks again.