-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distorted recording with certain mic (but not in pulseaudio) #720
Comments
Please can you state:
I don't have any echo-cancelling devices to try this for myself, but if I am given enough information to reproduce the rest of your set-up I may be able to track down some possible causes. |
Sure, not built from source - pasting relevant distro-provided packages:
Sample rate & format for speakerphone with bluealsa: For pulseaudio I run |
The output from that should show the setup of each ALSA plugin used. Please could you post that section of the output so that we can see which plugins are used, and what the setup of each is? It is possible that the pitch-shift may be caused by a plugin; but it is also possible that dropped SCO frames may result in a raised pitch, combined with frequent underruns. (In this case playing from the hcidump file would also result in the raised pitch, but without the underruns). |
Setup
There are two bluetooth devices:
That I've been pairing to two machines:
a. I tried both built-in BT chip, and a USB adapter (both show identical behavior)
Problem
I have an issue when I pair Device 2 (speakerphone) with Machine 1 (Blue Alsa): there is distortion and pitch-shift during recording from the microphone. It sounds demonic.
I can confirm that playback of
hcidump -A output.raw
contains the distortion, so I suspect the speakerphone's echo cancellation somehow doesn't work well with bluealsa. The same device works paired on the separate PulseAudio machine.. but the separate pair of headphones records on this machine without distortionAdditional context
Configuration of Raspberry Pi with BlueAlsa:
bluealsa -p a2dp-source -p a2dp-sink -p hfp-hf -p hsp-hs -p hfp-ag -p hsp-ag
Ubuntu machine with PulseAudio:
The text was updated successfully, but these errors were encountered: