-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught RangeError: Invalid array buffer length #8
Comments
This is a limitation of the javascript mp3 library. You can try and recompile the library using emscripten: http://kripken.github.io/emscripten-site/docs/getting_started/Tutorial.html, and increase the buffer size, but i don't know exactly what results you will get. In anyway 44000 or 48000 sample rate is more than enough for a mono mp3. |
I don't mind converting in 44000 or 48000. The question is how I can convert the recorded audio to lower sample rate? Thanks |
How is it possible to make this plugin work for all devices? |
@lightmar did you find how to reduce the sample rate? |
@lightmar @michelboudali yeah it doesnt work for me too on windows machine when i try to record in 32kbps bitrate. 64kbps works on windows and 32 works on mac.. |
Hi,
Thank you for this great plugin.
Unfortunately I have a problem which I can't figure out.
On some computers it works great, however on others when the recorded wav is passed to the libmp3lame, to I get the following error:
Uncaught RangeError: Invalid array buffer length
I have discovered that the error occurs only when a user records microphone with a high sample rate of 192000. When I try it on my mac with 44000 input, it works.
How can it be fixed? Very important issue...
Thanks
The text was updated successfully, but these errors were encountered: