文本到语音的ASP.NET [英] Text to Speech in ASP.NET
问题描述
我希望做一些日本文本到语音在我专用的Windows与.NET框架2003 X64服务器,使用C#
我发现谷歌的东西,但需要安装很多服务器上的文件...我不喜欢,因为稳定性问题:还有另一种选择,就像一个链接DLL或东西。
I would like to do some japanese text to speech on my dedicated windows 2003 x64 server with .net framework, using c# I found something on google, but requires to install a lot of files on the server... i don't like, for stability issues: there is another option, like a linked dll or something?
推荐答案
在ASP.NET网站使用SAPI,是不可能的:声音会在服务器上进行复制:•
using SAPI in an ASP.NET website, is impossible: the sound will be reproduced on the server :S
似乎有微软语音服务器需要
...
或不?随着asp.net可以在服务器上运行一个命令行的EXE保存一个MP3,然后流的MP3,对不对? (该怎么做?我会揣摩)
我会走这条路,我让你知道结果了:)
It seems that there is the need of Microsoft Speech Server ... Or not? With asp.net is possible to run a commandline exe on the server to save an mp3, then stream that mp3, right? (how to do that? i will try to figure it) I will go this way, i let you know the result :)
编辑:这是我如何解决:
<一href=\"http://stackoverflow.com/questions/963503/how-to-save-text-to-speech-as-a-wav-with-microsoft-sapi/963536#963536\">http://stackoverflow.com/questions/963503/how-to-save-text-to-speech-as-a-wav-with-microsoft-sapi/963536#963536
我保存生成的声音在wav文件,然后我将其嵌入在页面上,在Flash播放器播放它
COOL!
I save the generated voice in a wav file, then i embed it on the page, playing it in a flash player COOL!!
这篇关于文本到语音的ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!