Speech to text conversion php,javascript or flash online

[亡魂溺海] 提交于 2019-12-02 12:24:35

If your goal is to do speech recognition from an html page, you might want to look at some other alternatives. Chrome supports speech recognition for text input. See http://slides.html5rocks.com/#speech-input and http://www.filosophy.org/2011/03/talking-to-the-web-the-basics-of-html5-speech-input/.

These use the following tag for speech recognition:

<input type=”text” speech x-webkit-speech />

I believe Chrome is the only browser that currently supports this. http://tomlerendu.com/tutorial/how-to-use-html-5-speech-input/ has a good example and shows

if( document.createElement('input').webkitSpeech==undefined )
{
  //no speech support
}

as a means to test if speech recognition is supported.

Historically, there have been other approaches. Opera implemented a different solution, but it appears they are no longer supporting it - http://dev.opera.com/articles/view/getting-to-know-voice/.

Another approach that has been used is to use a java applet or flash app that communicates with a speech recognition back end. WAMI is a good example of this - http://wami.csail.mit.edu/. These approaches use a rich client (Java or Flash or other plug in) to capture speech and send it to a server or some local speech engine for processing.

In html 5 trere is a tag you can do it with that..

Read: link1 link2

You could have a look at speechapi.com and build yourself what you need but if its the other way around;text to speech,speak.js will do.

Hope that helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!