I wish I had something more constructive to say than 'wow, this is really cool' but, wow, this is really cool. I was saddened to see speech synthesis and speech generation (seemingly) punted from the Win8 WinRT APIs. And here you are doing it with a bit of Javascript.
Off-topic, but Ubuntu Software Center seems to be stuck on Chromium 18 for a while. Plus, for some reason there's no Chrome in the Software Center, although you can download it from Google in the browser (Chrome 20 now, and seems more stable than Chromium 18).
I will be adding this to my accessibility toolbox -- thanks for sharing this!
A bit of a tangent -- does anyone have experience making their (single-page) web apps accessible (especially in the context of W3's "Web Content Accessibility Guidelines (WCAG) 2.0"): http://www.w3.org/TR/WCAG/)? If so, could you share a starting point/good-resource on troubleshooting some of the issues that arise?
For those curious (I didn't know myself until researching some ideas for this API), Chrome has a built-in text-to-speech API (http://code.google.com/chrome/extensions/tts.html) for use in extensions and packaged web apps.
Speech started application.js:6
speak.js: worker processing took 1262.00 ms speakClient.js:128
Uncaught TypeError: Object #<HTMLElement> has no method 'play' speakClient.js:88
Firefox 13 on Fedora 16:
Timestamp: 09.07.12 12:10:47
Error: amplitude is not defined
Source: http://speak-demo.herokuapp.com/js/application.js
Line: 8
this is great!! Was looking for client side TTS for a rhyming hack a couple of weeks ago. Ended up piggybacking on Google's translator instead, which is great quality but is of course server side.
http://helmicreative.com/lab/audio/rhyme.html
somethings in the air ... i coded a little project (also based on kripkens awesome speak.js) a month or so ago (in a little cabana in bolivia while i was travelling) http://lalo.li 100% client side, shareable text2speech voice messages
after some data crunching so far: people dont use it for anything useful, most traffic via facebook shares (of funny messages)
35 comments
[ 3.1 ms ] story [ 40.3 ms ] threadOpenEars has made a decent TTS engine (based on flite) but it is far from the top of the line engines offered by Acapela, Ivona, and NeoSpeech.
http://en.wikipedia.org/wiki/Talking_Moose
Otherwise - excellent hack, can have many uses - marketing, e-commerce, people with disabilities, you name it.
Read through speakGenerator to see how the data is generated I guess
1. https://github.com/katsuyan/speak.js
Fun one: Speed - 115, Amplitude - 50, Pitch - 200, Text - "Never give up, never surrender"
Do you get an error in the web console (control-shift-k)?
http://espeak.svn.sourceforge.net/viewvc/espeak/trunk/
somethings in the air ... i coded a little project (also based on kripkens awesome speak.js) a month or so ago (in a little cabana in bolivia while i was travelling) http://lalo.li 100% client side, shareable text2speech voice messages
after some data crunching so far: people dont use it for anything useful, most traffic via facebook shares (of funny messages)