How to record internal audio? - android

I'm currently developing a mobile game that can be recorded while playing. And microphone is need during the game.
So I want to record the game background music, the game sound effects ,and
human voice from microphone.
I can record all the sounds through microphone now. But I can not hear the background music and sound effects clearly after the record is finished.
So,I want to know If I can record all the game sounds internally. I googled a lot And I found AudioRecord can do that by set the audio source to REMOTE_SUBMIX. But this is not allowed by non-system app in android.
So, is there any way to record internal audio in Android?

Related

Play audio on microphone on Android device

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.

Is there any way to record internal sound of the mobile

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

audio recording in android without the surrounding sounds

Is there a way i can record a music playing in my phone excluding the environment sounds(sounds from the surrounding).

Android apps that record sound and remove background noise

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 .

Reduce the background noise when recording in android

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.

Categories

Resources