Finished creating the detector of pitches