A student in my Programming Media II class wanted to use some text-to-speech for a project, so I created a processing library that is a light wrapper around Apple’s Java API for accessing the speech engine. The library allows you to set the current voice and speak away. Of course, its mac only.
You can get the library from the project page and you can download the eclipse project for the library from github.