Anyone know of a plugin to remove noise?

54 replies [Last post]
sandydlr25
User offline. Last seen 1 year 43 weeks ago. Offline
Joined: 2013-01-13
Posts:

Hi, anyone knows a plugin to remove noise already recorded tracks for use in ardour?

Ricardus
Ricardus's picture
User offline. Last seen 1 hour 7 min ago. Offline
Joined: 2009-05-31
Posts:

Nothing that's good enough to actually use.

Jehan
User offline. Last seen 3 years 28 weeks ago. Offline
Joined: 2013-02-08
Posts:

Hi,

I don't know if that's appropriate on these forums to speak of another program, but I did this kind of thing with Ardour just a few days ago to clean very bad audio recorded with the crappy integrated sound card of my laptop.
I used the noise removal effect: http://wiki.audacityteam.org/index.php?title=Noise_Removal

And it worked pretty well. So obviously the best is to have good hardware (sound card, microphone, etc.) so that you don't have to clean anything; but other than that, it is a nice use of Audacity.

Now I don't know much about Ardour or any other program (not even about Audacity). I am not a professional audio guy, so my opinion is worth what it's worth. :-)

seablade
User is online Online
Joined: 2007-01-22
Posts:

@Jehan

The short is it doesn't come close to comparing to professional solutions, it is vastly better than it was a few years ago yes, but still not much of a comparison.

But if quality isn't that important, then go ahead and give it a shot;)

Seablade

Jehan
User offline. Last seen 3 years 28 weeks ago. Offline
Joined: 2013-02-08
Posts:

seablade: I have no other professional tool to compare, but if you say so. :-)
What is the reason for this? Are the good noise cleaning algorithms all under some patents so we don't find any of the good ones in FLOSS tools?

In any case, I imagine that if professional quality is that important, one would not record with low quality hardware from the start (well I guess I actually do see one case where you want to do this still for professional reason: when you want to recover very old recording, of high artistic quality).

Ricardus
Ricardus's picture
User offline. Last seen 1 hour 7 min ago. Offline
Joined: 2009-05-31
Posts:

Sophisticated NR plugins require a substantial investment of time and resources, to do right, and no one has been willing to do that, yet.

dbra
User offline. Last seen 17 weeks 5 days ago. Offline
Joined: 2012-12-27
Posts:

If it is just hi-freq-noise, what about an equalizer?

linuxdsp
linuxdsp's picture
User offline. Last seen 1 year 10 weeks ago. Offline
Joined: 2009-02-04
Posts:

@Ricardus: Any plugin requires a substantial investment of time and resources to do right :)

anahata
anahata's picture
User offline. Last seen 1 hour 11 min ago. Offline
Joined: 2010-10-27
Posts:

"noise" is a pretty vague term.
Look at http://www.cedar-audio.com/ for a broad range of techniques for dealing with different problems that can all be described as "noise". (None of them is free, though)

The noise removal plugin that comes with audacity is good for tape hiss, AC power hum or anything else with a constant level and frequency. It works by subtracting the noise spectrum from the signal. It's useless for many other types of noise. I don't know if that can be made to work with Ardour.

Reducing randomly timed clicks and crackles like those on old vinyl records can also be done effectively by a quite different technique, and there are many software tools dedicated to that function.

tartina
User offline. Last seen 5 hours 16 min ago. Offline
Joined: 2012-02-13
Posts:

Gnome wave cleaner http://gwc.sourceforge.net: it's a standalone program and it does a good work

seablade
User is online Online
Joined: 2007-01-22
Posts:

@tartina

GWC tends to suffer from the, "It may be good but dang if I can figure it out" side of things. I haven't actually heard good results that compare to Izotope RX2 for example out of it.

@Jehan

Wasn't ignoring your question by the way, but others have touched on it, do you want me to go into details still?

Seablade

Ricardus
Ricardus's picture
User offline. Last seen 1 hour 7 min ago. Offline
Joined: 2009-05-31
Posts:

Yeah, I have yet to get GWC to do anything but crash on large WAV and AIF files.

When I have tried smaller files, and it didn't outright crash, I couldn't get anywhere near the results that the author shows in his demos.

tartina
User offline. Last seen 5 hours 16 min ago. Offline
Joined: 2012-02-13
Posts:

I had to compile GWC from source and tweak a little bit to get it, but I did a good work restoring an old cassette tape. You can't edit, cut files with it because it crashes a lot (I used Audacity for that), but I could remove a lot of hiss a clicks better than audacity.

tete
tete's picture
User offline. Last seen 26 weeks 2 days ago. Offline
Joined: 2016-02-22
Posts:

Hi, this was a good start for me:

http://www.penguinproducer.com/

... under: Documentation > Tip > LADSPA Noise Removal.

Hope it helps.

Cheers.

CraigPid
User offline. Last seen 2 days 44 min ago. Offline
Joined: 2013-02-15
Posts:

I haven't tried this but I was reading that if you leave some "silence" on your track and select a segment of it (that has a guitar hum or whatever noise you're trying to get rid of) then copy it to a new track and duplicate the copied region so that it fills the same time frame as the other track. Then you can reverse the phase on the second track and it should cancel out the noise in the first track.

anahata
anahata's picture
User offline. Last seen 1 hour 11 min ago. Offline
Joined: 2010-10-27
Posts:

That "reverse phase" cancellation doesn't work. The copied 'noise' won't correlate with the noise you are trying to cancel, so you'll end up just adding more noise. I think somebody has misunderstood the Audacity noise reduction tool I descried in an earlier post on this thread, which does take a sample of the pure noise, but then does something much more sophisticated with it.

If it's a very constant frequency hum or other periodic tone, you might be able to adjust the timing do do it that way, but it would be very tricky and unreliable (half a cycle out and you're DOUBLING the noise!) and you're probably much better off with a sharp notch filter or delay+invert set to 1 period of the tone you wish to cancel in that case.

bluntroller
bluntroller's picture
User offline. Last seen 17 weeks 2 days ago. Offline
Joined: 2016-03-20
Posts:

Maybe you should first locate the noise-source.
Probably a noise reducing plugin for Ardour would not be the ticket at all.
Does the noise come from your (maybe even analog and not yet sampled) audio source?
Does the noice come from Ardour?
Is the noise reasoned by some signal-source behind Ardour?

So far I know is the noise-distance even in the cheapest audio-cards far away from bad.
The software or the switching of registers doesn't (so far I am right) lever the noise as well so you are probably working with quite a good signal/noise ratio as is.
I'd check your equipment and in particular cable-connections.
Tremendues noise can result from bad connections, cold soldering etc.

Greets
Gee

bluntroller
bluntroller's picture
User offline. Last seen 17 weeks 2 days ago. Offline
Joined: 2016-03-20
Posts:

PS: any additional plugin in the chain (even hypotetically) adds another noise-source, we are clear about that right?

lucianodato
lucianodato's picture
User offline. Last seen 54 min 11 sec ago. Offline
Joined: 2011-01-25
Posts:

I'm working on one. It's in lv2 format. To this day it's pretty alfa but it's working. It's called noise repellent. Check it out https://github.com/lucianodato/noise-repellent

calimerox
calimerox's picture
User offline. Last seen 14 hours 37 min ago. Offline
Joined: 2007-10-19
Posts:

@ lucianodato seems the link is not working...

calimerox
calimerox's picture
User offline. Last seen 14 hours 37 min ago. Offline
Joined: 2007-10-19
Posts:

ah sorry mistake on my side , now it works..

CraigPid
User offline. Last seen 2 days 44 min ago. Offline
Joined: 2013-02-15
Posts:

Sometimes it's not reasonable to expect to eliminate the noise at it's source. Specially, some guitars are inherently noisy. If you put a noise gate on a guitar, as soon as you start playing, the noise will get through along with what you’re playing.
@ lucianodato Thanks for the plugin. It's much more convenient than exporting to Audicity, editing the file and then importing it.

phdemartin
phdemartin's picture
User offline. Last seen 15 min 41 sec ago. Offline
Joined: 2010-01-06
Posts:

@ lucianodato I've downloaded and installed the noise-repellent plug-in but would greatly appreciate an how-to or a video tutorial to use it efficiently.

calimerox
calimerox's picture
User offline. Last seen 14 hours 37 min ago. Offline
Joined: 2007-10-19
Posts:

@ lucianodato i m trying to compile it on manjaro / arch linux, can you tell me which sdk s i d need for that?

CraigPid
User offline. Last seen 2 days 44 min ago. Offline
Joined: 2013-02-15
Posts:

I compiled it in Arch and I messed with the makefile. In the part about Library Detection I took out "lv2-plugin". It built, but with errors. Then I copied the nrepel.lv2 folder to my lv2 directory. Not exactly an elegant solution but the plugin works, although there is only a generic gui. I'm not sure if it's supposed to have a better gui. I would be interested in learning the proper way to build it in Arch is. I'm pretty sure that the there are no special packages with developer headers in Arch so the normal lv2 and libfftw3 packages should be good. I tried compiling lv2-c++-tools and was getting an error "undefined reference to `boost::system". The only advice I could find about that was from unclear because it assumed a certain level of knowledge about gcc.

CraigPid
User offline. Last seen 2 days 44 min ago. Offline
Joined: 2013-02-15
Posts:

There's a package in AUR called lvtk-git which seems to be a fork of lv2-c++-tools. I see in the makepkg that, before configure, he did export LDFLAGS="-lboost_system".
I assume that would be the way to get around the boost error when compiling lv2-c++-tools.
As for the other dependencies of lv2 and fftw3, you probably already have them if you're doing audio work. If not, they can be installed with pacman. Then you should be able to compile Noise Repellent without a problem.

lucianodato
lucianodato's picture
User offline. Last seen 54 min 12 sec ago. Offline
Joined: 2011-01-25
Posts:

Hey Guys! This plug is a work in progress. Use it just for fiddling, it's not anything serious right now. But I'm working on it. I don't plan to make a GUI for it just yet. I must implement lots of lv2 features previously to making a GUI. And more important yet I have to refine the dsp. Denoising proves to be a tedious job and not easy at all, lots and lots of tradeoffs to work on.

CraigPid
User offline. Last seen 2 days 44 min ago. Offline
Joined: 2013-02-15
Posts:

Still... it seems to work just as well as the noise removal in Audacity.

calimerox
calimerox's picture
User offline. Last seen 14 hours 37 min ago. Offline
Joined: 2007-10-19
Posts:

thank you guys for the insights, when i try to install the fork via yaourt lvtk-git i get: error: target not found: ttl2c

and yes if it "only" works as well as audacity this would already be fantastic as a lv2 plugin. i often have multitrack sound recordings i need to remove noise (dialog in cars etc..) so audacity is not really a choice in my workflow.. for me a noise removal plugin is the only thing that really misses out till now in the linux audio world....

calimerox
calimerox's picture
User offline. Last seen 14 hours 37 min ago. Offline
Joined: 2007-10-19
Posts:

edit: now it worked! I needed to install ttl2c manually first...

calimerox
calimerox's picture
User offline. Last seen 14 hours 37 min ago. Offline
Joined: 2007-10-19
Posts:

@ CraigPid thanks for the install hints for manjaro/arch . I followed your example and get this error message: "install -d /usr/lib/lv2/nrepel.lv2
install: cannot change permissions of ‘/usr/lib/lv2/nrepel.lv2’: No such file or directory
"

the lv2 is build with errors and then it is visible as a plugin in ardour but wouldnt start in ardour or mixbus ..