Design Article

Tip: Wideband vs. narrowband VoIP codecs

Brent Lorenz, Texas Instruments

7/11/2007 3:00 AM EDT

[For more on this topic, see Wideband VoIP: sounds good to me and Next-generation VoIP and the role of DSP.]

In Voice over IP (VoIP) applications, wideband voice has a very clear benefit to the end-user when using a device such as an IP phone—it simply sounds much better. In standard narrowband VoIP calls, the voice signal is sampled at 8,000 Hz, resulting in an effective voice pass-band of about 200 to 3,300 Hz. Wideband voice codecs offer double the sample rate, providing an effective pass-band of 50 to 7,000 Hz. What does this mean to the end user? It results in a much higher fidelity voice call, more akin to talking to someone in the same room rather than over a phone.

If the quality of a wideband voice call is so much noticeably better, some may question why all IP phones and VoIP devices do not simply switch to offering wideband voice? The answer lies in the trade-offs in both processing horsepower and the bandwidth required.

While there are multiple wideband codecs available, the most prevalent are G.722 and G.722.2. G.722 is a split-band version of the ADPCM waveform codec standardized by the International Telecommunications Union (ITU) in 1988. Waveform codecs like ADPCM do not consume many DSP cycles to process the voice, but they do require more bandwidth for the voice channel. In the case of G.722, it typically requires about the same digital signal processing (DSP) horsepower as the narrowband ADPCM G.726. However, the trade-off with wideband G.722 is that it requires a data rate of 48, 56, or 64 kbps due to the larger sample rate of the voice channel. In comparison, narrowband codecs like G.711 can operate at data rates of 32 kbps and lower.

G.722.2, introduced by the ITU in 2002, can help alleviate the extra bandwidth required by wideband voice, as it leverages the Wideband-Adaptive Multi-rate (WB-AMR) compression codec. G.722.2 is able to shrink the bit rate of the voice channel down to 12.65 kbps (down from 48 kbps in G.722) while offering improved quality. G.722.2 can be a great option for IP phone manufacturers seeking to offer high-quality wideband voice using a smaller bandwidth.

However, offering wideband voice with a compression codec like WB-AMR does come at a cost, as it increases the need for DSP processing horsepower. For example, G.722.2 requires four to five times more DSP cycles to process than G.722. Thus, it is easier to implement G.722.2 on a platform that includes a DSP, rather than on a platform that relies on a RISC processor for its processing power. In addition, the phone designer will probably make the trade-off of supporting G.722 vs. G.722.2, depending on what other features need to be in the IP phone, such as the number of conferencing channels.

Offering wideband voice is a great way to ensure the best possible quality of experience for users of VoIP equipment such as IP phones. IP phone and VoIP system designers may wish to choose from the following classes of codecs, depending on the most important system-design constraints:

Narrowband:

  • G.711, G.726: Offers narrow-band voice with low processing requirements, and with typical bit-rates of 32-64 kbps.
  • Other narrow-band codecs with compression, such as G.729AB and G.723.1, offer bit-rates as low as 5.3 kbps, but require higher DSP processing horsepower.

Wideband:

  • G.722: Offers wideband voice with low DSP processing requirement similar to standard G.726 ADPCM. However, it requires a bit-rate of 48-64 kbps per channel.
  • G.722.2: Offers wideband voice and compresses the bandwidth down to 12.65 kbps per channel. The trade-off is that it requires more processing cycles than G.722.

About the author:
Brent Lorenz is the IP Phone Product Manager at Texas Instruments. Brent coordinates worldwide marketing and business development activities in the enterprise and residential telephony space. Lorenz has held a variety of positions at companies including IBM-Rational, Wind River, and VoIP software startups. Lorenz received a bachelors's degree in electrical engineering from Kansas State University and an MBA from the University of Maryland.





j.cline

12/19/2007 3:13 PM EST

We have benchmarked wideband codec Mhz performance on a variety of our VoIP embedded target systems and found that in some cases, the wideband codec Mhz requirement is still less than the worst-case narrowband codec Mhz requirement (G729AB). This means that some wideband codecs may be introduced into an existing system (at least, our softDSP systems) without worry of exceeding processing cycle limits.

- jcline@d2tech.com

Sign in to Reply



jesup

6/22/2009 11:09 AM EDT

G.711 (a-law or u-law) is a fixed 64Kbps, not "32 kbps or lower". He must have been thinking G.726.

Sign in to Reply



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)

Feedback Form