Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lv2 detects duplicate plugin #158

Open
tleydxdy opened this issue Dec 20, 2022 · 3 comments
Open

lv2 detects duplicate plugin #158

tleydxdy opened this issue Dec 20, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@tleydxdy
Copy link

tleydxdy commented Dec 20, 2022

$ lv2ls
lilv_world_add_plugin(): warning: Duplicate plugin https://github.com/werman/noise-suppression-for-voice
lilv_world_add_plugin(): warning: ... found in file:///usr/lib/lv2/rnnoise_mono.lv2/
lilv_world_add_plugin(): warning: ... and file:///usr/lib/lv2/rnnoise_stereo.lv2/ (ignored)

System is Arch Linux, installed from the official repo

@werman werman added the bug Something isn't working label Dec 24, 2022
@pallaswept
Copy link
Contributor

pallaswept commented Aug 12, 2023

Same issue here. This is a problem in pipewire filter chains which use the URI to specify the plugin to use, so now it is impossible to select the stereo or mono variant of the plugin. Fortunately, PW works fine with the ladspa variants, but from what I've read (please correct me if I'm wrong) LV2 should always be preferred if there is a choice, so it would be nice to fix this up :)

Anyway thanks for the plugin, it does a really good job!

@pallaswept
Copy link
Contributor

I sent a patch to the SIMD-enhanced version of the plugin which has been more recently maintained, it will work for this, too. Just one line to change:

LV2URI "https://github.com/werman/noise-suppression-for-voice"

Change from

LV2URI "https://github.com/werman/noise-suppression-for-voice"

to

LV2URI "https://github.com/werman/noise-suppression-for-voice#${default_channels}ch"

Simple, minimal, but effective fix. Enjoy.

pallaswept referenced this issue Nov 11, 2023
You can't use the same URI for two different plugins

lv2ls
lilv_world_add_plugin(): warning: Duplicate plugin <https://github.com/werman/noise-suppression-for-voice>
lilv_world_add_plugin(): warning: ... found in file:///usr/lib64/lv2/rnnoise_mono.lv2/
lilv_world_add_plugin(): warning: ... and      file:///usr/lib64/lv2/rnnoise_stereo.lv2/ (ignored)
@pallaswept
Copy link
Contributor

This is fixed now, thanks everyone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants