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.

SOME REAL ApPLICATIONS 725<br />

The analog demultiplexor in Fig. I9-7B has a unique feature that<br />

allows the computer some control over the transition times <strong>of</strong> analog control<br />

signals. For normal updating <strong>of</strong> the sample-and-holds, the top multiplexor<br />

only is enabled, which gives an immediate voltage change on the large<br />

(0.033 f-LF) hold capacitors. However, the actual control voltage is taken<br />

across the small (0.0068 f-LF) capacitors, which with the I-MEG resistor gives<br />

a time constant <strong>of</strong> 6.8 msec. When the control computer desires an<br />

instantaneous voltage update, the bottom multiplexor is also enabled, which<br />

charges both capacitors to the new voltage. Of course, slower transition rates<br />

for envelopes are provided by writing successive values to the sample-andholds<br />

in slow mode. Chroma s<strong>of</strong>tware refreshes the sample-and-holds every<br />

20 msec, which is 50 times per second. Because <strong>of</strong> the I-MEG tesistors, it<br />

was essential to use EET input op-amp buffers. The demultiplexor is actually<br />

on the voice boards, which greatly reduces the number <strong>of</strong> analog connections<br />

otherwise required.<br />

External Computer Interface<br />

When it was released, one <strong>of</strong> the Chroma's unique features was a highspeed<br />

parallel interface between its 6809 control computer and any kind <strong>of</strong><br />

external digital device. Its primary purpose was to connect to a Chroma<br />

expa1Zdel~ which is identical to the Chroma except the keyboard is missing and<br />

the control program is slightly different. Increasing interest in personal<br />

computers by players, however, prompted full documentation <strong>of</strong> the interface<br />

hardware and command language so that an external computer could record<br />

keystrokes, play them back, and operate the control panel. The "Interface<br />

Manual" even shows an Apple II computer on the cover. The philosophy and<br />

command structure is similar to MIDI, which was discussed in Chapter 9,<br />

but, being parallel, the potential data rate is much higher.<br />

The interface logic for data out consists <strong>of</strong> an 8-bit latch, a data out<br />

ready flip-flop, and an acknowledge input for a total <strong>of</strong> 10 lines. When the<br />

Chroma wishes to send a byte to an exrernal computer or an expander, the<br />

byte is written into the data out register, which also sets the flip-flop. The<br />

external device responds by reading the data out lines and then sending a<br />

pulse on the acknowledge line, which resets the flip-flop. Having been reset,<br />

the flip-flop interrupts the Chroma's program, which then knows that it can<br />

send another byte.<br />

The interface logic for data in uses a tri-state buffer for eight more datain-lines<br />

and some gates to sense input data ready and generate input data<br />

taken signals. When an external device has a byte ready, it places it on the<br />

data in lines and raises the input data ready signal. This signal then<br />

interrupts the Chroma, which responds by reading the data through the tristate<br />

buffer, which also pulses the input dara taken signal. The remote device<br />

responds by dropping input dara ready until it has another byte to send.

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

Saved successfully!

Ooh no, something went wrong!