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.

14<br />

DigitalFiltering<br />

In analog synthesis, filtering is used almost exclusively for modification <strong>of</strong><br />

the severely limited oscillator waveforms available. However, as was just<br />

discussed, digital oscillators and tone generators are considerably more flexible<br />

and are themselves capable <strong>of</strong> virtually any spectral effect desired.<br />

Nevertheless, tone modification by filtering is still an important technique if<br />

for no other reason than convenience. In the digital domain, such modification<br />

may be achieved directly by giving each harmonic its own amplitude<br />

envelope, thereby simulating the effect <strong>of</strong> a varying filter. However, use <strong>of</strong>an<br />

actual filter may require far fewer varying parameters to achieve the desired<br />

result. This is particularly true if the user has had experience with analog<br />

systems because the desired result will usually be thought <strong>of</strong> in terms <strong>of</strong><br />

filtering.<br />

Also, some types <strong>of</strong> sounds require the use <strong>of</strong> filters in their synthesis.<br />

For example, it is difficult to generate "random" noise with a specified<br />

frequency spectrum directly; however, one or more filters can easily shape a<br />

flat noise spectrum into what is required. Also, in sound modification applications<br />

in which one has no direct control over the source material, filtering<br />

is the only reasonable way to modify the spectrum. Frequency-sensitive time<br />

delay (dispersion) and frequency-sensitive phase shift are functions that are<br />

useful in chorus and reverberation simulators and that are normally regarded<br />

as "all-pass" filtering. Finally, as we shall see in the next chapter, digital<br />

filter ringing is a very convenient method for generating percussive sounds.<br />

Just as a digital oscillator can generate any waveform subject to the<br />

constraints <strong>of</strong>sampling, a digital filter can be designed to have any frequency<br />

and phase characteristic qesired with only two limitations. One is the highfrequency<br />

limit imposed by sampling. For example, a digital high-pass filter<br />

cannot be expected to provide a high-pass characteristic up to infinity like an<br />

ideal analog filter would. Instead, the response is undefined beyond one-half<br />

the sample rate and may be distorted somewhat just below one-half the<br />

sample rate. Another limitation is that filters cannot be expected to predict<br />

the future! While this may seem obvious, a low-pass filter specifimtion with<br />

481

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

Saved successfully!

Ooh no, something went wrong!