shithub: aubio

Download patch

ref: e4f7779f37b490d6e63d9b8554f713d036f82259
parent: d94f98b25635fc1d04bd1ab1488feee8984038e9
author: Paul Brossier <piem@altern.org>
date: Tue Mar 21 17:27:13 EST 2006

fix fine tuningi for yin
fix fine tuningi for yin


--- a/src/pitchyin.c
+++ b/src/pitchyin.c
@@ -106,7 +106,7 @@
 		period = tau-3;
 		if(tau > 4 && (yin->data[c][period] < tol) && 
                                 (yin->data[c][period] < yin->data[c][period+1])) {
-			return vec_quadint_min(yin,period,1)-1;
+			return vec_quadint_min(yin,period,1);
 		}
         }
 	return 0;
--