> Playing loudly mastered audio out of your PC will be very slightly different from the true audio source by about -0.1dbps with the compressor affecting the peaks.
I've never had a setup where I would take my windows mixer output to 100%. I put the desired gain in the downstream amplification, not in the source. Maxing out your DSP chain because your speakers are insensitive is better addressed at the amplifier.
I always kept the software mixer at 100% (ie, unity) because when I've already paid for all 16 bits, it is my intent to keep each and every one of them available for use.
I then ran the volume up and down with a knob on the preamp.
It worked exactly the same as it would if I were playing a compact disc in a regular standalone audio CD player.
Yes, this is bullshit for people like us. When I had 4 10" KRKs for a sound system, the last thing I could have wanted is this, marketing drones having decisions on what I get to hear.
My current "sound card" accepts 24-bit PCM audio (over USB or Dante or whatever), processes it in hardware as 32-bit floats, and emits 24-bit PCM audio (which is ultimately converted to analog for driving power amplifiers directly).
The physical volume control is a single-track potentiometer connected to GPIO that digitizes its value. Gain/attenuation is thus adjusted in DSP-land.
I don't have to care as much anymore -- I get all 16 original bits worth of dynamic range through that pipeline just fine, without truncation. (But even though I don't care, the software mixer in the PC is still set to 100% and this never gets adjusted at all.)
There's only one reason someone like you (or me, with a low end professional recording studio setup) would set the digital volume below 100%, and that's if the sound card is running at a higher bit depth than the audio being played back, for instance listening to CD audio when the sound card is at 24 bits, or watching a 24-bit audio dvd/blu-ray with the sound card running at 32 bits
As long as the final output's range covers at least 16 bits, it matters not in the slightest if the source was 32 bit and the chain was 24.
24 bits is enough to record a grasshopper next to a jackhammer. 32 bits is enough to record that same grasshopper next to spacex's superheavy starship booster during liftoff.
The only reason to have more than 16 bits is to permit software processing (including volume control) without quality loss.
Curiously, my Sound Blaster ZxR creates distortion when Windows master mixer volume is above 80%. It took me a while to figure out that this setting was the culprit. After installing Creative drivers, volume is automatically set to 80%, so I assumed that this is the real 0.0dB for the Sound Blaster. I didn't see it documented anywhere, though, and never dug into it deeper.
This is it. You want to keep the full levels up until the moment you don't want to use them anymore.
For those with a math background but not electronic music experience:
You're doing arithmetic with ints. Suppose you have an 8-bit volume range between 0..255. You cut the volume in half by dividing by 2, rounding down. Now your range is 0..127. Then you want to double the volume again, so you multiply everything by 2 again. But now your range is 0..254 (not 255), and you only have the even numbers. That series of samples you took like [125, 126, 127, 128, 129]? Now it's [124, 126, 126, 128, 128]. You'll never get those original values back. You can't. They're lost.
So instead, you keep that full range up until you get to the speakers, and then you cut the volume down at that point. When you turn it back up, you have the full range of values again.
It's almost exactly the same for analog gear, too. In general, you always want to run your pre-amplifier stages as close to maximum as possible without actually maxing them out. (If you do, your guitars sound great and distorted, but almost everything else just sounds bad.) If you start with a CD-quality signal at nearly full strength up until the amps, the output will sound crystal clear. But if your input signals are turned way down, and you have to crank the amps to bring everything up to the desired volume, you'll end up amplifying all the hiss and other background noise, too.
This is true for integer sample processing, but my impression was that it's much more common to do software mixing in 32-bit float across the board these days; technically you still want to avoid an unnecessary profusion of gain multiplications both because of the unnecessary CPU work and because there's still some rounding error accumulation, but you don't hard-lose relative precision in the same way, right?
That should be the case, but AFAIK there are still lots of integer units between here and there. That's especially likely if there are any external USB devices involved. For example, while it's been a while since I looked, last I checked a lot of outboard digital-to-audio converters (aka DACs) used 16-bit integers.
We can do all the math in 32-bit floats, sure, and there's enough dynamic range therein to contain every sound that man has ever experienced -- from things that are too quiet to discern, to pressures so intense that they're incompatible with life.
But we don't usually[1] listen to 32-bit floats. We have an output stage after we're done with the math that consists of a DAC, and this DAC historically (for the past 30 years or so) has resolution of just 16 or 24 bits of linear PCM.
[1]: There are some outboard DACs and pro audio interfaces that accept 32-bit floats and convert that to analog, but...
I've never had a setup where I would take my windows mixer output to 100%. I put the desired gain in the downstream amplification, not in the source. Maxing out your DSP chain because your speakers are insensitive is better addressed at the amplifier.
Replies (2)
I then ran the volume up and down with a knob on the preamp.
It worked exactly the same as it would if I were playing a compact disc in a regular standalone audio CD player.
Replies (3)
otoh it's all linux anyway :-~
Replies (1)
The physical volume control is a single-track potentiometer connected to GPIO that digitizes its value. Gain/attenuation is thus adjusted in DSP-land.
I don't have to care as much anymore -- I get all 16 original bits worth of dynamic range through that pipeline just fine, without truncation. (But even though I don't care, the software mixer in the PC is still set to 100% and this never gets adjusted at all.)
Replies (1)
Replies (3)
Replies (1)
24 bits is enough to record a grasshopper next to a jackhammer. 32 bits is enough to record that same grasshopper next to spacex's superheavy starship booster during liftoff.
The only reason to have more than 16 bits is to permit software processing (including volume control) without quality loss.
For those with a math background but not electronic music experience:
You're doing arithmetic with ints. Suppose you have an 8-bit volume range between 0..255. You cut the volume in half by dividing by 2, rounding down. Now your range is 0..127. Then you want to double the volume again, so you multiply everything by 2 again. But now your range is 0..254 (not 255), and you only have the even numbers. That series of samples you took like [125, 126, 127, 128, 129]? Now it's [124, 126, 126, 128, 128]. You'll never get those original values back. You can't. They're lost.
So instead, you keep that full range up until you get to the speakers, and then you cut the volume down at that point. When you turn it back up, you have the full range of values again.
It's almost exactly the same for analog gear, too. In general, you always want to run your pre-amplifier stages as close to maximum as possible without actually maxing them out. (If you do, your guitars sound great and distorted, but almost everything else just sounds bad.) If you start with a CD-quality signal at nearly full strength up until the amps, the output will sound crystal clear. But if your input signals are turned way down, and you have to crank the amps to bring everything up to the desired volume, you'll end up amplifying all the hiss and other background noise, too.
Replies (1)
Replies (2)
But we don't usually[1] listen to 32-bit floats. We have an output stage after we're done with the math that consists of a DAC, and this DAC historically (for the past 30 years or so) has resolution of just 16 or 24 bits of linear PCM.
[1]: There are some outboard DACs and pro audio interfaces that accept 32-bit floats and convert that to analog, but...