Choppy sound RPi B+ with hifiberry amp+

  • Hi,

    As my set I'm running a RPi B+ with a hifiberry amp+.

    I used the doc from hifiberry for libreelec

    And have the following in my config.txt:

    Dtoverlay=hifiberry-amp

    This gives me an ALSA device to choose.

    I only want to use this setup with spotify, so I installed librespot.

    I can connect with libreelec via the spotify app but the sound is very choppy. It seems like it's playing 2-3 seconds forward and jumps 1 second backwards.

    So I read somewhere else that the old hifiberry amp+ board should be treated as a dac+ board since there is a dac+ board integrated, but

    Dtoverlay = hifiberry-dacplus

    Gives me no additional audio device to choose. No ALSA device visible in the settings.

    LibreELEC 9.2.6

    Librespot

    Do you have any suggestions what I can do?

    Thanks in advance

    Edited 2 times, last by Homry (January 25, 2023 at 1:31 PM).

  • Sorry, I was thinking about RPi3B+. If you run RPi1B+, there is no LE 10.x version.

    dtoverlay=hifiberry-amp is correct, but I guess your RPi is too slow to handle that HiFiBerry HAT.

  • Ok. Thanks for the reply.

    I can say that my pi was running with that hifiberry board flawlessly for years with volumio 2.x, but after updating to 3.x I wanted to change the system for reasons.

    So I don't think it's too slow for the hifiberry amp.

    What worked so far was the connection to KODI(libreelec) which I see in spotify when I go to the airplay options. But the connection seems not that good, but Ok.

    If I connect via librespot it gets choppy.

    So it might has something to do with the plug-in.

  • If I connect via librespot it gets choppy.

    So it might has something to do with the plug-in.

    That's possible. You probably have an outdated version of librespot, because the add-on repo is different for newer Kodi / LE.

    You can't use librespot from a newer repo, because it has different software dependencies (Python version).

    Compiling your own librespot needs programming skills.