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.

528 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

tling, thus producing random noise directly. Synthesizing such sounds basically<br />

amounts to determining the amplitude response <strong>of</strong> the filter and the<br />

shape <strong>of</strong> the amplitude envelope. Cymbals, drums with snares, and sand<br />

blocks produce sounds that are excellent examples <strong>of</strong> this type <strong>of</strong> percussion.<br />

The last class most resembles the first but has great potential for a wide<br />

variety <strong>of</strong> distinctive percussive sounds. These are sounds made by a nonlinear<br />

vibrator such as a ruler held over the edge <strong>of</strong> a table. The difference is<br />

that the basic parameters <strong>of</strong> the vibration such as frequency and waveform<br />

change as the amplitude <strong>of</strong> the vibration changes. In the case <strong>of</strong> the ruler, the<br />

nonlinearity arises from the fact that the effective vibrating length is less on<br />

the downstroke, where it bears against the table edge, than on the upstroke,<br />

where it is restrained by the player's hand. The relative time spent in each <strong>of</strong><br />

the two states varies with amplitude, until at low amplitude the table edge<br />

becomes dominant and the vibration expires with a Type 1 characteristic.<br />

Damped Sine Wave Generation<br />

Most sounds in the first two categories can be quite adequately simulated<br />

with one or more exponentially damped sine waves. Although a sine<br />

wave tone generator can be given an amplitude envelope for this purpose, the<br />

very fast attack characteristic <strong>of</strong> these sounds requires that the attack begin at<br />

the zero crossing <strong>of</strong> the sine wave. Otherwise, audible dicks may be generated,<br />

particularly when the wave being enveloped is <strong>of</strong> low frequency.<br />

A convenient way <strong>of</strong> obtaining damped sine waves with the required<br />

attack phase continuity is to ring a high Q filter! The center frequency<br />

determines the wave frequency and the Q determines the decay rate. Because<br />

<strong>of</strong> the precision and stability <strong>of</strong> digital filters, even very slow decay rates are<br />

easily handled.<br />

The filter-ringing technique is very common in the analog world for<br />

simulating the sounds <strong>of</strong> all kinds <strong>of</strong> percussive instruments. Its use is most<br />

popular in electronic organs, where up to a dozen different percussion "instruments"<br />

are driven by digital logic to provide rhythm accompaniment to<br />

the standard organ sound. For example, a fairly high-frequency (1-2 kHz),<br />

high-Q (50) ringing filter is used to simulate daves. A lower-frequency (500<br />

Hz), lower-Q (10-20) filter makes a convincing wood block sound. Even<br />

lower frequencies (100-250 Hz) and moderate Qs do a surprisingly good job<br />

<strong>of</strong> simulating tom-tam's even though a real tom-tom is a Type 2 percussive<br />

sound. Much lower frequencies (50 Hz) have all <strong>of</strong> the oomph <strong>of</strong>a bass drum<br />

when played through a good speaker system.<br />

To these rather common-sounding percussion "instruments," one may<br />

add many others by manipulating the frequencies and Qs. In particular, if a<br />

number <strong>of</strong> dave-like instruments with pitches on a musical scale are defined,<br />

a tune can be played that the average person almost invariably associates with<br />

falling raindrops. And who has not heard a melody "played" by a c<strong>of</strong>fee

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

Saved successfully!

Ooh no, something went wrong!