Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -10,6 +10,8 @@ class taskparams(object): · 9 unmodified lines | ||
| 10 | 10 | self.storefunc = False |
| 11 | 11 | self.bufsize = 512 |
| 12 | 12 | self.hopsize = 256 |
| 13 | + self.pbufsize = 2048 | |
| 14 | + self.phopsize = 512 | |
| 13 | 15 | self.samplerate = 44100 |
| 14 | 16 | self.tol = 0.05 |
| 15 | 17 | self.mintol = 0.0 |
| @@ -17,7 +19,8 @@ class taskparams(object): · 1 unmodified line | ||
| 17 | 19 | self.threshold = 0.1 |
| 18 | 20 | self.onsetmode = 'dual' |
| 19 | 21 | self.pitchmode = 'yin' |
| 20 | − self.pitchsmooth = 7 | |
| 22 | + self.yinthresh = 0.2 | |
| 23 | + self.pitchsmooth = 0 | |
| 21 | 24 | self.pitchmin=100. |
| 22 | 25 | self.pitchmax=1000. |
| 23 | 26 | self.dcthreshold = -1. |