社区
组件/控件开发
帖子详情
DotNetSpeech.dll在VS2013无法使用
zcw1967
2014-01-05 05:19:51
系统是win7,64位的,vs2013无法使用,无论是不是x86平台,请高手解惑,谢谢!
...全文
304
5
打赏
收藏
DotNetSpeech.dll在VS2013无法使用
系统是win7,64位的,vs2013无法使用,无论是不是x86平台,请高手解惑,谢谢!
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
zcw1967
2014-01-08
打赏
举报
回复
使用另一个方法
using System;
using System.Speech.Synthesis;
namespace SampleSynthesis
{
class Program
{
static void Main(string[] args)
{
// Initialize a new instance of the SpeechSynthesizer.
SpeechSynthesizer synth = new SpeechSynthesizer();
// Configure the audio output.
synth.SetOutputToWaveFile(@"C:\Test\Sample.wav");
// Register for the SpeakCompleted event.
synth.SpeakCompleted += new EventHandler<SpeakCompletedEventArgs>(synth_SpeakCompleted);
// Build a prompt.
PromptBuilder builder = new PromptBuilder();
builder.AppendText("This sample asynchronously speaks a prompt to a WAVE file.");
// Speak the string asynchronously.
synth.SpeakAsync(builder);
Console.WriteLine();
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
// Handle the SpeakCompleted event.
static void synth_SpeakCompleted(object sender, SpeakCompletedEventArgs e)
{
// Create a SoundPlayer instance to play the output audio file.
System.Media.SoundPlayer m_SoundPlayer =
new System.Media.SoundPlayer(@"C:\Test\Sample.wav");
// Play the output file.
m_SoundPlayer.Play();
}
}
}
zcw1967
2014-01-08
打赏
举报
回复
是我的系统问题吧,还是不能用!
zcw1967
2014-01-08
打赏
举报
回复
完了,没了回答。
本拉灯
2014-01-05
打赏
举报
回复
没装语音库吧。WIN7用这个组件是没问题的我也用
全栈极简
2014-01-05
打赏
举报
回复
不能用报什么错吗?其实用这个就能实现。
http://technet.microsoft.com/zh-CN/library/ms586901
TTS语音实例,带
DotNet
Speech
.
dll
一个非常简单
使用
的TTS语音测试实例,带
DotNet
Speech
.
dll
DotNet
Speech
.
dll
文件
DotNet
Speech
.
dll
DotNet
Speech
.
dll
DotNet
Speech
.
dll
using
DotNet
Speech
;
c# TTS语音实例 附带
DotNet
Speech
.
dll
语音类库
c#实现发音功能,同时附带语音类库
DotNet
Speech
.
dll
,很容易实现电脑程序发音
SAPI.
DLL
及转后的
DotNet
Speech
.
dll
及sapi.chm文档
开发基于
speech
SDK5.1 的sapi.
dll
及其转换后的c#可引用的
DotNet
Speech
.
dll
好东东!
组件/控件开发
8,833
社区成员
7,151
社区内容
发帖
与我相关
我的任务
组件/控件开发
.NET技术 组件/控件开发
复制链接
扫一扫
分享
社区描述
.NET技术 组件/控件开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章