in reply to Play Alert Sound in Script

I don't run ubuntu so I don't know what's installed or available, but have you tried the command line beep?

Or Audio::Beep?