added peak picker configuration example
authorPaul Brossier <piem@altern.org>
Thu, 29 Sep 2005 19:17:26 +0000 (19:17 +0000)
committerPaul Brossier <piem@altern.org>
Thu, 29 Sep 2005 19:17:26 +0000 (19:17 +0000)
added peak picker configuration example

examples/aubiotrack.c

index 30b182f..8c29129 100644 (file)
@@ -124,6 +124,9 @@ int main(int argc, char **argv) {
   overlap_size = 512;
   /* override default settings */
   examples_common_init(argc,argv);
+  /* configure peak picker */
+  //aubio_peakpicker_set_thresholdfn(parms,vec_mean);
+  //aubio_peakpicker_set_threshold(parms,0.);
   winlen = SQR(512)/overlap_size;
 
   dfframe = new_fvec(winlen,channels);