AndroidAudioRecorder icon indicating copy to clipboard operation
AndroidAudioRecorder copied to clipboard

I have two questions would like to ask you, thank you!

Open whmessi opened this issue 9 years ago • 4 comments

Hello, I am from China, I have two questions would like to ask you, thank you! 1, the recording interface style can be customized? I have seen your code before, you seem to be written directly to the "so" in the library 2, before I try, after recording the file is particularly large, less than a minute of audio file size in the 3 trillion to 4MB, is there a way to compress it? These are my questions, if time is convenient, I hope to get your reply! Thank you

whmessi avatar Oct 10 '16 07:10 whmessi

Hi @whmessi!

  1. You can change the recorder color with setColor(int color). This is the only UI customization available at the moment.
  2. You can use my other lib, AndroidAudioConverter, to convert the recorded WAV file into AAC, MP3, M4A, WMA and FLAC.

adrielcafe avatar Oct 10 '16 13:10 adrielcafe

Thank you, I would like to ask the library will be able to convert PCM format audio into MP3 and other formats can play audio?

whmessi avatar Oct 13 '16 03:10 whmessi

+whmessi I would say no since its NOT on the supported list of formats to convert to/from and all supported formats are playable.(unless an error occured when converting the audio file)

xstar97 avatar Oct 14 '16 01:10 xstar97

You can be able to less the size of recorded file by changing the value of variable named AudioSample. It can be changed from the file AndroidAudioRecorder.java located in Library folder. Set the sample rate to 8000Hz. private AudioSampleRate sampleRate = AudioSampleRate.HZ_8000;

bilal481 avatar May 18 '17 10:05 bilal481