Perceptual Audio Coding

Introduction:
Perceptual audio coding is a method of encoding audio that uses psychoacoustic models to discard data said to be unable to be perceived by humans.

Audio Encoding
Perceptual Coding Perceptual audio coding is a method of compression for digital sound which eliminates frequencies the human ear cannot hear. It may also eliminate softer sounds that are being drowned out by louder sounds, which is taking advantage of what is known as Masking. Reason to use perceptual audio coding is to reduce file size since high quality audio with no compression can be very big. Perceptual audio coding is a compression known as lossy audio compression because it is “losing” pieces of sounds (the ones removed that we cannot hear). The other type of compression is lossless, which takes repetitive information and encode them to symbols and equations to take up less space. This also allows people to remake an exact copy of the original. Even though lossless compression may seem better since it still keeps all the information, it does not compress as well as lossy compression does.

Now to back up for a moment. Sound does not start off as digital, it is analog. So to even use perceptual audio coding a person needs to convert audio into digital by using an audio codec to change analog sound into pulse-code modulation, a digital representation of analog. To get the digital representation as close as possible to the analog, there are a few factors that can be adjusted, and the better these factors are, the bigger the file will be. First factor is sampling rate; this determines how often the waveform is measured. Second factor is sampling resolution which is the measurement of each sample point on a scale, which the scale will have more measure points the higher the resolution is. Then by using the method known as quantization, the number is rounded to the nearest whole number. By adjusting these factors, a person can reduce the file size as well, though sound quality will be effected.

Digital Audio
Masking Masking as defined by the American Standards Association (ASA) is the amount (or the process) by which the threshold of audibility for one sound is raised by the presence of another (masking) sound (B.C.J. Moore 1982, p. 74)

Compression
As stated earlier, lossless encoding isn't compressed like lossy is. Audio compression is achieved through compression algorithms via small software "codecs" (software enCODer/DECoders ). These codecs can be in many different forms, and can use vastly different compression methods, even for similar formats. Utilizing the lossless codecs in your compression methods maintains audio fidelity and allows an exact digital copy of the original material. This results in larger file sizes, but is the standard for many Audio Professionals.

Lossy formats are preferred by the average user who wants to be able to store larger libraries of audio files on their PCs and personal audio devices, and who do not care that the quality may degrade even slightly. Lossy algorithms use dual methods of compression and decompression that alter the original file. Bits that are not used in the original file (or are repetitive) are removed in the compression process. This results in a vastly smaller file size, but depending on the compression ratio, may also result in degraded audio quality or audio Compression artifacts (bits/errors in audio files that result in discernable annoyances to the end user).

Codificacion perceptual