Thank you for your donation!


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


Bluetooth Sound Qualitiy
#1
Hello together

I was looking for a way to listen to my sound files, Internet radio and Bluetooth via speakers.
After a few attempts with other players, I came across MoOde.
Immediately after the first installation I had noticeable success and the best thing is that all the functions I was looking for are free.
Now to my problem.
I can listen to the sound files and Internet radio in good quality. But when I play something from my cell phone via Bluetooth, it always sounds distorted even at low volume.
What could be the reason for this?
As hardware I use a RaspberryPi Zero WH (1st GEN) with an Audio HAT which is probably a Hifi Berry AMP clone, the link is here.
Which settings should I check?
The Bluetooth function would be crucial for me, as I don't have the stream directly from some radio stations. But I can receive them via my cell phone.

Thanks for your help

Th3Bug
Reply
#2
What model smartphone and what is the music source?

ETA: After a client connects, the command below shows what codec is being used

Code:
bluealsa-cli -v list-pcms
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
I cannot help you with the bluetooth issue itself as I never use the bluetooth playback option to be honest.

But I take from your post you're trying to play a radiostream via bluetooth on moOde?
Are you sure the stations are not available via https://www.radio-browser.info/ for example?

In moOde it's rather easy to add radio stations yourself so radio keeps playing, even when bluetooth is out of range.
Reply
#4
@Th3Bug 

I can not exactly replicate your hardware setup since I have only a bare Pi Zero W (no GPIO header) at hand.

However, with moOde 8.3.9 installed on the Pi Zero W and using a Creative Technology BT-W2 USB adapter driving my Sennheiser headphones I get perfectly clear audio output either playing one of the predefined Internet radio stations or streaming one from my Google Pixel 6A phone connected to the Pi via Bluetooth.

Using the command @Tim Curtis  suggested


Code:
rho@black:~ $ bluealsa-cli -v list-pcms
/org/bluealsa/hci0/dev_0C_C4_13_D6_3A_36/a2dpsnk/source
Device: /org/bluez/hci0/dev_0C_C4_13_D6_3A_36
Sequence: 0
Transport: A2DP-sink
Mode: source
Running: true
Format: S24_LE
Channels: 2
Sampling: 48000 Hz
Available codecs: [ Unknown ]
Selected codec: aptX-HD:d700000024001200000000
Delay: 15.0 ms
SoftVolume: true
Volume: L: 127 R: 127
Muted: L: false R: false


This means the phone is streaming aptX encoded Bluetooth to moOde.

As an aside, I consider the aging 32-bit Pi Zero W no longer suitable for moOde.

If you need the identical footprint, then the updated Pi Zero 2W is a better choice. Otherwise, I find the Pi 3A+ hits the sweet spot if a more muscular (faster CPU, more memory) Pi model isn't needed.

Regards,
Kent
Reply
#5
Hello everyone

Sorry for the late response. We had a storm last week and the internet connection was only available via cell phone for a few days.
However, I used the time and started troubleshooting.
My idea was to build an Internet radio with a Bluetooth function using parts that I still had lying around. This is why I used an old Raspberry Pi Zero and nothing more modern.
It looks like everything is working properly now and the quality is ok.
I swapped the speakers with my good ones from the stereo system and the distortion was gone. 
Probably the other speakers were too low in impedance and the Sound-HAT couldn't handle it.
My next plan is to build an ESP32 with 2 decoder buttons for the control to be able to install the speakers permanently and only a small control for quick access and to change the volume without all the cables lying around.
Perhaps an extension to Multiroom and control via Home Assistant will follow. That depends on how patient my wife is 

Kind regards

Th3Bug
Reply


Forum Jump: