Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Poor soundquality with Spotify backend on a Raspberry using HDMI #335

Closed
gertjanol opened this Issue · 10 comments

5 participants

Gertjan Oude Lohuis Wouter van Wijk Stein Magnus Jodal Thibault Delor Thomas Adamcik
Gertjan Oude Lohuis

Using the latest version of Mopidy (0.11.1) on a Raspberry Pi (Model B) with Raspian Wheezy (hard float) with the latest firmware (3.6.11+), I experience horrible sound quality, but only with the Spotify backend. The audio is crackling and ticking.

The Raspberry is connected with HDMI to a receiver. Playing local MP3-files is no problem, both through Mopidy and with mpg321. Mp3 files are MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo.

When I lower the default ALSA sampling rate to 22 KHz (as noted on http://docs.mopidy.com/en/latest/installation/raspberrypi/#audio-quality-issues), the crackling and ticking disappears, but the overal quality is very bad then.

Since this issue only occurs using the Spotify backend, and using HDMI audio, I don't think the problem is with the Raspberry's hardware. Can you help me getting this to work? What can I do to debug this?

Gertjan Oude Lohuis

Can't believe I didn't notice this before, but I saw issue 299, and my CPU usage is also 100% during spotify playback. Guess I found the problem :(. But this must be something other people using the Raspberry are also experiencing, since I just followed the docs :-S

Wouter van Wijk

You could checkout http://www.woutervanwijk.nl/pimusicbox/
I fixed it there...

Gertjan Oude Lohuis

dd'ing the image to an SD-card as we speak :), already found your project. Thanks!

Gertjan Oude Lohuis

Works like a charm!

Stein Magnus Jodal
Owner

@woutervanwijk What exactly did you do to fix the Spotify sound quality in Pi MusicBox? Is it something we can patch in Mopidy, or something we can include in our Raspi guide?

Wouter van Wijk

I'm sorry, I just reinstalled everything with the hardfloat version of Raspbian and the problem was gone. I am planning to write a guide how I did it, but I'm a bit short on time at the moment. I'll let you know.

Thibault Delor

I have the same issue. I have spent a lot of time configuring all my services on my Raspbian, I don't really want to change my distro...
@woutervanwijk Can you give a hint on how to fix hit? A link on a commit? Anything that can help me! Pleaase :D

Wouter van Wijk

sorry, I really don't know what fixed it when I reinstalled everything. It just was gone.
You could try to look at the files I changed for musicbox:
https://github.com/woutervanwijk/Pi-MusicBox/tree/master/filechanges/etc

Thibault Delor

I have fixed using puseaudio. Thanks anyway for your help :+1: .
If anyone has any about the root cause of the problem and/or know how to fix it using alsa, please share!

Thomas Adamcik
Owner

See #299 for the state on this going forward, closing this issue.

Thomas Adamcik adamcik closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.