shithub: aubio

Download patch

ref: 9e84cc5caef4a67eb1cf44276131df38ef1183b8
parent: 3730d9460e30fd1a413925b3f9fa27d05b7218f6
author: Paul Brossier <piem@piem.org>
date: Sun Sep 16 21:58:51 EDT 2007

examples/utils.c,aubiomfcc.c: do not set mfcc parameters here, do that in aubiomfcc.c instead

--- a/examples/aubiomfcc.c
+++ b/examples/aubiomfcc.c
@@ -84,6 +84,8 @@
 
 int main(int argc, char **argv) {
   // params
+  buffer_size  = 1024;
+  overlap_size = 512;
   
   examples_common_init(argc,argv);
   smpl_t lowfreq = 133.333f;
--- a/examples/utils.c
+++ b/examples/utils.c
@@ -39,12 +39,8 @@
 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;