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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

368 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

PARALLEL<br />

DATA FROM<br />

COMPUTER<br />

FIRST-IN<br />

FIRST-OUT<br />

BUFFER<br />

HIGH-RESOLUTION<br />

DAC<br />

DEGLITCHER<br />

AND SLEW<br />

ELIMINATOR<br />

SHARP<br />

LOW-PASS<br />

FILTER<br />

AUDIO<br />

OUTPUT<br />

SAMPLE RATE<br />

PROGRAMMABLE<br />

DIVIDER<br />

o<br />

STABLE CLOCK<br />

OSCILLATOR<br />

Fig. 12-1 High-quality audio DAC system<br />

counter is used for the time base. Such a setup can be expected to exhibit a<br />

jitter <strong>of</strong> less than 1 nsec if the oscillator is shielded from electrical noise.<br />

Also, the higher crystal frequencies such as 10 MHz tend to reduce jitter<br />

even further.<br />

Because <strong>of</strong> the stability requirement, connecting the DAC directly to<br />

an output port and then using the computer's interrupt system to time the<br />

samples is unsuitable for anything other than initial experimentation. The<br />

same applies to the direct memory access facility <strong>of</strong> most computers. Instead,<br />

a first-in, first-out buffer is inserted between the computer and the DAC.<br />

With the buffer, sample pulses from the time base cause an immediate (or<br />

with constant delay) transfer <strong>of</strong> data to the DAC while the computer has<br />

additional time to provide the next sample to the buffer. Often only one<br />

stage <strong>of</strong> buffering, which makes it a simple register, is sufficient. In other<br />

cases, FIFO IC chips containing 40 or so stages can bridge gaps in the data<br />

flow up to nearly a millisecond at 50 ks/s. In fact, the computer itself will<br />

tyically be acting as a large FIFO if the data is coming from a mass storage<br />

device.<br />

Other elements in the chain are the high-resolution DAC, low-pass<br />

filter, and combination deglitcher/antislew device. Each <strong>of</strong> these will be<br />

described in detail in the following sections.<br />

Increasing Dynamic Range<br />

The most difficult and hence most expensive requirement <strong>of</strong> a highfidelty<br />

audio DAC is the high-resolution DAC module. Earlier it was shown<br />

that the maximum signal-to-noise ratio that can be expected from an N bit<br />

DAC is 6N dB. Note the importance <strong>of</strong> the word maximum. This refers to the<br />

ideal condition in which the signal exactly fills the full-scale range <strong>of</strong> the

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

Saved successfully!

Ooh no, something went wrong!