shithub: aubio

Download patch

ref: 8d84c0b74f32177bb3256312716ddcf58e0ff098
parent: b8976d60de7617533762366b5afcc66beef4c36c
author: Paul Brossier <piem@altern.org>
date: Mon Aug 8 20:19:30 EDT 2005

added raw output cleaning

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