When you use this cool scripts — like me — with a simple USB-sounddevices, then no basic /etc/asound.conf is created. ALSA will then use the first onboard device. On a Pi 3 for me, it was HDMI. Thus, no sound comes at the end w/o further work.
I extended enable-hifiberry.sh to be able to list the already known devices and accept a number alternatively to a HifiBerry-cardname. In this case it creates a simple two-line /etc/asound.conf setting the default device to that card number. Finally, enable-hifiberry.sh is renamed to its new purpose enable-sound.sh.
When you use this cool scripts — like me — with a simple USB-sounddevices, then no basic /etc/asound.conf is created. ALSA will then use the first onboard device. On a Pi 3 for me, it was HDMI. Thus, no sound comes at the end w/o further work. I extended enable-hifiberry.sh to be able to list the already known devices and accept a number alternatively to a HifiBerry-cardname. In this case it creates a simple two-line /etc/asound.conf setting the default device to that card number. Finally, enable-hifiberry.sh is renamed to its new purpose enable-sound.sh.