You can download it in Flash SWF format or as a C source / Win32 binary (binary compiled with the DJGPP online-compiler).

The summing of decibel values is a bit of a confusing subject, i believe because decibels are units with no dimension (ratio like %) and also that they are logarithmic.

You can read this whole article for more information:

http://www.homeandprojectstudio.com/features/feature001.html

The important bit here is to learn to distinguish different types of measurement (decibels). What you are seeing on the meters in your audio program is dbFS originally designed for ADCs (analog-to-digital converters) and assimilated by modern audio tools. dbFS is the reverse of dbSPL.

The above article explains an easy way to sum dbSPL values and also provides a table to convert dbSPL to dbFS (16bit only):

If you have 80dbSPL + 80dbSPL the result would be approx 83dbSPL (80+3), because the difference between the two is 0 units - from the "rule of thumb".

--------

a dbSPL calculator works with the following equation:

`result = 10*(log(10^(input1/10)+10^(input2/10))/log(10)`

where "input1" and "input2" are the dbSPL (!!) values you want to sum. 80db+80db=83db

--------

to sum two sinewaves in your audio program (with dbFS measures):

`result = 20*(log(10^(input1/20)+10^(input2/20))/log(10)`

But why 20*? Here is a explanation quote from wikipedia:

So result for the sum of -9dbFS and -9dbFS, would be -2.97940008672037 for equal input/output impedance.

Lubomir

AnonymousThanks. This was exactly what I was looking for. Unfortunately the article (and website) that you reference has gone away. So if you have any info on how to derive the dbFS forumlas from the dbSPL forumla, I would appreciate your posting that also.

Lubomirthe article in question pretty much only gave isolated examples based on the "rule of thumb".

there isn't a real conversation between the two units dBFS and dBSPL (also between dBFS and dBu fo example). dBSPL depends on a lot of physical factors (room, measurement distance, speaker levels etc..) in fact, it is quite difficult to measure it "correctly". dBFS on the other hand is a unit related to maximum peak and has a negative sign.

you can however, calibrate sound levels to mean something when dBFS and dBSPL values are involved:

http://www.bnoack.com/index.html?http&&&www.bnoack.com/audio/k-system.html

--

Lubomirthis site has a good example, with formulas of a dBSPL calculator:

http://www.sengpielaudio.com/calculator-leveladding.htm

--

UnknownHi, I'm in the middle of a mix here. I had to cancel a track that was duplicating another. It was feeding the mix in -5.5dBfs. How much should I increase in the original tracks volume to keep it at the same level that it was before with the duplicate one? Thanks!

Lubomirif i understand the question correctly - doubling a track will increases it's mix level by 6dbFS, therefore find the original peak level of said track and add 6dbFS instead of doubling it.