Page 1 of 1
Using RevSpeak
Posted: Fri Jan 16, 2009 12:15 am
by jsburnett
I have never tried to use RevSpeak. The command seems simple. However when I use it:
put "test" into vSpeak
revSpeak vSpeak
Nothing happens. I get no error too (the result is empty). My computer should be able to handle text-to-speech. My speakers are on and the volme is medium.
Any thoughts?
Posted: Fri Jan 16, 2009 2:26 am
by Randy Hengst
This won't be much help, but your codes works as is for me on a PowerBook G4 OSX.4.11 using Studio 2.8.1, 2.9, and 3.0
Using revSpeak
Posted: Fri Jan 16, 2009 5:06 am
by edljr
I have only used revSpeak once.
revSetSpeechVoice "Vicki"
put "Happy Days" into mySound
revSpeak mySound
This works perfectly on my Mac (OSX.5.5) with Rev 3.0.
It works sporadically on my Vista machine (frustrating).
RevSpeak
Posted: Fri Jan 16, 2009 3:19 pm
by jsburnett
Hi,
I tried your script on windows xp.
No sound came out.
I am wondering if I am missing something basic - something I need to set up with text - to - speech.
Any more ideas would be helpful.
Thanks again
revSpeak
Posted: Fri Jan 16, 2009 5:40 pm
by edljr
I am not sure what the problem could be. There were no preparatory or setup steps involved. The only think I can think to check is:
1. Use play "filename.wav" to ensure there are no hardware issues.
2. Ensure the variable "mySound" is properly declared.
3. Try the code the code using the multi-line message box. If it works there, then there is something wrong with your stack. If it does not work there, then you need someone with more experience than me to help.
revSetSpeechVoice "Vicki"
put "Happy Days" into mySound
revSpeak mySound
If you send me your stack, I will test it on my Mac to see if the problem is specific to your setup or if it is stack-related.
Ed
RevSpeak
Posted: Sat Jan 17, 2009 8:58 pm
by jsburnett
I tried the command revSpeechVoices() to get a list of available voices to use and it is empty - although voices are listed on my computer under the system - I looked in the control panel "Speech".
I am using a Windows XP service pack 3.
So, I can't even set a voice - I get an error.
Any help or thoughts here?
Thanks for [u]all [/u]your interest.
revSpeak
Posted: Sat Jan 17, 2009 9:53 pm
by edljr
Let me download the trial version for Windows (I develop on the Mac) to see if I can figure this out. I will post more in a later post.
revSpeak
Posted: Sat Jan 17, 2009 10:26 pm
by edljr
J.S. Burnett,
I tried this out on a Vista machine. It works fine with one quirk. The message box does not provide the right results (makes no sense), but when I put the code against a button, it works fine.
This must be a Windows (or Vista) issue because I do not have that problem on the Mac.
~ Ed
Posted: Sun Jan 18, 2009 9:00 am
by Janschenkel
In the message box, did you do type it in the 'single line' tab or the 'multiple line' tab? The reason I'm asking is that if you're using the 'single line' box, every command is executed in its own little world - and so the call to revSpeak will pass it an empty parameter as the message box doesn't know the variable 'vSpeak' any longer.
It should work if you type the following as one line and then hit return:
Code: Select all
put "test" into vSpeak ; revSpeak vSpeak
The message box will interpret and execute the two lines together as a whole if you use the semicolon as line separator.
HTH,
Jan Schenkel.
revSpeak
Posted: Sun Jan 18, 2009 9:35 am
by edljr
Hi Jan,
I use the message box extensively on my Mac (primary development area) with both the single multi-line modes. What a great tool! I have never had a problem there.
The only issue I had was with the trial version on my Vista PC. This one does not need to be solved; I just downloaded the trial there to try and help troubleshoot J.S. Burnett's issue.
Thanks for weighing in. I am hoping someone that develops on the PC can help J.S. with his issue.
Ed
RevSpeak
Posted: Sun Jan 18, 2009 6:50 pm
by jsburnett
Thanks for all your help.
I've tried using the message box and code in a button and it doesnt speak, so to speak.
I've even tried 'revSpeak "Test this out!" ' and it doesnt work.
I think it is something related to not having any voices recognized in the revSpeechVoices() or windows xp or most likely - i am using version 2.2 (not 3.0 or other versions like ya all!)
Any ideas on 'seeing' the voices - wuld be helpful. I have them on the computer and 'Navigator' and other programs can do text-to-speech with out trouble.
Thanks again.
revSpeak trouble
Posted: Tue Jan 20, 2009 10:10 pm
by jsburnett
If there is anyone who could help me using revSpeak that would be great.
I really do appreciate all the help as above.
I am using a tablet PC - with windows XP. revSpeechVoices=false (??). I think this is the problem. Otherwise revSpeak "Script looks easy" and should speak that phrase, but doesnt.
I am not 'setting' up text to speech correctly. Is version 2.2 wrong (documentation states it does support this function).
Thanks.
revSpeak
Posted: Sat Jan 24, 2009 8:05 pm
by edljr
One thing to check is if you have "Microsoft Text-to-Speech Engine 4.0" installed on your PC. It should be listed in the "Programs and Features" section of the Control Panel.
The following posting from the Microsoft Help & Support Forum might help.
http://support.microsoft.com/kb/306902
revSpeak
Posted: Sun Jan 25, 2009 3:48 pm
by Agnar Tonheim
Hi
My system :
Microsoft® Windows Vista™ Home Premium
Service Pack: 1.0
I also had a problem getting revSpeak to work. The sound was to low.
The solution for me was to open the "Volume mixer" (click on the loadspeaker in the bottom right corner of the screen) and set the volume for "Revolution Engine for Windows " to max. After I did that, revSpeak worked OK
I used this code in a button :
Code: Select all
on mouseUp
local mySound
revSetSpeechVolume 100
put "Happy Days, together with Jesus for ever" into mySound
revSpeak mySound
end mouseUp
PS! I have not compiled standalone and tested.
Posted: Sat Apr 18, 2009 12:30 am
by acidjazz
Thanks Agnar, I had the same experience (vista, volume too low) , and your solution worked! I also created a stand alone and it still worked okay.
Mark