Hi ,
I also had similar problem ,After that i found the solution .
Go to this Link
http://freetts.sourceforge.net/docs/
download the TTSengine which has JSAPI . follow the steps given for demo files .
Now you can execute your demo programs.
I hope This info may help you to learn Speech API.
P.Ramkumar