0

Stuttering of audiofiles with Hifiberry MiniAMP

Hello together!
When playing back audio files using e.g. VLC or mplayer and a set volume of more than 50% via amixer/alsamixer the playback stutters or has dropouts (the louder the worse the dropouts get).

I have already tested it on a Raspberry Pi 3B and 4B with different SD cards.

It seems that some parts of the music are too "loud" for the MiniAMP.
Because when I set the gain with Audacity to e.g. "-10.0 dB" the effect only occurs at a higher volume configured by alsa.

The solution can not be to edit all files before.
If I use the jack output of the RasPi it works without dropouts.

What can I do?

The following sources were used as a guide for the configuration:
    https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/
    https://forum-raspberrypi.de/forum/thread/36628-hifiberry-miniamp-aktivieren/
    https://splittscheid.de/phoniebox-bauanleitung-toniebox-alternative/#ftoc-hifiberry-miniamp-einrichten

Hardware
    Raspberry Pi 3B
    Raspberry Pi 4B 4GB
    Hifiberry MiniAMP

Software
    Raspberry Pi OS
    mplayer
    vlc

Configuration
    /boot/config.txt
        #dtparam=audio=on
        dtoverlay=hifiberry-dac
        force_eeprom_read=0

    /etc/asound.conf
        pcm.hifiberryMiniAmp {
            type softvol
            slave.pcm "plughw:0"
            control.name "Master"
            control.card 0
        }
        pcm.!default {
            type       plug
            slave.pcm  "hifiberryMiniAmp"
        }

Commands
    amixer set Master 100%
    mplayer -ao alsa /home/pi/audio.mp3
    vlc /home/pi/audio.mp3

2 comments

Please sign in to leave a comment.