Dave Platt <
dpl...@coop.radagast.org> wrote:
> Almost all audio DACs these days are high-oversampling designs
> (e.g. "delta-sigma"). They generate a pulse-width or pulse-density
> output stream at a rate that's a lot higher than the nominal sample
> rate. In effect, much of the low-pass filtering is done digitally (by
> the internal modulator). They usually include an analog
> post-conversion / reconstruction filter, but the cutoff frequency for
> this can be relatively high, and some chips may actually place the R-C
> network for it on the chip itself.
The result on the scope clearly showed a staircase with interval
between the steps the same as the sample rate. Setting the sample
rate from 48000 to 96000 halved the interval. I was using a demo
program of Linux Alsa to generate the sine wave, so it generated more
points of the sine in that case and the steps became smaller.
I indeed had expected a construct similar to what you describe, but
apparently it is different on this card. Or, the filter that is present
actually filters the pulses that construct the output signal but not
the transitions between the subsequent samples.
> It doesn't surprise me that a "cost sensitive" sound card may have
> ignored good practice and omitted the low-pass analog filter... that
> probably saved them a nickel or so, and in the race-to-the-bottom
> market that might have made the difference between sales and no-sales
> at the wholesale level. Most users would never notice.
Yes, that is of course the reason.
Fortunately we have a lowpass further on in the circuit, but it is
really something to watch because we use the audio to modulate an FM
transmitter and of course there would be lots of garbage transmitted
when this signal reaches the modulator.
> It would be interesting to put the bad card's output into a spectrum
> analyzer having at least a couple of MHz of bandwidth, and see just
> where the stairstep noise is. If the signal is stair-steppy at 96000
> samples/second, this would put the first odd harmonic up at around 150
> kHz - this might or might not be low enough to give the rest of your
> audio reproduction chain any difficulties.
Yes I tried the "FFT" mode of the scope and indeed it showed a nice
comb pattern.
> I've seen that sort of thing done, by some fairly big names in the
> consumer electronics industry. Years ago, I bought a Boca ethernet
> card, and found out that Boca had ignored Appendix B in the AMD PCNet
> chipset manual and had omitted most of the "critically important"
> bypass capacitors recommended in the design. The card turned out to
> be pattern-sensitive - there were some Ethernet packets it couldn't
> received, because certain 1-and-0 patterns induced excessive ringing
> and "ground bounce" in the chip's analog receiver and caused a 1-bit
> misread and an Ethernet CRC mismatch. Feh. Haven't bought anything
> made by Boca in the 20+ years since then.
Hmm that is really bad... well, the datasheet from C-Media makes some
recommendations about PCB layout and indeed the board is a multilayer
with embedded ground plane, apparently something that does not cost as
much as it used to.
(these cards go for about 10 dollar including shipping from China)
Our problem is that we need a card that we can be certain that it has
a fixed low latency. We also used more expensive cards, but the
"sound effects" stuff included on them is implemented in DSP and
causes additional delays that vary between manufacturers and types.
So we prefer a "bare DAC".