Jamoma API  0.6.0.a19
GeneratorLib.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspGeneratorLib
4  *
5  * @brief GeneratorLib: Extension Class for Jamoma DSP for generating/synthesising various signals
6  *
7  * @details This library generates various signals that can be used for e.g. synthesis.
8  *
9  * @authors Tim Place, Trond Lossius
10  *
11  * @copyright Copyright © 2009 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 "TTDSP.h"
18 #include "TTAdsr.h"
19 #include "TTCount.h"
20 #include "TTNoise.h"
21 #include "TTPhasor.h"
22 #include "TTPulseSub.h"
23 #include "TTRamp.h"
24 #include "TTWavetable.h"
25 
26 
27 /** Register the classes of this extension.
28  @return #TTErr error code if the method fails to execute, else #kTTErrNone.
29  */
30 extern "C" TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_GeneratorLib(void)
31 {
32  TTDSPInit();
33 
34  TTAdsr::registerClass();
35  TTCount::registerClass();
36  TTNoise::registerClass();
37  TTPhasor::registerClass();
38  TTPulseSub::registerClass();
39  TTRamp::registerClass();
40  TTWavetable::registerClass();
41 
42  return kTTErrNone;
43 }
44 
GeneratorLib: Count the number of processed samples, starting from zero.
GeneratorLib: Generate a basic, cycling waveform using a wavetable.
Jamoma DSP Library.
TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_GeneratorLib(void)
Register the classes of this extension.
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
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
GeneratorLib: Noise Generator.
No Error.
Definition: TTBase.h:343
GeneratorLib: Generate classic ADSR envelope (attack, decay, sustain, release).