Click here to Skip to main content
13,048,766 members (84,078 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I am developing one application to record and play audio from microphone and play back through mike. My audio is producing little noisy. How I can remove noise from my audio sample buffer is there any library available to use in my code

please help me.. I tried lowpass filter algorithms etc..., but they are little complicate. I am trying this for several days
Posted 27-May-12 19:17pm
pwasser 28-May-12 6:22am
This is standard data acquisition problem. You must identify where the noise is coming from - poor quality electronics etc and try to eliminate it at the point of collection. Once you have recorded noise removing it is non-trivial as there is no way of removing noise without removing data. The more noise the more you must remove - get the idea. In the real world noise reduction algorithms are a last resort.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

All algorithms for noise reduction are at least as complicated as the pretty simple low-pass, and many would be more complicated. So, the solution is this: stop scaring yourself by "little complicated" and get to work. Don't trouble trouble until trouble troubles you :-)


If you need to find some available codes, I would advise to look at the source code of open-source Audacity software:[^].

If has the pluggable tools for editing of the audio, including noise removal. You can find out and get its source code to see how it works:[^].

See also:[^].

Nithin Sundar 28-May-12 1:41am
5 for advice but he did ask for a library. Hope he gets his answer.
SAKryukov 28-May-12 2:02am
Thank you, Nithin.
And I'm fully agree with your note. Please see my update, after [EDIT]. Thank you for the suggestion.
Nithin Sundar 28-May-12 7:26am
Made a nice answer even better. :)
SAKryukov 28-May-12 16:56pm
Thank you, Nithin.
nv3 28-May-12 4:29am
SA, your link to the audacity noise removal page is indeed excellent. Even if Arun doesn't use their code it gives enough ideas on how to implement these techniques. Enjoyed reading it. 5!
SAKryukov 28-May-12 16:55pm
My pleasure, thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 28 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100