Page 1 of 1
Text highlighting using revSpeak
Posted: Wed Jul 24, 2013 12:04 pm
by Robert S
Hi all,
I've been using LiveCode and have created a basic 'talker' application. Now, I'm at a dead end as I want to be able to highlight the text as it speaks. i.e. as each word is spoken in a sentence, its changes the background colour of that word to highlight it. This is useful in text-to-speech applications and so any help, pointers or code samples would be greatly appreciated.
Regards,
Robert
Re: Text highlighting using revSpeak
Posted: Wed Jul 24, 2013 12:46 pm
by Klaus
Hi Robert,
looking at the revspeak commands in the dictionry, it doesn't look like you can
manage more that start and stop revSpeak.
Best
Klaus
Re: Text highlighting using revSpeak
Posted: Wed Jul 24, 2013 1:00 pm
by shaosean
How about trying it the other way around and make it speak when the word is highlighted.. Move from word to word once the
revIsSpeaking function returns false.. Might sound a little more robotic, but who knows..
Re: Text highlighting using revSpeak
Posted: Wed Jul 24, 2013 2:27 pm
by Robert S
Hi,
Thanks for both of those replies. I couldn't find anything in the documentation on word highlighting which is a pity.
I'll try speaking one word at a time but I think this will sound robotic and so no use in the filed of text-to-speech for high end SAPI5 voices.
Whats the procedure for asking for a LiveCode update for this? think its fairly important in terms of speech.
Regards,
Robert
Re: Text highlighting using revSpeak
Posted: Thu Jul 25, 2013 5:04 am
by shaosean
In the last couple decades of using Rev, it seems that they will add features (mostly in a half-assed manner) and never actually go back to improve them or fix them (unless it is a really nasty bug).. The users that are helping the open source code base look like they are just adding in features to make their projects easier/better, but again, no real features being added for the masses.. Of course, this could be said about all languages and open source projects, so *shrug*