Jamoma API  0.6.0.a19
j.hilbert.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup implementationMaxExternalsAudioGraph
4  *
5  * @brief j.hilbert= : wraps the #TTHilbertLinear33 class as a hilbert filter external for AudioGraph
6  *
7  * @details
8  *
9  * @authors Timothy Place, Trond Lossius
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 
17 #include "maxAudioGraph.h"
18 
19 int C74_EXPORT main(void)
20 {
22  TTValue value(2);
24 
25  TTAudioGraphInit();
26 
27  options->append(TT("wrapperDefinesNumOutlets"), value);
28 // wrapAsMaxAudioGraph(TT("hilbert.9"), "j.hilbert=", &c, options);
29  wrapAsMaxAudioGraph(TT("hilbert.linear.33"), "j.hilbert=", &c, options);
30  wrapAsMaxAudioGraph(TT("hilbert.linear.33"), "hilbert=", &c, options);
31 
32  return 0;
33 }
34 
TTErr wrapAsMaxAudioGraph(TTSymbol ttClassName, char *maxClassName, MaxAudioGraphWrappedClassPtr *c)
Wrap an AudioGraph class as a Max class.
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
Definition: TTSymbol.h:155
A class representing the options of a MaxAudioGraphWrappedClass.
Definition: MaxAudioGraph.h:56
Type definition for an AudioGraph class wrapped as a Max external.
Definition: MaxAudioGraph.h:44
TTErr append(const TTSymbol &optionName, const TTValue &optionValue)
Append a new option to this class.
Definition: MaxAudioGraph.h:83
A thin wrapper of Jamoma AudioGraph for use in the Cycling '74 Max/MSP environment.
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.hilbert.cpp:19
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34