Creating and filling a jitter-matrix with min-dev
Hi
I am trying to get my head around the min-dev API for creating a jitter matrix.
I would like to create a one dimensional matrix with 12 planes of type float32, fill it with data that is streamed via UDP/OSC and output it to be used within a [jit.gl.mesh].
I studied all the examples coming with the package that deal with jitter matrices (min.jit.clamp, min.jit.stencil, jit.mo.func) but I haven't figured out how to do this.
I already have the streaming part running (which will be handled by the same external) and only need to put the data into a matrix.
Can someone point me to code that does such a simple thing with min-dev?
hey Martin, it sounds like you want to make a generator type matrix object. the basic matrix functionality of min is geared more towards simple matrix processors, so there is not much documentation for other types of matrix objects. The jit.mo func and join objects are probably the best place to look, but I imagine they are difficult to decipher. You will likely have to employ some mix of min with old-school c-max type code to get what you want.
i'm happy to work with you on this. Slack group is probably the best forum this (either direct message or jitter-dev channel)
I've created a simple test project that demonstrates how to use min to create generator objects, you can check it out here - https://github.com/robtherich/min.jit
If anyone is interested in more of this type of thing, then your feedback is appreciated.
Hey Rob - thank you very much for this example - without it I would have never been able to realize my project.