How do I convert this db value to a peak-to-peak value so I can adjust the LM386 accordingly? ?
A dB is a ratio, not a specific value, so a quantity stated in dB makes sense only if you know what it is in relation to, called the reference level. As originally worked out by Bell (the "bel" in decibel), 0 dB = 1 milliwatt of electrical energy dissipated in a 600 ohm resistor. Rearranging Watt's Law, that means that 0 dB = 0.7746 Vrms, 1.095 Vpeak, 2.191 Vp-p. This is a 0 dB signal, sometimes shown as 0 dBm to indicate that the reference for the ratio is one milliwatt. There are many other dB references and abbreviations. For example, in a broadcast television studio in the 70's, a signal that showed 0 dB on a VU meter was actually +8.0 dBm.
"Consumer level" audio runs 10 dB below this the standard reference, so a "line level" signal out of a CD player is -10dBm at full volume, or 0.2447 Vrms, 0.692 Vp-p, often rounded up to 0.7 V.
For other signals, and to figure the dB value for the difference between any two voltage levels:
(value) dB = 20 x log(V2 / V1)
dB / 20 = log (V2 / V1)
10 ^ (dB / 20) = V2 / V1
V2 = V1 x (10 ^ (dB / 20))
A signal that is 4 dB less than another signal has a 1.585 times lower voltage value.
ak