shithub: aubio

Download patch

ref: 2d7b65afda6887defe131d752af24f0de8551892
parent: dba3b1ace5cebfb9714e8f32f13d056040a6db77
author: Paul Brossier <piem@altern.org>
date: Mon Aug 8 21:47:24 EDT 2005

changed default parameters baz file-diff examples/utils.c 

--- a/examples/utils.c
+++ b/examples/utils.c
@@ -29,12 +29,12 @@
 
 
 /* energy,specdiff,hfc,complexdomain,phase */
-aubio_onsetdetection_type type_onset  = hfc;
+aubio_onsetdetection_type type_onset  = kl;
 aubio_onsetdetection_type type_onset2 = complexdomain;
 smpl_t threshold                      = 0.3;
 smpl_t threshold2                     = -90.;
-uint_t buffer_size                    = 1024;
-uint_t overlap_size                   = 512;
+uint_t buffer_size                    = 512; //1024;
+uint_t overlap_size                   = 256; //512;
 uint_t channels                       = 1;
 uint_t samplerate                     = 44100;