jit.3m within javascript?

Dec 16, 2009 at 7:14pm

jit.3m within javascript?

Is it possible to use jit.3m within javascript? Can’t find anything in the docs, but I am assuming not, given Luke’s stat functions in the example file, ‘jstable.js’….

Thanks,
bd

#47234
Dec 16, 2009 at 10:06pm

If you notice in the jit.3m reference page, there are three gettable attributes: min, mean, max. Call matrixcalc method on the jit.3m object and then get the value you need. Something along the lines of:


var op3m = new JitterObject("jit.3m");

op3m.matrixcalc(inmat,null);

var themean = op3m.mean;

#169875
Dec 17, 2009 at 12:33am

Hi Joshua

I see… I’m using max 4.6/jitter 1.6 and had searched in the local html docs, which don’t have these params listed. Just found the new docs online.

Hope this works in 4.6/1.6. Will test this evening.

Thanks again,
bd

#169876

You must be logged in to reply to this topic.