[Sugar-devel] Speech synthesizer in sugar web (Yader Vel?squez)

Lionel Laské lionel at olpc-france.org
Thu Aug 27 11:52:58 EDT 2015


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).

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.

Don't know if it works on the XO.

Hope it could help.

         Lionel.

[1] https://turtle.sugarlabs.org/
[2] http://www.masswerk.at/mespeak/


> Date: Fri, 14 Aug 2015 19:44:46 -0600
> From: Yader Vel?squez <yajosev at gmail.com>
> To: James Cameron <quozl at laptop.org>
> Cc: sugar-devel at lists.sugarlabs.org
> Subject: Re: [Sugar-devel] Speech synthesizer in sugar web
> Message-ID:
>         <
> CA+pQJ9Z9Q9GgHiwhNyFTyrVywUz1spm1xTG4mZ+suLD0X1VLbQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi James,
>
> Yes, I know it's a browser feature, I'm following the official doc to
> create
> web activities[1] but neither the browser activity neither the activity
> that I'm
> developing have that feature :(
>
> I did "window.navigator" in my activity console and this is what I got:
> appCodeName: "Mozilla"
> appName: "Netscape"
> appVersion: "5.0 (Macintosh, Intel Mac OS X ) AppleWebKit/538.1 (KHTML,
> like Gecko) Safari/538.1"
>
>
> I need synthesize spanish text in the current browser engine that sugar
> uses to run web activities.
>
> Regards.
>
>
> It is a feature of the browser.  What browser are you using?
> >
> > In what way does it not work?
> >
> > Does the feature detection test pass?
> >
> > if ('speechSynthesis' in window) {
> >  // Synthesis support. Make your web apps talk!
> > }
> >
> > If you use the browser to visit html5test.com does the "Speech
> > Synthesis" item have a "Yes ?"?
> >
>
> [1] https://developer.sugarlabs.org/activity.md.html
>
>
>
> --
> Yader.
> http://yaderv.wordpress.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150814/89028233/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Sat, 15 Aug 2015 12:30:39 +1000
> From: James Cameron <quozl at laptop.org>
> To: Yader Vel?squez <yajosev at gmail.com>
> Cc: sugar-devel at lists.sugarlabs.org
> Subject: Re: [Sugar-devel] Speech synthesizer in sugar web
> Message-ID: <20150815023039.GB29172 at us.netrek.org>
> Content-Type: text/plain; charset=us-ascii
>
> Well, I don't know anything about "sugar build", I don't use it or
> need it.
>
> But still it would be useful to identify your browser properly, try the
> feature detection test, and even use the browser to visit html5test.com.
>
> Your "window.navigator" response tells me nothing useful; I don't know
> how to reproduce it.
>
> The instructions [1] for setting up a development environment say you
> must run Linux, but you haven't said which Linux you have run.  The
> browser is likely to come from there.
>
> 1.  https://developer.sugarlabs.org/dev-environment.md.html
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
>
> ------------------------------
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> End of Sugar-devel Digest, Vol 82, Issue 17
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150827/3346c47c/attachment.html>


More information about the Sugar-devel mailing list