Creating Audio using Javascript in <audio>

后端 未结 2 1238
执念已碎
执念已碎 2021-02-09 09:57

I can\'t find anything through net searches, but is there any plans to make an API to generate audio chunks to be played in an HTML5 tag?

EDIT

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-09 10:20

    Mozilla have released an audio data API, which works in Firefox 4 betas and Minefield nightlies:

    https://wiki.mozilla.org/Audio_Data_API

    http://vocamus.net/dave/?p=1148

    As I understand it, there is also a similar WebKit project.

    A W3C Audio Incubator Group has been formed -- their mission is 'to explore the possibility of starting one or more specifications dealing with various aspects of advanced audio functionality, including reading and writing raw audio data, and synthesizing sound or speech'.

    http://www.w3.org/2005/Incubator/audio/

提交回复
热议问题