Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #376542
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: low pass filter in PC soundcard? |
| Date | 2015-09-11 14:45 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <msv7cl$c1q$2@dont-email.me> (permalink) |
| References | <slrnmv2uu3.c9u.nomail@xs9.xs4all.nl> <eg49cc-oi8.ln1@coop.radagast.org> <slrnmv5312.rtf.nomail@xs9.xs4all.nl> |
On 9/11/2015 4:09 AM, Rob wrote: > Dave Platt <dplatt@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". You can get low (or at least fixed) latency DACs up to a MHz or two I believe. You can interpolate the signals digitally with no added latency and get an effective sample rate much higher. Then simple filtering will be fairly useful. -- Rick
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-10 12:46 +0000
Re: low pass filter in PC soundcard? John Larkin <jjlarkin@highlandtechnology.com> - 2015-09-10 07:23 -0700
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-10 15:11 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 14:41 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 19:38 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 17:42 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 06:49 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 03:26 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 08:10 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 04:17 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 08:25 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 10:35 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-12 15:31 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-12 11:42 -0400
Re: low pass filter in PC soundcard? upsidedown@downunder.com - 2015-09-12 12:00 +0300
Re: low pass filter in PC soundcard? dplatt@coop.radagast.org (Dave Platt) - 2015-09-10 13:07 -0700
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 08:09 +0000
Re: low pass filter in PC soundcard? rickman <gnuarm@gmail.com> - 2015-09-11 14:45 -0400
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 19:33 +0000
Re: low pass filter in PC soundcard? "Tim Williams" <tmoranwms@charter.net> - 2015-09-10 15:17 -0500
Re: low pass filter in PC soundcard? Rob <nomail@example.com> - 2015-09-11 07:52 +0000
csiph-web