Why is it my pc sound card works off the say script but I don't get any sound off the sayezb script. I wrote script and when I changed all the
sayezb (" I see a")
to just the sound board
say("I see a")
it only works out of the soundboard. Also the ez robot speaker does work and tells me when wifi connection is made. I did look and search for this but didn't get any answers. I also get this when I try to use the ezb to speak: " Error on line 7: Cannot change synthesizer's output while speaking. "
I also tried the speech synthesis window and when I click for the ezb to speak, nothing comes out, only works with pc sound,
Here is the error I got window
Speech Synthesis Error (SayEZB): System.InvalidOperationException: Cannot change synthesizer's output while speaking.
at System.Speech.Internal.Synthesis.VoiceSynthesis.SetOutput(Stream stream, SpeechAudioFormatInfo formatInfo, Boolean headerInfo)
at System.Speech.Synthesis.SpeechSynthesizer.SetOutputStream(Stream stream, SpeechAudioFormatInfo formatInfo, Boolean headerInfo, Boolean closeStreamOnExit)
at System.Speech.Synthesis.SpeechSynthesizer.SetOutputToAudioStream(Stream audioDestination, SpeechAudioFormatInfo formatInfo)
at EZ_B.SpeechSynth.SayToStream(String msg)
at EZ_Builder.UCForms.FormSpeechSynthesis.ARQMA3s6X6c(Object , EventArgs )
Upgrade to ARC Pro
Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.
Right. That's basically the same as having both without the Wait added since the saywait isn't doing anything different as far as the interaction of the pair is concerned. It's wait is only effective in relation to whatever came after the saywait statement. In this case nothing does so it acts the same (simultaneous speech from the robot and the PC) as it does in this variation:
I was wondering. How did you get those error messages between the asterisks in your original post? They look more like messages C# might generate than the script language. Are you actually working with C# as opposed to the Script language?
The error messages I got from the window that came up telling me status of the script. This occurs only when I use the sayezb script not the pc sound script of say.
I will uninstall the program and install it again to see if this fixes it. I also had some freeze issues and the program stopped working. Should I also clean out the registry? I have Windows 8.1
Follow DJ's suggestion and post your project here using the "Upload file" tab on this page then hit "upload" then "Send". Or save it to the Cloud and tell us what the name of your project is called so we can investigate for you.
I reinstalled the latest program and now I had about 6 crashes. Will restart computer and see what happens. MrStemAIProject.EZB
Other than installing the latest version of ARC (released a few hours ago), try the full computer restart as you mentioned, and see what happens.
thank you for assisting me.
What does the sentence "script won't execute to stop" mean? Can you expand on that?
Also - let me look at your project and get back to you...
Try another machine like you say, and report back here with the results. Good luck.
BTW, you say about stopping the RSS news script. Do you mean to stop it talking? If so, you will need to add a new script control or phrase in the speech rec control, and add the following script...
He did mention that the EZ-B does have sound...
Well, that's what this does to the software...
Notice how the second command in your speech recognition has a space after the quote and before the https...? That is an invalid URL. I notice you might be a little spacebar happy :D. There's a lot of spaces inside of quotes all over the place in the project. This will of course, return errors and produce unusual results. Pay attention to blank spaces inside of quotes, because that can cause issues.
That space wouldn't be an issue for the speech synthesis, but it is a habit you should kick in the butt now before it turns into future frustrations
All of the speech recognition and PandoraBot controls are set to use the PC Speaker, not the EZ-B. This leads me to wonder if you have the volume turned up on your computer?
Lastly, the Connection Control has a very broken script with orphan Semicolons just hanging around... Again, those shouldn't be there and also giving you errors
The entire project is really full of syntax errors with blank spaces or strange random characters in code...
Maybe turn up the volume on your computer speakers and try it again Oh, and fix the code!
The speech recognition has commands to "detect faces" and colors - however, there is also a large amount of code in the Tracking Start of the Camera Control. So both are detecting the same thing? The commands are similar and there's a logic overlap - i am unable to predict the behavior of how what the outcome would be because, but i will recommend that you choose to use one or the other. Meaning, use your detection in a script outside of the Camera, or use the script in the Tracking Start of the camera - either way, pick one.
There is no PointAndTrack script... so that will cause errors in the camera control.
Maybe your robot is trying to talk, but the recursive logic is creating infinite loops of stuff. Can you start with a blank project and add the Speech Synthesis control? Just use that and see what your outcome is...
Also, turn your volume up