Content deleted Content added
m →Speech API: typo |
No edit summary |
||
Line 4:
==<Audio> element==
Simple playback of an audio file:
<audio src="http://developer.mozilla.org/@api/deki/files/2926/=AudioTest_(1).ogg" autoplay/>
This table documents the current support for audio codecs by the <code><audio></code> element.
Line 47 ⟶ 46:
|}
==
The [[Web Audio API]] specification describes a high-level JavaScript API for processing and synthesizing audio in web applications. The primary paradigm is of an audio routing graph, where a number of AudioNode objects are connected together to define the overall audio rendering. The actual processing will primarily take place in the underlying implementation (typically optimized Assembly / C / C++ code), but direct JavaScript processing and synthesis is also supported.<ref>{{cite web | url=https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html | title=Web Audio API}}</ref>
==Speech API==
Line 58 ⟶ 56:
*Text to Speech API
Google integrated this feature into Google Chrome on March 2011.<ref>{{cite web | url=http://chrome.blogspot.com/2011/03/talking-to-your-computer-with-html5.html | title=Talking to your computer | accessdate=January 28, 2012}}</ref> Letting its users search the web with their voice
<script type="text/javascript">
function startSearch(event) {
|