在Windows应用程序中使用语音SDK进行文本到语音的转换 [英] Text to speech using speak sdk in a windows application

查看:96
本文介绍了在Windows应用程序中使用语音SDK进行文本到语音的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,
我正在开发Windows应用程序.我想使用espeak sdk朗读写在文本框中的文本. espeak sdk支持我感兴趣的某些语言,例如印地文,中文,马拉雅拉姆语.
可以使用过程概念来完成.但是我不知道怎么用.
请帮帮我.

在此先感谢您.

Hello friends,
I am developing a windows application.I want to use the espeak sdk to speak the text written in the textbox. espeak sdk supports some languages like hindi, chinese, malayalam in which i am interested.
it can be done using process concept. But i don''t know how to use it.
Please help me out.

Thanks in advance.

推荐答案

您无法在托管代码中轻松做到这一点.

首先,您需要了解 PInvoke和互操作 [ ^ ].

然后,您需要阅读手册 [
You cannot do so easily in managed code.

First you''ll need to learn about PInvoke and interop[^].

Then you''ll need to read the manual[^] and use interop to invoke SAPI5 functions in the Windows Speech API.

I''m not sure how much experience you''ve had with .NET so far but this may ba a bit ambitious. It took me a couple of years before I felt very comfortable with PInvoke and interop.


这篇关于在Windows应用程序中使用语音SDK进行文本到语音的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆