Perfect pitch is a neurological quirk that doesn't correlate with autism spectrum disorders or giftedness. It correlates both with tonal languages (Chinese speakers more likely to have pp) and with age at which a person starts playing a fixed pitch instrument (early keyboard exposure increases likelihood of pp).

It is an advantage in playing stringed instruments and memorizing/repeating music; can also get a person into trouble in some kinds of ensemble playing, where tuning issues can become unbearable. As people age their pp tends to go out of tune, which can be a liability rather than a gift.

DeeDee