Audio codec

Summary

An audio codec, or audio decoder is a device or computer program capable of encoding or decoding a digital data stream (a codec) that encodes or decodes audio.[1][2][3][4] In software, an audio codec is a computer program implementing an algorithm that compresses and decompresses digital audio data according to a given audio file or streaming media audio coding format. The objective of the algorithm is to represent the high-fidelity audio signal with a minimum number of bits while retaining quality. This can effectively reduce the storage space and the bandwidth required for transmission of the stored audio file. Most software codecs are implemented as libraries which interface to one or more multimedia players. Most modern audio compression algorithms are based on modified discrete cosine transform (MDCT) coding and linear predictive coding (LPC).

In hardware, audio codec refers to a single device that encodes analog audio as digital signals and decodes digital back into analog. In other words, it contains both an analog-to-digital converter (ADC) and digital-to-analog converter (DAC) running off the same clock signal. This is used in sound cards that support both audio in and out, for instance. Hardware audio codecs send and receive digital data using buses such as AC-Link, I²S, SPI, I²C, etc. Most commonly the digital data is linear PCM, and this is the only format that most codecs support, but some legacy codecs support other formats such as G.711 for telephony.

See also edit

Listen to this article (2 minutes)
 
This audio file was created from a revision of this article dated 3 April 2016 (2016-04-03), and does not reflect subsequent edits.

References edit

  1. ^ "Using codecs". Microsoft. Retrieved 2009-12-21.
  2. ^ "About.com - Codec". About.com. Archived from the original on 2015-04-05. Retrieved 2009-12-21.
  3. ^ "Glossary - Codec". Afterdawn.com. Retrieved 2009-12-21.
  4. ^ "Ubuntu Documentation - What is a codec?". Ubuntu Documentation Team. Archived from the original on February 19, 2012. Retrieved 2009-12-21.