SAPI Text To Speech "locks Up" Application While Speaking A Message
May 20, 2010
I'm using VB 2010, and am trying to add a simple TTS function to my program. I'm able to create a voice object, and get it to speak (Voice.Speak("whatever") with no difficulty.
The problem I'm having is that while the "whatever" is actually being spoken, the program doesn't seem to respond to input. The input does show up once the audio is through, but I really need to be able to detect some input (say, a mouse or button click) during a message and respond immediately, perhaps even stopping the audio.
View 2 Replies
ADVERTISEMENT
Jan 17, 2012
I'm using a long string using SAPI speech and I want to be able stop the speech rather than have to listen to it babble on throughout the whole thing. So, in one function, we'll say it's the load function, it declares a speech string: [Code] I'm trying to get it to abort reading the audio but can't seem to figure out how to get it working. I've seen examples that have used SVSFlagsAsync and SVSFPurgeBefore Speak but I can't get either to be recognized and I've added (what I believe to be) the necessary resources to the library and added the imports at the top of the page. Does anyone know how to interrupt the speech?
View 1 Replies
Aug 3, 2008
I have a question regarding the Vista Speech API. I have written a program using the Vista SAPI to recognize commands with the inprocRecoContext in VB.NET. Everything works well so far - the speech recognition is trained for more than one voice and it works really perfect! The problem is that after a while the speech recognition engine trains itself to a specific user or even to background noise such as the tv and the recognition doesn't work anymore. When I copy back the original trained profile it works again for a day or so.So my question is: Is it possible to turn off the automatic learning of the speech recognition engine?
View 5 Replies
May 16, 2010
I'm programming with vb 2008
my users need to speaking with other my user by my application
View 5 Replies
Oct 23, 2011
I'm trying to create a Speech Recognition support for my program. I want to make it so that if I say something in my microphone, the program just writes what I said in Label1. I looked for Speech Recognition codes in MSDN and Google, but I didn't find anything useful. I found a code, but it was for VB.net, I tried but it didn't work in VB 2010.
View 1 Replies
Aug 12, 2009
I have written this voice synthesiser code in vb.net that converts text to speech using an application. I need to include emotions using rules I dont know if anyone can help with what to do..
View 2 Replies
Oct 15, 2010
I'm using Visual studio 2008 and microsoft sapi in a forms application. I am using text to speech which works just fine however when the computer is speaking it "bricks" the application and the main ui is unresponsive until the computer is done talking then everything returns to normal. To counter this issue I tried using the background worker thread to establish the sapi on another thread however the form is still freezing when the computer speaks. I would like to note that at this point there is nothing on the form except a tabbed window and a few buttons the form is not performing any code what so ever other then the text to speech.
View 18 Replies
May 26, 2011
I just want to know that how can i highlight text on a richtextbox control while reading the text using speech sdk control. I mean the word currently speak automatically selected in the RichTextBox.
View 2 Replies
Dec 18, 2009
I develop windows applications in VB.NET using Visual Studio 2008. Recently I reloaded my pc and moved from XP to Windows 7 64 bit. Now when I am debugging, when I should get a runtime error, the executable instead locks up when it should bring up the code with the line that it crashed on like you'd expect in debug.
This doesn't happen all the time, only when I get a runtime error in a separate assembly that is not in the assembly I'm debugging. It used to work fine, but now it locks up. If I run the executable outside of Visual Studio (without debug) I at least get a runtime error like you'd hope for. I don't even get that when debugging.
View 1 Replies
Sep 23, 2010
I have a Windows Forms application created in VS2005 which runs fine on the user desktop but when running in Terminal Server session it frequently locks up when the remote desktop window is minimised and the user is working locally.There is plenty of RAM on the server so this is not an issue, the only solution so far has been to force the user session to log off on the Terminal Server and then reconnect.
View 14 Replies
Dec 23, 2010
I have a quite simple application that is having some random locks up. It's just a few text fields that the user fill it up, 3 sets of Radio buttons, one of them with flags to chose the language and click the PDF button. The application uses iTextsharp to load a PDf template, insert the text into it, depending on the language loads some extra text from a .xml file, and depending on the radio button removes the images from the PDF, closes the pdfstamper and uses [Code] to open the file with whatever PDF application the user have installed and closes itself.
Sounds simple, but after the application is installed in the machine (never in debugging mode) it randomly locks up the application. I tried re-publish the application commenting out the Start(filename) line and the thing stopped locking. And I double checked it, re-publish with the line again and it locked after just a few attempts. [Code]
View 1 Replies
Oct 27, 2010
I'm have a quite big application which have 2 serial ports and access 1 DB (running on Background workers). I'm experiencing some random locks while the application is running and I started looking for something that could cause it. One of the obvious possibilities would be if I had in the GUI thread some While_End that would never return.I have one While_End in my GUI thread but IMHO it does not look like it would lock, so I want your opinion: Does the code below looks like will lock?? If 'yes', Why ?
[code]...
Does anyone can imagine a scenario where this While_End would not return ?
View 1 Replies
Jul 19, 2011
I have a do until loop. But whenever my program get's to it, it always locks the application so I can't click on anything until the loop is finished. How do I fix this? I want to be able to stop the loop with a stop button.
View 11 Replies
Jun 16, 2011
I need to retrieve the actual text of a message box from another application. When using WM_GETTEXT, the values returned are the title of the message box, and the text of the control button (in this case "OK").
My issue is that what I really need is the actual text message from the box itself. I've been researching this for days and can't find a way to do this. Nothing I have found so far tells me how to do this.
View 11 Replies
Jun 22, 2009
create an application to send an email as a sms text message to the recipient?
View 1 Replies
Aug 11, 2010
recommended alternatives for speech recognition other than Microsoft Speech libraries?
View 2 Replies
Oct 5, 2009
New here and just started working on .NET... I was making a MDI app with vb.NET and SAPI i used System.speech.recognition namespace and SpeechRecognizer element.. working for single doc.. bt when i go for new form with same giving
[Code]...
View 1 Replies
Jan 9, 2012
New here and just started working on .NET...I was making a MDI app with vb.NET and SAPIi used System.speech.recognition namespaceand SpeechRecognizer element..working for single doc.. bt when i go for new form with same givingAn error occurred creating the form. See Exception.InnerException for details. The error is: Unable to cast COM object of type 'System.Speech.Internal.SapiInterop.SpSharedRecogn izer' to interface type'System.Speech.Internal.SapiInterop.ISpRecognizer' . This operation failed because the QueryInterface call on the COM component for the interface with IID
View 6 Replies
Jun 27, 2011
You can use Dragon Naturally Speaking with Microsoft Access databases and I was wondering if you can do the same with Visual Basic .Net. I think Access has this as a feature, that it interacts with Dragon somehow, not just accepting input. Correct me if I am wrong. I'd like to know if Visual Basic .Net supports this too. I have been searching on the net and haven't found anything.
View 12 Replies
Jul 17, 2011
I am wondering if there is a simple way to make the text to speech occur after the updating of label.text
If I have the following:label.Text = "words words" voice.Speak(label.Text)
I would like the label on the form to display "words words" before it speaks. I'm a beginner with vb, and the only thing I could come up with was to use a timer. Just wondering if there's a simpler/more sophisticated solution.
View 2 Replies
Jul 30, 2009
i need to know what is logic behind text to speech and speech to text conversion as iam gona start a prjt in VB.net on this basis
View 2 Replies
Apr 4, 2009
1 how do i run mp3 on vb2008 ? 2 how to get microphone input , and convert it to text ? 3 some technique to convert text to audio ?
View 2 Replies
Oct 26, 2010
I have been pulling my hair on how to write a simple (may be not) program to recognize my native language (again, not English).I want to be able to just speak to the computer as we could in English and have the program type the words for me.We use the English alphabet to write our words so that's one step ahead already, but I don't understand how I can tie the sound to the words.
View 3 Replies
Aug 23, 2009
im currently doing B.E....final year...i wanna do a project on speech to text converter in vb.net.....i request u to plz guide me where should i start first
View 2 Replies
Jun 11, 2011
Speech to text with program?[code]...
View 1 Replies
Apr 29, 2011
So basically, I now how to do the whole text to speech thing with the following Button
VB
Dim SAPI
SAPI = CreateObject("SAPI.spvoice")
SAPI.Speak(TextBox1.Text)
But is there any way to get it to read other writing systems, such as Korean Is there some sort of software or some addon or something I can install? Perhaps a Korean version of Microsoft Visual Studio 2010, or something?I'm really at a loss here, and it would help me out a lot if there's a solution out there that someone can think of.
View 1 Replies
Aug 8, 2011
I'm trying to do text-to-speech in VB2008 on Windows 7 but I encounter the following exception: first chance exception of type 'System. Runtime. InteropServices.COMException' occurred in Text to Speech.exe..so I made the simplest program I could imagine that should work to minimize error sources but I can't seem to avoid the error. I have included a reference to Microsoft Speech Object COM for both programs and speech-to-text works in the original program.[code]
View 3 Replies
Jan 1, 2009
Is it possible to use text to speech in vb 2008?
View 6 Replies
Oct 26, 2010
how do i convert text to wave from vb.net in speech sdk
View 4 Replies
Feb 3, 2010
I was learning to incorporate Text to Speech functionality through this project
View 4 Replies