From: Paul Brossier Date: Sun, 16 Sep 2007 23:58:51 +0000 (+0200) Subject: examples/utils.c,aubiomfcc.c: do not set mfcc parameters here, do that in aubiomfcc... X-Git-Tag: bzr2git~442^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e84cc5caef4a67eb1cf44276131df38ef1183b8;p=aubio.git examples/utils.c,aubiomfcc.c: do not set mfcc parameters here, do that in aubiomfcc.c instead --- 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;