uint_t channels = 1; /* number of channel */
fvec_t * in = new_fvec (win_s/4, channels); /* input buffer */
fvec_t * out = new_fvec (2, channels); /* input buffer */
- aubio_onset_t * onset = new_aubio_onset("complex", win_s, win_s/4, channels);
+ aubio_onset_t * onset = new_aubio_onset("complex", win_s, win_s/4, channels, 44100.);
uint_t i = 0;
while (i < 10) {
uint_t channels = 1; /* number of channel */
fvec_t * in = new_fvec (win_s, channels); /* input buffer */
fvec_t * out = new_fvec (2, channels); /* input buffer */
- aubio_tempo_t * o = new_aubio_tempo("complex", win_s, win_s/4, channels);
+ aubio_tempo_t * o = new_aubio_tempo("complex", win_s, win_s/4, channels, 44100.);
uint_t i = 0;
smpl_t curtempo, curtempoconf;