Deleted useless pitch detection codes.