The masking effect analysis is based on the Terhardt algorithm. Our perception of sounds is dramatically dependent on the characteristics of our auditory system – not to mention our whole cognitive apparatus. These characteristics can be modelised. The Terhardt algorithm takes this model of auditory pitch perception into account to deduce the auditory pitch perception from the sound wave's Fourier spectrum.