I’m trying to create an Auvi object inside a js object, like so:
var abstract = new JitterObject("au.abstract");
…but receive the error:
missing arguments for message "au_abstract"
Outside of js, the object instantiates fine without any arguments.
For what it’s worth, in the original Auvi C code, the class name is defined as "au_abstract" and the matrix calculation method as "jit_abstract_matrix_calc(…etc…)"
Thanks for your help,
As long as all of your functionality is in your Jitter class and not the Max wrapper class, the solution is simple, but it will require a recompile. You just need to make your jitter constructor typed–i.e. not A_CANT. So if you need to get arguments, you should use A_GIMME. If you don’t take any arguments internal to your au_ class constructor, you can just remove the A_CANT.
For more details, please see the Jitter Object Model "constructor/destructor" section from the SDK.
Let us know if you encounter any problems.
Thanks — worked perfectly!
I will add this into the the next Auvi update (…which, realistically, might not be until the end of the year).
C74 RSS Feed | © Copyright Cycling '74