Retrieves pitch in Hertz from audio input to microphone.