Theory of the Neural Quantum in the Discrimination of Loudness and Pitch