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
----------------------
Warmest Regards,
Mark.
--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things
_______________________________________________
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