Asked — Edited

Ezbsay() And Say()

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.SetOutputToNull() 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 )


frank


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

#9  

Thanks everyone for the guidance. Even with just one line of script to have the ez b speak, I get nothing. I also ran the speech synthesizer settings and where the option is for pc sound or ez b, only the pc sound works. 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

PRO
Synthiam
#10  

Hmmm - can you share the project? It would help to see where the script is being executed. There was mention of a SoundBoard as well. If you can post the project here, we can take a look:)

United Kingdom
#11  

@frankcottnj

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.

#12  

Ok I am uploading the project. But I think it's a problem with either a reinstall or update because I started a black project and the ez board still had no sound when I went into the speech synthesizer.

I reinstalled the latest program and now I had about 6 crashes. Will restart computer and see what happens. MrStemAIProject.EZB

United Kingdom
#13  

Well, I don't know what to tell you, other than the project works for me no problem at all. It doesn't crash, and the "Say (EZB v4)" Speech Synthesis control works fine when typing in a phrase and having it speak through the EZ-B. Even changing the setting in the pandorabot control to speak through the EZ-B speaker works okay. I also added a script to the project and used SayEZB("Hello there.") and it worked as it should.

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.

#14  

I did the reinstall and used the latest version and still I don't have the ezb speaking. I do hear a fuzzle noise coming from the ezb and I will try to do this on another pc to see if the problem is my Toshiba L75 laptop. I hope it's not the ezb because I waited over a year before I finally got to try it and it's not under warranty. Oh well, my problem. I will take a laptop from the school home running Windows 7 to see if the unit works properly so I can pinpoint the problem. I also have an issue when the "today's news" rss is on, the script won't execute to stop it unless I go to the script window and run it manually. Maybe this has something to do with Windows 8.1.

thank you for assisting me. fc

#15  

I tried to go into the windows speech files and delete them to see if the speech synthesizer problem spoken of can be fixed. I am the local administrator but windows won't let me delete these files. I can't take ownership too. It seems that there may be a problem with my windows 8.1 I will have to try another laptop to see if my program works then if it does, I don't know what to do from here

fc

PRO
Synthiam
#16  

Does your EZ-B make noises - such as a bootup sound when power is applied? Or a connection sound when ARC is connected?

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