Click here to Skip to main content
11,715,160 members (72,452 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ All-Topics
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 at 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 Smile | :)


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 at 28-May-12 1:41am
5 for advice but he did ask for a library. Hope he gets his answer.
SAKryukov at 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 at 28-May-12 7:26am
Made a nice answer even better. :)
SAKryukov at 28-May-12 16:56pm
Thank you, Nithin.
nv3 at 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 at 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
0 Sergey Alexandrovich Kryukov 495
1 Richard MacCutchan 275
2 Maciej Los 259
3 ManasKumarM 155
4 Frankie-C 125
0 Sergey Alexandrovich Kryukov 775
1 CHill60 415
2 Richard MacCutchan 405
3 Maciej Los 389
4 OriginalGriff 320

Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 28 May 2012
Copyright © CodeProject, 1999-2015
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