examples/utils.c,aubiomfcc.c: do not set mfcc parameters here, do that in aubiomfcc...
authorPaul Brossier <piem@piem.org>
Sun, 16 Sep 2007 23:58:51 +0000 (01:58 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 16 Sep 2007 23:58:51 +0000 (01:58 +0200)
examples/aubiomfcc.c
examples/utils.c

index 135b0fcc178cf05476c613bb04bf9e8e9b03c759..80b0bc06e8ed7b8e7dde199929c8b7c9d8f24a7b 100644 (file)
@@ -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;
index 9fd6eafb9f4fc974b40bd235da80566d2426fbd9..51a6da6a8324fada6983c1b71dd2c553965d7b13 100644 (file)
@@ -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;