afplay is a command-line audio player built into macOS. You give it a file and it plays it, with no window and no controls. It stops when the file ends or when you kill it.
afplay -h
# -v, --volume VOLUME volume. 1 is normal, 0.5 is quieter
# -t, --time TIME only play the first TIME seconds
# -r, --rate RATE playback speed. 1.5 is 50% faster