How to convert base64 wav to base64 mp3 in JavaScript
问题 I have a trouble in my app. I want to record a sound and store it in iOS using Cordova. I have already a base64/wav file, but it's very heavy so I want to convert it into a base64/mp3. Which is the algorithm that allows me to do that? Example: b64Wavtob64mp3("base64/..."); // Return a mp3 base64 Thanks in advance! 回答1: I forgot completely base64 because I was looking for a audio compressed Solved! I did it with a wav2m4a plugin. https://github.com/xu-li/phonegap-wav2m4a But I wanted to go