Split the pitch logic into its own class.
-rw-r--r-- 132 Makefile
-rw-r--r-- 5248 pitch.cpp
-rw-r--r-- 7983 pitchdetector.cpp
-rw-r--r-- 1086 pitchdetector.h