Mercurial > hg > aimc
view branches/carfac_cpp/include/Ear.h @ 678:7f424c1a8b78
Fifth revision of Alex Brandmeyer's C++ implementation of CARFAC. Moved output structure to deque<vector<FloatArray>, moved coefficient Design methods to CARFAC object, moved tests into carfac_test.cc. Verified binaural output against Matlab using two tests. Added CARFAC_Compare_CPP_Test_Data to plot NAP output of C++ version against Matlab version. Verified build and test success on OS X using SCons with g++ 4.7 (std=c++11).
author | alexbrandmeyer |
---|---|
date | Mon, 27 May 2013 16:36:54 +0000 |
parents | 057946a60b91 |
children |
line wrap: on
line source
/* * Ear.h * * Created on: 16 maj 2012 * Author: ulha */ #ifndef EAR_H_ #define EAR_H_ #include "CAR.h" #include "IHC.h" #include "AGC.h" class Ear { public: Ear(CAR_parameters* car_params, IHC_parameters* ihc_params, AGC_parameters* agc_params, FloatArray pole_freqs, int n_ch, float fs); CAR_parameters car_params_; IHC_parameters ihc_params_; AGC_parameters agc_params_; CAR_coefficients* car_coeffs_p_; IHC_coefficients* ihc_coeffs_p_; AGC_coefficients* agc_coeffs_p_; private: }; #endif /* EAR_H_ */