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.

52 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

OUTPUT<br />

WAVE<br />

10<br />

~ 0<br />

~ -10<br />

=><br />

:s -20<br />

0-<br />

~ -30<br />

-40<br />

-50 .L.......L.~-'-L-L-:'::--':-'-L-:-'---:!~---':--,':-J-.,........,..,~==--<br />

INPUT SINE WAVE<br />

1D)<br />

SPECTRUM<br />

Fig. 2-2. Nonlinear waveshaping (cant.). (D) Half~wave rectification with<br />

<strong>of</strong>fset.<br />

fundamental at twice the frequency. Figure 2-2F shows the result <strong>of</strong> varying<br />

two possible parameters <strong>of</strong> the transfer curve; a center clipping threshold and<br />

the slope (gain) for positive input signals.<br />

Actually, pure sine waves are seldom used as the source signal such as<br />

when a musical instrument's sound is being modified. Depending on the<br />

exact waveform, a given nonlinearity may increase some harmonics, reduce<br />

others, and leave some generally unchanged. Instrumental waveforms are not<br />

constant either. Frequently, slight changes in input waveform (from sliglit<br />

harmonic phase changes, for example) may result in large changes in output<br />

spectrum. One interesting waveform that is not affected by any kind <strong>of</strong><br />

nonlinear device is the square wave. Although the amplitude may be<br />

changed, the square waveshape is never altered.<br />

Of course, there are literally thousands <strong>of</strong> possible nonlinear curves,<br />

each with a set <strong>of</strong> parameters that may be changed to vary the output signal<br />

spectrwn. There are important drawbacks to their use, however. One drawback<br />

is that the relationship between a parameter or parameters describing a<br />

certain class <strong>of</strong> transfer curves and the actual spectrum in terms <strong>of</strong> harmonics<br />

is not always simple. For example, increasing a dipper parameter may at<br />

first give increased high harmonic content, but further increases <strong>of</strong> the same<br />

parameter might actually reduce the high harmonics or shift the emphasis<br />

to middle harmonics. The situation gets much more complicated if a<br />

complex waveform is used for the input.<br />

Another important drawback is that nonlinear devices generally give<br />

desirable results only with single tone inputs. If two simultaneous tones <strong>of</strong>

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

Saved successfully!

Ooh no, something went wrong!