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

Distortion when using LV2 plugin #3868

Open
LordHelmchen666 opened this issue Apr 10, 2024 · 2 comments
Open

Distortion when using LV2 plugin #3868

LordHelmchen666 opened this issue Apr 10, 2024 · 2 comments
Assignees

Comments

@LordHelmchen666
Copy link

Describe the bug
I try to use an EQ (Linux Studio Plugin) with LV2 plugin. But i hear cracklings and distortions. I checked also other LV2 (Calf EQ and Calf Stereo Enhancer) plugins with same result. Is it just me or maybe a bug? LADSPA version with same settings running fine.

To Reproduce

# Equalizer
radio = lv2.lsp_graphic_equalizer_x16_stereo(
 #band_gain_16 
 g_0 = 22.15,
 #band_gain_25 
 g_1 = 12.94,
 #band_gain_40 
 g_2 = 4.9,
 #band_gain_63 
 g_3 = 3.36,
 #band_gain_100 
 g_4 = 2.65,
 #band_gain_160 
 g_5 = 1.93,
 #band_gain_250 
 g_6 = 0.85,
 #band_gain_400 
 g_7 = 0.85, 
 #band_gain_630
 g_8 = 1.,
 #band_gain_1k 
 g_9 = 1.,
 #band_gain_1.6k 
 g_10 = 1.72,
 #band_gain_2.5k 
 g_11 = 2.22,
 #band_gain_4k
 g_12 = 3.5,
 #band_gain_6.3k 
 g_13 = 3.79,
 #band_gain_10k 
 g_14 = 3.95, 
 #gain in, out, balance
 g_in = 1.,
 g_out = 1.,
 bal = 0.,
radio)

Version details
Liquidsoap 2.2.5+git@cadd055 ( Azuracast Rolling Release)

@smimram smimram self-assigned this Apr 10, 2024
@Russsgithub
Copy link

You could check you level after the lv2 plugin , you have some big gain levels in you settings. Adding 6db will double the level, so if your gains are in dB you are increasing the bass by 8 times it's input value , which would cause distortion if it clips.

I can't remember liquidsoaps level meter ... RMS maybe, which can be set to print every X seconds , I think this code is in the docs or book.

I find eqs work better if you reduce levels rather than increase , and then boost the output gain or normalize after the eq.

@Russsgithub
Copy link

.... I just reread you message and noticed you're not getting distortion with ladspa, so I guess what I wrote is not relevant in this case ..... sorry for the irelavant interjection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants