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.

LOW-COST SYNTHESIS TECHNIQUES<br />

773<br />

FLAT<br />

,--~-----o<br />

AUDIO<br />

OUTPl<br />

Fig. 20-7. Atari-800 sound-generator block diagram<br />

ultimate that has been achieved with I-bit D-to-A conversion. Since the<br />

Atari computers were primarily game machines, the ability to produce sound<br />

effects figured heavily in the sound-generator's design.<br />

Basic pitched sounds are generated by four independent sound channels,<br />

each with an 8-bit divide-by-N counter, a noise modulator, and a 16­<br />

level volume control. To increase the range <strong>of</strong> accurate frequency generation<br />

from 8-bit dividers, a basis frequency <strong>of</strong> 16 or 64 kHz can be selected.<br />

Additionally, the channels can be combined pairwise to produce one 16-bit<br />

divider and two 8-bit ones or two 16-bit dividers. A useful feature is that a de<br />

level can be selected rather than the frequency generator output, which then<br />

makes the volume control act like a 4-bit D-to-A converter.<br />

For sound-effects use, the noise modulator serves to distort the pure<br />

square-wave tone in a number <strong>of</strong> different ways. Pulses from a channel's<br />

frequency divider are routed through an AND gate prior to toggling the<br />

output flip-flop. The other input to the gate can be a logic ONE (for pure<br />

tones), or various combinations <strong>of</strong> 4-bit, 5-bit, and 17-bit shift-register<br />

random-bit generators that are constantly clocked at 1. 79 MHz. The effect is<br />

to delete some <strong>of</strong> the pulses that would otherwise reach the flip-flop and thus<br />

distort the sound. With the 17-bit generator, which can also be truncated to<br />

9 bits, the resultant spectrum resembles bandpass-filtered noise with a center

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

Saved successfully!

Ooh no, something went wrong!