Text highlighting using revSpeak

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Robert S
Posts: 5
Joined: Wed Jul 24, 2013 11:00 am

Text highlighting using revSpeak

Post by Robert S » Wed Jul 24, 2013 12:04 pm

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Text highlighting using revSpeak

Post by Klaus » Wed Jul 24, 2013 12:46 pm

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

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Text highlighting using revSpeak

Post by shaosean » Wed Jul 24, 2013 1:00 pm

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..

Robert S
Posts: 5
Joined: Wed Jul 24, 2013 11:00 am

Re: Text highlighting using revSpeak

Post by Robert S » Wed Jul 24, 2013 2:27 pm

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

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Text highlighting using revSpeak

Post by shaosean » Thu Jul 25, 2013 5:04 am

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*

Post Reply