You are not logged in.

#1 2018-08-26 10:42:09

capthookb
Member
Registered: 2007-12-10
Posts: 124

Bluetooth headset mic low recording quality

I have a bluetooth headset/handsfree "Energy sport" that I connect using a usb bluetooth adapter to my laptop.
The audio is working find and the mic recording as well, but the quality of the mic is very low.
I tried to find the cause and after executing pacmd I saw that the sample rate is 8000. I don't  know how to change that
When I pair the handsfree with my phone and record audio, the quality is crystal clear. So I don't believe that the quality of the handsfree is bad.

pacmd list-sources
4 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1030
	volume: front-left: 9995 /  15% / -49.00 dB,   front-right: 9995 /  15% / -49.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s32le 2ch 96000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 0
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xb4100000 irq 27"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 1
	name: <alsa_input.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB
	        balance 0.00
	base volume: 6554 /  10% / -60.00 dB
	volume steps: 65537
	muted: yes
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s32le 2ch 96000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC272X Analog"
		alsa.id = "ALC272X Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xb4100000 irq 27"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "1536000"
		device.buffering.fragment_size = "768000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC272X"
		alsa.components = "HDA:10ec0272,10250487,00100001"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-internal-mic>
    index: 4
	name: <bluez_sink.00_23_01_41_CB_77.headset_head_unit.monitor>
	driver: <module-bluez5-device.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1050
	volume: mono: 65612 / 100% / 0.03 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 1ch 8000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	fixed latency: 28.00 ms
	monitor_of: 2
	card: 3 <bluez_card.00_23_01_41_CB_77>
	module: 31
	properties:
		device.description = "Monitor of Energy Sport"
		device.class = "monitor"
		device.string = "00:23:01:41:CB:77"
		device.api = "bluez"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_00_23_01_41_CB_77"
		bluez.class = "0x240404"
		bluez.alias = "Energy Sport"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
  * index: 5
	name: <bluez_source.00_23_01_41_CB_77.headset_head_unit>
	driver: <module-bluez5-device.c>
	flags: HARDWARE HW_VOLUME_CTRL LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9050
	volume: mono: 62259 /  95%
	        balance 0.00
	base volume: 65536 / 100%
	volume steps: 16
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 1ch 8000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	fixed latency: 28.00 ms
	card: 3 <bluez_card.00_23_01_41_CB_77>
	module: 31
	properties:
		bluetooth.protocol = "headset_head_unit"
		device.intended_roles = "phone"
		device.description = "Energy Sport"
		device.string = "00:23:01:41:CB:77"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_00_23_01_41_CB_77"
		bluez.class = "0x240404"
		bluez.alias = "Energy Sport"
		device.icon_name = "audio-headset-bluetooth"
	ports:
		headset-input: Headset (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <headset-input>

I tried changing the default sample rate in /etc/pulse/daemon.conf from commented to uncommented and 22000 or 44100 or 96000 but this only changed the sample rate for the internal mic of my laptop while the bluetooth headset is stuck to 8000.
I also tried to change profiles from HSP/HFP to A2DP sink, but then the microphone will not work (pavucontrol shows the mic volume slider grey and disabled)
Can anyone help me?

Offline

Board footer

Powered by FluxBB