condense pitch search method
Merge pull request #1 from gjthoman/master

condense pitch search method