int TTCLASSWRAPPERMAX_EXPORT main(void) { WrappedClassPtr w; TTDSPInit(); TTLoadJamomaExtension_EffectsLib(); TTLoadJamomaExtension_FilterLib(); return wrapTTClassAsMaxClass(TT("limiter"), "tap.limi~", &w); }
extern "C" int C74_EXPORT main(void) { WrappedClassOptionsPtr options = new WrappedClassOptions; WrappedClassPtr c = NULL; TTValue v(2); TTDSPInit(); TTLoadJamomaExtension_EffectsLib(); options->append(TT("fixedNumOutputChannels"), v); wrapTTClassAsMaxClass(TT("panorama"), "tap.pan~", &c, options); CLASS_ATTR_ENUM(c->maxClass, "mode", 0, "calculate lookup"); CLASS_ATTR_ENUM(c->maxClass, "shape", 0, "equalPower linear squareRoot"); return 0; }