shithub: aubio

Download patch

ref: e2b1bdab843b47e50357cb722e56ada5c59dc2b9
parent: 83376e936dabc41f35de3b5e365f48cc3575b01e
author: Paul Brossier <piem@altern.org>
date: Thu Mar 16 10:56:02 EST 2006

add pitch buf, hop and yinthresh, no smoothing
add pitch buf, hop and yinthresh, no smoothing


--- a/python/aubio/task/params.py
+++ b/python/aubio/task/params.py
@@ -10,6 +10,8 @@
 		self.storefunc = False
 		self.bufsize = 512
 		self.hopsize = 256
+		self.pbufsize = 2048
+		self.phopsize =  512
 		self.samplerate = 44100
 		self.tol = 0.05
 		self.mintol = 0.0
@@ -17,7 +19,8 @@
 		self.threshold = 0.1
 		self.onsetmode = 'dual'
 		self.pitchmode = 'yin'
-		self.pitchsmooth = 7
+		self.yinthresh = 0.2
+		self.pitchsmooth = 0
 		self.pitchmin=100.
 		self.pitchmax=1000.
 		self.dcthreshold = -1.