shithub: aubio

Download patch

ref: 97a5878bd11c4493956a04402bf377a9c2c75950
parent: 5810ed47ce30319d7ca82af0a15a054799f7da62
author: Paul Brossier <piem@piem.org>
date: Sat Mar 9 12:11:27 EST 2013

src/pitch/pitch.c: fix yinfft selection

--- a/src/pitch/pitch.c
+++ b/src/pitch/pitch.c
@@ -121,7 +121,7 @@
   if (strcmp (pitch_mode, "mcomb") == 0)
     pitch_type = aubio_pitcht_mcomb;
   else if (strcmp (pitch_mode, "yinfft") == 0)
-    pitch_type = aubio_pitcht_yin;
+    pitch_type = aubio_pitcht_yinfft;
   else if (strcmp (pitch_mode, "yin") == 0)
     pitch_type = aubio_pitcht_yin;
   else if (strcmp (pitch_mode, "schmitt") == 0)