News for hackers. Stuff that matters.
Re:Speak.js Demo by chewxy on Monday July 09, 2012 @02:53AM (#4216998)
Doesn'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"

Re:Speak.js Demo by azakai on Monday July 09, 2012 @10:59AM (#4218474)
Works on Firefox 16 on Ubuntu.

Do you get an error in the web console (control-shift-k)?

Re:Speak.js Demo by ck2 on Monday July 09, 2012 @11:56AM (#4218735)
Works on Firefox 14 just fine.
Re:Speak.js Demo by mtgx on Monday July 09, 2012 @03:26AM (#4217092)
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).
Re:Speak.js Demo by katsuyan on Monday July 09, 2012 @02:55AM (#4217008)
A bit scary lol
Re:Speak.js Demo by jaredsohn on Monday July 09, 2012 @03:38AM (#4217123)
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.
Re:Speak.js Demo by jfoster on Monday July 09, 2012 @03:46AM (#4217140)
Note that the Chrome one is limited to Chrome browser extensions and packaged apps. For one reason or another it doesn't extend to hosted Chrome apps.
Re:Speak.js Demo by katsuyan on Monday July 09, 2012 @03:40AM (#4217127)
Nice! Sounds like this has higher quality though it's only available in chrome.
Re:Speak.js Demo by stevejohnson on Monday July 09, 2012 @03:21AM (#4217075)
Doesn't work with Flashblock enabled, which seems odd to me.
Re:Speak.js Demo by adrinavarro on Monday July 09, 2012 @03:24AM (#4217083)
Works here for me with flash disabled in chrome settings. The code is an embedded audio with inline base64 data.
Re:Speak.js Demo by josephcooney on Monday July 09, 2012 @01:19AM (#4216807)
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.
Re:Speak.js Demo by chime on Monday July 09, 2012 @01:33AM (#4216833)
iOS 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.

Re:Speak.js Demo by daemon13 on Monday July 09, 2012 @02:03AM (#4216890)
Not 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.

Re:Speak.js Demo by jaredsohn on Monday July 09, 2012 @03:33AM (#4217115)
Discussion of the same project from almost a year ago: http://news.ycombinator.com/item?id=2828626
Re:Speak.js Demo by spenvo on Monday July 09, 2012 @03:09AM (#4217041)
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?
Re:Speak.js Demo by unimpressive on Monday July 09, 2012 @04:29AM (#4217217)
Not working in Ubuntu 11.10, Firefox 13.
Re:Speak.js Demo by syassami on Monday July 09, 2012 @04:29AM (#4217214)
Works on Chrome - osx lion, you have to wait a good 15 seconds before sound starts though
Re:Speak.js Demo by cabalamat on Monday July 09, 2012 @01:47AM (#4216861)
Why does it pronounce Caligula as Caligul? And is it possible to input IPA into it?
Re:Speak.js Demo by chrischen on Monday July 09, 2012 @02:54AM (#4217002)
It seems to ignore the -a in "sucka" too. Must be something with trailing As.
Re:Speak.js Demo by tiglionabbit on Monday July 09, 2012 @04:05AM (#4217173)
It seems to be missing 'ly' as well.
Re:Speak.js Demo by lexy0202 on Monday July 09, 2012 @04:40AM (#4217245)
Re:Speak.js Demo by BaconJuice on Monday July 09, 2012 @08:46AM (#4217848)
can someone explain to me what is going on in there? How are the words generated with this file?
Re:Speak.js Demo by radarsat1 on Monday July 09, 2012 @09:28AM (#4218016)
Hm, I guess that is compiled from http://espeak.sourceforge.net/ so the source might be a better starting point.

http://espeak.svn.sourceforge.net/viewvc/espeak/trunk/

Re:Speak.js Demo by franze on Monday July 09, 2012 @10:12AM (#4218241)
hiho

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)

Re:Speak.js Demo by dharma1 on Monday July 09, 2012 @04:46AM (#4217258)
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
Re:Speak.js Demo by john2x on Monday July 09, 2012 @02:40AM (#4216971)
Not playing on Safari, Mac OS X 10.7.4
Re:Speak.js Demo by martincerdeira on Monday July 09, 2012 @09:41AM (#4218095)
It does not work on firefox 13.0.1
Re:Speak.js Demo by gojomo on Monday July 09, 2012 @01:27AM (#4216824)
Sounds a lot like the old Talking Moose/Macintalk voice (1986):

http://en.wikipedia.org/wiki/Talking_Moose

Re:Speak.js Demo by PsyGeek on Monday July 09, 2012 @04:01AM (#4217166)
Doesn't work with Firefox in Arch Linux using kernel 3.3.7 -- odd.
Re:Speak.js Demo by RandallBrown on Monday July 09, 2012 @02:36AM (#4216963)
How does this work? Does it use the audio tag and a data URI?
Re:Speak.js Demo by chewxy on Monday July 09, 2012 @03:02AM (#4217024)
The 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

Re:Speak.js Demo by quizbiz on Monday July 09, 2012 @02:58AM (#4217017)
Not friendly with Dolphin Browser on Android.
Re:Speak.js Demo by badragon on Monday July 09, 2012 @08:34AM (#4217808)
GPL V3 so I would not take a chance with it.
Re:Speak.js Demo by azakai on Monday July 09, 2012 @10:58AM (#4218471)
If there is another speech generator with permissive licensing we can compile that one too.