Changes

Jump to: navigation, search

User:David.humphrey/Audio Data API 2

141 bytes added, 20:14, 18 May 2010
nsIDOMNotifyAudioWrittenEvent
</pre>
The '''mozFrameBuffer''' attribute contains a typed array ('''Float32Array''') and the raw audio data (float values) obtained from decoding a single frame of audio. This is of the form <nowiki>[left, right, left, right, ...]</nowiki>. All audio frames are normalized to a length of '''4096'''. ''Note:'' this size may change in future versions of this API in order to more properly deal with sample rate and channel variations.
The '''mozTime''' attribute contains an unsigned integer representing the time in milliseconds since the start.
Confirm
656
edits

Navigation menu