1 #define AUBIO_UNSTABLE 1
3 // this file uses the unstable aubio api, please use aubio_pitch instead
4 // see src/pitch/pitch.h and tests/src/pitch/test-pitch.c
12 uint_t n = 10; // compute n times
13 uint_t win_s = 1024; // window size
14 // create some vectors
15 fvec_t * in = new_fvec (win_s); // input buffer
16 fvec_t * out = new_fvec (1); // output candidates
17 // create pitch object
18 aubio_pitchyinfft_t *p = new_aubio_pitchyinfft(44100, win_s);
19 aubio_pitchyinfft_set_tolerance (p, 0.2);
22 aubio_pitchyinfft_do (p, in,out);
29 del_aubio_pitchyinfft(p);