The audio codecs is a method of compression/decompression of audio file, audio data or streaming audio format. The codecs stands for Coders / Decoders.
There are various kinds of audio codecs available. Since these codecs have been implemented by different algorithms by number of companies; they have different specification and application in various fields. These audio codecs generally complies Industry standards.
The various software audio codecs are:
- AAC+ / AAC+ Enhanced
- AC3 or Digital Dolby
- Digital Dolby Plus
- MP3 Pro
- Monkey’s audio
- Ogg Vorbis
- Real Audio
These various Audio codecs are technically differentiated from each other based on various factors which includes compression technology / algorithm, platform supported, sampling, OS supported etc
One can easily compare the various audio codecs on wikipedia. But still there is confusion which codec is the appropriate? However it also depends on application. But understanding pros & cons of some of these codecs gives us the better information and insight depth.
- An international standard approved by the ISO
- Flexible: supports several sampling rates (8000-96000 Hz), bit depths, and multichannel (up to 48 channels)
- Several implementations, including free and high quality ones.
- Reaches transparency in most samples and for most users at around 150 kbps
- Part of MPEG-4 specs
- Anyone can create its own implementation (specifications and demo sources available)
- Problem cases that trip out all transform codecs
- Heavily patented
- Increased complexity
- AAC comes in different “flavors” (object types: AAC LC, AAC HE, AAC PS etc.).
- Many (especially portable) players only support LC (at the moment) so you can have files that are valid but your player won’t play them.
AAC+ / Enhanced AAC
- AACplus (AAC+) is a variant of AAC which is optimized for low bit rates developed by Coding Technologies. It uses techniques including SBR (Spectral Band Replication) and PS (Parametric Stereo).
- Multi-channel support for 5.1, 7.1 and beyond (48 channels total)
- Optimized speech, mixed speech/music down to 8 kbps mono
AC3 / Digital Dolby / Digital Dolby plus
- Digital Dolby or AC3 decoder is the industry standard for DTV and DVD media. Nearly all new DVD movies come with a DD soundtrack program
- AC-3 provides only full range channels, its sound is really much better in terms of quality. And it is also backward compatible.
- Digital Dolby plus also supports 7.1 channel
- Max support for 5.1 channel audio CDs, limited to 448 kbps maximum for Digital Dolby
- Speex is an Open Source/Free Software patent-free audio compression format
- Speex is based on CELP and is designed to compress voice at bitrates ranging from 2 to 44 kbps
- Speex has a number of features that aren’t in other codecs such as Intensity stereo encoding, integration of multiple sampling rates in the same bitstream, and a VBR mode
- Speex is mainly designed for only three different sampling rates: 8 kHz, 16 KHz & 32 KHz
FLAC is portable to many systems
- Open source and freely licensed
- The encoding of audio data incurs no loss of information.
- Hardware support & Streaming support
- Extremely fast decoding
- Supports multi channel and high resolution streams
- Supports Replay Gain & cue-sheet (with some limitations)
- Gaining wide use as successor to Shorten
- Compresses less efficiently than other popular modern compressors (Monkey’s Audio, OptimFROG)
- Higher compression modes slow, for little gain over the default setting.
- Widespread acceptance, support in nearly all hardware audio players and devices
- An ISO standard, part of MPEG specs
- Fast decoding, lower complexity than AAC or Vorbis
- Anyone can create their own implementation (Specs and demo sources available)
- Relaxed licensing schedule
- Lower performance/efficiency than modern codecs.
- Problem cases that trip out all transform codecs.
- Sometimes, maximum bitrate (320kbps) isn’t enough.
- No multichannel implementations.
- Unusable for high definition audio (sampling rates higher than 48kHz).
- (Ogg) Vorbis specification is in the public domain; it is free for commercial or noncommercial use, under both (LGPL and BSD licenes)
- Easy to use high-level API (Application Programming Interface)
- Good all-round performance (>48 kbps – a leading codec at 128 kbps)
- Well written specs
- Supported by most portable (Ogg) DAPs
- Suitable for internet-streaming (via Icecast and other methods)
- Fully gapless playback
- High potential for further tuning
- Structured to allow the design for a hybrid filterbank
- Limited official development (third-party developement is always encouraged)
- Current implementations are more computationally intensive to decode than MP3
To commercialize these audio codecs couples of sites are available such as design-reuse, chipestimates, IPsupermarket.com which allows you to buy/sell or license these codecs.