Yell wraps around any command line program and lets you specify a set of matching rules on the output by which to play audio files.