Exponential curve on fader for Soft Synth LFO
Posted: 20 Nov 2013 15:52
Hi there, I'm trying to make a Mu device template for the Arturia CS-80V2. I have everything mapped out and controlling the soft synth inside live just fine. But I want to mirror the values being displayed from my soft synth into my Mu device controller. The first one I'm tackling is the LFO1 for OSC1. The range goes exponentially from 0.01hz - 50.0hz but my Mu fader is sending a linear 0.00 - 1.00 value via OSC. I came up with a formula for this using an excel chart using this sample data:
x=.00 y=0.01
x=.10 y=0.13
x=.20 y=0.25
x=.30 y=0.62
x=.40 y=1.00
x=.50 y=2.50
x=.60 y=4.00
x=.70 y=14.5
x=.80 y=25.0
x=.90 y=37.5
x=1.00 y=50.0
The resulting formula: y = 0.0374e7.8864x
What I put into Fader --> Properties --> Value=0.0374*exp(7.8864*x)
The graph is somewhat close but I'm wondering how some of you would approach the problem. I'm not very good at math so this is the extent of my knowledge. Any help is greatly appreciated Thank you!
x=.00 y=0.01
x=.10 y=0.13
x=.20 y=0.25
x=.30 y=0.62
x=.40 y=1.00
x=.50 y=2.50
x=.60 y=4.00
x=.70 y=14.5
x=.80 y=25.0
x=.90 y=37.5
x=1.00 y=50.0
The resulting formula: y = 0.0374e7.8864x
What I put into Fader --> Properties --> Value=0.0374*exp(7.8864*x)
The graph is somewhat close but I'm wondering how some of you would approach the problem. I'm not very good at math so this is the extent of my knowledge. Any help is greatly appreciated Thank you!