different matrixes into jit.gen inlets

Feb 19, 2013 at 11:33am

different matrixes into jit.gen inlets

yo guys,

I was wondering if i can send 2 different type of matrixes into 2 different inlets of a jit.gen object? For example i send a (jit.matrix 8 float32 30 2) to IN1 and (jit.matrix 1 float32 5 5 5) to IN2…
So for every item in IN1 (60 times) i can calculate a a 3D vector based on some of the data of the 8 planes, normalize it and sample this vector from IN2.

But somehow I cant sort this out, as it seems IN2 is always waits the same kind of matrix as IN1.

Any ideas? Thanx in advance,

Feb 19, 2013 at 6:49pm

the matrices must have the same dimensions and type. i believe planecount can differ.
perhaps jit.scanwrap will be useful.

Feb 20, 2013 at 11:45am

thanx Rob!


You must be logged in to reply to this topic.