Skip to content

HiFiBerry Amp

project-owner edited this page Jun 7, 2020 · 17 revisions

The HiFiBerry web site explains all steps required to install and configure the software for HiFiBerry Amp2 amplifier. Amplifier driver comes with Raspbian OS. There are also some steps required to complete the amplifier configuration.

Comment out the on-board audio system in file /boot/config.txt:

#dtparam=audio=on

Add the following line to file /boot/config.txt:

dtoverlay=hifiberry-dacplus

Reboot the system:

sudo reboot

In order to use amixer utility for the volume control the default property Headphone should be changed to the property Digital in the configuration file /home/pi/Peppy/config.txt. This change can be done from the Configuration Web UI as well. Eventually the volume control section should look like this:

[volume.control]
type = amixer
amixer.scale = linear
amixer.control = Digital

WARNING!!! Don't start playback without this change. Without this change the volume level will be at 100%.

To test the amplifier and speakers run the following commands in console:

aplay /usr/share/sounds/alsa/Side_Left.wav
aplay /usr/share/sounds/alsa/Side_Right.wav

<<Previous | Next>>

Contents

Clone this wiki locally