noise reduction problem

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
zyf662655
Posts: 6
Joined: Mon Apr 23, 2018 5:48 am
Operating System: Windows 7

noise reduction problem

Post by zyf662655 » Thu May 17, 2018 2:57 am

Hi dear Audacity Developers,

I am having a little trouble when doing the noise reduction by using noise gating technique. I am doing below steps:
1. STFT the background noise with 2048 Hanning window. The Hanning window is shifted by half the size of the window so the overlapping rate is 50%.
2. Save 2048 power elements(square of the STFT amplitude) resulted in Step 1 as noise profile.
3. STFT the audio signal with 2048 hanning window just as in step 1 for the noise. Comparing each STFT power output with the corresponding element in noise profile in Step 2. If it is
larger than the noise profile power element, the gain is 1;otherwise, the gain is 0;
4. Inverse STFT the result from Step 3.
5. Overlap-add the result from Step 4 to recover the signal.

I am implementing this algorithm on FPGA. The result was not very pretty. I have attached the original noisy audio as well as the output audio. Am I missing any important step here? I have checked online that the drawback of spectral subtraction algorithm is remnant noise. Is it the problem I am having right now? How do I to conquer the problem?

Thanks
yong
Attachments
2.wav
original file
(640.52 KiB) Downloaded 59 times
2out.wav
output file
(640.04 KiB) Downloaded 59 times

kozikowski
Forum Staff
Posts: 69357
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: noise reduction problem

Post by kozikowski » Thu May 17, 2018 3:56 am

How do I to conquer the problem
Record it again?

There are two different motor tones, one at 303Hz and one at 366Hz, plus regular background trash. Those are the problem. Getting rid of those gives you airline pilot voice and I can't find any way around it. Even if you get Noise Gate to work, that will just give you motor noise voice over dead silence.

Even if you get rid of the noise, you still have the voice P-popping and other problems.

Oh, and DC Offset. See at 2 seconds, the black line and blue fur don't line up? That, at least we can fix. Effect > Normalize: [X] Remove DC > OK.

This is as good as I could do with Equalization, Noise Reduction, Normalize and two Notch Filters.

What's the goal?

Koz
Attachments
2PostProduction.wav
(640.52 KiB) Downloaded 56 times

zyf662655
Posts: 6
Joined: Mon Apr 23, 2018 5:48 am
Operating System: Windows 7

Re: noise reduction problem

Post by zyf662655 » Thu May 17, 2018 5:27 am

Hey,

Thanks for your reply.

Audacity noise reduction works pretty well with my audio. I am trying to implement that on FPGA.

Post Reply