From bf1c67467bcd62d222f41e63adcf8e3771a09a03 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 18 Oct 2009 15:18:33 +0200 Subject: [PATCH] tests/python/src/onset/peakpick.py: update peakpicker usage --- tests/python/src/onset/peakpick.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/python/src/onset/peakpick.py b/tests/python/src/onset/peakpick.py index 037f28ed..b3d54a86 100644 --- a/tests/python/src/onset/peakpick.py +++ b/tests/python/src/onset/peakpick.py @@ -7,7 +7,8 @@ channels = 1 class peakpick_unit(aubio_unit_template): def setUp(self): - self.o = new_aubio_peakpicker(0.1) + self.o = new_aubio_peakpicker(1) + aubio_peakpicker_set_threshold (0.1) pass def tearDown(self): -- 2.26.2