Skip to content

Instantly share code, notes, and snippets.

@rakibulinux
Created August 16, 2024 09:21
Show Gist options
  • Save rakibulinux/149922df354b2cb566a270528b28f3bb to your computer and use it in GitHub Desktop.
Save rakibulinux/149922df354b2cb566a270528b28f3bb to your computer and use it in GitHub Desktop.
LADSPA Noise Suppressor for Voice on Debian, for Kdenlive
!/bin/bash
#LADSPA Noise Suppressor for Voice on Debian, for Kdenlive
#Clone from github
git clone https://github.com/werman/noise-suppression-for-voice.git
cd noise-suppression-for-voice/
sudo apt install cmake ninja-build pkg-config libfreetype-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev
#Build LADSPA Noise Suppressor for Voice
cmake -Bbuild-x64 -H. -GNinja -DCMAKE_BUILD_TYPE=Release
ninja -C build-x64
#Copy Build file to ladspa
sudo mv build-x64/bin/ladspa/librnnoise_ladspa.so /usr/lib/ladspa/
sudo chmod 644 /usr/lib/ladspa/librnnoise_ladspa.so
sudo chown root:root /usr/lib/ladspa/librnnoise_ladspa.so
UPDATE:
atsider at reddit/kdenlive writes that steps 6-9 can be replaced with:
"$ sudo ninja -C build_dir install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment