Forums > MaxMSP

A simple select and matrix ctrl issue

February 21, 2012 | 7:12 am

So, I’ve quite often had this little error happening in my program, but finally I have a simple way to illustrate it.

Quite often when I use select, in this case ‘select 0′, it seems to bang when it looks to receive a 1.

Upon closer inspection and tweeking, I’ve figure out that matrixctrl seems to send out two messages at times, one for mouse up, and one for mouse down. So if ‘select 0′ has just fired, and then I choose another value in matrix ctrl, and hold the mouse down, it bangs again, and on the release, shows a new number. Damn little programming weevils…

But I haven’t seen anything in the inspector to de-select this double message dilmemma. I’ve included a short patch below to illustrate. Any ideas?

– Pasted Max Patch, click to expand. –

February 21, 2012 | 7:51 am

matrix sends a message to turn off the previous cell before it sends the current cell:

– Pasted Max Patch, click to expand. –

February 23, 2012 | 12:11 am

Aha, that makes sense now!

Thanks Chris! :)


Viewing 3 posts - 1 through 3 (of 3 total)