Forums > Java

send() : how to specify inlet object – not getInlet() !

July 25, 2012 | 1:38 pm

Hello,
Java beginner here!
Is there a way to pick out a specific inlet of a jitter object which has many:
I’m using a [jit.gl.multiple] but not able to initialize the object with a position matrix and a scale matrix.
How will I tell it which "inlet" has to receive the appropriate matrix?
Please help.

/////////fragment of code///////
mymultiple = new JitterObject("jit.gl.multiple",new Atom[]{Atom.newAtom("mycontext")});
mymultiple.setAttr("targetname", "cir");
mymultiple.setAttr("glparams", new String[] {"position", "scale"});
mymultiple.send("jit_matrix", positionmtrx.getName());
mymultiple.send("jit_matrix", scalemtrx.getName());


July 26, 2012 | 2:26 pm

Hello again, It’s hard to find a documentation about this, is it at least possible to deal with inlets objects functionality in Java?
Actually I’m using the send() method, but any example would help starting.


August 1, 2012 | 11:35 pm

Wu, Please Help, I’m not trying to build a rocket, I just want to learn and find this: how do you route your matrix to the second parameter of a jit.multiple called in java? None using this object in java? I can give the full code if needed.


August 8, 2012 | 9:02 pm

Hi, I’m sorry to insist, but can someone explain if it is at least possible to use jit.gl.multiple in java.
I’m on a cool project with Max (like this: http://cycling74.com/project/electronight/) and absolutely want to use this object in java.
Should I write straight to Cycling staff? Please help, java people!


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