text to speech android

JeeJeeStudio jeejeestudio at gmail.com
Mon Jul 20 01:32:58 EDT 2020


At least on Mac you know what voice you get. I wonder how other devs handle
this on Android when selecting a voice, because you never know exactly what
you choose.

Op ma 20 jul. 2020 06:07 schreef Monte Goulding via use-livecode <
use-livecode at lists.runrev.com>:

> Hi Scott
>
> The identifiers and names all come from the macOS NSSpeechSynthesizer API
> and yes Victoria does appear to be the only voice with an uppercase
> character in the identifier `com.apple.speech.synthesis.voice.Victoria`,
>
> Cheers
>
> Monte
>
> > On 20 Jul 2020, at 12:57 pm, scott--- via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > Ack! with the exception of “Victoria” which seems to require an
> Uppercase first letter. (utter chaos)
> >
> >> On Jul 19, 2020, at 7:44 PM, scott--- via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >>
> >> 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
> >>
> >>
> >> _______________________________________________
> >> 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
>
>
> _______________________________________________
> 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