Hi all,
I am stuck augmenting my site with tts. I have read numerous tutorials and search the web for weeks now and still can't get anything to work.
So far this is what I have done...
Added a reference to: Interop.SpeechLib.dll
Imported: SpeechLib
Made an instance of the voice: Dim voice As New SpVoice()
Put in fake text: voice.Speak("Say Something.")
All together now...
What's even more odd is the fact that my exception is blank.
Please point me in the right direction...
Thanks.
I am stuck augmenting my site with tts. I have read numerous tutorials and search the web for weeks now and still can't get anything to work.
So far this is what I have done...
Added a reference to: Interop.SpeechLib.dll
Imported: SpeechLib
Made an instance of the voice: Dim voice As New SpVoice()
Put in fake text: voice.Speak("Say Something.")
All together now...
VB.NET:
Private Sub lbtnTTS_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbtnTTS.Click
Try
Dim voice As New SpVoice
voice.Speak("Say Something.", SpeechVoiceSpeakFlags.SVSFDefault)
Catch exc As Exception
Response.Write(exc.ToString)
End Try
End Sub
What's even more odd is the fact that my exception is blank.
Please point me in the right direction...
Thanks.