sudo apt install meson cmake autoconf libtool libasound2-dev audacity
git clone https://github.com/realwujing/rnnoise.git
git submodule update --init --recursive
cd rnnoise
./autogen.sh
export CFLAGS="-g -O0 -fPIC"
export LDFLAGS="-g -O0 -fPIC"
mkdir build
../configure
make
sudo make install
cd alsa_rnnoise-v1.0
meson build # generates the ``build'' directory
ninja -C build
cd audioeffects
cp ../alsa_rnnoise-v1.0/build/libasound_module_pcm_rnnoise.so .
sudo ./install.sh
pulseaudio -k
audacity
sudo ./uninstall.sh