All times are UTC

 
 



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Is there a way to predict dB att of the mixer slider?
PostPosted: Sat Mar 30, 2013 11:27 am 

Joined: Fri Apr 16, 2010 11:14 pm
Posts: 4
Hi,
controlling mixer volume slider using live.remote~, i would need a formula to know the dB attenuation starting from control signal range [0. 1.]. After a day of tests i found this formula:

Code:
[expr 4.4419*pow($f1,5)+50*log10($f1/0.93076)]


that is quite exact near 0dB, but going -> -inf it starts going wrong....
any idea??


Top
 Profile  
 
 Post subject: Re: Is there a way to predict dB att of the mixer slider?
PostPosted: Sat Mar 30, 2013 1:13 pm 

Joined: Sat Aug 28, 2004 6:21 pm
Posts: 4837
Check out the [atodb]/[dbtoa] objects.

_________________
Unsound Designer

Image


Top
 Profile  
 
 Post subject: Re: Is there a way to predict dB att of the mixer slider?
PostPosted: Sat Mar 30, 2013 1:50 pm 

Joined: Fri May 02, 2003 6:38 am
Posts: 1265
Location: France
Do those really fit the strange ableton's fader law ?

_________________
Aboard from V. 1
MBP 2,3 ghz I7 4Go RAM OS 10.8.5 X-station/iPad2+Mira+Lemur/PadKontrol/BCR+BCF2000/ Livid Code
RME FF UC Live 9.0.6 / 9.1.1 + MFL + Max 6.16 Yeepee !
Madlab sound unit :/: sounds FX, objects, guitar and electronics :/: end_of_transmission


Top
 Profile  
 
 Post subject: Re: Is there a way to predict dB att of the mixer slider?
PostPosted: Sun Mar 31, 2013 5:20 am 

Joined: Fri Apr 16, 2010 11:14 pm
Posts: 4
madlab wrote:
Do those really fit the strange ableton's fader law ?


eh eh... no. atodb/dbtoa is a simple logarithmic converter... nothing to do with the strange ableton's fader law!


Top
 Profile  
 
 Post subject: Re: Is there a way to predict dB att of the mixer slider?
PostPosted: Sun Mar 31, 2013 8:58 am 

Joined: Fri May 02, 2003 6:38 am
Posts: 1265
Location: France
Thanks fcana, I was starting to think I was missing the point in this topic : viewtopic.php?f=1&t=182375&p=1417073&hilit=+live+db+fader+lemur+fader#p1417073

_________________
Aboard from V. 1
MBP 2,3 ghz I7 4Go RAM OS 10.8.5 X-station/iPad2+Mira+Lemur/PadKontrol/BCR+BCF2000/ Livid Code
RME FF UC Live 9.0.6 / 9.1.1 + MFL + Max 6.16 Yeepee !
Madlab sound unit :/: sounds FX, objects, guitar and electronics :/: end_of_transmission


Top
 Profile  
 
 Post subject: Re: Is there a way to predict dB att of the mixer slider?
PostPosted: Sun Mar 31, 2013 9:23 am 

Joined: Fri Apr 16, 2010 11:14 pm
Posts: 4
madlab wrote:
Thanks fcana, I was starting to think I was missing the point in this topic : viewtopic.php?f=1&t=182375&p=1417073&hilit=+live+db+fader+lemur+fader#p1417073


my formula:

Code:
4.4419*pow(x,5)+50*log10(x/0.93076)


works quite well (and better than the lemur forum one)... but it's not perfect.
Just wrote to the Ableton support.... reply countdown started ;)


Top
 Profile  
 
 Post subject: Re: Is there a way to predict dB att of the mixer slider?
PostPosted: Sun Mar 31, 2013 9:37 am 

Joined: Fri May 02, 2003 6:38 am
Posts: 1265
Location: France
In Lemur, a solution using array is the most accurate for now.

_________________
Aboard from V. 1
MBP 2,3 ghz I7 4Go RAM OS 10.8.5 X-station/iPad2+Mira+Lemur/PadKontrol/BCR+BCF2000/ Livid Code
RME FF UC Live 9.0.6 / 9.1.1 + MFL + Max 6.16 Yeepee !
Madlab sound unit :/: sounds FX, objects, guitar and electronics :/: end_of_transmission


Top
 Profile  
 
 Post subject: Re: Is there a way to predict dB att of the mixer slider?
PostPosted: Thu Apr 18, 2013 7:54 am 

Joined: Fri Apr 16, 2010 11:14 pm
Posts: 4
Ableton answered me! here the response:

Quote:
I am afraid the answer is not straight-forward!
There is actually no formula. Live uses different look-up tables (see below) for different dB ranges.
The developers informed me that live.gain~ was also adapted to use the below table for a -70 to +6 dB fader.

0.000000 pix -> 6.000000 dB
0.010000 pix -> 5.600000 dB
0.020000 pix -> 5.200000 dB
0.030000 pix -> 4.800000 dB
0.040000 pix -> 4.400000 dB
0.050000 pix -> 4.000000 dB
0.060000 pix -> 3.599999 dB
0.070000 pix -> 3.199999 dB
0.080000 pix -> 2.799999 dB
0.090000 pix -> 2.399999 dB
0.100000 pix -> 1.999999 dB
0.110000 pix -> 1.599999 dB
0.120000 pix -> 1.199999 dB
0.130000 pix -> 0.799999 dB
0.140000 pix -> 0.399999 dB
0.150000 pix -> 0.000000 dB
0.160000 pix -> -0.400000 dB
0.170000 pix -> -0.800000 dB
0.180000 pix -> -1.200000 dB
0.190000 pix -> -1.600000 dB
0.200000 pix -> -2.000000 dB
0.210000 pix -> -2.400000 dB
0.220000 pix -> -2.800000 dB
0.230000 pix -> -3.200000 dB
0.240000 pix -> -3.600000 dB
0.250000 pix -> -4.000000 dB
0.260000 pix -> -4.400001 dB
0.270000 pix -> -4.800001 dB
0.280000 pix -> -5.200001 dB
0.290000 pix -> -5.600001 dB
0.300000 pix -> -6.000001 dB
0.310000 pix -> -6.400001 dB
0.320000 pix -> -6.800001 dB
0.330000 pix -> -7.200001 dB
0.340000 pix -> -7.600001 dB
0.350000 pix -> -8.000001 dB
0.360000 pix -> -8.400001 dB
0.370000 pix -> -8.800000 dB
0.380000 pix -> -9.200000 dB
0.390000 pix -> -9.599999 dB
0.400000 pix -> -9.999999 dB
0.410000 pix -> -10.399999 dB
0.420000 pix -> -10.799998 dB
0.430000 pix -> -11.199998 dB
0.440000 pix -> -11.599998 dB
0.450000 pix -> -11.999997 dB
0.460000 pix -> -12.399997 dB
0.470000 pix -> -12.799996 dB
0.480000 pix -> -13.199996 dB
0.490000 pix -> -13.599996 dB
0.500000 pix -> -13.999995 dB
0.510000 pix -> -14.399995 dB
0.520000 pix -> -14.799994 dB
0.530000 pix -> -15.199994 dB
0.540000 pix -> -15.599994 dB
0.550000 pix -> -15.999993 dB
0.560000 pix -> -16.399994 dB
0.570000 pix -> -16.799994 dB
0.580000 pix -> -17.199993 dB
0.590000 pix -> -17.599993 dB
0.600000 pix -> -17.999992 dB
0.610000 pix -> -18.439993 dB
0.620000 pix -> -18.919992 dB
0.630000 pix -> -19.439993 dB
0.640000 pix -> -19.999992 dB
0.650000 pix -> -20.599993 dB
0.660000 pix -> -21.239992 dB
0.670000 pix -> -21.919992 dB
0.680000 pix -> -22.639992 dB
0.690000 pix -> -23.399992 dB
0.700000 pix -> -24.199991 dB
0.710000 pix -> -25.039991 dB
0.720000 pix -> -25.919992 dB
0.730000 pix -> -26.839993 dB
0.740000 pix -> -27.799994 dB
0.750000 pix -> -28.799994 dB
0.760000 pix -> -29.839994 dB
0.770000 pix -> -30.919994 dB
0.780000 pix -> -32.039993 dB
0.790000 pix -> -33.199993 dB
0.800000 pix -> -34.399994 dB
0.810000 pix -> -35.639996 dB
0.820000 pix -> -36.919994 dB
0.830000 pix -> -38.239994 dB
0.840000 pix -> -39.599995 dB
0.850000 pix -> -40.999996 dB
0.860000 pix -> -42.439995 dB
0.870000 pix -> -43.919994 dB
0.880000 pix -> -45.439995 dB
0.890000 pix -> -46.999996 dB
0.900000 pix -> -48.599995 dB
0.910000 pix -> -50.239994 dB
0.920000 pix -> -51.919994 dB
0.930000 pix -> -53.639996 dB
0.940000 pix -> -55.399994 dB
0.950000 pix -> -57.199993 dB
0.960000 pix -> -59.039993 dB
0.970000 pix -> -60.919994 dB
0.980000 pix -> -63.373329 dB
0.990000 pix -> -66.399994 dB
1.000000 pix -> -70.000000 dB

-----------------------------------

-70.000000 dB -> 1.000000 pix
-69.000000 dB -> 0.997222 pix
-68.000000 dB -> 0.994444 pix
-67.000000 dB -> 0.991667 pix
-66.000000 dB -> 0.988678 pix
-65.000000 dB -> 0.985374 pix
-64.000000 dB -> 0.982070 pix
-63.000000 dB -> 0.978478 pix
-62.000000 dB -> 0.974402 pix
-61.000000 dB -> 0.970326 pix
-60.000000 dB -> 0.965106 pix
-59.000000 dB -> 0.959783 pix
-58.000000 dB -> 0.954348 pix
-57.000000 dB -> 0.948889 pix
-56.000000 dB -> 0.943333 pix
-55.000000 dB -> 0.937727 pix
-54.000000 dB -> 0.932045 pix
-53.000000 dB -> 0.926279 pix
-52.000000 dB -> 0.920465 pix
-51.000000 dB -> 0.914524 pix
-50.000000 dB -> 0.908537 pix
-49.000000 dB -> 0.902439 pix
-48.000000 dB -> 0.896250 pix
-47.000000 dB -> 0.890000 pix
-46.000000 dB -> 0.883590 pix
-45.000000 dB -> 0.877105 pix
-44.000000 dB -> 0.870526 pix
-43.000000 dB -> 0.863784 pix
-42.000000 dB -> 0.856944 pix
-41.000000 dB -> 0.850000 pix
-40.000000 dB -> 0.842857 pix
-39.000000 dB -> 0.835588 pix
-38.000000 dB -> 0.828182 pix
-37.000000 dB -> 0.820606 pix
-36.000000 dB -> 0.812812 pix
-35.000000 dB -> 0.804839 pix
-34.000000 dB -> 0.796667 pix
-33.000000 dB -> 0.788276 pix
-32.000000 dB -> 0.779643 pix
-31.000000 dB -> 0.770714 pix
-30.000000 dB -> 0.761482 pix
-29.000000 dB -> 0.751923 pix
-28.000000 dB -> 0.742000 pix
-27.000000 dB -> 0.731667 pix
-26.000000 dB -> 0.720870 pix
-25.000000 dB -> 0.709524 pix
-24.000000 dB -> 0.697500 pix
-23.000000 dB -> 0.684737 pix
-22.000000 dB -> 0.671111 pix
-21.000000 dB -> 0.656250 pix
-20.000000 dB -> 0.640000 pix
-19.000000 dB -> 0.621539 pix
-18.000000 dB -> 0.600000 pix
-17.000000 dB -> 0.575000 pix
-16.000000 dB -> 0.550000 pix
-15.000000 dB -> 0.525000 pix
-14.000000 dB -> 0.500000 pix
-13.000000 dB -> 0.475000 pix
-12.000000 dB -> 0.450000 pix
-11.000000 dB -> 0.425000 pix
-10.000000 dB -> 0.400000 pix
-9.000000 dB -> 0.375000 pix
-8.000000 dB -> 0.350000 pix
-7.000000 dB -> 0.325000 pix
-6.000000 dB -> 0.300000 pix
-5.000000 dB -> 0.275000 pix
-4.000000 dB -> 0.250000 pix
-3.000000 dB -> 0.225000 pix
-2.000000 dB -> 0.200000 pix
-1.000000 dB -> 0.175000 pix
0.000000 dB -> 0.150000 pix
1.000000 dB -> 0.125000 pix
2.000000 dB -> 0.100000 pix
3.000000 dB -> 0.075000 pix
4.000000 dB -> 0.050000 pix
5.000000 dB -> 0.025000 pix
6.000000 dB -> 0.000000 pix


so lookup tables seem to be the only way.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC

 
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group