audio - Capturing Raw Microphone Input on Android -
i working audiorecord class in android. in application want measure sound captured microphone of head-set without pre-filtering or equalizations. know reach result have set audio source of audiorecord session trying code on different devices came different outcomes. example galaxy note 3 managed record raw mic data mediarecorder.audiosource.voice_recognition while using mediarecorder.audiosource.mic ended filtered waves. on other hand galaxy s4 had work reversely. mistake? there unique way have access raw data of microphone? code line use initialize audiorecord instance:
recorder = new audiorecord(mediarecorder.audiosource.mic, 44100, audioformat.channel_in_mono, audioformat.encoding_pcm_16bit, recordbuffersize);
p.s.: in tries had turned off sound pre-equalizations available on setting page. tried mediarecorder.audiosource.default not change anything.
Comments
Post a Comment