Bluetooth

As a technology, Bluetooth is effectively a part of everyday life, a fact that reflects its great utility. That flexibility is reflected in, and derived from, the various Bluetooth profiles used in a wide range of consumer devices from headphones and headsets to loudspeakers (smart or otherwise) and even vehicle infotainment systems. Beyond any complexities involved in the acoustic measurement of these devices (and described in other application sections of AP.com), the combinations of Bluetooth profiles and supported codecs introduces an added layer of complexity to the audio test process. 

Although Bluetooth has over 30 different defined profiles, there are four main profiles of interest from an audio measurement perspective:

  • Hands Free Profile (HFP) – device as source (Audio Gateway) or sink (Hands Free). Bi-directional audio using CVSD and mSBC (wideband speech) audio codecs.
  • Headset Profile (HSP) – device as source (Audio Gateway) or sink (Headset). Bi-directional audio using CVSD and mSBC (wideband speech) audio codecs.
  • Advanced Audio Distribution Profile (A2DP) – device as source or sink. High-quality stereo audio using one of a selection of audio codecs.
  • Audio Video Remote Control Profile (AVRCP) – device as source (Target) or sink (Controller). AVRCP supports A2DP with transport controls, delay compensation and absolute volume settings.

As can be seen in the above profile descriptions, any audio device being evaluated may need to be tested for multiple profiles and, potentially, as both source and sink for each profile. This means any measurement system must support the same profiles as both source and sink, along with the various codecs in use by the device.

The function of a codec is to encode audio at the source and decode it at the sink, reducing the data rate in the process but doing it as transparently as possible, since the performance of different codecs can affect perceived audio quality. No codec is linear and therefore will always degrade measured performance as compared to a linear device. As such, unexpected harmonics, noise, or other unusual artifacts may be seen when analyzing measurement signals through codecs.

Regardless of profile selected, a Bluetooth device is constantly transmitting and receiving radio signals. When sending audio, the device functions as an audio source; when receiving audio, the device functions as an audio sink. When testing a Bluetooth speaker, for example, an audio test system’s output would be configured as a Bluetooth source, and its input would be configured as analog, connected to a microphone that picks up the speaker’s acoustic output. When testing a microphone (as found in a Bluetooth headset), the audio test system’s output would be configured as analog to drive a loudspeaker to acoustically stimulate the microphone, and the instrument’s input would be configured as a Bluetooth sink.

Quick-tip 141 

Quick Tip 141 provides a brief overview of the Bluetooth® Duo I/O module, including its integration with APx500 measurement software. The module is an available option for both B Series and Legacy APx555, APx52x and APx58x audio analyzers.

 

APx Bluetooth Duo Option Datasheet

Audio Precision’s next-generation Bluetooth® module, the APx Bluetooth Duo™, delivers a wider selection of A2DP codecs, faster pair and connection times, an increased feature set within APx500 measurement software, and improved RF shielding for use in production test environments. APx Duo supports Bluetooth core specification v4.2, HFP v1.7, HSP v1.2, AVRCP v1.4 and A2DP v1.3.
 
 

The A2DP Bluetooth® profile is used for high quality music transmission, employing a variety of supported codecs that include MPEG-1, MPEG-2, MPEG-4, AAC, ATRAC, aptX and aptX Low Latency. This technote illustrates how the APx Bluetooth option is used to control and monitor codec selection, measure latency, and test all essential audio parameters such as frequency response and THD+N for Bluetooth-enabled music playback devices.