Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mhuxm.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!mhuxl!mhuxm!2212zap From: 2212zap@mhuxm.UUCP (putnins) Newsgroups: net.audio Subject: Re: 20kHz Square Waves Message-ID: <153@mhuxm.UUCP> Date: Tue, 26-Jun-84 13:30:12 EDT Article-I.D.: mhuxm.153 Posted: Tue Jun 26 13:30:12 1984 Date-Received: Thu, 28-Jun-84 03:24:00 EDT References: <1361@pur-phy.UUCP> Organization: AT&T Bell Laboratories, Murray Hill Lines: 38 > All this talk of digital audio being unable to reproduce frequencies >above 22kHz is all very nice but has nothing to do with 20kHz square wave >reproduction. Similarly arguments about summing sine waves to produce a >square wave and the presence of "Gibb's ears" are also very true and totally >irrelevant. The digital reproduction process doesn't do a Fourier trans- >formation or Fourier synthesis of the audio signal. The signal is digitized >(like reading a voltmeter) and that number later converted back to a voltage >by the D/A converter. Sampling at 44kHz, a 22kHz square wave can be reproduced >exactly (alternate samples are a high voltage then a low voltage). Point 1: what is digitized is not the signal, but a filtered version of the signal. Specifically, low pass filtered at just above the Nyquist rate. As soon as you do this, you cut off the higher harmonics and now you have to start dealing with the Gibbs phenomenon. The same is when you convert back to a voltage: you only pass back information up to the corner frequency of the LPF. Up to the first harmonic, a 20kHz square wave is the same as that of a 20kHz sine wave. With the recording of the signal onto a disk, your have cut off the higher harmonics, and it is these harmonics that carry the information that the original signal was a sq wave, not a sine wave. Point 2: digitize a 20kHz square wave at the peaks, and get alternating hi values and lo values, and you digitize a 20kHz sine wave at the peaks, and get alternating high and lo values, how do you distinguish the two? (look at point one for the answer). > This afternoon, I set up the D/A converter on a microcomputer here in >the lab to sample at 40kHz; fed it data of alternating +N and 0; and >observed the output on an oscilloscope. Result: A 20kHz square wave. a Point 3: if you only sampled at 40kHz, you must have been LPF at 20kHz (if not, throw out your results). Since the first harmonic distinguishing sine/square/triangle waves occurs at 40kHz, which you were not even passing to your scope, how do you know what your orginal wave form was? > In commercial players, any ringing on the square wave output is due to >the use of digital filtering; an analog filter with a high frequency >resonance; or something else after the D/A conversion. Point 4: there is another possibility that I have not seen brought (sp?) up. That is the time is takes for the filter to settle into its steady state response.