Posts: 26
Threads: 2
Joined: Jun 2022
Reputation:
0
Choppy audio over Bluetooth with WiFi on was also an issue with previous Raspberry Pi's (B 3+)
I don't think this bug is hardware related.
Posts: 26
Threads: 2
Joined: Jun 2022
Reputation:
0
Thank you.
I did not indend to digress - just noticing the issue is not rare, and shows up in different hardware / projects.
Posts: 26
Threads: 2
Joined: Jun 2022
Reputation:
0
Just tested with 8.1.2 - legacy. Same issue.
Posts: 13,357
Threads: 302
Joined: Mar 2018
Reputation:
538
Works fine for me using a 3B+ to an Anker Soundcore speaker. Playing a radio station for past 30 mins and no glitches whatsoever.
I don't have a Zero 2 W and so not able to try and repro. I would check the Raspberry Pi Forums to see if there are recent posts regarding RaspiOS Bullseye, 5.15.32 kernel, Zero 2 W and Bluetooth.
Posts: 5,995
Threads: 175
Joined: Apr 2018
Reputation:
233
07-14-2022, 04:53 PM
(This post was last modified: 07-15-2022, 01:47 AM by TheOldPresbyope.
Edit Reason: ETA - changed "bitrate"
)
[JBL Flip 2 Bluetooth speaker used in all "MPD audio output -> Bluetooth" testing. All Pi's under test are connected to LAN via onboard WiFi.]
I do have a Zero 2 W and an audio dropout roughly every 0.5 sec seems to occur only with it running moOde 8.0.2 (32-bit) or 8.1.2 (32-bit and 64-bit). It does not occur with the Zero 2 W running moOde 7.6.1 (32-bit). I'm not seeing any suggestive messages in the logs.
However, Bluetooth audio output seems fine running moOde 8.1.2 on any of an old Zero W (32-bit moOde), several Pi3A+ (32-bit and 64-bit moOde), a Pi3B+ (64-bit moOde). I believe it was ok on an RPi4B too but it's not available ATM to check.
Very curious. ISTR long ago getting a similar but not necessarily the same repetitive interruption to output when I was first using my Creative Tech USB-BT adapter. IIRC the problem then was due to mismatched bitrate sampling frequency but the problem disappeared at some point in the evolution of moOde and I haven't thought about it in years.
I suppose a recent change to kernel/drivers could be implicated but it's not obvious why it would affect only the Zero 2 W. A quick search didn't turn up an useful hits on the Raspberry Pi Forum.
Regards,
Kent
Posts: 5,995
Threads: 175
Joined: Apr 2018
Reputation:
233
As a followup, adding an external USB-WiFi adapter (at the end of a 0.5 ft USB extension cable), disabling the onboard WiFi (dtoverlay=disable-wifi in /boot/config.txt), and rebooting was sufficient to start getting clear MPD audio output over Bluetooth from my Raspberry Pi 2 W.
FWIW, both internal and external WiFi adapters associated with my Access point on the 2.4 GHz band.
Regards,
Kent
Posts: 26
Threads: 2
Joined: Jun 2022
Reputation:
0
I tried moOde 7.6.1 and the results are mixed: it is much better than 8.1.2, but there are times when interruptions are often, and there are times when they are far apart.
I came across the "output rate" information: listening to radio stations on Bluetooth speaker, it shows 1.411Mbps. Is this related to digital transfer rate of data over Bluetooth ? If so, is there any way to lower it ?