Automatic noise reduction

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
info
Posts: 18
Joined: Wed Jan 16, 2019 12:01 am
Operating System: Windows 10

Automatic noise reduction

Post by info » Wed Jan 16, 2019 12:21 am

I am working on a project that requires noise reduction. On an audio bible that was recorded in the 50's.

Aside from the hard clipping, I am able to excellent results and depending on the recording, near studio like quality.

This is done by remove 3-5 db taking new samples on wach pass.

I typically go through the a chapter at a time, selecting and copying pauses between speech into a new track.

I concactenate all the pauses into one long noise signature.

I then copy that, and on the copy compress it with a bery low noise floor and high compression. Sometimes more than once on a given time.

I take a sample of that and then remove noise from the audio recording with extremely low .0001 sensitivity, 0 frequency smoothing, and as I said 3-5 db at a time.

I ctrl R this on my noise signature sample, copy it again, and repeat.

I do this until I get no artifacts. Sometimes increasing frequency smoothing on the last couple of passes.

And to finish, I compress the main audio with -1 db threshold and -20db noise floor.

And if needed I apply a lax noise gate for good measure.

I get excellent results. Better than what I can produce with CC Audition.

These steps could be easily scripted and applied to the whole audio bible.

It would require some math to detect pauses between speech and some logistics to concactenate them all. But aside from that, the rest is easy.

I am not a programmer, so if this could be done I would be happy to give you the exact steps. That way a simple "background noise" plugin could be made to replicate all this hard work at the push of a button.

This would be very useful, because in 2017 some one attempted to restore the recordings, but all they did was some minor/sloppy noise removal and boosted the bass/eq. And it took him a yr, and it sounds like shit.

I did this for a few chapters, and it sounds very good, better than all the other versions in existence.

Lmk if someone is willing to take on a challenge like this.

steve
Site Admin
Posts: 80301
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Automatic noise reduction

Post by steve » Wed Jan 16, 2019 1:54 pm

info wrote:
Wed Jan 16, 2019 12:21 am
It would require some math to detect pauses between speech and some logistics to concactenate them all.
  1. Duplicate the track
  2. Select the duplicate track
  3. "Sound Finder" to label the sounds https://manual.audacityteam.org/man/sound_finder.html
  4. Select the duplicate track and the label track
  5. Delete the labeled audio https://manual.audacityteam.org/man/edi ... audio.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

info
Posts: 18
Joined: Wed Jan 16, 2019 12:01 am
Operating System: Windows 10

Re: Automatic noise reduction

Post by info » Wed Jan 16, 2019 6:24 pm

Wow I didnt realize that was there. Apparently I can select the entire track, and label the noise, Delete all the labeled audio. And Audacity auto matically joins what is left. That would leave us with a good long noise signature.

Thanks. This is really great.

steve
Site Admin
Posts: 80301
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Automatic noise reduction

Post by steve » Wed Jan 16, 2019 6:49 pm

info wrote:
Wed Jan 16, 2019 6:24 pm
Apparently I can select the entire track, and label the noise,
Actually you are doing the opposite. Sound Finder will label the audio that is louder than the noise (set the "silence" threshold just a little higher than the noise floor). When you delete the labeled audio, what is left is just the noise.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

info
Posts: 18
Joined: Wed Jan 16, 2019 12:01 am
Operating System: Windows 10

Re: Automatic noise reduction

Post by info » Wed Jan 16, 2019 8:18 pm

sorry I am relegated to my phone, so im typing in great brevity. But that is what i meant.

This is excellent. And I just downloaded Audacity 2.3 and I see the Macro options. This may be exactly what I need.

steve
Site Admin
Posts: 80301
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Automatic noise reduction

Post by steve » Wed Jan 16, 2019 8:36 pm

info wrote:
Wed Jan 16, 2019 8:18 pm
But that is what i meant.
I thought so, but just checking ;)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

info
Posts: 18
Joined: Wed Jan 16, 2019 12:01 am
Operating System: Windows 10

Re: Automatic noise reduction

Post by info » Wed Jan 16, 2019 9:09 pm

This is very exciting. I created a Macro that gets me a good, long, compressed, noise reduction profile. All in a track below the main track. All at the push of a button.

But I do not see a macro for capturing a new noise profile. I read the notice on https://manual.audacityteam.org/man/noi ... ction.html but do not understand.

"If the Macro is applied to the current project, the current selection is used to create the Noise Profile. Therefore, other effect commands in the Macro will also only apply to that selection. If an export command is added, the entire file will be exported."

Is there a way to force use a new noise profile before each pass of noise reduction?

steve
Site Admin
Posts: 80301
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Automatic noise reduction

Post by steve » Wed Jan 16, 2019 11:54 pm

I've not checked, but I would be surprised if Noise Reduction could be used in a practical way in a Macro (because of it being a 2 pass effect).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

info
Posts: 18
Joined: Wed Jan 16, 2019 12:01 am
Operating System: Windows 10

Re: Automatic noise reduction

Post by info » Thu Jan 17, 2019 12:08 am

Yeah I do not think there is a macro command that would allow you to grab a new noise profile\signature.

The macro setup is still very powerful. Already I have cut down my work by two thirds at least so this is not a total loss.

But to make the macro menu immensely powerful, would be to make the following changes:
1. Add a search bar to find the command you need.
2. Add the ability to take a noise profile.
3. Add the ability to copy\paste and or repeat macro steps. This is a big one. Because you could recursively run a noise reduction macro X times. Right now, if I wanted to do that, I would have to insert and order each step that many times in 1 macro. Unless there is something I am missing. At least being able to ctrl select the steps, copy, and then paste them again as later steps would save much time.

As for 2.30, I now realize why I stuck with the older version. (2.2 which does not have macros). And that is because you are able to manually enter in almost any value for the sensititivity level in the noise reduction, and other menus. This is super important. It is very hard to do noise reduction without getting those tinkly bell sounds without taking an amplified\compressed noise sample and removing it a little db at a time with extremely low sensitivity (like .0001 or .0001) these values work best. At least for this project.

I guess I have to use a portable version of 2.30 to do my macros, then copy and past that back into 2.2 to do the noise reduction. Oh well.

steve
Site Admin
Posts: 80301
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Automatic noise reduction

Post by steve » Thu Jan 17, 2019 12:30 am

info wrote:
Thu Jan 17, 2019 12:08 am
1. Add a search bar to find the command you need.
I agree that this could be improved, but there is a lot of other new stuff related to Macros in the 2.3.1 version of Audacity (due to be released around February).
I find it is easier to locate commands by resizing the Macro command screen to a much larger size (dependent on display size).
info wrote:
Thu Jan 17, 2019 12:08 am
3. Add the ability to copy\paste and or repeat macro steps.
There are no plans to extend Macros beyond being a simple list of commands. The reason for this is that there are other, better ways to provide more complex command structures.

To provide "loops" or "conditional" steps in a macro would require some kind of simple programming language. Rather than inventing a new programming language just for macros, the next version of Audacity (and to some extent, the current version) can harness the power of "Nyquist", which is a programming language that has been included in Audacity for many years.

The plan is to keep ordinary "Macros" as a simple list, so as to avoid making it more complicated than necessary for the majority of users. For those users that require more complexity, "Nyquist-Macros" are the way to go.

You can see a quick preview of what's coming in 2.3.1 in the "alpha manual": https://alphamanual.audacityteam.org/man/Nyquist-Macros

(For even more power and flexibility, there is an experimental feature called "mod-script-pipe" that allows Audacity to be controlled by Python, but this is not quite ready for prime time https://alphamanual.audacityteam.org/ma ... cript_pipe)

The Noise Reduction effect has been the same for quite a while now. The really old version was called "Noise Removal". I don't think there have been any changes to it since the name was changed to "Noise Reduction". The latter version should work better than "Noise Removal" in all cases, as it is basically the same effect with a lot of bug fixes.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply