I use the following command to play a sound file:
aplay ~/scripts/KenbeepBent.wav
where KenbeepBent.wav
is a sound file I keep in my ~/scripts directory so I can include it in bash scripts. I expect it would meet your needs.
I use the following command to play a sound file:
aplay ~/scripts/KenbeepBent.wav
where KenbeepBent.wav
is a sound file I keep in my ~/scripts directory so I can include it in bash scripts. I expect it would meet your needs.