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 727<br />

for that transition are written to latches that the main 6809 can read. The<br />

6809 is also interrupted so that response to the keystroke is rapid.<br />

Each keyboard key is equipped with a double-throw contact actuated<br />

by the rear edge <strong>of</strong> the weighted, wooden keys. The 61 keys, therefore,<br />

constitute 122 contacts, which are wired in a 16 X 8 matrix rather than to a<br />

bunch <strong>of</strong> digital multiplexor chips as in the Chapter 9 example. One<br />

potential problem with any kind <strong>of</strong>switch matrix is sneak paths that can occur<br />

when three or more switches are closed simultaneously. This is ususally dealt<br />

with by placing a diode in series with each switch but is handled differently<br />

in the Chroma.<br />

Figure 19-8 shows a portion <strong>of</strong> the keyswitch matrix. The 8039<br />

outputs a 4-bit "switch bank" number and reads back the state <strong>of</strong> eight<br />

switches in the bank. When a switch is closed, it draws a 0.5-mA current<br />

through its series 10K resistor and a 100-ohm sense resistor. The positive<br />

inputs <strong>of</strong> the comparators are all biased at 25 mV below + 5V, whereas a<br />

closed key develops a 50-mV drop across the 100-ohm sense resistor. Besides<br />

limiting the current, the 10K series resistors prevent the formation <strong>of</strong> any<br />

significant sneak paths. The LM339 quad comparators are exceptionally<br />

cheap but are relatively slow at 1. 2 /-Lsec, requiring a wait state to be added<br />

when the 8039 reads a switch bank. Although this matrix arrangement is not<br />

as straightforward as using digital multiplexots, it does keep high-amplitude,<br />

high-speed digital signals out <strong>of</strong> the physically large keyboard contact<br />

atea where they might generate unacceptable radio frequency interference.<br />

Control Program and Panel Function<br />

The most critical design aspect <strong>of</strong> a mass-market keyboard synthesizer<br />

IS the control interface it presents to the user. In the Chroma, this is<br />

determined by the physical panel controls available and the logical structure<br />

<strong>of</strong> the control program. Unfortunately, a complete descriprion <strong>of</strong> the user<br />

interface would require a chapter by itself so it will be very briefly<br />

summarized here.<br />

Most panel operations revolve around the 50 numbered buttons, the<br />

two-digit and eight-digit displays, and a single "parameter value" slide pot.<br />

A few other buttons and lights are used to change operation modes and<br />

perform specific functions, such as setting a keyboard split or tuning. One<br />

impottant characteristic is that keyboard notes may be played at any time<br />

regardless <strong>of</strong> the panel mode. The only exception is during tuning or cassette<br />

dump/load operations.<br />

There are two primary operating modes <strong>of</strong> the control panel. In the<br />

"program select mode," each <strong>of</strong> the 50 numbered keys is associated with a<br />

different "patch" or "sound." Simply pressing a button will instantly select<br />

the new patch for all subsequent notes, while silencing any that may already<br />

be sounding. Thus, during performance, different sounds may be selected

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

Saved successfully!

Ooh no, something went wrong!