1. The computer connects the multimedia speaker through the analog interface of the motherboard, and the computer system and the speaker can adjust the volume, which is the way most people use it, and I want to ask the main question is also this situation.
First of all, it should be clear that in principle, when the digital-to-analog signal conversion should be done as far as possible without any pre-processing of the original digital signal, in order to get a more accurate analog signal, so that the analog signal is then amplified by the analog amplifier circuit, then the signal loss in the whole process is only the transmission and amplification of the analog signal these two stages.
First we need to understand how the digital volume control of the computer system is done. In fact, the volume control Windows does for digital audio signals is very simple, that is, the drop depth. For example, the 16bit digital audio signal corresponds to the data at each time sampling point has 65535 different states to represent the size of the volume, Windows in reducing the volume, in fact, what is doing is to take these sampled data according to the volume reduction through a certain algorithm to remap, The result is, in effect, a digital audio signal with a reduced bit depth. Such a signal is simulated and amplified after digital-to-analog conversion, and the lost bit depth accuracy is actually not recovered in any case. And because the result of the mapping needs to be rounded, the data behind the decimal point is lost, and the most direct result is the quantization noise that should not have occurred in the digital-to-analog conversion process, of course, this is not inevitable, and I will talk about it later.
So Windows does not perform deep bit compression at all, that is, what is the position of the volume control bar corresponding to the so-called 0dB output? It's actually 100% volume. This includes the volume bar of the software being played and the system itself, and the volume bar will be bit deep compressed wherever it is touched.
In summary, as long as the volume control circuit exists in the post-analog amplification part, the volume should not be adjusted by software at any time, but should be adjusted by the analog circuit.
2. The computer connects the back-end DAC through the digital signal interface (such as optical fiber, USB), and performs volume control on the DAC. The volume of the analog speaker connected to the DAC is constant.
In this case, both software and DAC are digital volume adjustment, so is the generation of bit-depth compression and quantization noise unavoidable? It's not. We can circumvent this problem by increasing the bit depth of the digital signal itself before implementing the volume control.
The principle is also very simple, the digital signal to improve the bit depth mapping after the precision loss will be very small, especially 16bit-24bit-32bit can be completely lossless upward mapping. Then at this time, the bit depth compression (that is, volume adjustment), the digital signal accuracy loss is much smaller, which can ensure that the accuracy of the original signal is basically close to that of the original signal.
Of course, there is one of the most extreme cases, that is, there is no place where the sound card to the speaker can adjust the volume, and the volume can only be adjusted through the system, which usually appears on some professional equipment. In this case, I can only say that if possible, add a pre-amplifier between the speaker and the sound card to avoid this unnecessary loss.
I thought this point should be very well understood, do not need to talk about it separately, because since the volume adjustment is a remapping, then the part of the remapped data higher than the volume control percentage does not exist directly, and the digital-to-analog conversion does not remap the data according to the difference of the original data again, because this is equal to no adjustment of the volume. So the percentage of dynamic range above the volume control is cut directly.
The same is true of digital gain, but it is cut from the bottom up, of course, there are some more complicated cases. The analog adjustment loss will be lost (of course, it is still slightly different, the same 90% reduction in volume, assuming the dynamic range of the music is 1-65535, the digital adjustment is adjusted to 1-6554, and the analog adjustment is 0.1-6553.5), but the gain will not be.
