-
Notifications
You must be signed in to change notification settings - Fork 197
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
mp3 is half tempo and bad quality #27
Comments
Looks like you encode stereo as mono Sent from my iPhone
|
And what I have to change? I have used the code for stereo from the example. |
Did you split your stereo input into left and right channels? Sent from my iPhone
|
Yes like in the example, but their was only one second silence. So maybe I splitted wrong:
|
Yes this is wrong. And then put left and right samples into their own int16 arrays Sent from my iPhone
|
Thank you that was the error.
|
First of all thank you for that great lib!
I want to convert a 1411 kbps pcm_s16le 44100 Hz stereo, s16(recorded with recordRTC) to mp3.
The problem is that the wav file sounds perfect but the converted mp3 file sounds bad, sounds lower than the original and is twice as long.
Full js: http://julius.athenstaedt.net/rep/rcx2/background.js
recorded wav: http://julius.athenstaedt.net/rep/wav%20(16).wav
converted mp3 http://julius.athenstaedt.net/rep/mpeg%20(14).mp3
Thank You for help!!
(sorry for bad english)
The text was updated successfully, but these errors were encountered: