I’m having problems using jit.matrix in conjunction with MIRA, and I suspect it has to do with some difference in the way floats are driven (by OSC vs. by clicking/dragging), but am not sure how to proceed.
I’m using sliders in MIRA to adjust float variables that are being fed into an equation, which is filling a jit.matrix.
Clicking and dragging the sliders/floats on my laptop updates my matrix, but adjusting the sliders/floats using MIRA does not update the matrix.
When using MIRA, the sliders back in my mira.frame object on my laptop are responding. Additionally, the connected floats and bangs are changing as expected, the values are passing through my expr object, but the jit.matrix doesn’t seem to be updating as jit.print, jit.spill, jit.pwindow, and jit.cellblock are not registering any changes.
If I'm on my laptop and I click/drag the sliders in the mira.frame, all works as expected. HOWEVER, if I start adjusting the sliders from MIRA and then go back to my laptop to click and drag the sliders, jit.print, jit.spill, and jit.cellblock stop registering changes BUT jit.pwindow will update.
I’m not sure what might be fundamentally different about the way the floats are driven (whether by OSC vs. by clicking and dragging) that might account for this issue.
A copy of the patch is found below. I tried it in Max 6 and 7 with similar results.
Any help would be greatly appreciated!