Comments (3)
Please can you state:
- the version of bluealsa that you are using, and if self-built from source the options used for configure.
- The codec and sample rate used by both the devices when used with bluealsa and when used with pulseaudio
- the application used for recording with bluealsa (with settings used for sample format, sample rate and channels)
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.
from bluez-alsa.
Sure, not built from source - pasting relevant distro-provided packages:
> ii bluez 5.66-1+rpt1+deb12u1 arm64 Bluetooth tools and daemons
> ii bluez-alsa-utils 4.0.0-2 arm64 Bluetooth Audio ALSA Backend (utils)
> ii bluez-firmware 1.2-9+rpt3 all Firmware for Bluetooth devices
> ii bluez-hcidump 5.66-1+rpt1+deb12u1 arm64 Analyses Bluetooth HCI packets
> ii libasound2-plugin-bluez:arm64 4.0.0-2 arm64 Bluetooth Audio ALSA Backend (plugins)
Sample rate & format for speakerphone with bluealsa: arecord -vvv -f S16_LE -r 8000 -c1 <file.wav>
. Logs indicated codec was CVSD
For pulseaudio I run systemctl mask bluealsa.service
followed by rm /etc/asound.conf
, and reboot; then after bluetoothctl connect <address>
and pactl set-card-profile bluez_card.<address> handsfree_head_unit
, I run the same arecord command
from bluez-alsa.
arecord -vvv ...
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).
from bluez-alsa.
Related Issues (20)
- HSP HS profile: "arecord -d" duration is ignored HOT 1
- Routing audio to bluealsa from hw:0,1 HOT 31
- Test all deps with pkgconfig HOT 10
- arecord Unable to install hw params, record from bluetooth failed HOT 3
- Error compiling with aptx HOT 1
- Audio cut off in the beginning of the file HOT 3
- how can an SCO link be reestablished after it has been disconnected by the HF device? HOT 2
- How to pipe bluealsa PCM to fifo? HOT 18
- aplay Unable to install hw params HOT 1
- Can't get the A2DP profile to use LDAC codec HOT 11
- LDAC shows only 96KHz as sample rate | support for other sampling rates HOT 14
- Configuring asoundrc for default bluetooth ignored for Internet Browsers? HOT 2
- LE Audio support in bluez-alsa HOT 1
- Audio volume does not go to 100% on Raspberry Pi HOT 19
- Can't detect libsystemd-dev on debian trixie HOT 2
- test-alsa-ctl fails with bluealsa-mock: W: Couldn't get HCI device info: Address family not supported by protocol HOT 2
- test-alsa-midi fails due to permission errors HOT 2
- Build failure: undeclared variables HOT 9
- RPI 4: Arecord the audio stream from the phone through Bluezalsa HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluez-alsa.