Audio compression is aimed at dealing with both speech and music signals in a perceptual manner.
A perceptual audio coder does not attempt to accurately reconstruct the input signal after encoding and decoding, rather its goal is to ensure that the output signal sounds the same to the listener.
The primary psychoacoustic effect that the perceptual audio coder uses is called auditory masking, where parts of a signal which are not discernible by the human ear can be imperceptibly removed.
Psychoacoustics plays a key role by compressing parts of the signal that are imperceptible to the human ear.
The human ear hears frequencies between 20 Hz and 20 kHz, and the human voice typically produces sounds in the range ...