vmsg icon indicating copy to clipboard operation
vmsg copied to clipboard

Using it just to encode AudioBuffer (or Float32Array) to blob?

Open Catsvilles opened this issue 6 years ago • 1 comments

Could we use this library just for converting Web Audio API buffers to mp3? If so, maybe there is a good example? Thank you!

Catsvilles avatar Jul 30 '19 14:07 Catsvilles

Technically yes, but currently there is no API for that. You could look at implementation of Recorder class. It handles onaudioprocess event of its internal audio node and might be modified to iterate over existing array of samples instead.

Kagami avatar Jul 31 '19 08:07 Kagami