Record chunked audio (Recorder interface: Recorderjs)
Download the production version or the development version.
In your web page:
<script src="dist/chunk_recorder.min.js"></script>
<script>
// Recorder class from Recorderjs.
var input = audio_context.createMediaStreamSource(stream);
var chunk_recorder = new ChunkRecorder(function () {
return new Recorder(input);
}, {
chunk_interval: 10000, // Interval of each chunk is 10 seconds.
encoding_method: function (recorder, callback) {
recorder.exportWAV(function (blob) {
callback(null, blob);
});
}
});
</script>
(Coming soon)
(Coming soon)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!
(Nothing yet)
Copyright (c) 2015 Hong ChulJu Licensed under the MIT license.