<div dir="ltr"><div><br></div>Seen lately this conversation. Just to add my 2 cents: TurtleJS [1] use the meSpeak.js [2] library to implement "Speak" block (see in Media palette).<div><br></div><div>The interesting thing regarding this library is that it dynamically generate WAV audio so it don't need an Internet connection instead of other speech to text library.</div><div><br></div><div>Don't know if it works on the XO.</div><div><br></div><div>Hope it could help.</div><div><br></div><div> Lionel.</div><div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="https://turtle.sugarlabs.org/">https://turtle.sugarlabs.org/</a> </div><div class="gmail_extra">[2] <a href="http://www.masswerk.at/mespeak/">http://www.masswerk.at/mespeak/</a><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Date: Fri, 14 Aug 2015 19:44:46 -0600<br>
From: Yader Vel?squez <<a href="mailto:yajosev@gmail.com">yajosev@gmail.com</a>><br>
To: James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>><br>
Cc: <a href="mailto:sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a><br>
Subject: Re: [Sugar-devel] Speech synthesizer in sugar web<br>
Message-ID:<br>
<<a href="mailto:CA%2BpQJ9Z9Q9GgHiwhNyFTyrVywUz1spm1xTG4mZ%2BsuLD0X1VLbQ@mail.gmail.com">CA+pQJ9Z9Q9GgHiwhNyFTyrVywUz1spm1xTG4mZ+suLD0X1VLbQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi James,<br>
<br>
Yes, I know it's a browser feature, I'm following the official doc to<br>
create<br>
web activities[1] but neither the browser activity neither the activity<br>
that I'm<br>
developing have that feature :(<br>
<br>
I did "window.navigator" in my activity console and this is what I got:<br>
appCodeName: "Mozilla"<br>
appName: "Netscape"<br>
appVersion: "5.0 (Macintosh, Intel Mac OS X ) AppleWebKit/538.1 (KHTML,<br>
like Gecko) Safari/538.1"<br>
<br>
<br>
I need synthesize spanish text in the current browser engine that sugar<br>
uses to run web activities.<br>
<br>
Regards.<br>
<br>
<br>
It is a feature of the browser. What browser are you using?<br>
><br>
> In what way does it not work?<br>
><br>
> Does the feature detection test pass?<br>
><br>
> if ('speechSynthesis' in window) {<br>
> // Synthesis support. Make your web apps talk!<br>
> }<br>
><br>
> If you use the browser to visit <a href="http://html5test.com" rel="noreferrer" target="_blank">html5test.com</a> does the "Speech<br>
> Synthesis" item have a "Yes ?"?<br>
><br>
<br>
[1] <a href="https://developer.sugarlabs.org/activity.md.html" rel="noreferrer" target="_blank">https://developer.sugarlabs.org/activity.md.html</a><br>
<br>
<br>
<br>
--<br>
Yader.<br>
<a href="http://yaderv.wordpress.com" rel="noreferrer" target="_blank">http://yaderv.wordpress.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150814/89028233/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150814/89028233/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sat, 15 Aug 2015 12:30:39 +1000<br>
From: James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>><br>
To: Yader Vel?squez <<a href="mailto:yajosev@gmail.com">yajosev@gmail.com</a>><br>
Cc: <a href="mailto:sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a><br>
Subject: Re: [Sugar-devel] Speech synthesizer in sugar web<br>
Message-ID: <<a href="mailto:20150815023039.GB29172@us.netrek.org">20150815023039.GB29172@us.netrek.org</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Well, I don't know anything about "sugar build", I don't use it or<br>
need it.<br>
<br>
But still it would be useful to identify your browser properly, try the<br>
feature detection test, and even use the browser to visit <a href="http://html5test.com" rel="noreferrer" target="_blank">html5test.com</a>.<br>
<br>
Your "window.navigator" response tells me nothing useful; I don't know<br>
how to reproduce it.<br>
<br>
The instructions [1] for setting up a development environment say you<br>
must run Linux, but you haven't said which Linux you have run. The<br>
browser is likely to come from there.<br>
<br>
1. <a href="https://developer.sugarlabs.org/dev-environment.md.html" rel="noreferrer" target="_blank">https://developer.sugarlabs.org/dev-environment.md.html</a><br>
<br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" rel="noreferrer" target="_blank">http://quozl.linux.org.au/</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
End of Sugar-devel Digest, Vol 82, Issue 17<br>
*******************************************<br>
</blockquote></div><br></div></div></div>