Page 1 of 1

rrEnarrator and TTS in LC

Posted: Sun Dec 20, 2015 6:53 am
by DanShafer
I'm designing a product that requires text-to-speech capability and iOS platform delivery. I note that revSpeak isn't supported natively on iOS (bummer!) but a bit of rummaging around the attic reveals the existence of something called rrEnarrator, a sample external included with the externals SDK for LC.

I'm not adept at programming languages outside LC, JavaScript and Smalltalk, none of which will be useful in creating or configuring an external for LC so I'm wondering whether anyone else has worked with this external and created a more or less full implementation that would give me text-to-speech (tts) capability in a library type of package for iOS apps in LC?

All I really need is the ability to speak the contents of a variable or container.

Re: rrEnarrator and TTS in LC

Posted: Sun Dec 20, 2015 9:42 am
by richmond62

Re: rrEnarrator and TTS in LC

Posted: Sun Dec 20, 2015 11:59 am
by jmburnod
Sunnytext2speech Thierry's external is a very good way to speak a text directly with a pause/resume feature
I use it for 3 months with success in the new version of EcrireEnpictos.
Best regards
Jean-Marc

Re: rrEnarrator and TTS in LC

Posted: Sun Dec 20, 2015 12:50 pm
by Thierry
jmburnod wrote:Sunnytext2speech Thierry's external is a very good way to speak a text directly
with a pause/resume feature.

I use it for 3 months with success in the new version of EcrireEnpictos.
Merci Jean-Marc for the feedback.

You can download a trial version with a demo stack here:

https://sunny-tdz.com/livecode/sunnytext2speech



A new version for iOS9.1 is in the pipeline with a new callback message
to get notified by the external about the text being played.

For instance, this will underline in real time the text being spoken:

Code: Select all

on sunnYtext2speechIsTalking  p1, p2
  set the textstyle of char p1 to p2 of field "mySpeech" to "underline"
end sunnYtext2speechIsTalking
If you want to test the Beta for iOS9.1
please go here:
https://sunny-tdz.com/
to have it quickly.

Kind regards,

Thierry

Re: rrEnarrator and TTS in LC

Posted: Sat Jan 02, 2016 12:00 am
by scotttyang
I use sunnytext2speech for Chinese, Spanish and English Apps. New update coming.