Jamoma API  0.6.0.a19
PlugtasticOutput.h
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup audioGraphPlugtastic
4  *
5  * @brief Manage output signals from Plugtastic
6  *
7  * @details
8  *
9  * @authors Timothy Place
10  *
11  * @copyright 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 #ifndef __PLUGTASTIC_OUTPUT_H__
17 #define __PLUGTASTIC_OUTPUT_H__
18 
19 #include "TTDSP.h"
20 
21 
22 /** TTGain is an exceptionally simple audio processor scales an input audio signal */
25 
26 protected:
27 
28  TTFloat64 mGain; ///< linear gain to be applied to the input signal
29 
30  /** A standard audio processing method as used by Jamoma DSP objects.*/
32 
33  /** setter for converting gain input from db to linear. */
34  TTErr setGain(const TTValue& newValue);
35 
36  /** getter for converting gain input from linear to db. */
37  TTErr getGain(TTValue& value);
38 
39  /** set the gain using midi units. */
40  TTErr setMidiGain(const TTValue& newValue);
41 
42  /** retreive the gain in midi units. */
43  TTErr getMidiGain(TTValue& value);
44 
45 };
46 
47 
48 #endif // __PLUGTASTIC_OUTPUT_H__
TTGain is an exceptionally simple audio processor scales an input audio signal.
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
TTErr getMidiGain(TTValue &value)
retreive the gain in midi units.
#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 Jamoma DSP objects.
TTErr setMidiGain(const TTValue &newValue)
set the gain using midi units.
TTFloat64 mGain
linear gain to be applied to the input signal
TTErr setGain(const TTValue &newValue)
setter for converting gain input from db to linear.
A simple container for an array of TTAudioSignal pointers.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
TTErr getGain(TTValue &value)
getter for converting gain input from linear to db.
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34