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.

776 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

VOICE<br />

I<br />

ADDRESS<br />

~<br />

I<br />

2<br />

3<br />

4<br />

S<br />

6<br />

F7 F6 FS I F4 F3 F2 FI F0<br />

FIS FI4 FI3 FI2 FII FlO F9 F8<br />

1'17 1'16 WS 1'14 Vl3 1'12 I'll 1'10<br />

>< >< >< >< 1'111 WID 1'19 WB<br />

NOISE n..n /Vi AA TEST R MOO SYNC GATE<br />

A3 A2 AI Ail' 03 02 01 00<br />

S3 S2 SI S0 R3 R2 RI Rlil<br />

FREQUENCY LOW<br />

FREQUENCY HIGH<br />

PULSE WIDTH LOW<br />

PULSE WIDTH HIGH<br />

WAVE CONTROL 11 ENV GATE<br />

ATTACK, DECAY TIME<br />

SUSTAIN LEVEL, RELEASE TIME<br />

VOICE<br />

2 7-13<br />

VO~CE 14-20<br />

FILTER {~~24<br />

READABLE {~;<br />

2B<br />

'>< >< >< X F2 FI F0<br />

FlO F9 F8 F7 F6 FS F4 F3<br />

03 02 01 OiJ FILTE)( FILT 3 FILT 2 FILT I<br />

3 OFF HP BP LP VOL 3 VOL 2 VOL I VOL 0<br />

X7 X6 XS X4 X3 X2 XI X0<br />

Y7 Y6 Y5 Y4 Y3 Y2 YI _~<br />

T7 T6 T5 14 13 T2 TI TO<br />

E7 E6 E5 E4 E3 E2 EI Elil<br />

FILTER CUTOFF LOW<br />

FILTER CUTOFF HIGH<br />

FILTER 0, SOURCE SELECT<br />

FILTER RESPONSE, VOLUME<br />

JOYSTICK X POT<br />

JOYSTICK Y POT<br />

TONE 3 WAVEFORM VALUE<br />

TONE 3 ENVELOPE VALUE<br />

ATTACK-DECAY-RELEASE TIME COOES<br />

CODE ATTACK<br />

DECAY/<br />

CODE ATTACK<br />

DECAy/<br />

RELEASE<br />

RELEASE<br />

0000 0.002 0.006 I 000 0.100 0.300<br />

000 I 0.008 0.024 1001 0.2S0 0.750<br />

00 I ° 0.016 0.048 1010 0.500 I.S<br />

001 I 0.024 0.072 I °I I 0.800 2.4<br />

0100 0.038 0.114<br />

1.0 3.0<br />

I I °°<br />

°I 0 I 0.056 0.16B I 10 I 3.0 9.0<br />

°I I ° 0.068 0.204 I I I ° 50 15.0<br />

°I I<br />

I 0.080 0240 I I I I 8.0 24.0<br />

Fig. 20-9. SID register layout<br />

routines that display an analog synthesizer "console" complete with patch<br />

cords and control knobs operated by the game controls. The sound quality<br />

from the SID chip is generally quite good, although there are a few problems.<br />

One <strong>of</strong> these is a noticeable leakage from silent voices into the output, which<br />

creates a continuous background drone unless a zero frequency is selected as<br />

welL<br />

Although the chip's exact internal structure is secret" it is probably<br />

based on the liberal use <strong>of</strong> multiplying D-to-A converters like the 7530<br />

described in Chapter 7. The basic waveforms are undoubtedly produced by<br />

simple processing <strong>of</strong> the upper 8 bits <strong>of</strong> a 24-bit accumulator-divider dtiven<br />

by the computer's I-MHz clock. The selected waveform is then converted into<br />

its analog equivalent by an 8-bit DAC The digital envelope generator<br />

controls the amplitude <strong>of</strong> this analog signal with a multiplying DAC;<br />

probably 8 bits as welL The analog signals from each <strong>of</strong> the three voices are

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

Saved successfully!

Ooh no, something went wrong!