From b1aab3ab24ee0280d560f118a473a168188fe815 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 29 Sep 2005 19:17:26 +0000 Subject: [PATCH] added peak picker configuration example added peak picker configuration example --- examples/aubiotrack.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.26.2