Code of mine that uses pitchRx