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.

82 MUSICAL ApPUCATIONS OF MICROPROCESSORS<br />

allowed would be quite difficult to deal with. Typical sources <strong>of</strong>error in this<br />

range are thermoelectric voltages, voltages induced from stray magnetic<br />

fields, and thermal noise in resistors. What is worse, we expect these voltage<br />

levels to travel freely through patch cords without degradation. Thus, it is<br />

apparent that directly proportional voltage control is impractical for a wide<br />

control range and great relative accuracy.<br />

Exponential Relation<br />

Another relationship that makes more sense from a lot <strong>of</strong> viewpoints is<br />

an exponential one. Stated first in musical terms, such a relationship could be<br />

something like a 1 V/octave. In mathematical terms, this would be F = 2VPo,<br />

where F is the output frequency, V is the control voltage in volts, and F 0 is<br />

the basis frequency for this relative scale. For a basis frequency <strong>of</strong> 20 Hz, a<br />

voltage range <strong>of</strong> 0 to 10 V would cover the audible range. An interesting<br />

property <strong>of</strong> such a scale is that the 1% relative accuracy desired corresponds<br />

to about 14.5 mV independent <strong>of</strong> the frequency range. Thus, rather than a<br />

liberal error allowance at high frequencies and astingy one at low frequencies,<br />

the margin for error is a constant, manageable value.<br />

This property alone would be sufficient persuasion for adopting the<br />

exponential relationship, but there are many more desirable characteristics.<br />

In Chapter 1, ie was noted that the sensation <strong>of</strong> pitch was an approximately<br />

exponential function <strong>of</strong> frequency. Using an exponential voltage-controlled<br />

oscillator, a linear increase in control voltage <strong>of</strong>, say, 1 V/sec would result in<br />

a reasonably steady rise <strong>of</strong> pitch. A linear VCO, on the other hand, would<br />

very rapidly sweep through all <strong>of</strong> the low frequencies and then seem to<br />

require a considerable amount <strong>of</strong> time to complete the upper end <strong>of</strong> the<br />

sweep.<br />

Even if the ear's response did not resemble an exponential curve, the<br />

equally tempered musical scale is precisely exponential. One octave, <strong>of</strong><br />

course, corresponds to 1 V and a half-step corresponds to 1/12 V or about<br />

83.3 mY. Likewise, a fifth corresponds to 7/12 V and a major third is 1/3 V.<br />

Thus, if some arbitrary voltage level produces a particular pitch, a voltage<br />

1/12 V higher produces a pitch one half-step higher.<br />

One application <strong>of</strong> this property is in transposition from one key to<br />

another. Consider a melody played in the key <strong>of</strong> C on a keyboard that outputs<br />

control voltages. If a constant voltage <strong>of</strong> 1/6 V is added to the keyboard<br />

output, the melody would actually sound in the key <strong>of</strong> D. The constant<br />

voltage may be injected with a mixer between the keyboard and the oscillator,<br />

although most VCO modules have a basis frequency knob that does the<br />

same thing.<br />

Injection <strong>of</strong> vibrato is also considerably simplified with an exponential<br />

VCO. A 1% vibrato, for example, would require a 15 mV peak-to-peak<br />

vibrato voltage independent <strong>of</strong> what note was played. With a linear veo,<br />

the vibrato would be excessive on the low notes and nearly inaudible on the

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

Saved successfully!

Ooh no, something went wrong!