From: Paul Brossier Date: Sun, 18 Oct 2009 13:18:33 +0000 (+0200) Subject: tests/python/src/onset/peakpick.py: update peakpicker usage X-Git-Tag: bzr2git~102 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf1c67467bcd62d222f41e63adcf8e3771a09a03;p=aubio.git tests/python/src/onset/peakpick.py: update peakpicker usage --- 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):