Jamoma API  0.6.0.a19
TTCircularEaseInFunction.h
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspFunctionLib
4  *
5  * @brief #TTCircularEaseInFunction Unit for Jamoms DSP
6  *
7  * @details Modeled after shifted quadrant IV of unit circle @n
8  * @n
9  * Derived from Sam Hocevar's public domain C/C++ implementation of
10  * Robert Penner easing functions
11  *
12  * @authors Trond Lossius
13  *
14  * @copyright Copyright © 2014 by Trond Lossius @n
15  * This code is licensed under the terms of the "New BSD License" @n
16  * http://creativecommons.org/licenses/BSD/
17  */
18 
19 
20 #ifndef __TTCIRCULAREASEINFUNCTION_H__
21 #define __TTCIRCULAREASEINFUNCTION_H__
22 
23 #include "TTDSP.h"
24 
25 
26 /** This implements a function which basically does nothing:
27  y = f(x)
28  */
31 
32 protected:
33 
34  /** y = f(x) for a single value */
35  inline TTErr calculateValue(const TTFloat64& x, TTFloat64& y, TTPtrSizedInt data);
36 
37  /** A standard audio processing method as used by TTBlue objects.*/
39 
40  /** Unit Tests */
41  virtual TTErr test(TTValue& returnedTestInfo);
42 };
43 
44 
45 #endif // __TTCIRCULAREASEINFUNCTION_H__
This implements a function which basically does nothing: y = f(x)
TTAudioObjectBase is the base class for all audio generating and processing objects in Jamoma DSP...
Jamoma DSP Library.
double TTFloat64
64 bit floating point number
Definition: TTBase.h:188
virtual TTErr test(TTValue &returnedTestInfo)
Unit Tests.
#define TTCLASS_SETUP(className)
TODO Doxygen: need more comments here.
Definition: TTFoundation.h:54
TTErr processAudio(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
A standard audio processing method as used by TTBlue objects.
A simple container for an array of TTAudioSignal pointers.
long TTPtrSizedInt
An integer that is the same size as a pointer.
Definition: TTBase.h:240
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
TTErr calculateValue(const TTFloat64 &x, TTFloat64 &y, TTPtrSizedInt data)
y = f(x) for a single value
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34