datasheets.com EBN.com EDN.com EETimes.com Embedded.com PlanetAnalog.com TechOnline.com  
Events
UBM Tech
UBM Tech

Design Article

Wireless audio distribution - the last 30 meters

Brent Allen, SMSC

9/21/2010 9:21 PM EDT

Latency

Audio latency is the total delay that the audio stream experiences. Applications that involve a video component and multi-channel sound systems are sensitive to latency and therefore latency must be considered an element of audio quality (see table below).

Application Generally Acceptable Latency
Portable Audio > 100msec
Video Soundtrack 45-70msec
Multi-channel audio rear speakers < 20msec

There are several possible sources of latency in a wireless audio solution. Two key sources of latency are; a) audio compression; and b) audio buffering.

Lossy audio compression requires sufficient audio data stored to allow frequency domain processing. This can add as much as 40msec of latency. Thus solutions that do not perform lossy audio compression, such as SMSC's Kleer technology, can have lower latency.

Audio buffers are required to hold the incoming audio at the source, and continue the flow of audio at the sink, while the radio is experiencing interference. The size of the audio buffer, and thus the amount of latency, required to deliver interference robustness in a wireless audio solution is dependent on how quickly the system can detect a bad channel and restore the connection, for example by switching to another radio channel.

Solutions based on Wi-Fi RF front-ends may have trouble finding available spectrum due to their larger spectral footprints or may not support channel switching at all, in which case it may not be possible to restore the connection before the audio buffer runs out unless a large buffer is used. Bluetooth uses Adaptive Frequency Hopping (AFH) which means that it will drop channels from its FHSS hopping sequence to avoid interference. This process takes time which means a larger buffer is required, and of course, Bluetooth still must find at least 20MHz of spectrum.

Synchronization
Digital audio must be converted back to analog audio prior to driving a speaker. This process requires an exact replication of the sampling rate that was used to create the digital audio, with very low jitter. Generally this involves a frequency- or phase-locked loop at the receiver that synchronizes to a reference that is transmitted over the radio.

If the solution is not able to recreate the sampling rate, then it will have to synchronize the audio by other means such as sample rate conversion or very crude means such as adding/dropping samples. Sample rate conversion can work well but care must be taken in the implementation to avoid degrading the audio quality.

Summary
Wireless streaming of high quality (at least CD quality) audio requires lossless digital transmission of 16-bit, 44.1ks/s (or better) digital stereo audio. The radio channel requires sufficient throughput to transmit this audio losslessly while having enough additional throughput to allow for fast re-transmission of buffered audio data.

The right balance between peak bit rate and spectral footprint must be found to minimize the opportunity to be affected by interference. The ability to avoid other interference-causing radios by quickly switching to another radio frequency is also critical to minimize dependence on audio buffering, which causes undesirable latency.

About the author:
Brent Allen is Director of Product Marketing for SMSC's Kleer product line. Acquired by SMSC in February 2010, Kleer industry-leading low power consumption wireless audio technology is used in portable, home and automotive products including wireless headphones, earbuds and speakers.

Related links:
Audio coding for wireless applications
Bluetooth audio coding: Past, present and future
No more CD players for me!
Algorithmic delay and synchronization in MPEG audio codecs
Error-Resilient Coding for Audio Communication - Part 1: Waveform and CELP Speech Codecs | Part 2: Lapped transform codecs | Part 3: FEC techniques for speech and other coding techniques
Audio Coding: An Introduction to Data Compression - Part 1: Psychoacoustic model, masking, and MPEG Layer I coding | Part 2: MPEG Layer II coding, MP3 and AAC | Part 3: AAC continued, MPEG-4 AAC, Dolby Digital and other standards





Frank Eory

9/23/2010 4:07 PM EDT

Great article, nicely covering the major issues of wireless digital audio distribution. I'm looking forward to trying out an SMSC-powered set of wireless speakers.

Sign in to Reply



t.alex

9/25/2010 8:12 PM EDT

Besides the issues covered by the article, I think the number of audio streams supported is important as well. In home theatre system, the left and the right speak play different contents.

Sign in to Reply



WKetel

9/29/2010 3:15 PM EDT

While there might actually be some value in wireless audio, using it just to avoid running wires is a terrible waste of spectrum. Remember that there is only so much spectrum, and when it is full there is no more room, and something loses. So yes, it is neat to be able to do this, but it does constitute a waste of spectrum.

Sign in to Reply



t.alex

10/1/2010 8:24 PM EDT

Wketel, if the spectrum is available, why not use it?

Sign in to Reply



WKetel

10/6/2010 6:34 PM EDT

The reason for not using up all of the spectrum today is that tomorrow something much more useful may arrive that would benefit us a lot more than not having to run speaker wires. That is one reason. Next, consider that these wireless systems offer no protection from interference by other systems using the same frequencies. Beyond that, there is an interesting realm of copying concern, if we have a digital transmission of some copy protected program, and the transmitted version is not copy protected, we have just defeated the "copy police". I admit that is a stretch, but it could get some folks excited. To repeat myself, when the spectrum is all used up, it is gone, and they aren't making spectrum any more.

Sign in to Reply



Frank Eory

10/13/2010 1:37 PM EDT

As the author points out, it's much easier to find 3 MHz of available spectrum in an ISM band than it is to find 20+ MHz. Yet even with the 20+ MHz needed for 802.11g or the 40 MHz needed for 802.11n, hundreds of millions of WiFi users are able to make their WiFi devices work, despite sharing the same spectrum -- with other WiFi users as well as with Bluetooth, Zigbee, cordless phones, baby monitors, etc.

The argument that tomorrow may bring a wireless application that is more beneficial is, in my opinion, a good argument for allocating even more spectrum for unlicensed ISM use -- not an argument for limiting ISM use to only those standards that are already established (WiFi, Bluetooth, etc.).

As for copy protection concerns, that is a good subject for an entirely different discussion about analog vs. unencrypted digital vs. encrypted digital content and the DMCA law...and why copying for personal use is permitted for the first two types of content, but not for the third (encrypted).

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)