I have a jitter external and I want to have it output a matrix of its own accord, i.e. without having to bang it or send a matrix in. Basically the object receives data from another application (via UDP sockets) and when it gets the right message I want it to output a matrix.
This is the same functionality that jit.net.recv has, but I can’t find any discussion of how it does it.
My current working version requires a qmetro set at 0.1ms, and I have the object check a flag to see if it has received the right message and if so output a matrix. However this is neither satisfying or efficient!
Can I get a handle to the MOP from the max object pointer (i.e. *x)? If so, it seems I could call max_jit_mop_getoutput and get the matrix. Or is there something else I’m missing? I have the object launching its own thread in order to receive data, will I be able to output a matrix from there? (it seems jit.net.recv is doing the same, so hopefully yes)
Thanks in advance (and hit me with any questions for clarification)!