Mercurial > hg > aimc
comparison src/Modules/SAI/ModuleSAI.h @ 5:3c782dec2fc0
- Ported over HTK file output
- Added some more meat to the Slaney IIR gammatone implementation
- Ported over the AIM-MAT sf2003 parabola strobe algorithm
- Finished making the SAI implementation compile
- Ported over the strobe list class (now uses STL deques internally)
author | tomwalters |
---|---|
date | Thu, 18 Feb 2010 16:55:40 +0000 |
parents | decdac21cfc2 |
children | fcbf85ce59fb |
comparison
equal
deleted
inserted
replaced
4:eb0449575bb9 | 5:3c782dec2fc0 |
---|---|
76 | 76 |
77 float strobe_weight_alpha_; | 77 float strobe_weight_alpha_; |
78 | 78 |
79 /*! \brief The maximum number strobes that can be active at the same time. | 79 /*! \brief The maximum number strobes that can be active at the same time. |
80 * | 80 * |
81 * A strobe lasts for strobe.maxdelay, there can only be a certain number | |
82 * of strobes active at the same time, that's this value. It's used for | |
83 * allocating memory buffers, like m_pUnfinishedStrobeCount and | |
84 * m_pStrobeWeights. | |
85 */ | 81 */ |
86 int max_concurrent_strobes_; | 82 int max_concurrent_strobes_; |
87 | 83 |
88 int fire_period_samples_; | |
89 int fire_counter_; | 84 int fire_counter_; |
90 | 85 |
91 //! \brief Period in milliseconds between output frames | 86 //! \brief Period in milliseconds between output frames |
92 float output_frame_period_ms_; | 87 float frame_period_ms_; |
88 int frame_period_samples_; | |
93 | 89 |
94 //! \brief Time of the last frame output | 90 float min_delay_ms_; |
95 float last_output_frame_time_ms_; | 91 float max_delay_ms_; |
92 int channel_count_; | |
96 }; | 93 }; |
97 } // namespace aimc | 94 } // namespace aimc |
98 | 95 |
99 #endif // _AIMC_MODULE_SAI_H_ | 96 #endif // _AIMC_MODULE_SAI_H_ |