I have been experimenting with analogue volume setting with digital control. The main motivation is to do Replay Gain in the analogue domain, because for whatever reason it doesn't sound as good to me in the digital domain (particularly with FLAC).
My initial design is based on two DS1669 digital potentiometers. An ATTiny45 with USB interface and WinAMP plug-in control them, automatically adjusting the volume according to ReplayGain data.
The sound quality isn't bad - better than digital Replay Gain with 24bit output I find. However, the DS1669 isn't the best IC for audio apps due to only being only about 20% accurate over the entire scale! It's not true log either.
The AD7376 looks like a much better solution. I believe this IC is used in some mass produced amps. One potential issue is the need for +-15v, which would mean either a power brick or some stuff to generate it from the USB 5V supply (ICL7660?)
Another option would be to use a digitally controlled switch. A 16 way switch for each channel with 16 resistors to select attenuation level should give excellent results, but I am having trouble finding such an IC.
I'd really appreciate some feedback and ideas on this one. Would save me reaching for the volume knob so often, at least
My initial design is based on two DS1669 digital potentiometers. An ATTiny45 with USB interface and WinAMP plug-in control them, automatically adjusting the volume according to ReplayGain data.
The sound quality isn't bad - better than digital Replay Gain with 24bit output I find. However, the DS1669 isn't the best IC for audio apps due to only being only about 20% accurate over the entire scale! It's not true log either.
The AD7376 looks like a much better solution. I believe this IC is used in some mass produced amps. One potential issue is the need for +-15v, which would mean either a power brick or some stuff to generate it from the USB 5V supply (ICL7660?)
Another option would be to use a digitally controlled switch. A 16 way switch for each channel with 16 resistors to select attenuation level should give excellent results, but I am having trouble finding such an IC.
I'd really appreciate some feedback and ideas on this one. Would save me reaching for the volume knob so often, at least












