Hi Mark,

> Am 15.08.2024 um 15:53 schrieb Mark Waddingham via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> On 2024-08-15 14:36, Klaus major-k via use-livecode wrote:
>> Hi all,
>> I am currently working with the revSpeak library (needs to be
>> crossplatform Mac and Win) and facing serious problems.
>> I have a field with all available voices, that I fill with:
>> -------------------------------------------
>> on mouseUp
>>   put revSpeechVoices() into tVoices
>>   sort tVoices
>>   put textdecode(tVoices,"utf8") into fld "fi_voices"
>> end mouseUp
>> -------------------------------------------
>> textdecode is neccessary to preserve UMLAUTS like in:
>> Sandy (Französisch (Kanada))
>> ## Sandy (French, Canada))
>> Now all the french voices do NOT work!
>> I tried:
>> ----------------------
>> revSetSpeechVoice tVoice
>> ## Where tVoice of course contains the above mentioned voice
>> ----------------------
>> I even tried:
>> ----------------------
>> put textencode(tVoice,"native") into tVoice2
>> revSetSpeechVoice tVoice2
>> ----------------------
>> No dice, always reverts back to the "default" voice on my Mac.
> 
> Did you try:
> ----------------------
> put textencode(tVoice,"utf8") into tVoice2
> revSetSpeechVoice tVoice2
> ----------------------

obviously not, but that was the missing piece, works now!
Thanks a bunch! :-)

> Warmest Regards,
> 
> Mark.

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to