Open DivanX10 opened 1 year ago
Looks like it fails to load the pulse module, but the error provided by the pulsectl lib doesn't provide much info. Can you check if the plugin path, /usr/local/lib/python3.9/dist-packages/rnnoise_cli/data/librnnoise_ladspa.so
, actually exists and is accessible to your user?
Maybe there's a limitation or issue in pulseaudio, or the pulsectl python bindings I'm using, or rnnoise-cli at some point that is specific to your platform or armv7, but I'm not familiar with it.
Yes, there is such a thing/usr/local/lib/python3.9/dist-packages/rnnoise_cli/data/librnnoise_ladspa.so
I managed to run NoiseTorch ng on this project, but something I don't like how it works, it eliminates the sounds, but the words are swallowed. I thought maybe your option would be better, the more it is put easier and easier to configure, but unfortunately it does not work on armv7
There is a ReSpeaker Core v2 microphone array, where Debian 11 OS is installed. Python version 3.9. For Rhasspy Voice Assistant to work, I would like to set up microphone noise reduction using rnnoise to cut off various sounds, such as music, different background noises. I installed
pip install r n noise-cli
and I can't activate the virtual microphone, errors are pouring in, although the microphone appearsHardware Architecture: ARMV7 (armhf)
How to make renoise work on ReSpeaker Core v2?
Log
``` respeaker@v2:~$ rnnoise Usage: rnnoise [OPTIONS] COMMAND [ARGS]... Options: --version Show the version and exit. -v, --verbose Print more. --help Show this message and exit. Commands: activate Activate the noise suppression plugin. control Subcommands to manage the control level. deactivate Deactivate the noise suppression plugin. license Show license info and exit. list List available devices. status Show whether the LADSPA plugin is loaded. respeaker@v2:~$ rnnoise --version rnnoise, version 1.0.3 respeaker@v2:~$ rnnoise list [0] alsa_output.platform-sound_0.seeed-2ch.monitor Monitor of Built-in Audio seeed-2ch [1] alsa_input.platform-sound_0.seeed-8ch Built-in Audio seeed-8ch [2] mic_denoised_out.monitor Monitor of Null Output [3] rnnoise_mic_denoised_out.monitor Monitor of RNNoise Denoised Sink respeaker@v2:~$ rnnoise status The plugin is not loaded. respeaker@v2:~$ rnnoise activate [0] alsa_output.platform-sound_0.seeed-2ch.monitor Monitor of Built-in Audio seeed-2ch [1] alsa_input.platform-sound_0.seeed-8ch Built-in Audio seeed-8ch [2] mic_denoised_out.monitor Monitor of Null Output [3] rnnoise_mic_denoised_out.monitor Monitor of RNNoise Denoised Sink Number or name of device to use [0]: 1 Traceback (most recent call last): File "/usr/local/bin/rnnoise", line 8, in