Matt Harrington has provided a great article on writing some code to enable speech.  It even comes with some sample code. Perhaps most robust is how to use text to speech interface to notify a user when a particular system event has occurred. Got your own snippet of speech enabling code? Post it here!