←back to thread

287 points jamesbvaughan | 5 comments | | HN request time: 0s | source
Show context
rahimnathwani ◴[] No.41083383[source]
I know it is tangential, but this about his old system caught my attention:

  With that system, I could set the amplifier’s analog volume knob such that the max volume out of the streamer corresponded to my actual maximum preferred listening volume, giving me access to the full range of Spotify or AirPlay’s volume controls.
Assuming an analog input, this might result in a noticable quality reduction at low volumes.
replies(3): >>41083455 #>>41083487 #>>41083495 #
1. AceJohnny2 ◴[] No.41083495[source]
Tangential fun fact: amps have a fixed gain, because it's hard to make a variable gain without distortion [1]. The volume knob doesn't control amplification, in fact it controls an attenuation stage, because it's easier to make variable attenuation with low distortion.

[1] that's why there were so many different "classes" of amps, they're all making different tradeoffs about how they're doing the amplification.

replies(2): >>41083522 #>>41083876 #
2. jamesbvaughan ◴[] No.41083522[source]
That helps explain why the "volume" as represented on disk in the debug bundle as "attenuation" and was measured in negative dB.
3. rahimnathwani ◴[] No.41083876[source]
According to Claude, the attenuation stage is before the power amp stage. Does that mean worse SNR whether the volume is controlled using the volume control or via the input?

(Ignoring the additional quantization issue with a scaled digital input.)

replies(2): >>41083940 #>>41084601 #
4. kevin_thibedeau ◴[] No.41083940[source]
Class D doesn't have any attenuation. This is a big factor in their greater efficiency.
5. dreamcompiler ◴[] No.41084601[source]
You could put the attenuation stage after the power amp stage but it would require big beefy resistors that could absorb a lot of power. They'd get hot and the whole thing would be very inefficient.

But hey, very low distortion.