zhuker/lamejs

timeSlice ondata available returns different sized blobs?

jaymo107 opened this issue · 1 comments

Hi,

I'm using timeSlice with the StereoAudioRecorder and it seems to return different sized blobs for each interval of one second sometimes which is causing some audio glitches in the final output. I'm just wondering if anyone knows what could possibly cause this?

Some data appears to get lost which is causing issues later on with mp3 encoding.

screen shot 2018-02-06 at 13 10 58

This is the output of each second of recording, as you can see, most of the blobs are the same size apart from the odd few which is throwing things off.

Any help would be greatly appreciated, thanks very much!
James

Sorry, this was added to the wrong repo by mistake.