Create yin.js (empty)
Clean displayPitchArray()
Rename variables (more verbose)
Plot templatePitchArray

NOTE:
- Assuming that template track pitch was sampled at same rate as
live/demo pitch is being sampled. (currently 25 ms -> 40 Hz)
Create YIN utility functions

Implemented steps 2-5 (not tested yet)
TODO: finish estimatePitchYIN() to utilize "private" functions and
return pitch value.
Merged with Ab-matching-pitches
Add Mic stopping feature

Note: Changed y-axis scale to 500.
Merge remote-tracking branch 'origin/Ab-matching-pitches' into Ab-YIN
YIN Working!!

Note: Slightly slow and laggy.. Maybe buffer length should be decreased?
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).
Merge branch 'Ab-YIN'