They will only play in a cutscene. As soon as you leave the cutscene (which a terminal basically is) all played sounds and music will stop.
If you want to just play a sound, you need to use a trigger and then provide it with a sound.
I never got around doing something about this as this was purely for cutscenes.