Fixing a 4-year-old bug in my favorite project

I finally fixed an old bug in pitch-detection, my favorite among all of my open-source projects