You would need to add the following to /boot/config-user.txt
/boot/config-user.txt
dtoverlay=pisound dtparam=audio=on