Mozilla Audio Data API: framebuffer length example

This example uses data from the Mozilla Audio Data API MozAudioAvailable event. The first value for the framebuffer array for each event is displayed along with the time attribute of the event. Framebuffer length can be adjusted: enter a value, then press the audio element Play button.

This page is part of the BBC R&D blog post The Mozilla Audio Data API: what do the numbers mean?.

Please note that Firefox 4 is required to run the code on this page.

More information about access to audio data in JavaScript is available from the Mozilla Audio Data API documentation page and the W3C Audio Incubator Group forum.

Framebuffer length:  
(Set value then press video Play button: minimum 512, maximum 16384.)

Time

frameBuffer[0] data

Skip to top

BBC © 2014 The BBC is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.