text to speech android

scott at elementarysoftware.com scott at elementarysoftware.com
Sun Jul 19 22:44:32 EDT 2020


I notice that  although speechGetVoices() provides names that begin with an uppercase letter
speechSetVoice() appears to require the name be lowercase for it to work reliably.  

LC 9.6.0  Mac Mojave

—
Scott Morrow

> On Jul 19, 2020, at 9:00 AM, matthias rebbe via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Klaus,
> 
> just did a quick successful test on Mac OS 10.14.6 with this script
> 
> on mouseup
> 
>  speechInitializeLibrary
> 
> end mouseup
> 
> on speechLibraryInitialized pSuccess
> 
>  if pSuccess then
> 
>   speechSpeakUtterance "Hallo Klaus"
> 
>   get speechfinalizeLibrary()
> 
>  end if
> 
> end speechLibraryInitialized
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 19.07.2020 um 14:28 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> Hi Klaus,
>> 
>>> Am 18.07.2020 um 12:30 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>>> 
>>> Hi all,
>>> 
>>> in 9.6 we have a new speech library for Mac, iOs and Android.
>>> In the dictionary "revspeak" is still listed as Mac and Windows only.
>>> 
>>> Am I correct to presume that the syntax-> revspeak "what to speak"
>>> is still the same for this new speech library on Android?
>> 
>> no, you are not correct!
>> The new syntax is -> speechSpeakUtterance "what to speech speak or say?"
>> 
>>> Thanks in advance!
>> 
>> You're welcome!
>> 
>>> Best
>>> 
>>> Klaus
>> 
>> Did someone could make this work on a Mac so far?
>> 
>> 
>> Best
>> 
>> Klaus
>> 
>> --
>> Klaus Major
>> https://www.major-k.de
>> klaus at major-k.de
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list