diff include/CAR.h @ 579:71e3794ececa carfac_cpp

some refactoring
author Ulf.Hammarqvist@gmail.com
date Thu, 11 Oct 2012 20:55:03 +0000
parents 83cd5bbf2a3e
children daf1ca88fe20
line wrap: on
line diff
--- a/include/CAR.h	Thu Oct 11 19:37:10 2012 +0000
+++ b/include/CAR.h	Thu Oct 11 20:55:03 2012 +0000
@@ -9,26 +9,7 @@
 
 class CAR_parameters{
 public:
-  CAR_parameters():
-    velocity_scale_(0.2),
-    v_offset_(0.01),
-    v2_corner_(0.2),
-    v_damp_max_(0.01),
-    min_zeta_(0.10),
-    first_pole_theta_(0.085*kPi),
-    zero_ratio_(sqrt(2)),
-    high_f_damping_compression_(0.5),
-    erb_per_step_(0.5),
-    min_pole_hz_(30),
-    erb_break_freq_(kDefaultErbBreakFreq),
-    erb_q_(kDefaultErbQ)
-  {
-    // do nothing more
-  }
-
-  virtual ~CAR_parameters(){
-    // do nothing
-  }
+  CAR_parameters();
 
   float velocity_scale_;
   float v_offset_;
@@ -47,7 +28,6 @@
 class CAR_coefficients{
 public:
   CAR_coefficients(CAR_parameters*, float, FloatArray);
-  virtual ~CAR_coefficients();
 
   FloatArray r1_coeffs_;
   FloatArray a0_coeffs_;
@@ -56,8 +36,6 @@
   FloatArray g0_coeffs_;
   FloatArray zr_coeffs_;
 
-private:
-  CAR_coefficients();
 };
 
 #endif /* CAR_H_ */