At the time of this writing the package to install was the following:
sudo apt-get install libsdl-sound1.2
The command in the bash script to use is as follows:
playsound ding.wav

Technical notes, and other ideas.
At the time of this writing the package to install was the following:
sudo apt-get install libsdl-sound1.2
The command in the bash script to use is as follows:
playsound ding.wav