shithub: aubio

Download patch

ref: b1aab3ab24ee0280d560f118a473a168188fe815
parent: 6f7aad0e7156ed745a5b1fff6a9e20a0d7ae85e3
author: Paul Brossier <piem@altern.org>
date: Thu Sep 29 15:17:26 EDT 2005

added peak picker configuration example
added peak picker configuration example


--- a/examples/aubiotrack.c
+++ b/examples/aubiotrack.c
@@ -124,6 +124,9 @@
   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);