setcell message in jit.matrix object

Oct 23, 2012 at 3:07am

setcell message in jit.matrix object

Hello all.

I want to make 4 corners black.
If I send bang manually, it’s fine. I can get all 4 corners black.
However, if I turn on the metro, only first setcell message from trigger object is effective.

It’s fine if I get rid of all the bangs in message box and get bang from trigger object and connect to jit.matrix.

Thank you advanced
Jin

– Pasted Max Patch, click to expand. –
#64873
Oct 23, 2012 at 3:22am

just use qmetro instead of metro and it should work

#233923
Oct 23, 2012 at 3:49am

Thank you Terry.

Yes, qmetro works just fine.

Can you tell me why it’s happening in the first place?

#233924
Oct 23, 2012 at 8:43am

I had another look at your patch and got rid of the bang messages coming from the message boxes, and now it works without the need to use qmetro (you also needed to have a master render bang sent to the matrix, to ‘push’ the matrix out to the pwindow after your setcell messages):

– Pasted Max Patch, click to expand. –

but to answer your question, I think qmetro puts the bangs into a low-priority queue so that renders to the pwindow are guaranteed to be completed, even if it means making the next bang message wait. In your patch the problem was evidently too many redundant bang messages clogging up the render queue.
– but it’s generally good policy to use qmetro when making jitter patches anyway

#233925
Oct 30, 2012 at 9:36am

I see….that is the low-priority queue thing…
I always had problem to understand that….
I see now.
Thank you.

#233926

You must be logged in to reply to this topic.