Re: [chuck-users] dbtopow(), dbtorms(), powtodb(), powtorms() off by 100 db (Robert Poor)
3 May
2009
3 May
'09
1:17 p.m.
dB just implies 20log_10. A reference must be selected. The most common are dBV (1 volt = 0dB), dBm (0dB = 1 milliwatt into 600 ohms), and dBSPL (watts relative to threshold of hearing at 0dB). I suspect that the implementers of this were thinking about the approximate 96dB of 16 bit audio, and the +/-1.0 float recommended max range of STK. Thus a range of 0.00001=0dB to 1.0=100dB resulted. Easy to change to any reference by just subtracting/adding/multiplying/dividing by a constant. PRC
5733
Age (days ago)
5733
Last active (days ago)
0 comments
1 participants
participants (1)
-
Perry R Cook