Last week, I wrote about the under-appreciated but impressive Phono, a jQuery plugin that lets you embed a softphone into any web page.
Phono is made by Florida-based Voxeo, a long-standing and innovative telephony software vendor.
Connecting said softphone up with Tropo, Voxeo’s server-side telephony environment.
Tropo is the cloud-based telephony service that puts together text-to-speech and voice recognition on the phone side, along with SMS and IM capabilities on the data side.
I’ve used this environment for a few exercises (see references) in speechifying web pages. In the past, to call into the Voxeo service, I’ve had to rely on a clunky cell phone or work with, gad, a separate SIP phone app, such as X-Lite.
Baseball scores found on ESPN’s amazing web site—for obvious reasons, ESPN didn’t provide an RSS feed—supplied the input data. I crafted a little PHP to parse the scores, and Tropo’s software then converted the written word to the spoken while responding to simple commands.
I won’t go into all the details— Xpath for screen scraping and use of Kodingen’s free dev environment for testing—but it really wasn’t that much work.
Like getting baseball scores read to you on demand.
FYI: The Phono widget above will work better with a headset. And during the day, when there are no scores to report, it just informs callers of the number of scheduled games. Finally, it will read back scores in groups of five, and expects a “yes” prompt if you want the next batch. Enjoy!