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 135b0fc..80b0bc0 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 9fd6eaf..51a6da6 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;