Changes

Jump to: navigation, search

Labs/Jetpack/JEP/18

192 bytes added, 22:22, 20 August 2009
no edit summary
The ability to manipulate the incoming audio stream would be useful. The Jetpack audio module allows access to the raw audio stream. Here's an example:
<preclass="brush:js;toolbar:false">
jetpack.future.import("audio");
var start = 0;
});
</pre>
 
The callback receives a byte array and the number of samples contained in that array. The array consists of PCM float stereo samples at a frequency of 44000Hz.
Confirm
188
edits

Navigation menu