rrEnarrator and TTS in LC

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
DanShafer
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 21
Joined: Thu Feb 03, 2011 8:51 pm

rrEnarrator and TTS in LC

Post by DanShafer » Sun Dec 20, 2015 6:53 am

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: rrEnarrator and TTS in LC

Post by richmond62 » Sun Dec 20, 2015 9:42 am


jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: rrEnarrator and TTS in LC

Post by jmburnod » Sun Dec 20, 2015 11:59 am

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
https://alternatic.ch

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: rrEnarrator and TTS in LC

Post by Thierry » Sun Dec 20, 2015 12:50 pm

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.

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
Kind regards,

Thierry
Last edited by Thierry on Thu Nov 17, 2022 12:31 pm, edited 2 times in total.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

Re: rrEnarrator and TTS in LC

Post by scotttyang » Sat Jan 02, 2016 12:00 am

I use sunnytext2speech for Chinese, Spanish and English Apps. New update coming.

Post Reply

Return to “Multimedia”