5 ms·
Speak.js Demo
- josephcooney 14y agoI 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.
- chime 14y agoiOS doesn't offer much in the realm of TTS either. Siri has such a good voice but there is no API to make your iPhone or iPad talk from your own app. OpenEars 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.
- gojomo 14y agoSounds a lot like the old Talking Moose/Macintalk voice (1986): http://en.wikipedia.org/wiki/Talking_Moose http://en.wikipedia.org/wiki/Talking_Moose
- cabalamat 14y agoWhy does it pronounce Caligula as Caligul? And is it possible to input IPA into it?
- chrischen 14y agoIt seems to ignore the -a in "sucka" too. Must be something with trailing As.
- tiglionabbit 14y agoIt seems to be missing 'ly' as well.
- daemon13 14y agoNot working - Ubuntu Lucid, Firefox 13.0.1., no speakers - headphones. Otherwise - excellent hack, can have many uses - marketing, e-commerce, people with disabilities, you name it.
- RandallBrown 14y agoHow does this work? Does it use the audio tag and a data URI?
- chewxy 14y agoThe source is here[1]. It does use an audio tag in speakClient.js Read through speakGenerator to see how the data is generated I guess 1. https://github.com/katsuyan/speak.js https://github.com/katsuyan/speak.js
- john2x 14y agoNot playing on Safari, Mac OS X 10.7.4
- chewxy 14y agoDoesn't work on Firefox 13.01 on Ubuntu Precise. Works on Chromium 18.05. Fun one: Speed - 115, Amplitude - 50, Pitch - 200, Text - "Never give up, never surrender"
- katsuyan 14y agoA bit scary lol
- mtgx 14y agoOff-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).
- azakai 14y agoWorks on Firefox 16 on Ubuntu. Do you get an error in the web console (control-shift-k)?
- ck2 14y agoWorks on Firefox 14 just fine.
- quizbiz 14y agoNot friendly with Dolphin Browser on Android.
- spenvo 14y agoI 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/ http://www.w3.org/TR/WCAG/)? If so, could you share a starting point/good-resource on troubleshooting some of the issues that arise?
- stevejohnson 14y agoDoesn't work with Flashblock enabled, which seems odd to me.
- adrinavarro 14y agoWorks here for me with flash disabled in chrome settings. The code is an embedded audio with inline base64 data.
- jaredsohn 14y agoDiscussion of the same project from almost a year ago: http://news.ycombinator.com/item?id=2828626 http://news.ycombinator.com/item?id=2828626
- jaredsohn 14y agoFor 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 http://code.google.com/chrome/extensions/tts.html) for use in extensions and packaged web apps.
- PsyGeek 14y agoDoesn't work with Firefox in Arch Linux using kernel 3.3.7 -- odd.
- syassami 14y agoWorks on Chrome - osx lion, you have to wait a good 15 seconds before sound starts though
- unimpressive 14y agoNot working in Ubuntu 11.10, Firefox 13.
- vlisivka 14y agoChromuim 20.0.1106.0 (svn132566) on Fedora 16: 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
- lexy0202 14y agoWow... http://speak-demo.herokuapp.com/javascripts/speakGenerator.js http://speak-demo.herokuapp.com/javascripts/speakGenerator.j...
- BaconJuice 14y agocan someone explain to me what is going on in there? How are the words generated with this file?
- radarsat1 14y agoHm, I guess that is compiled from http://espeak.sourceforge.net/ http://espeak.sourceforge.net/ so the source might be a better starting point. http://espeak.svn.sourceforge.net/viewvc/espeak/trunk/ http://espeak.svn.sourceforge.net/viewvc/espeak/trunk/
- dharma1 14y agothis 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 http://helmicreative.com/lab/audio/rhyme.html
- badragon 14y agoGPL V3 so I would not take a chance with it.
- azakai 14y agoIf there is another speech generator with permissive licensing we can compile that one too.
- martincerdeira 14y agoIt does not work on firefox 13.0.1
- franze 14y agohiho 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 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)