Hi,
I am planning to write a code for volume control. My input and output are
.pcm files. I will be giving the required gain in dB.
If I give say 5dB as the gain factor, and calculated the required
multiplication factor using the equation
dB value = 20log(Vout/Vin)
that is Vout = Vin * 10^(dB value/20)
My doubt is that, is it enough to multiply the input samples with the
multiplication factor I calculated using the above equation in a single
step...or is it necessary to reach the required gain in a step by step manner
(ie if 20 is the multiplication factor, do i need to reach 20 in step by step
manner).
Is there any importance to 10ms in audio processing? I came across a code,
that performs the volume control in 10ms. Somebody said me that all the
processing should be done within 10ms range, otherwise it would be
distinguishable by humans.
Kindly reply asap