The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Bluetooth Drop outs
#1
Hi,

There are constant drop outs with Bluetooth: the audio seems to play quicker than 1x, drop out, play faster than 1x, drop out, and the cycle keeps repeating.

The issue occurs with iphone and with laptop trying to play audio via Bluetooth: both devices 2 feet away from the Raspberry Pi. Moode is being ran on Raspberry Pi Zero 2 W with built in Bluetooth.

No issues with playback using AirPlay.

The only thing I can see with dmesg -TS:
[Sun Dec 19 17:11:01 2021] input: 74:8F:3C:C1:9D:6D as /devices/virtual/input/input0
[Sun Dec 19 17:11:02 2021] Bluetooth: Unexpected start frame (len 612)
[Sun Dec 19 17:11:03 2021] Bluetooth: Unexpected start frame (len 612)

moodeutl -s output:

Code:
Gathering info...

S Y S T E M   P A R A M E T E R S

moOde release        = 7.6.1 2021-12-17
RaspiOS            = 10.6
Linux kernel        = 5.4.77-v7+ #1371
Platform        = Pi-Zero 2 W 1.0 512MB
Architecture        = armv7l (32-bit)
System uptime        = up 4 minutes
Timezone        = Australia
Current time        = 2021-12-19 17:14:15

Host name        = moode
Ethernet address    = unassigned
Ethernet MAC        = no adapter
WLAN address        = 192.168.0.4
WLAN MAC        = e4:5f:01:40:84:97
WLAN country        = AU

SoC identifier        = bcm2837
Core count        = 4
Kernel timer freq    = 100 Hz
SDCard freq        = 50 MHz
USB boot        = not available
Warranty        = OK

Root size        = 30G
Root used        = 11%
Root available        = 26G
Root expand        = expanded
Memory total        = 472 MB
Memory free        = 199 MB
Memory used        = 273 MB
SoC temperature        = 45.1°C
Throttled bitmask    = 0x0
Throttled text        = No throttling has occurred

CPU governor        = ondemand
Onboard WiFi        = On
Onboard BT        = On
HDMI output        = On
LED state        = 1,1
IP addr timeout        = 90 (secs)
Ethernet check        = No
USB auto-mounter    = udisks-glue
SSH term server        = Off

PHP-FPM version        = 7.3.19
NGINX version        = 1.14.2
SQLite3 version        = 3.27.2
Hostapd version        = 2.8-devel
WiringPi version    = 2.50
RPi.GPIO version    = 0.7.0

A U D I O   P A R A M E T E R S

Audio device        = SMSL USB AUDIO
Interface        = USB
Mixer name        = SMSL USB AUDIO
Hardware mixer        = Yes
Supported formats    = S32_LE, SPECIAL, DSD_U32_BE
ALSA max volume        = 100
ALSA output mode    = Default (plughw)
ALSA loopback        = Off
MPD max volume        = 100
Volume step limit    = 5
Display dB volume    = Off
Audio source        = Local
Output device        = Local
Resume MPD        = No
Volume knob        = 35
Volume mute        = Unmuted
Saved MPD vol        = 0
Preamp volume        = 0
ALSA version        = 1.1.8-1+rpt1
SoX version        = 0.1.2-3

Bluetooth controller    = On
Pairing agent        = Off
Airplay receiver    = On
Spotify receiver    = Off
Squeezelite        = Off
RoonBridge        = Not installed
UPnP client        = On
DLNA server        = On
GPIO button handler    = Off
Multiroom sender    = Off
Multiroom receiver    = Disabled
UPnP browser        = Off

Auto-shuffle        = Off
Ashuffle mode        = Track
Ashuffle filter        = None
Autoplay        = Off
Rotary encoder        = Off
Encoder params        = 100 2 3 23 24
USB volume knob        = Off
Polarity inversion    = Off
Crossfeed        = Off
Crossfade        = Off
Parametric EQ        = On
Graphic EQ        = Off
CamillaDSP        = off
MPD httpd        = Off
Ignore CUE files    = No

P R E F E R E N C E S

Appearance
----------------------
Theme            = Default
Accent color        = Emerald
Alpha blend        = 1.0
Adaptive background    = No
Background image    = No
Cover backdrop        = No
Cover blur        = 20px
Cover scale        = 1.25
Renderer backdrop    = Yes
Font size        = Normal

Playback
----------------------
Show Queue thumbs    = Yes
Show Now-playing icon    = Yes
Show CoverView playbar    = Yes
Show extra metadata    = album,genre,track,disc,date,composer,conductor,performer,encoded
Search site        = DuckDuckGo
Playback history log    = No

Library
----------------------
One touch album        = No action
One touch radio        = No action
Albumview sort order    = by Album
Tagview sort order    = by Album
Recently added        = 1 Month
Show sample rate    = Text
Cover search pri    = Embedded cover
Pixel ratio        = 1
Thumbnail resolution    = Auto
Thumbnail columns    = 8/4

Library (Advanced)
----------------------
Tag view genre        = Genres
Tag view artist        = Artist
Album key        = Album@Artist@AlbumID
Include comment tag    = No
Library filter        = any
Library filter str    = return of the mac
Ignore articles        = a,an,the
Show tagview genres    = Yes
Show tagview covers    = Yes
Ellipsis limited text    = No
UTF8 character filter    = Yes

CoverView
----------------------
Automatic display    = Never
Backdrop style        = Gradient (Linear)

R A D I O   M A N A G E R   S E T T I N G S

Sort tag        = Name
Group method        = No grouping
Show moOde stations    = No action
Show other stations    = No action

M P D   S E T T I N G S

Version            = 0.23.4_p0x3
Volume type        = software
ALSA device        = hw:1
SoX resampling        = 176400:24:2
Selective resampling    = Upsample if source < target rate
SoX quality        = high
SoX multithreading    = on
DSD over PCM (DoP)    = no
Replaygain        = off
Replaygain preamp    = 0
Volume normalization    = No
Audio buffer        = 4 (MB)
Output buffer size    = 128 (MB)
Max playlist items    = 16384
Input cache        = Disabled

B L U E T O O T H   S E T T I N G S

Bluetooth ver        = 5.50
Bluealsa ver        = v3.0.0
Speaker sharing        = No
Resume MPD        = No
PCM buffer time        = 500000 (μs)

A I R P L A Y   S E T T I N G S

Version            = 3.3.8
Friendly name        = Moode Airplay
ALSA device        = eqfa12p
Interpolation        = soxr
Output bit depth    = S16
Output sample rate    = 44100
Session interruption    = no
Session timeout        = 120 (ms)
Latency offset        = 0.0 (secs)
Audio buffer        = 0.2 (secs)
Resume MPD        = No

S P O T I F Y   S E T T I N G S

Friendly name        = Moode Spotify
ALSA device        = eqfa12p
Bit rate        = 160
Initial volume        = 0
Volume curve        = log
Volume normalization    = No
Normalization pregain    = 0
Autoplay        = No
Resume MPD        = No

S Q U E E Z E L I T E   S E T T I N G S

Version            = 1.9.7-1270 "DSD/SRC enabled"
Friendly name        = Moode
ALSA device        = hw:0
ALSA params        = 80:4::1
Output buffers        = 40000:100000
Task priority        = 45
Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
Other options        = -W -D 500 -R E -S /var/local
Resume MPD        = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display    = On
Mouse cursor        = On
Screen blank        = 120 Secs
Wake display on play    = Off
Brightness        = 255
Pixel aspect ratio    = Default
Rotate screen        = 0 Deg

M O O D E   S T A R T U P   L O G

20211219 170933 worker: -- Start
20211219 170933 worker: Successfully daemonized
20211219 170933 worker: Integrity check (passed)
20211219 170934 worker: File check (OK)
20211219 170934 worker: Session vacuumed
20211219 170934 worker: Session loaded
20211219 170934 worker: Debug logging (OFF)
20211219 170934 worker: -- Audio debug
20211219 170934 worker: ALSA cards: (0:b1 | 1:AUDIO | 2:empty | 3:empty
20211219 170934 worker: MPD config: (1:SMSL USB AUDIO | mixer:(SMSL USB AUDIO ) | card:1)
20211219 170935 worker: ALSA mixer actual (SMSL USB AUDIO )
20211219 170935 worker: ALSA SMSL USB AUDIO volume set to (0%)
20211219 170935 worker: -- System
20211219 170937 worker: Host     (moode)
20211219 170937 worker: moOde    (7.6.1 2021-12-17)
20211219 170937 worker: RaspiOS  (10.6)
20211219 170937 worker: Kernel   (5.4.77-v7+ #1371)
20211219 170937 worker: Platform (Pi-Zero 2 W 1.0 512MB)
20211219 170937 worker: ARM arch (armv7l, 32-bit kernel)
20211219 170937 worker: MPD ver  (0.23.4_p0x3)
20211219 170937 worker: CPU gov  (ondemand)
20211219 170937 worker: USB boot not available
20211219 170937 worker: File system expanded
20211219 170937 worker: HDMI port on
20211219 170937 worker: -- Network
20211219 170937 worker: IP address check timeout (90 secs)
20211219 170937 worker: eth0 adapter does not exist
20211219 170937 worker: eth0 address not assigned
20211219 170937 worker: wlan0 adapter exists
20211219 170937 worker: wifi country (AU)
20211219 170937 worker: wlan0 trying SSID (Moode Network)
20211219 170937 worker: IP addr (192.168.0.4)
20211219 170937 worker: Netmask (255.255.255.0)
20211219 170937 worker: Gateway (192.168.0.1)
20211219 170937 worker: Pri DNS (192.168.0.1)
20211219 170937 worker: Domain  (192.168.0.1)
20211219 170938 worker: Pi integrated wlan0 power save disabled
20211219 170938 worker: -- Audio config
20211219 170938 worker: MPD conf updated
20211219 170938 worker: ALSA card number (1)
20211219 170938 worker: MPD audio output (SMSL USB AUDIO)
20211219 170938 worker: Audio formats (S32_LE, SPECIAL, DSD_U32_BE)
20211219 170939 worker: ALSA mixer name (SMSL USB AUDIO )
20211219 170939 worker: MPD mixer type (software)
20211219 170939 worker: Hdwr volume controller exists
20211219 170939 worker: Max ALSA volume (100%)
20211219 170939 worker: ALSA output mode (Default: plughw)
20211219 170939 worker: ALSA loopback (Off)
20211219 170939 worker: Reset renderer active flags
20211219 170939 worker: CamillaDSP (off)
20211219 170939 worker: -- MPD startup
20211219 170939 worker: MPD started
20211219 170939 worker: MPD accepting connections
20211219 170939 worker: MPD output 1 ALSA Default (on)
20211219 170939 worker: MPD output 2 ALSA Bluetooth (off)
20211219 170939 worker: MPD output 3 HTTP Server (off)
20211219 170939 worker: MPD crossfade (off)
20211219 170939 worker: MPD ignore CUE files (no)
20211219 170939 worker: -- Feature availability
20211219 170939 worker: Source select (available)
20211219 170939 worker: Source select (source: MPD)
20211219 170940 worker: Source select (output: SMSL USB AUDIO)
20211219 170946 worker: Bluetooth (available: started)
20211219 170946 worker: Airplay renderer (available: started)
20211219 170946 worker: Spotify renderer (available)
20211219 170946 worker: Squeezelite (available)
20211219 170946 worker: RoonBridge renderer (not installed)
20211219 170946 worker: Multiroom sender (available)
20211219 170946 worker: Multiroom receiver (available)
20211219 170946 worker: UPnP renderer (available: started)
20211219 170946 worker: DLNA server (available: started)
20211219 170946 worker: UPnP browser (available)
20211219 170946 worker: GPIO button handler (available)
20211219 170946 worker: Stream recorder (n/a)
20211219 170946 worker: -- Music sources
20211219 170946 worker: USB sources (none attached)
20211219 171006 worker: NAS and UPnP sources (mountall initiated)
20211219 171006 worker: -- Other
20211219 171006 worker: USB volume knob (Off)
20211219 171006 worker: LCD updater engine started
20211219 171006 worker: USB auto-mounter (udisks-glue)
20211219 171006 worker: LED0 (On)
20211219 171006 worker: LED1 (sysclass does not exist)
20211219 171006 worker: Saved MPD vol level (0)
20211219 171006 worker: Preamp volume level (0)
20211219 171006 worker: MPD volume level (35) restored
20211219 171006 worker: ALSA SMSL USB AUDIO volume (100%)
20211219 171006 worker: Auto-play (Off)
20211219 171006 worker: LocalUI started
20211219 171006 worker: Maintenance interval (3 hours)
20211219 171006 worker: Screen saver activation (Never)
20211219 171006 worker: Session permissions (OK)
20211219 171007 worker: Watchdog started
20211219 171007 worker: Ready
Reply


Messages In This Thread
Bluetooth Drop outs - by gwurb - 12-19-2021, 06:45 AM
RE: Bluetooth Drop outs - by Wollwolke - 01-11-2022, 08:24 PM

Forum Jump: