Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -107,6 +107,9 @@ else: · 106 unmodified lines | |||
| 107 | omode=options.omode, | 107 | omode=options.omode, |
| 108 | bufsize=bufsize,hopsize=hopsize, | 108 | bufsize=bufsize,hopsize=hopsize, |
| 109 | silence=silence)) | 109 | silence=silence)) |
| 110 | for j in range(len(pitch[i])): | ||
| 111 | if pitch[i][j] > 1500 or pitch[i][j] < 40: | ||
| 112 | pitch[i][j] = 0.; | ||
| 110 | 113 | ||
| 111 | ## take back system delay | 114 | ## take back system delay |
| 112 | #if delay != 0: | 115 | #if delay != 0: |