revSpeak and accented letters
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
revSpeak and accented letters
I'm trying revSpeak command and noticed that when I give it as text to speack a string containing accented letters (like "è") the text is not read. Any idea?
Re: revSpeak and accented letters
Hi Mag,
Yes, revspeak doesn't work with accented letters on OSX since Lion
You have to use applescript for that
Best regards
Jean-Marc
Yes, revspeak doesn't work with accented letters on OSX since Lion
You have to use applescript for that
Best regards
Jean-Marc
https://alternatic.ch
Re: revSpeak and accented letters
Thank you so much Jean-Marc.
So, I will go with something like:
Field "AppleScriptCode":
So, I will go with something like:
Code: Select all
put the field "AppleScriptCode" into theCode
do theCode as "applescript"
say "Hello!" using "Agnes"
Re: revSpeak and accented letters
Bernd have done an excellent stack I use every day
you can find it here
http://forums.runrev.com/phpBB2/viewtop ... eak#p42120
There is also a way by shell in the same thread
All the best
Jean-Marc
you can find it here
http://forums.runrev.com/phpBB2/viewtop ... eak#p42120
There is also a way by shell in the same thread
All the best
Jean-Marc
https://alternatic.ch
Re: revSpeak and accented letters
Very interesting...
Re: revSpeak and accented letters
Hi Mag,
I forgot you have to replace " à " by " a " in the text.
Some voices (Virginie in french) says
"il est parti a accent grave Paris" instead
"il est parti à Paris"
Best regards
Jean-Marc
I forgot you have to replace " à " by " a " in the text.
Some voices (Virginie in french) says
"il est parti a accent grave Paris" instead
"il est parti à Paris"
Best regards
Jean-Marc
https://alternatic.ch
Re: revSpeak and accented letters
:-O Really? But this don't changes the pronunciation of the words?jmburnod wrote:Hi Mag,
I forgot you have to replace " à " by " a " in the text.
Some voices (Virginie in french) says
"il est parti a accent grave Paris" instead
"il est parti à Paris"
Best regards
Jean-Marc
BTW
As French voices I have: Amelie, Chantal, Nicolas, Audrey, Aurelie and Thomas.
Re: revSpeak and accented letters
That concern only the WORD "à" that is the reason you have to replace " à " and not "à"
https://alternatic.ch
Re: revSpeak and accented letters
Thank you. I will add this code:

Code: Select all
replace " à " with " a " in theText -- to avoid the "il est parti a accent grave Paris" bug

Re: revSpeak and accented letters
Hi Mag,
Glad to help you.
I didn't verify all cases but it seems that "à" is the only case considered like a word with only one accented letter
Glad to help you.
I didn't verify all cases but it seems that "à" is the only case considered like a word with only one accented letter
https://alternatic.ch
Re: revSpeak and accented letters
Hi All,
There is a simpler way using revspeak
works fine for me
Kind regards
Jean-Marc
There is a simpler way using revspeak
Code: Select all
on mouseUp
get "je suis à l'école"
put unidecode(uniencode(it),"UTF8") into tSentence
revspeak tSentence
end mouseUp
Kind regards
Jean-Marc
https://alternatic.ch
Re: revSpeak and accented letters
Hi All,
It seems LC 6.7 has changed something in revspeak command
With LC 5.5 I needed use this
because it didn't work with accented letters.
With LC 6.7 we can return to a simple revspeak command
Best regards
Jean-Marc
It seems LC 6.7 has changed something in revspeak command
With LC 5.5 I needed use this
Code: Select all
put "mangé" into tText
revspeak unidecode(uniencode(tText),"UTF8")
With LC 6.7 we can return to a simple revspeak command
Code: Select all
put "mangé" into tText
revspeak tText
Jean-Marc
https://alternatic.ch