real sliders on a analog mixer are made so that the amplitude will be to about -48 db (i use this in all my software) and then at the lowest mark it says -oo (infinite), after the -48db mark, the slider becomes linear between -48db and zero so that when having the slider fully down, it passes absolutely no signal. my software does not do this because i expect if you want below -48db you can disconnect it or disable it :P
so real 'audio pots' (sliders or knobs for audio) are hybrid. the give you perfect db above some point, then return to linear.
maybe i should just code this for you :P
if i wrote a mixer, i would do it the same way it is done in analog mixers.
Such thing as one channel volume VST plugin?
- KVRAF
- 12615 posts since 7 Dec, 2004
instead of using the hybrid method, i just gave you -64db and cut out at the bottom so 0 == 0.
this isnt a big deal since i increased the range to 64db. this one isnt perfectly linear for control->db, its a bit log because that feels nicer to me. tell me what you think.
sorry if this seems confusing, i quickly adapted my existing code. use the dry slider, wet will do nothing since this effect does no processing at all.
http://xhip.cjb.net/temp/xhipeffects_gainer.dll
i thought mr.gain goes well with mr.radar and mr.coffee from spaceballs, btw.
this isnt a big deal since i increased the range to 64db. this one isnt perfectly linear for control->db, its a bit log because that feels nicer to me. tell me what you think.
sorry if this seems confusing, i quickly adapted my existing code. use the dry slider, wet will do nothing since this effect does no processing at all.
http://xhip.cjb.net/temp/xhipeffects_gainer.dll
i thought mr.gain goes well with mr.radar and mr.coffee from spaceballs, btw.
- KVRAF
- 12615 posts since 7 Dec, 2004
with - http://xhip.cjb.net/temp/mr.gain.mp3
without - http://xhip.cjb.net/temp/mr.gheyn.mp3
do we need a demo for this one?
notice how much more analog the effect makes it sound!

without - http://xhip.cjb.net/temp/mr.gheyn.mp3
do we need a demo for this one?
notice how much more analog the effect makes it sound!
-
- KVRist
- 188 posts since 13 Jun, 2004 from SW England
- KVRAF
- Topic Starter
- 1601 posts since 24 Jun, 2004 from Australia
I thank you both kindly. They both have a place with what I do, especially since sometimes I want a very linear (in dB I mean) fade which gy's pluging can do with very great range!, and others might sound nice with your plugin aciddose.
aciddose: I do like your slightly 'log'ged algorithm. My complaint is the weird wet parameter. Why leave it there? Is it like the anechoic room simulator? :D
gy: Thanks for shrinking the plugin, it's more comfortable now, and I don't know whether it was cutting volume entirely at -100dB or not but I'm sure it is at least now and you've put -inf dB which reassures me that's what it's doing.
aciddose: I do like your slightly 'log'ged algorithm. My complaint is the weird wet parameter. Why leave it there? Is it like the anechoic room simulator? :D
gy: Thanks for shrinking the plugin, it's more comfortable now, and I don't know whether it was cutting volume entirely at -100dB or not but I'm sure it is at least now and you've put -inf dB which reassures me that's what it's doing.
