From a49b0bcde268e8e4f5dee449ad83fcbc30f254b6 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 6 Nov 2005 11:19:50 +0000 Subject: [PATCH] add crude damage limits, make world executable add crude damage limits, make world executable --- python/aubiopitch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/aubiopitch b/python/aubiopitch index 44663abb..2060d0e6 100755 --- a/python/aubiopitch +++ b/python/aubiopitch @@ -107,6 +107,9 @@ else: omode=options.omode, bufsize=bufsize,hopsize=hopsize, silence=silence)) + for j in range(len(pitch[i])): + if pitch[i][j] > 1500 or pitch[i][j] < 40: + pitch[i][j] = 0.; ## take back system delay #if delay != 0: -- 2.26.2