From: Paul Brossier Date: Thu, 29 Sep 2005 19:17:26 +0000 (+0000) Subject: added peak picker configuration example X-Git-Tag: 0.4.0-beta1~1348 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=b1aab3ab24ee0280d560f118a473a168188fe815;p=aubio.git added peak picker configuration example added peak picker configuration example --- diff --git a/examples/aubiotrack.c b/examples/aubiotrack.c index 30b182fb..8c291292 100644 --- a/examples/aubiotrack.c +++ b/examples/aubiotrack.c @@ -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);