in my application, I record a voice using AudioRecorder, as indicated on the following Audio Recorder site it works, but it creates a large wave file. for example, if I record a sound for 1 minute, it takes from 2 MB to 3 MB. . Therefore, I have to compress the WAV file to a small file. I tried a lot of time, but I could not get any ideas. I tried different SAMPLERATEs like 8000, 11025, 22050, 32000, 44056 , but I get application crashes with an invalid buffer size, incorrect sound settings and some runtimes , but the sound quality is too high. SAMPLE_RATE = 44100 only works fine, but the size of the result file is too large. please help me compress wav file, give an example. Thanks in advance.
source share