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
Date
Votes
2 comments
-
hifiberry2604 My wiring provided for a jack socket, so both GND (-) of the MiniAmp were in contact.
As soon as I connect only the speakers there is no more stuttering.
For more information see here:
-
HiFiBerry team There is no GND on the speaker output. "-" and GND are two different things!
If you just connected both speaker outputs, you're lucky that you din't damage it.
Please sign in to leave a comment.