I'd like to create an App that plays an audio file/stream to the microphone to allow a video communication App to capture the sound as input.
To Play the Audio I'm currently using the AudioTrack class.
The closest question is this one, but still unanswered.
I am making a drum app in which the user tap and the sound plays, but the problem is using media recorder the output source is set to mic and the outer sounds are recorded to i want to only record the sound of the drum
Looking forward for your helps
Is there a way i can record a music playing in my phone excluding the environment sounds(sounds from the surrounding).
i want to know the android apps that can record voice and would not record the background noise . eg in room a person is talking the voice of that person is recording while the noise of fan or other thing is not recording .
I have developed a app which record the sound & play at same time approximate 100ms delay by using audio track & audio record class in android. But the played audio have lot of background noise. So there is any way in android to reduce the background noise while playing.
Please don't tell me used to Audacity Software for reduce the noise because i am not saving the recorded audio. I am just save it in a buffer & play this buffer by audio track.Cab be implemented a filter to reduce the background noise in android using NDK.
The simple thing to do is play the audio back using the voice setting. It will filter out most of the "hum" noise. AudioManager.STREAM_VOICE_CALL. You can use the NoiseSupression filter if available. NoiseSuppressor.create(device.getAudioSessionId());
You can use ClearRecord application. It is free. You can play audio with noise reduction on. While playing audio, the background noise gets eliminated and clear one can hear clear sound.