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.

774 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

FREQ I<br />

MULTIPLYING<br />

DAC I<br />

:...o-j-------J SIG<br />

STATE­<br />

VARIABLE i=J""'-n~'"<br />

FILTER<br />

FREQ<br />

Q<br />

11 11 11 4<br />

oOFF<br />

SIGASIGB<br />

VOLUME<br />

MOAC<br />

GAIN<br />

AUDIO<br />

OUTPUT<br />

Fig. 20-8. Commodore-64 SID chip<br />

frequency equal to the undistorted tone frequency. The shorter registers can<br />

generate a repeating beat pattern with the tone generator and thus produce a<br />

wide variety <strong>of</strong> droning-type sounds.<br />

One final feature, which like the others is pure .logical bit manipulation,<br />

is called "high-pass filtering." This amounts to a D-type flip-flop<br />

clocked by one <strong>of</strong> the frequency dividers and an exclusive-or gate as shown. If<br />

the flip-flop is clocked at a low frequency, the bottom input to the exclusiveor<br />

gate is relatively stable, and thus nearly all activity at the top input will<br />

pass to the output. As the clock frequency is increased, the two gate inputs<br />

differ, on the average, less and less, and thus the output consists <strong>of</strong> narrow<br />

pulses for those times when they do differ. The effect is most useful with<br />

noise signals, although an interesting chorus-like sound can be obtained if<br />

the flip-flop clock is very nearly equal to the tone frequency.<br />

At the time <strong>of</strong> this writing, the Commodore-64 computer is by far the<br />

most popular in terms <strong>of</strong> number <strong>of</strong> units sold. It also has the greatest builtin<br />

musical capability <strong>of</strong> any microcomputer (with the possible exception <strong>of</strong><br />

Macintosh's unrealized potential) and sells for only $200. Like the Atari<br />

machine, the secret lies in a custom chip, which, in this case, is dedicated to<br />

sound generation and A-to-D conversion <strong>of</strong> the game "paddle" pots. Unlike<br />

the Atari chip, however, the Commodore SID (sound interface device) chip is<br />

a hybrid having both digital circuits like counters and analog circuits like a<br />

programmable state-variable filter on the same chip.

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

Saved successfully!

Ooh no, something went wrong!