Jamoma API  0.6.0.a19
TTWindowFunctionLib.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspWindowFunctionLib
4  *
5  * @brief WindowFunctionLib: Extension Class for Jamoma DSP
6  *
7  * @details This library provides a set of window functions that can be used for e.g., granular synthesis and spectral processing.
8  *
9  * @authors Tim Place, Trond Lossius
10  *
11  * @copyright Copyright © 2009 by Timothy Place & Trond Lossius @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 "TTDSP.h"
17 
18 #include "TTBartlettWindow.h"
19 #include "TTBlackmanWindow.h"
20 #include "TTBlackmanHarrisWindow.h"
21 #include "TTExpodecWindow.h"
22 #include "TTGaussWindow.h"
23 #include "TTHammingWindow.h"
24 #include "TTHanningWindow.h"
25 #include "TTKaiserWindow.h"
26 #include "TTNuttallWindow.h"
27 #include "TTRectangularWindow.h"
29 #include "TTTrapezoidWindow.h"
30 #include "TTTukeyWindow.h"
31 #include "TTWelchWindow.h"
32 
33 #include "TTWindowFunction.h"
34 
35 
36 /** Register classes for all of the window functions.
37  @return #TTErr error code if the method fails to execute, else #kTTErrNone.
38  */
39 extern "C" TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_WindowFunctionLib(void)
40 {
41  TTDSPInit();
42 
43  BartlettWindow::registerClass();
44  BlackmanWindow::registerClass();
45  BlackmanHarrisWindow::registerClass();
46  ExpodecWindow::registerClass();
47  GaussWindow::registerClass();
48  HammingWindow::registerClass();
49  HanningWindow::registerClass();
50  KaiserWindow::registerClass();
51  NuttallWindow::registerClass();
52  RectangularWindow::registerClass();
53  RosenbergGlottalPulseWindow::registerClass();
54  TrapezoidWindow::registerClass();
55  TukeyWindow::registerClass();
56  WelchWindow::registerClass();
57 
58  WindowFunction::registerClass();
59  return kTTErrNone;
60 }
61 
Hanning Window Function Unit for Jamoma DSP.
Expodec (Exponential Decay) Window Function Unit for Jamoma DSP.
TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_WindowFunctionLib(void)
Register classes for all of the window functions.
Trapezoid Window Function Unit for Jamoma DSP.
Nuttall Window Function Unit for Jamoma DSP.
Jamoma DSP Library.
Blackman Window Function Unit for Jamoma DSP.
Gauss Window Function Unit for Jamoma DSP.
Kaiser Window Function Unit for Jamoma DSP.
Generalized Window Function Wrapper for Jamoma DSP.
Welch Window Function Unit for Jamoma DSP.
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
Rectangular Window Function Unit for Jamomoma DSP.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
Bartlett Window Function Unit for Jamoma DSP.
No Error.
Definition: TTBase.h:343
Rosenberg Glottal Pulse Window Function Unit for Jamoma DSP.
Tukey Window Function Unit for Jamoma DSP.
Hamming Window Function Unit for Jamoma DSP.
Blackman-Harris Window Function Unit for Jamoma DSP.