I have two questions would like to ask you, thank you!
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
Hi @whmessi!
- You can change the recorder color with
setColor(int color). This is the only UI customization available at the moment. - You can use my other lib, AndroidAudioConverter, to convert the recorded WAV file into AAC, MP3, M4A, WMA and FLAC.
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 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)
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;