Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
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
Comments
[no name] 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

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 :-)

[EDIT]

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

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:
http://wiki.audacityteam.org/wiki/Noise_Removal[^].

See also:
http://en.wikipedia.org/wiki/Noise_reduction[^].

—SA
 
Share this answer
 
v2
Comments
Nithin Sundar 28-May-12 1:41am    
5 for advice but he did ask for a library. Hope he gets his answer.
Sergey Alexandrovich Kryukov 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.
--SA
Nithin Sundar 28-May-12 7:26am    
Made a nice answer even better. :)
Sergey Alexandrovich Kryukov 28-May-12 16:56pm    
Thank you, Nithin.
--SA
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!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900