what do pitch and frequency have in common