Mercurial > hg > aimc
annotate branches/carfac_cpp/include/IHC.h @ 570:4b37b53105a3
Add support for outputting featutes using OSC (for use with the Wekinator, etc).
author | tomwalters@google.com |
---|---|
date | Fri, 22 Jun 2012 12:22:08 +0000 |
parents | 9c4c3675c3f8 |
children | f3dde307f4b8 |
rev | line source |
---|---|
Ulf@564 | 1 #ifndef IHC_H_ |
Ulf@564 | 2 #define IHC_H_ |
Ulf@564 | 3 |
Ulf@564 | 4 // not sure how to best deal with the "three style" IHC - ulha |
Ulf@564 | 5 class IHC_parameters{ |
Ulf@564 | 6 public: |
Ulf@564 | 7 IHC_parameters() : |
Ulf@564 | 8 tau_lpf_(0.000080), |
Ulf@564 | 9 tau1_out_(0.010), |
Ulf@564 | 10 tau1_in_(0.20), |
Ulf@564 | 11 tau2_out_(0.0025), |
Ulf@564 | 12 tau2_in_(0.005){ |
Ulf@564 | 13 // do nothing more |
Ulf@564 | 14 } |
Ulf@564 | 15 |
Ulf@564 | 16 virtual ~IHC_parameters(){ |
Ulf@564 | 17 // do nothing |
Ulf@564 | 18 } |
Ulf@564 | 19 |
Ulf@564 | 20 float tau_lpf_; |
Ulf@564 | 21 float tau1_out_; |
Ulf@564 | 22 float tau1_in_; |
Ulf@564 | 23 float tau2_out_; |
Ulf@564 | 24 float tau2_in_; |
Ulf@564 | 25 }; |
Ulf@564 | 26 |
Ulf@564 | 27 class IHC_coefficients{ |
Ulf@564 | 28 public: |
Ulf@564 | 29 IHC_coefficients(IHC_parameters*, float, int); |
Ulf@564 | 30 virtual ~IHC_coefficients(); |
Ulf@564 | 31 |
Ulf@564 | 32 float saturation_output_; |
Ulf@564 | 33 |
Ulf@564 | 34 private: |
Ulf@564 | 35 IHC_coefficients(); |
Ulf@564 | 36 }; |
Ulf@564 | 37 |
Ulf@564 | 38 #endif /* IHC_H_ */ |