From 9e84cc5caef4a67eb1cf44276131df38ef1183b8 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 17 Sep 2007 01:58:51 +0200 Subject: [PATCH] examples/utils.c,aubiomfcc.c: do not set mfcc parameters here, do that in aubiomfcc.c instead --- examples/aubiomfcc.c | 2 ++ examples/utils.c | 8 ++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/aubiomfcc.c b/examples/aubiomfcc.c index 135b0fcc..80b0bc06 100644 --- a/examples/aubiomfcc.c +++ b/examples/aubiomfcc.c @@ -84,6 +84,8 @@ void process_print (void) { int main(int argc, char **argv) { // params + buffer_size = 1024; + overlap_size = 512; examples_common_init(argc,argv); smpl_t lowfreq = 133.333f; diff --git a/examples/utils.c b/examples/utils.c index 9fd6eafb..51a6da6a 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -39,12 +39,8 @@ aubio_onsetdetection_type type_onset = aubio_onset_kl; aubio_onsetdetection_type type_onset2 = aubio_onset_complex; smpl_t threshold = 0.3; smpl_t silence = -90.; -// uint_t buffer_size = 512; -// uint_t overlap_size = 256; -uint_t buffer_size = 1024; -uint_t overlap_size = 512; -// uint_t buffer_size = 2048; -// uint_t overlap_size = 1024; +uint_t buffer_size = 512; //1024; +uint_t overlap_size = 256; //512; uint_t channels = 1; uint_t samplerate = 44100; -- 2.26.2