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.

SOURCE-SIGNAL ANALYSIS<br />

567<br />

• ....<br />

•<br />

0<br />

• =><br />

..<br />

..<br />

l-<br />

::::; • ..<br />

Q.<br />

•<br />

:II!<br />

..<br />

..<br />

•<br />

0 2 3 4 5 2 3 4 5<br />

FREQUENCY<br />

FREQUENCY<br />

(A)<br />

(B)<br />

....<br />

0<br />

=><br />

I-<br />

:::i<br />

Q.<br />

:Ii<br />

..<br />

0 2 3 4<br />

FREQUENCY<br />

(C)<br />

•<br />

•<br />

(0)<br />

024<br />

FREQUENCY<br />

Fig. 16-12. Spectrum frequency manipulations. (A) Unmodified spectral data.<br />

(8) Spectrum shift upward. (C) Frequency interpolation. (D) Left:<br />

Linear compression <strong>of</strong> interpolated spectrum. Right: Resampling<br />

at original center frequencies.<br />

Besides amplitude modification <strong>of</strong> the spectral components, many<br />

weird and wonderful things can be accomplished by altering their frequencies<br />

as in Fig. 16-12. If, for example, the spectral frequency resolution is 39 Hz,<br />

an upward spectrum shift <strong>of</strong> 39 Hz can be accomplished simply by shifting<br />

the numbers in each frame upward one slot. The dc frequency band would be<br />

replaced by zero and the highest band would be discarded. Likewise, the<br />

spectrum may be shifted downward without the reflection around zero that<br />

analog frequency shifters suffer from. Circular shifting and spectral inversion<br />

are also easily accomplished.<br />

For maximum flexibility in frequency alteration, it is necessary to<br />

interpolate between the tabulated frequencies. The same techniques used for<br />

time interpolation in Chapter 13 can be used for frequency interpolation in a<br />

spectral frame. With suitable interpolation, the spectral curve can be regarded<br />

as continuous (infinite sample rate in frequency) and frequency shifts<br />

<strong>of</strong> any arbitrary amount may be performed.<br />

Instead <strong>of</strong> shifting all frequencies by an equal amount, which usually<br />

converts harmonic tones into inharmonic ones, the spectrum can be linearly

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

Saved successfully!

Ooh no, something went wrong!