integrated pitchdetector and notesnapper
cleaned up NoteDetector