是否可以使用HTML5录制声音? [英] Is it possible to record sound with HTML5?

查看:131
本文介绍了是否可以使用HTML5录制声音?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑我们的一些程序的网络版本,并考虑HTML5和Flash。

I'm considering a web-version of some of our programs and considering HTML5 and Flash.

任何人都知道是否可以用HTML5录制音频?

Anyone know if it's even possible to record audio with HTML5?

推荐答案

<嗯,这是一个相当古老的新闻,但我只是为了后人的目的而回答。谷歌提出了一个声音捕获API,它仍在W3C HTML语音孵化器组下进行考虑( http:/ /www.w3.org/2005/Incubator/htmlspeech/ )。谷歌还发布了一个TTS示例,该示例适用于Chrome beta
http://slides.html5rocks。 com /#speech-input
所有你需要做的是

umm , it's pretty old news but i am just answering for posterity purposes . Google has proposed a Sound Capture API which is still under consideration under W3C HTML speech incubator group ( http://www.w3.org/2005/Incubator/htmlspeech/ ). Google also has posted a TTS example which works on Chrome beta http://slides.html5rocks.com/#speech-input all you have to do is


< input id =speech-input-field
type =textx-webkit-speech />

< input id = "speech-input-field" type="text" x-webkit-speech />

这篇关于是否可以使用HTML5录制声音?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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