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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

544 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

always be the most efficient or most accurate techniques, they get the job<br />

done. It is much more important for the beginner to actually do some<br />

analysis programming and see the results than to have a thorough mathematical<br />

understanding <strong>of</strong> the underlying principles. Only two types <strong>of</strong> analysis<br />

will be described in detail. The first is generalized spectrum analysis in<br />

which the time-varying spectrum <strong>of</strong> the source sound is determined. The<br />

second concentrates on extracting and following the frequency parameter <strong>of</strong> a<br />

changing sound, a very useful function.<br />

Spectrum Analysis<br />

Most source-signal analysis begins with spectral analysis, since virtually<br />

everything that is audible and important about a sound shows up vividly in a<br />

spectral analysis. The results <strong>of</strong> the analysis may then be plotted, passed<br />

directly to a synthesis process, or undergo further processing.<br />

A time-variable spectral plot, which is also called a short-time spectral<br />

analysis, is actually a three-dimensional "surface" that shows the relation<br />

between time, frequency, and amplitude variables. Time and frequency are<br />

the independent variables, while amplitude is the dependent variable. When<br />

spectra are computed digitally, all three variables are quantized and two <strong>of</strong><br />

them, amplitude and frequency , are also sampled. In effect the "volume"<br />

represented by the allowable ranges <strong>of</strong> these variables is filled with discrete<br />

points and the spectral surface is defined only at point intersections.<br />

Plotting Methods<br />

Obviously, most computer graphic displays and plotters cannot directly<br />

show a three-dimensional surface. This shortcoming has resulted in at<br />

least five distinct methods <strong>of</strong> representing the data on paper or a CRT screen.<br />

Perhaps most obvious is an isometric drawing <strong>of</strong> the surface such as illustrated<br />

in Fig. 16-1A. The surface is drawn in a horizontal position with<br />

peaks and valleys much like a land area relief map. Typically, time runs<br />

north/south, while frequency runs eastlwest, although they may be interchanged.<br />

Height always represents amplitude. Such a representation gives a<br />

"spectacular view" <strong>of</strong> the spectrum to say the least but is very difficult to<br />

draw, since hidden line removal (the surface is opaque instead <strong>of</strong> transparent)<br />

is necessary to avoid clutter.<br />

A somewhat easier-to-draw representation consists <strong>of</strong> a stack <strong>of</strong> standard<br />

two-dimensional curves such as illustrated in Fig. 16-1B. Each curve<br />

represents a standard amplitude-versus-time plot at a particular frequency.<br />

Therefore, the horizontal axis is time and the vertical axis is amplitude. Each<br />

graph is displaced vertically upward as well so the vertical axis is also frequency.<br />

Sometimes the curves are skewed to the right as well as upward to<br />

give an isometric effect.<br />

A third method, which is particularly applicable to digital spectra,<br />

approaches a true three-dimensional representation more closely. With a

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

Saved successfully!

Ooh no, something went wrong!