Oct 1, 2010 at 8:56pm
I’m trying to create an Auvi object inside a js object, like so:
…but receive the error:
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,
Oct 1, 2010 at 11:02pm
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.
Oct 2, 2010 at 1:10am
Thanks — worked perfectly!
I will add this into the the next Auvi update (…which, realistically, might not be until the end of the year).
You must be logged in to reply to this topic.