A person can differentiate between two sounds of equal loudness, having different frequencies by their pitch. The Pitch of a sound depends upon its frequency. if frequencies of two sounds are different then their pitch will also be different and a person can detect them.