tests/python/src/onset/peakpick.py: update peakpicker usage
authorPaul Brossier <piem@piem.org>
Sun, 18 Oct 2009 13:18:33 +0000 (15:18 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 18 Oct 2009 13:18:33 +0000 (15:18 +0200)
tests/python/src/onset/peakpick.py

index 037f28edb417afb40a8149c2a9203bdc9c715d87..b3d54a866a43ad39db3e118d07d8ab21c45c178a 100644 (file)
@@ -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):