将文本转换为Mp3 [英] Convert Text to Mp3

查看:84
本文介绍了将文本转换为Mp3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如果可以,是否可以使用Microsoft文本将mp3文件中的书面文本转换为语音sdk?
请按示例代码进行说明


is it possible to convert written text in mp3 file using microsoft text to speech sdk if yes how ?
please do explain by sample code
Thanks in advance.

推荐答案

也许从CP开始:"James Ashley撰写的Windows Vista中的语音识别和综合托管API | 2007年3月1日"> [ ^ ].

但是请在CP中搜索更多最新文章:[ ^ ].

但是,Microsoft当前文档中的这些词[ ^ ]当然不会鼓励我:

通过创建COM Interop代码(旨在帮助访问COM接口和类的辅助代码),也可以在有限的范围内使用托管SAPI 5 API.这在某些情况下效果很好,但是新API应该提供更多功能.无缝体验,等同于使用任何其他托管代码库.

但是,从COM Interop过渡的主要障碍是,托管实现存在细微的内存泄漏,这会导致内存碎片,并在任何非平凡的应用程序中都不使用该库.微软已经承认了这个问题,但是到目前为止,它仍然拒绝解决它,而是尝试使用不兼容的语音引擎来推广他们的较新的API.[2]"

您可能需要记下一个用户对他发现的可用于识别器"的支持音频格式的观察:[
Perhaps start here on CP: "Speech Recognition And Synthesis Managed APIs In Windows Vista by James Ashley | 1 Mar 2007">[^].

But do search CP for more recent articles:[^].

However these words from Microsoft current docs[^] certainly don''t encourage me:

"The existing SAPI 5 API can also be used from managed code to a limited extent by creating COM Interop code (helper code designed to assist in accessing COM interfaces and classes). This works well in some scenarios however the new API should provide a more seamless experience equivalent to using any other managed code library.

However, major obstacle towards transitioning from the COM Interop is the fact that the managed implementation has subtle memory leaks which lead to memory fragmentation and exclude the use of the library in any non-trivial applications. Microsoft has acknowledged the problem but has so far refused to address it, and is instead trying to promote their newer API with incompatible voice engines.[2]"

You may want take note of one user''s observations of the supported Audio formats he found would work with the "Recognizer:" [^].


这篇关于将文本转换为Mp3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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