Other hardware: Difference between revisions

From Hydrogenaudio Knowledgebase
No edit summary
Line 1: Line 1:
{{stub}}
{{stub}}


== Bluetooth (A2DP) ==
== Bluetooth ==
Advanced Audio Distribution Profile (A2DP)
 
=== A2DP ===
Advanced Audio Distribution Profile (A2DP) is the traditional
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=32634 forums]
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=32634 forums]
*[http://en.wikipedia.org/wiki/A2DP#Bluetooth_profiles wikipedia]
*[http://en.wikipedia.org/wiki/A2DP#Bluetooth_profiles wikipedia]
Line 9: Line 11:
Standard baseline codecs:
Standard baseline codecs:
* Sub Band Codec (SBC) – okay, not great
* Sub Band Codec (SBC) – okay, not great
* LC3 – the new baseline of Bleutooth 5.1. About Opus level, allegedly


Standard optional codecs:
Standard optional codecs:
Line 19: Line 20:
* AptX, LDAC, LLDC: in general lower complexity but higher bitrate (still within BT limits) than AAC, transparency possible; AptX and LDAC has wide support
* AptX, LDAC, LLDC: in general lower complexity but higher bitrate (still within BT limits) than AAC, transparency possible; AptX and LDAC has wide support
* FastStream: Qualcomm's bidirectional SBC variant, providing a mono back channel
* FastStream: Qualcomm's bidirectional SBC variant, providing a mono back channel
* Opus: PipeWire's funny little experiment with nearly unlimited channels in either direction. Available in [https://hydrogenaud.io/index.php/topic,114566.msg1023511.html#msg1023511 Google Pixel devices].


Bitrate is limited by bluetooth link. For all relevant codecs, there is a maximum limit of 2 channels: this is a headphone protocol, not a speaker protocol. Microphone-back channel is not available except in FastStream and AptX LL duplex.
Bitrate is limited by bluetooth link. For all relevant codecs, there is a maximum limit of 2 channels: this is a headphone protocol, not a speaker protocol. Microphone-back channel is not available except in FastStream and AptX LL duplex.


=== Sub Band Codec ===
==== Sub Band Codec ====
* Sampling Frequency - 16000, 32000, 44100, 48000 (some are optional, see references)
* Sampling Frequency - 16000, 32000, 44100, 48000 (some are optional, see references)
* Channel Mode - mono, dual channel, stereo, joint stereo
* Channel Mode - mono, dual channel, stereo, joint stereo
Line 30: Line 32:
Reference: [https://www.bluetooth.org/foundry/adopters/document/A2DP_Spec_V1_0/en/ BLUETOOTH Advanced Audio Distribution Profile 1.0]
Reference: [https://www.bluetooth.org/foundry/adopters/document/A2DP_Spec_V1_0/en/ BLUETOOTH Advanced Audio Distribution Profile 1.0]


== Bluetooth (HSP/HFP) ==
=== HSP/HFP ===
This is the mode with mono input and output, both at voice sample rates. Only very crude encodings (CVSD, PCM, optionally SBC 16KHz) are supported, so do not expect audio quality.
This is the mode with mono input and output, both at voice sample rates. Only very crude encodings (CVSD, PCM, optionally SBC 16KHz) are supported, so do not expect audio quality.
== LE Audio ==
This is the new, rewritten general-purpose bluetooth audio stack. LC3 is the baseline codec.
* It's [https://www.etsi.org/deliver/etsi_tr/103500_103599/103590/01.01.01_60/tr_103590v010101p.pdf allegedly] "better than Opus" with respect to error tolerance in speech environments. Except the test is done with speech samples in the non-speech, non-FEC mode of Opus (CELT), and an old version at that.
* LC3plus, the "high-res" branch, is [https://hydrogenaud.io/index.php/topic,121850.0.html worse than Apple and Android (FDK) AAC at 144 kbps]. So LC3 is probably not as good as Opus after all.


== Headphones ==
== Headphones ==

Revision as of 11:36, 6 July 2023

Bluetooth

A2DP

Advanced Audio Distribution Profile (A2DP) is the traditional

Standard baseline codecs:

  • Sub Band Codec (SBC) – okay, not great

Standard optional codecs:

  • MPEG-1,2 Audio: = MP3, almost never used
  • AAC: relatively good decode support, transparency possible at bluetooth bitrates, but latency can be an issue
  • ATRAC: never used

Vendor extension codecs:

  • AptX, LDAC, LLDC: in general lower complexity but higher bitrate (still within BT limits) than AAC, transparency possible; AptX and LDAC has wide support
  • FastStream: Qualcomm's bidirectional SBC variant, providing a mono back channel
  • Opus: PipeWire's funny little experiment with nearly unlimited channels in either direction. Available in Google Pixel devices.

Bitrate is limited by bluetooth link. For all relevant codecs, there is a maximum limit of 2 channels: this is a headphone protocol, not a speaker protocol. Microphone-back channel is not available except in FastStream and AptX LL duplex.

Sub Band Codec

  • Sampling Frequency - 16000, 32000, 44100, 48000 (some are optional, see references)
  • Channel Mode - mono, dual channel, stereo, joint stereo

The bitrate used for CD-quality () audio is 229 kbps and 328 kbps for middle and high quality, respectively.

Reference: BLUETOOTH Advanced Audio Distribution Profile 1.0

HSP/HFP

This is the mode with mono input and output, both at voice sample rates. Only very crude encodings (CVSD, PCM, optionally SBC 16KHz) are supported, so do not expect audio quality.

LE Audio

This is the new, rewritten general-purpose bluetooth audio stack. LC3 is the baseline codec.

  • It's allegedly "better than Opus" with respect to error tolerance in speech environments. Except the test is done with speech samples in the non-speech, non-FEC mode of Opus (CELT), and an old version at that.
  • LC3plus, the "high-res" branch, is worse than Apple and Android (FDK) AAC at 144 kbps. So LC3 is probably not as good as Opus after all.

Headphones

Some Styles (smallest to largest)

  • In the ear - outputs directly into the ear canal
  • Earbuds - sits in the outer ear
  • Supra-aural - sits on the ear
  • circumaural - completely cover the ear

Terminology used for comparing headphones

  • Noise Cancelling
    • active
    • passive
  • Frequency response - The range of frequencies the headphones can reproduce
  • Impedance - Doesn't mean much by itself, but in general, impedence should be matched across a system.
  • SPL@1kHz, 1V rms - Sound Pressure Level. How efficient the unit converts electrical energy to sound energy.
  • Neodymium - The magnet of choice for high end headphones.

Popular Headphones

  • Sub $30
  • Sub $100
  • $100 - $300
  • $300+