社区
组件/控件开发
帖子详情
DotNetSpeech.dll在VS2013无法使用
zcw1967
2014-01-05 05:19:51
系统是win7,64位的,vs2013无法使用,无论是不是x86平台,请高手解惑,谢谢!
...全文
339
5
打赏
收藏
DotNetSpeech.dll在VS2013无法使用
系统是win7,64位的,vs2013无法使用,无论是不是x86平台,请高手解惑,谢谢!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用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
(C#)
DotNet
Speech
:语音识别
【代码】(C#)
DotNet
Speech
:语音识别。
VS2012下如何生成和调用
DLL
做工程的人都知道,代码编写是一个模块化的过程,有时候,其中一部分在其他的项目中也会
使用
,于是就会想着把这些编写成
DLL
,方便调用,于是花了一些时间了解了下
DLL
的相关信息。 1、
DLL
和LIB的联系区别
DLL
是程序在运行阶段才需要的文件;而LIB是程序编译时需要链接的文件。
DLL
只有一种:其中一定是包含了函数和过程的实现。微软的Visual C++支持三种
DLL
,它们分别是Non-...
将com转换成托管的
dll
文件
http://win8e.com 微软自带的TlbImp.exe 命令行操作:TlbImp aspi.
dll
/out:
DotNet
Speech
.
dll
再
使用
微软的vs里的闪电图标的软件进行查看代码 转载于:https://www.cnblogs.com/gengyuanchao/archive/2012/12/09/2810280.html...
vs C# wpf 如何引入(导入)库、
dll
图示教程 一步一步 教你wpf导入库
vs C# wpf 如何引入(导入)库、
dll
图示教程 一步一步 教你wpf导入库
c# 之TTS发音程序
c#的功能十分强大,也非常方便。这里,我和大家分享下发音程序的制作。首先,你要准备两样东西:1.TTS发音类库:
DotNet
Speech
.
dll
2.TTS发音引擎:微软TTS5.1语音引擎(中文).msi 这里附录下载地址:TTS发音引擎(微软TTS5.1语音引擎(中文).msi):http://download.csdn.net/source/2127563T
组件/控件开发
8,832
社区成员
7,151
社区内容
发帖
与我相关
我的任务
组件/控件开发
.NET技术 组件/控件开发
复制链接
扫一扫
分享
社区描述
.NET技术 组件/控件开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章