shithub: aubio

Download patch

ref: f97445ca7bef8ecc309b272684a6c174747b9774
parent: 1aeac4cda73b1b0c35599caf040100f9e1d96170
author: Paul Brossier <piem@altern.org>
date: Mon Aug 22 15:33:30 EDT 2005

fcomb doesn't output anything correct above 5000Hz

--- a/src/pitchfcomb.c
+++ b/src/pitchfcomb.c
@@ -120,7 +120,7 @@
     }
   }
   /* quick hack to clean output a bit */
-  if (peaks[k].freq > 10000) return 0.;
+  if (peaks[k].freq > 5000.) return 0.;
   return peaks[k].freq;
 }