add pitch buf, hop and yinthresh, no smoothing
authorPaul Brossier <piem@altern.org>
Thu, 16 Mar 2006 15:56:02 +0000 (15:56 +0000)
committerPaul Brossier <piem@altern.org>
Thu, 16 Mar 2006 15:56:02 +0000 (15:56 +0000)
add pitch buf, hop and yinthresh, no smoothing

python/aubio/task/params.py

index 983dc20e8035ce4a91296e03512f105ec0a0dc39..5bedc262412fca728f1e52df6e2e221b64248ea0 100644 (file)
@@ -10,6 +10,8 @@ class taskparams(object):
                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 @@ class taskparams(object):
                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.