Android convert pcm file from AudioRecord to smaller file

I tried to record audio in Android. Sound quality using MediaRecorder really sucks.

So I tried to record the sound into the stream using the AudioRecord function. Great quality, but the pcm files are too large in size as I want to upload them to a remote server.

Does anyone know how to compress pcm (e.g. mp3 or else)? Any help is mostly appreciated.

Tom

+3
source share
1 answer

As far as I know, Android has no built-in audio converters. It is best to use a third-party library, perhaps even c / C ++.

: WAV mp3 Android

0

Source: https://habr.com/ru/post/1782279/


All Articles