22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DIRECT COMPUTER SYNTHESIS METHODS 111<br />

Recently, variations <strong>of</strong> the system shown in Fig. 4-4 have been used in<br />

ordinary sound record/playback applications. The "compact disk" digital<br />

audio playback system, for example, breaks the block marked "computer" in<br />

half but is otherwise the same. The left half becomes a digital modulator (to<br />

encode digital information onto an RF carrier wave) and laser scriber to<br />

produce a modified type <strong>of</strong>video disk. The right half becomes a laser scanner<br />

to recover the modulated RF carrier wave and a demodulator to recover the<br />

digital information, which is then passed on as before. Similar systems using<br />

a video cassette recorder in place <strong>of</strong> the laser disk are also available. Such<br />

systems far surpass regular analog disks and tapes in reproduction fidelity,<br />

thus further emphasizing the fact that any sound can be synthesized by a<br />

direct synthesis system.<br />

The foregoing has all been an application <strong>of</strong> Nyquist's theorem, which<br />

states in mathematical terms that an ADC or a DAC can handle signal<br />

frequencies from zero up to a little less than one-half the sample rate with<br />

absolutely no distortion due to the sampling process whatsoever. The lowpass<br />

filters employed to separate the desired signal from the spectrum copies<br />

determine how close to the theoretical one-half limit one can get. The main<br />

requirement <strong>of</strong> the filter is that it attenuate spurious signals above one-half<br />

the sample rate enough to be ignored while leaving desired signals below<br />

one-half the sample rate unaltered. For high-fidelity applications, this means<br />

that very little attenuation <strong>of</strong>frequencies up to 20 kHz is allowed and that 50<br />

dB or more attenuation above 30 kHz is desirable, assuming a 50-ks/s sample<br />

rate. A filter that sharp is fairly difficult to construct but is in the realm <strong>of</strong><br />

practicality. Thus, a rule <strong>of</strong> thumb is that the sample rate should be 2.5 or<br />

more times the maximum signal frequency <strong>of</strong> interest with the larger figures<br />

allowing simpler filters to be used. This is shown in Fig. 4-3B, in which an<br />

increase in sample rate from 50-ks/s to 60-ks/s has reduced the filter cut<strong>of</strong>f<br />

slope requirement by half!<br />

The sample rate may also be reduced for lower fidelity applications. The<br />

laser-disk- and videotape-based digital audio systems mentioned earlier<br />

operate at slightly over 44 ks/s. Broadcast FM quality may be obtained at<br />

37.5 ks/s and ordinary AM radio quality (which can be surprisingly good<br />

through decent equipment) could be done at 15 ks/s to 20 ks/s. The<br />

advantage <strong>of</strong> lower sample rates, <strong>of</strong> course, is a reduction in the number <strong>of</strong><br />

samples that must be computed for a given duration <strong>of</strong> sound.<br />

Signal-to-Noise Ratio<br />

Of course, frequency response is not the only measure <strong>of</strong> sound quality.<br />

Background noise is actually a much worse problem with standard analog<br />

audio equipment. Figure 4-1C clearly indicated that the sampling process<br />

itself did not introduce any background noise. However, when the samples<br />

are in numerical form, only a finite number <strong>of</strong> digits is available to represent<br />

them, and this limitation does indeed introduce noise. Such round<strong>of</strong>f error is

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!