Mixer controls on the HiFiBerry boards
The HiFiBerry DAC+ and Amp/Amp+ come with integrated volume control.
In some distributions, the needed tools are not installed by default, therefore you should install them first. On Debian based distributions this can be done with the following command:
sudo apt-get install alsa-utils
The easiest way is using “alsamixer”. You can also use “amixer” if you want to set a specific volume non-interactively.
Controls of the cards
While there are a lot of mixer controls on the DAC+, you only need to care about one named “Digital”.
amixer sset PCM 90%
All other mixer control allow access to low-level functions of the sound chip, you won’t need them. Unfortunately it is not easy to remove these controls as they are part of a kernel driver that is not maintained by us. Just make sure the “Playback Boost” is set to 0%.
Amp+ (not Amp2!)
There are two controls: Master and Channels. With the master control you control the overall volume while “Channels” can be used to set different volumes on the left and right channel. Note that excessive volumes can damage your speakers. Therefore we recommend setting the volume not too high on startup.
amixer sset Master 70%
amixer sset Channels 70%,70%
DAC+ Zero, DAC+ Light, MiniAmp
These boards do not feature a hardware volume control. Therefore, no ALSA mixer controls are available.
Store/restore volume settings
On Raspbian a shutdown script is used to store the current volume settings. However many people shutdown their system by removing the power (not optimal, but usually this works without problems). In this case, the latest volume settings are not stored. You can do this by hand with the command