Jamoma API  0.6.0.a19
j.allpass~.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup implementationMaxExternalsDSP
4  *
5  * @brief j.allpass~ : wrapping the #TTAllpass class as an MSP external
6  *
7  * @details
8  *
9  * @authors Timothy Place
10  *
11  * @copyright © 2010 by Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 #include "TTClassWrapperMax.h"
17 
18 int C74_EXPORT main(void)
19 {
20  WrappedClassOptionsPtr options = new WrappedClassOptions;
21  WrappedClassPtr c = NULL;
22 
23  TTDSPInit();
24  wrapTTClassAsMaxClass(TT("allpass"), "j.allpass~", &c, options);
25  CLASS_ATTR_ENUM(c->maxClass, "filter", 0, "allpass.1a allpass.1b allpass.2a allpass.2b allpass.2c allpass.4a");
26  return 0;
27 }
28 
int C74_EXPORT main(void)
Set up this class as a Max external the first time an object of this kind is instantiated.
Definition: j.allpass~.cpp:18
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
Definition: TTSymbol.h:155
void TTDSP_EXPORT TTDSPInit(const char *pathToBinaries=NULL)
Initialise the Jamoma DSP library, as well as Jamoma Foundation foundation if needed.
Definition: TTDSP.cpp:30