Fix lag | Patch for "confidence"

- Lag was fixed by reducing buffer size to 1024 (was 2048)
- YIN returns -1 if no reliable pitch found. For now, since confidence
is used deeply in code, a temporary patch is to clear confidence (to 0)
when YIN returns -1; otherwise, confidence is very high (arbitrarily
100).