Pitch is one of the most salient attributes of the human perception of sound, but is still not well understood. This difficulty originates in the entwined nature of the phenomenon, in which a physical stimulus as well as a psychophysiological signal receiver are involved. In an electronic realization of a biophysically detailed nonlinear model of the cochlea, we find local cochlear correlates of the perceived pitch that explain all essential pitch-shifting phenomena from physical grounds.