Jamoma API  0.6.0.a19
TTSineEaseOutFunction.h
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspFunctionLib
4  *
5  * @brief #TTSineEaseOutFunction Unit for Jamoms DSP
6  *
7  * @details Modeled after quarter-cycle of sine wave (different phase) @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 __TTSINEEASEOUTFUNCTION_H__
21 #define __TTSINEEASEOUTFUNCTION_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 // __TTSINEEASEOUTFUNCTION_H__
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
This implements a function which basically does nothing: y = f(x)
#define TTCLASS_SETUP(className)
TODO Doxygen: need more comments here.
Definition: TTFoundation.h:54
TTErr calculateValue(const TTFloat64 &x, TTFloat64 &y, TTPtrSizedInt data)
y = f(x) for a single value
A simple container for an array of TTAudioSignal pointers.
TTErr processAudio(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
A standard audio processing method as used by TTBlue objects.
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
virtual TTErr test(TTValue &returnedTestInfo)
Unit Tests.
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34