Pitch discrimination and frequency discrimination