问题描述
我正在使用此代码来生成声音....在这里,我正在使用
"Interop.SpeechLib.dll"
''''''''''''''''''内部按钮单击''''''''''''''''''
voice.Voice = voice.GetVoices.Item(1)
voice.Speak("Welcome New Website",SpeechVoiceSpeakFlags.SVSFlagsAsync)
voice.WaitUntilDone(10000)
'''''''''''''''''''''''''''''''''''''''''''''''' ''
上面的代码会将文本"Welcome New Website"转换为语音..
这段代码在本地计算机上运行良好当我单击按钮声音时...
但是如果我单击按钮,语音将进入服务器,则在网络托管后出现了问题..不在单击按钮的系统中...
请提供解决方案,等待您的答复....
在此先感谢
I am using this code to generate voice .... Here i am using the
" Interop.SpeechLib.dll "
''''''''''''''''''Inside Button Click ''''''''''''''''''''
voice.Voice = voice.GetVoices.Item(1)
voice.Speak("Welcome New Website ",SpeechVoiceSpeakFlags.SVSFlagsAsync)
voice.WaitUntilDone(10000)
''''''''''''''''''''''''''''''''''''''''''''''''''''
The above code will convert the text "Welcome New Website " as voice ..
This code was working superbly in local machine When I click the button voice was coming......
but I have a problem after hosting in the web if I click the button the voice was coming in the server.. not in system where u click the button ...
please give a solution waiting for u r replies....
Thanks in advance
推荐答案
这篇关于asp.net3.5中的语音应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!