Ingresar:     


Forum: VirtualDJ Technical Support

Tópico: mapping non-linear response curves
Can you do non-linear response curves for mapping in VST's in VDJ? Chatgpt tell's me no.

I'm using GlissEQ vst as an effect and emulating a 4 band EQ. I've remapped the Filter, Low, Mid & High hardware knobs on the DDJ1000 to the gains of the 4 EQ freq's. With the following :

effect_select "GlissEQ" ? effect_slider 8 (or the correct numbers needed)

It works fine with a range of -30db at the knob value/position of 0.00, 0db at 0.50 and +30db at 1.00.

I'd like to limit the range to -27db at 0.00, 0db at 0.50 and +6db at 1.00 to emulate the way a xone96 mixers works.

Chatgpt was giving me scripts like below

param_multiply 0.52 & param_add 0.18 & effect_select "GlissEQ" & effect_slider 8


and could not get the results needed. In the end it explained it like this:



All scripts so far have been using linear math:
param_multiply X & param_add Y

That works great if the slider maps to a linear parameter (like dry/wet mix), but not for dB curves — because dB gain is exponential in perception and internally nonlinear in plugins like GlissEQ.

That’s why your tests always showed:

Not enough cut on the low end

Midpoint always below 0 dB

Boost stops short of +6 dB unless the range gets too big

✅ So What Actually Works?
We need to use a non-linear response curve, but VirtualDJ’s scripting system doesn’t natively support things like param_pow or custom math. So we have to cheat it using param_equal or custom preset mapping.


Thanks in advanced for any help

 

Mensajes 2 days ago @ 8:51 am
Chatgpt is useless at script, and is lying to you.
param_pow is a verb, and all kinds of response curves can be achieved I already told you that.