Async  1.6.0
AsyncAudioFsf.h
Go to the documentation of this file.
1 
31 #ifndef ASYNC_AUDIO_FSF_INCLUDED
32 #define ASYNC_AUDIO_FSF_INCLUDED
33 
34 
35 /****************************************************************************
36  *
37  * System Includes
38  *
39  ****************************************************************************/
40 
41 #include <vector>
42 
43 
44 /****************************************************************************
45  *
46  * Project Includes
47  *
48  ****************************************************************************/
49 
50 #include <AsyncAudioProcessor.h>
51 
52 
53 /****************************************************************************
54  *
55  * Local Includes
56  *
57  ****************************************************************************/
58 
59 
60 
61 /****************************************************************************
62  *
63  * Forward declarations
64  *
65  ****************************************************************************/
66 
67 
68 
69 /****************************************************************************
70  *
71  * Namespace
72  *
73  ****************************************************************************/
74 
75 namespace Async
76 {
77 
78 
79 /****************************************************************************
80  *
81  * Forward declarations of classes inside of the declared namespace
82  *
83  ****************************************************************************/
84 
85 
86 
87 /****************************************************************************
88  *
89  * Defines & typedefs
90  *
91  ****************************************************************************/
92 
93 
94 
95 /****************************************************************************
96  *
97  * Exported Global Variables
98  *
99  ****************************************************************************/
100 
101 
102 
103 /****************************************************************************
104  *
105  * Class definitions
106  *
107  ****************************************************************************/
108 
173 {
174  public:
187  AudioFsf(size_t N, const float *coeff, float r=0.99999);
188 
192  ~AudioFsf(void);
193 
194  protected:
203  virtual void processSamples(float *dest, const float *src, int count);
204 
205  private:
206  class CombFilter;
207  class Resonator;
208 
209  CombFilter * m_combN;
210  CombFilter * m_comb2;
211  std::vector<Resonator*> m_resonators;
212 
213  AudioFsf(const AudioFsf&);
214  AudioFsf& operator=(const AudioFsf&);
215 
216 }; /* class AudioFsf */
217 
218 
219 } /* namespace */
220 
221 #endif /* ASYNC_AUDIO_FSF_INCLUDED */
222 
223 /*
224  * This file has not been truncated
225  */
AudioFsf(size_t N, const float *coeff, float r=0.99999)
Default constructor.
The base class for an audio processor.
A Frequency Sampling Filter implementation.
~AudioFsf(void)
Destructor.
virtual void processSamples(float *dest, const float *src, int count)
Process incoming samples and put them into the output buffer.
Namespace for the asynchronous programming classes.
The base class for an audio processor class.