How to Reduce noise while Record Audio

I have tried many options while record audio and i have not done all the options anyone here who help me to get the best quality of voice during recording.

mediaRecorder = new MediaRecorder();
mediaRecorder.SetAudioSource(AudioSource.Mic);
mediaRecorder.SetOutputFormat(OutputFormat.Mpeg4);
mediaRecorder.SetAudioEncoder(AudioEncoder.Aac);

Answers

  • LeonLuLeonLu Member, Xamarin Team Xamurai
    edited June 28

    You can use AudioSource.VoiceRecognition to replace the AudioSource.Mic, Because the AudioSource.Mic will record EVERYTHING. Soft taps on the table or keyboard, rustling of a plastic bag, someone coughing in the background, etc.Using AudioSource.VoiceRecognition will pass the audio data into the phone's noise cancellation filters before handing it over to you. Please refer to this link.https://twigstechtips.blogspot.com/2013/07/android-enable-noise-cancellation-in.html

  • alisufian27alisufian27 Member ✭✭

    i did MIC => Voice Recognition but this time voice record with eco and delay i also checked that link in which he is using Audio Record Class but in that way how can i save that recorded audio will you please help me
    Thanks

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    You can Capture all audio data to a byte array when recording and write all audio data to a temporary PCM file, save this somewhere like this link http://www.evklein.com/blog/Recording

Sign In or Register to comment.