The Penguin Producer
Be Free to Make Something Good!
The Penguin Producer
Navigation
  • News
  • About
    • Topics
  • Documentation
    • Information
    • Manual
    • Tutorial
    • Tip
    • List
  • Feedback
  • Podcast
    • Feed
  • RSS
  • Facebook
  • Twitter
You are here: Home › Tip › LADSPA Noise Removal
← Streaming Podcast with Skype Workflow
Audio Interface Brands to Consider →

LADSPA Noise Removal

January 23, 2012 | Filed under: Tip and tagged with: audio, ladspa, noise, noise removal, plugins

This was actually inspired by episode 222 of the Podcast Answer Man, when he mentioned an issue with the use of an incorrectly-set compressor-gate.  I was pretty impressed when he demonstrated what his environment sounded like when bypassing the compressor gate.

This got me to thinking; all this talk about noise removal, and I haven’t really given the compressor/expander/gate plugins a fair shake.  So, I started playing around with them, until I found that the best noise removal by far were caused by the “RMS Envelope Tracking” ”Simple” plugins in the CMT collection.  I’ve also made use of Steve Harris’s “Simple Amplifier.”

This isn’t audio scrubbing like Audacity does… this is realtime; I can use these plugins on a realtime project, such as broadcasting or using Skype with Jack (as is my wont).  Don’t take my word for it… here’s a sample, using both the raw recording (I did emphasize that raw recordings should be made before any processing, right?), and the processed recording using the chain below.

Those of you using normal speakers won’t notice much; maybe the second will be a little quieter.  Those wearing earbuds or headphones may notice some difference… if you have studio headphones, you will likely notice everything immediately… for those who don’t know, studio headphones are equalized to show every ugly truth in a playback… if there’s noise, you hear it in all its glory.

Keep in mind that while this can clean out noise, it is not going to do all the work for you; you should be recording in a quiet location to begin with.  In this way, there is a degree of separation between the signal (your voice) and the noise floor (background noise)… if they are too close together, than you will either encounter points where your voice is cut off, or where the noise will break through into the recording.  Neither is a good event.  Also, this does not remove the background noise during those parts where there is a signal, such as while you’re talking.  If you have a lot of background noise, then you will need to find ways of preventing it from getting to the microphone.

Expander

The first plugin in the chain should be the expander.  Expanders will stretch out the dynamic range of a sample under a certain point.  This means that all audio above a certain point will retain its’ amplitudes, but in parts quieter than that point, they will get even quieter.  This means that the “noise floor,” which is the background noise under the actual audio signal, will become even quieter, while the signal itself will not be changed.

This plugin tracks the “Root Mean Square,” or RMS, which is just a fancy way of saying that it bases its threshold off of a calculation between the average signal strength and the value in the above “Threshold” field.  If the above threshold number drops, so does the threshold.  You want to set this value as low as you can without a drastic increase of noise; you may need to play with it some to find the right level.  You do want to increase it enough, however, that you don’t hear “noise pumping.”

Once you have the correct threshold to clean out the noise, but allow signal through, you can adjust the expansion ratio; the higher this number, the more complete the silence becomes.   If you max out the expansion ratio, then this essentially becomes a gate.  I generally prefer putting it low enough that the background noise is gone, while the quieter parts of my voice will still be picked up.

Compressor

The next step is to compress the signal a bit.  This is not to say that you should squash it into putty, but by compressing the dynamic range of the actual signal, you can ensure that your voice will be heard clearly without the expander stretching it out at the low end.

The threshold and compression ratio are just like the expander; the lower the threshold, the more sound gets compressed, and the more compression is applied as the ratio increases.  This also tracks the RMS of the signal, so it can adjust accordingly.

Amplifier

At this point, you should be able to use an amplifier to adjust the volume of the remaining signal to your liking.

Limiter

The compression can help prevent peaking, but it does not stop peaking, just slows it down.  In order to close out the set, you should to put up a limiter that can block a signal from passing the peaking point, without causing its signature distortion.

Conclusion

One of the main reasons people prefer to use Audacity is because it has this “magical” noise removal filter as one of its editing tools.  With the help of this chain, you can hopefully see the possibilities of using good noise removal procedure in a real-time context, without any need for editing the final product for cleanup.

With this new tool under your belt, have fun, and make something good!

Did you like this article? Share it with your friends!

Tweet

Written by Lampros Liontos

Lampros "Reteo" Liontos is a long-time user of Linux who had discovered the joy of audio in the last two years. His subsequent research of ancient (old) and mystical (technical) tomes of Linux audio lore (documentation) resulted in his decision to make his own, using as close to everyday English as he could manage, and with enough pictures to really help clarify things. Then, he got bored, and decided he wasn't thinking big enough. Now, he has interest in video, graphics, and audio. He also likes to write, but that much should have been obvious by now.

Visit my Website
← Streaming Podcast with Skype Workflow
Audio Interface Brands to Consider →

5 comments on “LADSPA Noise Removal”

  1. Noise Figure on January 31, 2012 at 2:10 am said:

    It's a great information for noise figure.
    http://www.maurymw.com/MW_RF/Noise_Parameter_Measurements.php

    Reply ↓
  2. Max L. on April 3, 2012 at 11:38 am said:

    Hi there,

    Thanks a lot for the tip. I tried to get this running on Ubuntun 11.10 with Ardour but couldn’t figure how. I don’t have a lot of experience unfortunately. It would be great if you could give me some more tips in order to get this running. Best regards!

    Reply ↓
  3. Lampros Liontos on April 3, 2012 at 12:04 pm said:

    Each of these are LADSPA plugins. In the Ardour mixer, you need to right-click on the plugin area (Empty black box in 2.8) and then “New Plugin” and “Plugin Manager.” Then, you can search for the necessary plugins by name. Once you see the desired plugin, double-click it. At this point, the plugin will show on the lower box. Repeat the search and double-click for each plugin you desire.

    Once all the desired plugins have been placed in the bottom box, click the “Insert Plugin(s)” button at the bottom-right of the window. The plugins will now be in the black area; double-clicking them will bring up their configuration dialogs.

    Reply ↓
  4. twcook on August 13, 2012 at 9:22 am said:

    Wonderful tip. Yes, I too was missing this Audacity ‘magic’ in Ardour. Now that I know the secret handshake; I’ll add this that works for me. I have a relatively high amount of background white noise. By placing the Expander and Compressor pre-fader and the Amplifier and Limiter post-fader I was able to reduce the noise content with the Expander and Compressor w/o hurting the audio (voice only) then turn down the fader level so the noise isn’t there at all. Using the Amplifier to make up the volume on a cleaned signal.

    Reply ↓
    • Lampros Liontos on August 13, 2012 at 2:31 pm said:

      The fader and amplifier essentially do the same thing: they both simply adjust the gain of the entire spectrum. There’s really no point for you to use both. I use the amplifier because it allows a wider range of adjustment.

      One thing to note, however, this should not be used in place of room treatment or careful microphone placement, it should just be used as a supplement. The best noise removal is still preventing noise from being picked up by the mic at all. I tend to recommend blocking any line-of-sight between the microphone and noise sources, and the use of packing blankets as a cheap noise baffle until you can afford proper room treatment.

      Reply ↓

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

9,929 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Categories

  • ►Blog (2)
    • ►Previews (1)
  • ▼Documentation (61)
    • ►Information (13)
    • ►List (2)
    • ►Manual (9)
    • ▼Tip (21)
      • A Couple Useful Changes to the Blender Default Interface
      • A Tip to Podcasters: Silence is Golden
      • Audio Interface Brands to Consider
      • Balancing Performance and Reliability in Jack
      • Book Animation in Blender
      • Command for Recording Your Desktop
      • Creating Clip Planes in Blender
      • Dalek Voice Effect - Updated
      • Jack-Alsa Bridge Kit
      • Jack-Based Multichannel Recording
      • LADSPA Noise Removal
      • Microphone Recommendations and Explanation
      • Multi-Screen Blender
      • Noise Control Using Packing Blankets
      • Perspective: All One Program
      • Preventing Self-Connections in Jack Apps, AKA Making Ladish Work with Everything
      • Quick Tip: Use Lossless Compression for Your Working Copies
      • Using Figure-8 to Limit Noise
      • Using Hydrogen as a SFX Trigger
      • Using Multiple Devices with Jack
      • Voice Effects
    • ►Tutorial (16)
  • ►News (13)
  • ►Podcast (6)
  • ►Site Recommendations (1)
  • ►Uncategorized (2)

Communities

  • Blender Artists Community
  • GIMP Forums
  • GIMP Talk
  • GIMPER.NET
  • Inkscape Users Forum
  • Linux Musicians
  • Linuxaudio.org

Hardware Support

  • Alsa PCI and USB
  • FFADO Firewire
  • Linux-drivers.org

Tutorials

  • Blender Guru
  • GIMP Tutorials
  • Inkscape Tutorials Blog
  • Libre Graphics World
  • Screencasters (Inkscape Tutorials)
January 2012
S M T W T F S
« Dec   Feb »
1234567
891011121314
15161718192021
22232425262728
293031  

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Penguin Producer Tip Jar

The Penguin Producer is an Amazon.com affiliate.

The Penguin Producer by Lampros Liontos is licensed under a Creative Commons Attribution 3.0 Unported License.

Powered by Esplanade Theme and WordPress