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.

DIGITAL FILTERING 499<br />

the turnover frequency (at a constant "Q" value), the delay <strong>of</strong> the cascade is<br />

inversely proportional to frequency.<br />

The audible effect <strong>of</strong> fixed all-pass filters is generally subtle, but<br />

dynamic variation <strong>of</strong> the filter parameters can have a dramatic effect. Consider,<br />

for example, a cascade <strong>of</strong> four all-pass filters each with the same<br />

turnover frequency and a relatively broad transition width. Next, assume a<br />

I-kHz sine wave tone fed through the filters. If the filter turnover frequencies<br />

are high, such as 10 kHz, the tone will be phase shifted very little. If the<br />

turnover frequency is allowed to rapidly decrease, the tone will experience a<br />

constantly increasing phase shift up to a maximum <strong>of</strong> 1,440° or four cycles<br />

when the turnover frequency has decreased to 100 Hz or so.<br />

During the turnover frequency transition, however, the tone coming<br />

out <strong>of</strong> the filter had a lower instantaneous frequency! Reversing the sweep<br />

will produce a momentary higher frequency. The speed <strong>of</strong> the transition<br />

determines the peak frequency deviation. If the signal entering the filter has<br />

numerous harmonics, the temporary frequency shift will "ripple" audibly<br />

through the harmonics as the turnover frequency shifts. By driving the<br />

turnover frequency parameter with a low-frequency periodic or random signal,<br />

a chorus-like effect can be obtained.<br />

OUTPUT<br />

OUTPUT<br />

~tvvv~<br />

o O.5/T 1.5/T 2.5/T<br />

FREQUENCY<br />

(A)<br />

~:VVyy<br />

liT 2/T 3/T<br />

FREQUENCY<br />

( B)<br />

Fig. 14-13. Cosine (A) and sine (8) comb filters<br />

Digital Notch Filters<br />

Although a standard notch filter response can be created by suitable<br />

setting <strong>of</strong> the cannonical digital filter constants, other more interesting and<br />

useful variations are possible. The comb filter mentioned in Chapter 2 is one<br />

<strong>of</strong>these that is very simple to produce in a digital synthesis system. The filter<br />

is consttucted by splitting the signal into two paths, inserting a time delay in<br />

one <strong>of</strong> the paths, and mixing the signals together in equal proportions as<br />

shown in Fig. 14-13. The filtering effect is produced by phase cancellation<br />

between the delayed and undelayed signals. At very low frequencies, the<br />

delay line in Fig. 14-13A has essentially no effect on the phase <strong>of</strong> the signal<br />

so it reinforces the undelayed signal in the mixer. When the frequency

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

Saved successfully!

Ooh no, something went wrong!