The formula for the 100dB stroke fader?
The formula for the 100dB stroke fader?
Hi guys,
I am making a remote control surface for a digital mixing software.
I want to put "monitor"s for mixing faders' positions in dB as the real console shows, but I don't know what formula I can plug in.
I think it's some sort of Log function but I can not figure out or find the resources.
The fader is -90dB(infinite) to +10dB.
Also, if anybody knows how to make a formula for the panpot(bipolar), which shows L100 -0- R100. I don't need L/R but at least want to have it show 100 -0- 100.
Thank you so much.
JJ
I am making a remote control surface for a digital mixing software.
I want to put "monitor"s for mixing faders' positions in dB as the real console shows, but I don't know what formula I can plug in.
I think it's some sort of Log function but I can not figure out or find the resources.
The fader is -90dB(infinite) to +10dB.
Also, if anybody knows how to make a formula for the panpot(bipolar), which shows L100 -0- R100. I don't need L/R but at least want to have it show 100 -0- 100.
Thank you so much.
JJ
Re: The formula for the 100dB stroke fader?
for the volume fader I don't know, but the panner is easy:
-100+Pan.x*200
-100+Pan.x*200
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Re: The formula for the 100dB stroke fader?
Hi
This thread should cover what you need . . .
http://liine.net/forum/viewtopic.php?f= ... 1698#p1698
Cheers
MM
This thread should cover what you need . . .
http://liine.net/forum/viewtopic.php?f= ... 1698#p1698
Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: The formula for the 100dB stroke fader?
Wow, amazing! Thanks MM.
20*(log(x*127/108))*6/3.241 is great.
But I am wondering if this can be slightly altered so it shows from inf.(-90dB) to +10dB.
Do you know? I tried some, but never reached the correct one...
Thanks!
JJ
20*(log(x*127/108))*6/3.241 is great.
But I am wondering if this can be slightly altered so it shows from inf.(-90dB) to +10dB.
Do you know? I tried some, but never reached the correct one...
Thanks!
JJ
Re: The formula for the 100dB stroke fader?
Hey Phil999,
Thanks to you too! I needed to know that. It looks great.
But do you know if it can be 100 to the both side L/R? Not like -100 -0- 100?
Or I wonder if we can put texts before those values, like "L"100 and "R"100
Thanks so much!
JJ
Thanks to you too! I needed to know that. It looks great.
But do you know if it can be 100 to the both side L/R? Not like -100 -0- 100?
Or I wonder if we can put texts before those values, like "L"100 and "R"100
Thanks so much!
JJ
Re: The formula for the 100dB stroke fader?
I'm sure it can be done, but I don't know yet how to express it. You need to multiply with -1 if the value is negative.jjlemur wrote: But do you know if it can be 100 to the both side L/R? Not like -100 -0- 100?
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Re: The formula for the 100dB stroke fader?
Or use abs() - to give you the unsigned version on the numberPhil999 wrote: You need to multiply with -1 if the value is negative.
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: The formula for the 100dB stroke fader?
yes! That's it.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Re: The formula for the 100dB stroke fader?
Thanks guys!
I tried "()", but it doesn't change anything. Still I have -100 at Right side.
I put like "(100-pan.x*200)" in the item of "value=".
Am I doing something wrong way or misunderstood?
I really appreciate your help!
JJ
I tried "()", but it doesn't change anything. Still I have -100 at Right side.
I put like "(100-pan.x*200)" in the item of "value=".
Am I doing something wrong way or misunderstood?
I really appreciate your help!
JJ
Re: The formula for the 100dB stroke fader?
It must start with -100, so that it will display 0 in the center position when multiplied with 200.jjlemur wrote: I put like "(100-pan.x*200)" in the item of "value=".
-100+pan.x*200
to get absolute values (values >=0), write
abs(-100+pan.x*200)
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro