HTML audio: Difference between revisions

Content deleted Content added
Stemby (talk | contribs)
move section
Line 2:
'''HTML5 Audio''' is a subject of the [[HTML5]] draft specification, investigating audio input, playback, [[audio synthesis|synthesis]], as well as [[speech to text]] in the browser.
 
==<Audio> element format support==
 
This table documents the current support for audio codecs by the <code>&lt;audio&gt;</code> element.
Line 63:
| {{no}}
|}
 
The adoption of HTML5 audio, as with [[HTML5 video]], has become polarisedpolarized between proponents of free and patented formats. In 2007, the recommendation to use [[Vorbis]] was [[Use of Ogg formats in HTML5|retracted]] from the specification by the [[W3C]] together with that to use [[Ogg Theora]], citing the lack of a format accepted by all the major browser vendors.
 
[[Apple Inc.|Apple]] and [[Microsoft]], which between them account for around 39% of the browser market, support the [[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]]-[[technical standard|defined]] formats [[Advanced Audio Coding|AAC]] and the older [[MP3]]. They {{citation needed span|text=cited|date=September 2012}} {{citation needed span|text=superior performance,|date=September 2012}}{{Ambiguous|date=October 2012}} and the risk of a [[submarine patent]] attack from formats which are believed, but not guaranteed, to be “free”.
 
[[Mozilla]] and [[Opera Software|Opera]], controlling 24% of the market, support the [[Free software|free]] and [[Open-source software|open]], [[royalty-free]] [[Vorbis]] codec in [[Ogg]] and [[WebM]] containers, and criticisecriticize the [[Software patent|patent-encumbered]] nature of MP3 and AAC, which are guaranteed to be “non-free”.
 
[[Google]], controlling 27% of the market, has so far provided support for all common formats.
 
The result is that for a website to guarantee HTML5 audio for all users, it has to make two formats available, often [[Vorbis]], as used on [[Wikimedia]] sites, and MP3 or AAC.
 
[[Gecko (layout engine)|Gecko]]-based applications and Safari also support PCM audio in a [[WAV|WAVE]] container.<ref>https://developer.mozilla.org/en-US/docs/Media_formats_supported_by_the_audio_and_video_elements</ref>
 
In 2012, the free and open royalty-free [[Opus (audio format)|Opus]] format was released and standartisedstandartized by [[Internet Engineering Task Force|IETF]]. It is supported by Mozilla’s software since Gecko version 15.<ref>https://developer.mozilla.org/en-US/docs/Media_formats_supported_by_the_audio_and_video_elements#Ogg_Opus</ref><ref>https://www.xiph.org/press/2012/rfc-6716/</ref><ref>https://hacks.mozilla.org/2012/09/its-opus-it-rocks-and-now-its-an-audio-codec-standard/</ref>
 
==Web Audio APIs==
Line 92 ⟶ 106:
</form>
</source>
 
==Competition==
 
The adoption of HTML5 audio, as with [[HTML5 video]], has become polarised between proponents of free and patented formats. In 2007, the recommendation to use [[Vorbis]] was [[Use of Ogg formats in HTML5|retracted]] from the specification by the [[W3C]] together with that to use [[Ogg Theora]], citing the lack of a format accepted by all the major browser vendors.
 
[[Apple Inc.|Apple]] and [[Microsoft]], which between them account for around 39% of the browser market, support the [[International Organization for Standardization|ISO]]/[[International Electrotechnical Commission|IEC]]-[[technical standard|defined]] formats [[Advanced Audio Coding|AAC]] and the older [[MP3]]. They {{citation needed span|text=cited|date=September 2012}} {{citation needed span|text=superior performance,|date=September 2012}}{{Ambiguous|date=October 2012}} and the risk of a [[submarine patent]] attack from formats which are believed, but not guaranteed, to be “free”.
 
[[Mozilla]] and [[Opera Software|Opera]], controlling 24% of the market, support the [[Free software|free]] and [[Open-source software|open]], [[royalty-free]] [[Vorbis]] codec in [[Ogg]] and [[WebM]] containers, and criticise the [[Software patent|patent-encumbered]] nature of MP3 and AAC, which are guaranteed to be “non-free”.
 
[[Google]], controlling 27% of the market, has so far provided support for all common formats.
 
The result is that for a website to guarantee HTML5 audio for all users, it has to make two formats available, often [[Vorbis]], as used on [[Wikimedia]] sites, and MP3 or AAC.
 
[[Gecko (layout engine)|Gecko]]-based applications and Safari also support PCM audio in a [[WAV|WAVE]] container.<ref>https://developer.mozilla.org/en-US/docs/Media_formats_supported_by_the_audio_and_video_elements</ref>
 
In 2012, the free and open royalty-free [[Opus (audio format)|Opus]] format was released and standartised by [[Internet Engineering Task Force|IETF]]. It is supported by Mozilla’s software since Gecko version 15.<ref>https://developer.mozilla.org/en-US/docs/Media_formats_supported_by_the_audio_and_video_elements#Ogg_Opus</ref><ref>https://www.xiph.org/press/2012/rfc-6716/</ref><ref>https://hacks.mozilla.org/2012/09/its-opus-it-rocks-and-now-its-an-audio-codec-standard/</ref>
 
==See also==