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.

ORGAN KEYBOARD INTERFACE 297<br />

one <strong>of</strong> the gates would go away and the corresponding voltage output would<br />

not change. Which one should it be? These problems would be particularly<br />

important if the voices were different, such as a rich timbre for the low notes<br />

and a thin timbre for the high notes. If the answer is consistent such that the<br />

high note always takes precedence when only one key is down, the circuitry<br />

can be designed easily enough. But then the question becomes whether that<br />

choice is appropriate for all music that will be played. In a nutshell, this<br />

defines the assignment problem that is difficult for two voices and purely a<br />

matter <strong>of</strong> compromise for more than two.<br />

Ultimate Limitations<br />

If the trigger and gate circuitry used on the one-voice keyboard is<br />

applied to each channel <strong>of</strong> the two-voice case, the behavior will be far from<br />

ideal. First, the two gates would be identical because both would be looking<br />

for a positive bus voltage. In addition, if only one key is pressed, both voices<br />

would trigger and both would output the same control voltage. If a second<br />

key is struck, one voice will retrigger and update its output depending on<br />

whether the second note is lower or higher than the first.<br />

So far the problems are not particularly bad if both voices have the same<br />

timbre. The real difficulty occurs when two keys are down and the player<br />

attempts to release them simultaneously, expecting the two-note chord to die<br />

out during the envelope decay. What will almost surely happen instead is<br />

that one <strong>of</strong> the keys will release first, and the voice that was assigned to that<br />

key will trigger and update itself to the other key. The end result will be that<br />

the two voices will decay while playing the same note and it is not even<br />

predictable which note it will be!<br />

Obviously, logic and delay circuits can be added to obtain performance<br />

closer to the ideal. The most important element would be a circuit to<br />

specifically detect when only one key is down and modify the gate and<br />

trigger action according to the chosen set <strong>of</strong> rules. Since one set <strong>of</strong> rules may<br />

not be appropriate for all playing situations, a selector switch might be added<br />

to allow changing the rules. Even with its limitations, the two-voice analog<br />

keyboard is an inexpensive feature <strong>of</strong>ten found in prepackaged synthesizers<br />

and used primarily as a selling point.<br />

Beyond two voices, it is necessary to return to the digital domain.<br />

Actually, an all-digital keyboard interface would make the most sense for<br />

musical input to a computer, since a digital-to-analog operation (series resistor<br />

string and keyswitches) and an analog-to-digital operation can both be<br />

bypassed. It should be intuitively obvious that a suitable digital circuit can<br />

constantly scan all <strong>of</strong> the keyswitch contacts, track the state <strong>of</strong> each one, and<br />

report significant events to the computer. Assignment <strong>of</strong> keys to voices would<br />

then be done in the control computer, where as little or as much intelligence<br />

as necessary can be applied to the task.

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

Saved successfully!

Ooh no, something went wrong!