what math modules to use for conver lin>log or lin>exp ? [solved]
here is thing:
- AD envelope sliders are log (or exp?)
- morph knob is linear
so when you control Attack with morph knob, morph path from 0 to 0.1 moves Attack to more rhan 50% of it’s path.
I am pretty sure by controlling morp with knob and inserting some math modules between this modulation may change this behaviour, so morph will not send values in linear but in log / exp .
But i do know what math is needed for this :-)
Visual example: What math i need to put between knob and morph knob, which causes that when knob has value 0.5, Attack on envelope will be exactly in half of it’s path ?
Any idea ?
Comments
solved, thanks to @gravitas ob AB forum, math not needed :)
@dendy
I’ll add these for reference as well.
https://forum.beepstreet.com/discussion/1990/auv3-parameters-logarithmic-scaling#latest
and
https://forum.beepstreet.com/discussion/comment/42331#Comment_42331
however I wouldn’t mind knowing how to do figure it out using Maths modules myself. :)
i am afraid solving it with math modules would be inefficient - much more modules needed and in theory also more calculations (in terms of needed cpu) - i guess shaper module precalculates bunch of constants which ate then just applied with some simpler maths than repeating lots of same log() operations for min and max values of range
but of course.. just as food for brain , would be nice to know :-)