How To Enable Hardware Volume Control
How To Enable Hardware Volume Control
9. The next stage is to download some updates to the Rune audio software. Dont panic,
just follow the instructions, and do NOT reboot the Pi until you have completed this section.
Type these commands in PuTTY
cd /srv/http
git stash
git pull
(after typing the first line, PuTTY will show: [root@runeaudio ~]# cd /srv/http)
(after typing the second line, PuTTY will show:
Saved working directory and index state WIP on dev: 35c5cba Fix mpd global random
HEAD is now at 35c5cba Fix mpd global random
[root@runeaudio http]#)
(after typing the third line, lots of lines of stuff will appear!
Wait till all this activity has stopped, and PuTTy shows [root@runeaudio http]#
Type exit to leave the PuTTy session.
From the browser, click Menu, Power Off, and select reboot.
Launch PuTTy and log-in again once the reboot is complete
Then type each of these lines:
redis-cli del acards
/var/www/db/redis_acards_details
/var/www/command/refresh_ao
(You will see warnings/errors after typing this third line, just ignore them!)
Then type each of these lines:
sync
reboot
You can now close PuTTy
10 Now return to the web browser, and verify that all the changes have been successful.
Click on Menu, then click Debug.
Scroll down (about two pages) until you find the section with this heading
###### mpd.conf ######
###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use RuneUI MPD config section
###################################
About 40 lines below this, you will find this section. It should look exactly like this:
audio_output {
name
"snd_rpi_hifiberry_amp"
type
"alsa"
device
"hw:1,0"
mixer_control "Master"
mixer_type "hardware"
mixer_device "hw:1"
auto_resample
"no"
auto_format "no"
enabled
"yes"
If it doesnt look exactly like this, then go back and repeat steps 9 and 10, before proceeding
with the following sections. otherwise Hardware Volume control will NOT be enabled, and
HiFiBerry AMP+ will play at full volume - deafening!)
11. If the changes have been successful, you can now complete the setup of Rune Audio.
Click on MPD, and set up the following parameters:
Audio Output Interface: HiFiBerry Amp+ (I2S)
Volume control: enabled - hardware
Start volume: (I set this to 35, so that the audio is just audible when playback starts)
Volume knob: (your choice of real-time or on-release)
Then click on Save and Apply
12. You can now set up time zone, sources, network etc. etc., and enjoy playing your music.