Remove noise from audio using audio

I am making TalkingTomcat as an application. I record voice using android audio recorder and use libsonic. I play a sound by changing the pitch. but during sound playback it gives a lot of noise. Even I play sound using the soundtrack, and then it makes noise. I use 44100 sampling rate and MONO and 16 bits.

If anyone can help me, please help me. Or give me another way to achieve this.

+4
source share
2 answers

You can do noise removal in the preprocessing phase. Here I filtered the audible range for speech and music. I found this to be very effective during my tests, not NoiseSuppressor. Ways of use and utilities,

recorder.read(data, 0, data.length); if(isAudible(data)) { // TODO further processing can go here } public static boolean isAudible(short[] data) { double rms = getRootMeanSquared(data); return (rms > 198 && 5600 > rms); } public static double getRootMeanSquared(short[] data) { double ms = 0; for (int i = 0; i < data.length; i++) { ms += data[i] * data[i]; } ms /= data.length; return Math.sqrt(ms); } 
+1
source

Have you played with NoiseSuppressor ? "Noise Reduction (NS) - Pre-processing sound that removes background noise from a captured signal."

0
source

All Articles