comparison src/init.c @ 161:246c203cc733

Add wavelet-based pitch tracker
author Jamie Bullock <jamie@jamiebullock.com>
date Fri, 31 May 2013 22:44:03 +0100
parents 71870680f7c1
children 39d168ee5917
comparison
equal deleted inserted replaced
160:f7d0b6607193 161:246c203cc733
33 33
34 #include "fft.h" 34 #include "fft.h"
35 35
36 #include "../xtract/libxtract.h" 36 #include "../xtract/libxtract.h"
37 #include "xtract_window_private.h" 37 #include "xtract_window_private.h"
38 #include "xtract_scalar_private.h"
38 #define DEFINE_GLOBALS 39 #define DEFINE_GLOBALS
39 #include "xtract_globals_private.h" 40 #include "xtract_globals_private.h"
40 41
41 42
42 43
357 free(height_norm); 358 free(height_norm);
358 free(fft_peak); 359 free(fft_peak);
359 360
360 return XTRACT_SUCCESS; 361 return XTRACT_SUCCESS;
361 362
363 }
364
365 int xtract_init_wavelet_f0_state(void)
366 {
367 dywapitch_inittracking(&wavelet_f0_state);
362 } 368 }
363 369
364 double *xtract_init_window(const int N, const int type) 370 double *xtract_init_window(const int N, const int type)
365 { 371 {
366 double *window; 372 double *window;