comparison FChTransformF0gram.h @ 12:fc8f351d2cd6 perf

Remove further unused
author Chris Cannam
date Tue, 02 Oct 2018 13:49:23 +0100
parents 36c99e4c7e94
children 44b86c346a5a
comparison
equal deleted inserted replaced
11:36c99e4c7e94 12:fc8f351d2cd6
14 You should have received a copy of the GNU General Public License 14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. 15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 // Remember to use a different guard symbol in each header! 18 // Remember to use a different guard symbol in each header!
19 #ifndef _FCHTRANSFORMF0GRAM_H_ 19 #ifndef FCHTRANSFORMF0GRAM_H
20 #define _FCHTRANSFORMF0GRAM_H_ 20 #define FCHTRANSFORMF0GRAM_H
21 21
22 #define _USE_MATH_DEFINES 22 #define _USE_MATH_DEFINES
23 #include <cmath> 23 #include <cmath>
24 #include <vamp-sdk/Plugin.h> 24 #include <vamp-sdk/Plugin.h>
25 #include <complex> 25 #include <complex>
177 void define_warps_linear_chirps(double *, double *); 177 void define_warps_linear_chirps(double *, double *);
178 void design_warps(double *, double *, double *); 178 void design_warps(double *, double *, double *);
179 void design_LPF(); 179 void design_LPF();
180 void clean_LPF(); 180 void clean_LPF();
181 void apply_LPF(); 181 void apply_LPF();
182 void design_FFT();
183 void design_time_window(); 182 void design_time_window();
184
185 // FFT variables
186 fftw_complex *in, *out;
187 //TODO verificar que el tipo de datos de in_window es del tipo double, era del tipo float.
188 double *in_window;
189 fftw_plan planFFT;
190 }; 183 };
191 184
192 185
193 #endif 186 #endif