comparison trunk/src/Modules/SSI/ModuleSSI.h @ 420:733a11a65f3d

- Allow processing without re-initialization.
author tom@acousticscale.org
date Tue, 26 Oct 2010 04:48:56 +0000
parents 7a573750b186
children
comparison
equal deleted inserted replaced
419:31d2b3f2c13b 420:733a11a65f3d
22 */ 22 */
23 23
24 #ifndef AIMC_MODULES_SSI_SSI_H_ 24 #ifndef AIMC_MODULES_SSI_SSI_H_
25 #define AIMC_MODULES_SSI_SSI_H_ 25 #define AIMC_MODULES_SSI_SSI_H_
26 26
27 #include <vector>
27 #include "Support/Module.h" 28 #include "Support/Module.h"
28 29
29 namespace aimc { 30 namespace aimc {
30 using std::vector; 31 using std::vector;
31 class ModuleSSI : public Module { 32 class ModuleSSI : public Module {
54 int buffer_length_; 55 int buffer_length_;
55 int channel_count_; 56 int channel_count_;
56 int ssi_width_samples_; 57 int ssi_width_samples_;
57 float ssi_width_cycles_; 58 float ssi_width_cycles_;
58 float pivot_cf_; 59 float pivot_cf_;
60 vector<float> h_;
59 61
60 bool do_pitch_cutoff_; 62 bool do_pitch_cutoff_;
61 bool weight_by_cutoff_; 63 bool weight_by_cutoff_;
62 bool weight_by_scaling_; 64 bool weight_by_scaling_;
63 bool log_cycles_axis_; 65 bool log_cycles_axis_;