Settings for piMusicBox 0.6 and HifiBerry Dac +?

I’m no audiophile, but am quite pleased with the sound quality on my HiFiBerry DAC+ setup (no distortion or clipping).

You have to use the mixer = software in settings.ini though and get amixer to 0dB for the best results. In my case this was achieved at a volume level of 81 in setsound.sh:

hifiberry_dacplus)
    modprobe snd_soc_hifiberry_dacplus
    enumerate_alsa_cards $OUTPUT
    CARD=$I2S_CARD
    VOLUME=81

…and then reference this value further down the file in:

# Set initial hardware volume
amixer set -c $CARD "$CTL" ${VOLUME}% unmute > /dev/null 2>&1 || true