Ulf@503: #ifndef CARFAC_H_ Ulf@503: #define CARFAC_H_ Ulf@503: Ulf@503: #include "CAR.h" Ulf@503: #include "IHC.h" Ulf@503: #include "AGC.h" Ulf@503: #include "Ear.h" Ulf@503: #include Ulf@503: Ulf@503: const double kDefaultFs = 22050; Ulf@503: Ulf@503: class CARFAC{ Ulf@503: public: Ulf@503: CARFAC(int, CAR_parameters*, IHC_parameters*, AGC_parameters*, int); Ulf@503: Ulf@503: float fs_; Ulf@503: Ulf@503: int n_ch_; // these three, push down to ear level? Ulf@503: float max_channels_per_octave_; Ulf@503: FloatArray pole_freqs_; Ulf@503: Ulf@503: int n_ears_; Ulf@503: std::vector ears_; Ulf@503: Ulf@503: private: Ulf@503: Ulf@503: }; Ulf@503: Ulf@503: #endif /* CARFAC_H_ */