shithub: aubio

Download patch

ref: bf1c67467bcd62d222f41e63adcf8e3771a09a03
parent: e5f49af83700fdddf9d52a09c64c6f8c5797b6e0
author: Paul Brossier <[email protected]>
date: Sun Oct 18 11:18:33 EDT 2009

tests/python/src/onset/peakpick.py: update peakpicker usage

--- a/tests/python/src/onset/peakpick.py
+++ b/tests/python/src/onset/peakpick.py
@@ -7,7 +7,8 @@
 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):