Mercurial > hg > aimc
view branches/carfac_cpp/include/IHC.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
#ifndef IHC_H_ #define IHC_H_ // not sure how to best deal with the "three style" IHC - ulha class IHC_parameters{ public: IHC_parameters(); float tau_lpf_; float tau1_out_; float tau1_in_; float tau2_out_; float tau2_in_; }; class IHC_coefficients{ public: IHC_coefficients(IHC_parameters* IHC_params_p, float fs, int n_ch); float saturation_output_; private: }; #endif /* IHC_H_ */