Hello readers! If you’ve used Audacity or Kdenlive on Linux, you may know that their built-in noise removal tools often fall short of expectations. As someone who frequently works with audio, I needed a better solution. This guide will show you how to compile and install a powerful noise suppression plugin, “LADSPA Noise Suppressor for Voice,” on Debian.
Why Built-In Tools Aren’t Enough
While Audacity and Kdenlive are excellent for editing, their default noise removal tools may not provide the level of clarity required for professional results. After some research, I found a solution—the “librnnoise_ladspa.so” plugin—that can dramatically improve noise suppression. However, this plugin isn’t available in Debian’s default repository, so we’ll need to compile it manually.
Steps to Install Noise Suppressor Plugin
Follow these steps to set up noise suppression for Audacity and Kdenlive on Debian:
1. Download the Source Code
- Visit GitHub and search for “noise-suppression-for-voice” by werman.
- Click the green “Code” button and select “Download ZIP.”
- Save the file to your
~/Downloads
folder.
2. Extract and Navigate
- Extract the downloaded file:
$ unzip noise-suppressor-for-voice-master.zip
- Navigate to the extracted folder:
$ cd noise-suppressor-for-voice-master
3. Install Dependencies
- Ensure you have the necessary build tools and libraries installed. Use the following command:
$ sudo apt install cmake ninja-build pkg-config libfreetype-dev libx11-dev \ libxrandr-dev libxinerama-dev libxcursor-dev libasound2-dev libjack-jackd2-dev \ libcurl4-openssl-dev libfreetype6-dev libxcomposite-dev libxext-dev \ libxrender-dev libwebkit2gtk-4.0-dev
4. Compile the Plugin
- Run the following command to build the plugin:
$ cmake -Bbuild-x64 -H. -GNinja -DCMAKE_BUILD_TYPE=Release
- If successful, you’ll see a message indicating that the build files have been written.
5. Finalize the Build
- Execute the following command to create the library file:
$ ninja -C build-x64
- Locate the
librnnoise_ladspa.so
file inbuild-x64/bin/ladspa
.
6. Install the Plugin
- Move the plugin to the appropriate directory:
$ sudo mv build-x64/bin/ladspa/librnnoise_ladspa.so /usr/lib/ladspa/
- Set proper permissions:
$ sudo chmod 644 /usr/lib/ladspa/librnnoise_ladspa.so $ sudo chown root:root /usr/lib/ladspa/librnnoise_ladspa.so
7. Restart and Verify
- Restart Kdenlive and Audacity. You should now see “LADSPA Noise Suppressor for Voice” under the Effects menu.
Using the Plugin
- In Kdenlive: Search for “Noise Suppressor for Voice” in the Effects tab.
- In Audacity: Locate the effect under the Effects menu as “werman Noise Suppressor for Voice (Mono).”
Additional Resources
For further reference, check out these helpful links:
Conclusion
With the “LADSPA Noise Suppressor for Voice” plugin, you can significantly improve audio quality in your projects. By following this guide, you’ll be equipped to handle noise suppression effectively on Debian. If you found this guide helpful or have any tips to share, let us know in the comments below!