Adapted pitch extraction to kill octave jumps when 3rd tone is asked. UNTESTED