I’d like to record audio in my iOS+Android app and send it compressed on a web server. First step is easy with Microphone runtime class. But…
Is there any way to encode to OGG Vorbis or MP3 at runtime on iOS and Android ?
pure C# OGG encoder ? Plugin ?
If dealing with mp3 encoding, do I have to pay a license fee ?
So I ended up encoding to WAV IMA-ADPCM in C#. This is a special flavour of ADPCM with 4:1 compression (each sample is coded on 4 bits instead of 16 bits with PCM).
->MP3 was too expensive (more than 1$ per user licensing fee)
->OGG Vorbis was too complicated to implement.
Hi jonlab, I’ve been stuck on the same problem for a little while now and have reached the same conclusions about Ogg and MP3. How did you go about implementing the WAV IMA-ADPCM encoder? Did you manage to find a library to help out? I’d really appreciate any pointers!
I’m looking for a way to have a adequate size on a mic output file and came across this post.
Can you share more info on how you did this ?
Can you share the script ?