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.

568 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

stretched or compressed. For example, if all <strong>of</strong> the frequencies were multiplied<br />

by two (with those beyond the high-frequency limit thrown away),<br />

then the pitch <strong>of</strong> the sound when resynthesized would be raised an octave, but<br />

the timing and waveform (except for high-frequency roll<strong>of</strong>f due to discarded<br />

components) would remain unchanged! One can also nonlinearly stretch,<br />

compress, and otherwise distort the distribution <strong>of</strong> the spectral curve without<br />

affecting the amplitudes <strong>of</strong> the peaks and valleys themselves. All <strong>of</strong> these<br />

manipulations can, <strong>of</strong> course, be time varying. After processing, the spectral<br />

curve is resampled at the original center frequencies and resynthesized. Note<br />

that severe compression <strong>of</strong> the spectrum may lead to local "alias distortion"<br />

when it is resampled for synthesis.<br />

Time alteration <strong>of</strong> the sequence <strong>of</strong> spectrum frames is also possible with<br />

equally strange-sounding results. In time modification, each spectral component<br />

in the frame is considered as a time sample <strong>of</strong> the amplitude curve <strong>of</strong><br />

that component. If the entire set <strong>of</strong> spectral data is viewed as a rectangular<br />

array with time in the X direction and frequency in the Y direction, then this<br />

is equivalent to thinking in terms <strong>of</strong> rows rather than columns.<br />

The simplest manipulation is horizontal stretching or compression <strong>of</strong><br />

the sequence, which amounts to slowing or speeding <strong>of</strong> the sound events<br />

without affecting the frequency or timbre. Time interpolation between the<br />

spectral values can be used to implement any arbitrary amount <strong>of</strong> speed<br />

change. When resynthesized, the modified spectrum is resampled ar the<br />

original time points.<br />

The dispersive filter mentioned earlier may be simulated by shifting the<br />

rows <strong>of</strong> spectral data with respect to each other such rhat the lower-frequency<br />

rows are delayed more than the higher-frequency rows. Reverse dispersion in<br />

which high frequencies are delayed more is also possible as well as nonlinear<br />

dispersion. Small amounts <strong>of</strong> dispersion are most effective with percussive<br />

sounds, while larger amounts affect all but the most steady <strong>of</strong> tones. Vocals<br />

in particular are given strange accents by dispersion.<br />

Since the spectral data are being considered as a set <strong>of</strong> simultaneously<br />

varying waveforms, it is obvious that these waveforms may themselves be<br />

filtered. Uniform low-pass filtering <strong>of</strong> all <strong>of</strong> the bands simply blurs rapid<br />

changes in the spectrum, thus making vocals, for example, sound drunk.<br />

High-pass filtering, on the other hand, emphasizes rapid changes and may<br />

produce a "caricature" <strong>of</strong> the original sound. Resonant low-pass filtering<br />

with moderate Q factors preserves the steady states <strong>of</strong> the spectrum but gives<br />

any rapid changes a "twangy" quality due to the overshoot and ringing <strong>of</strong> the<br />

filter. Of course, each frequency band can be filtered differently, which tends<br />

to combine filtering and dispersion effects.<br />

Resynthesis<br />

In Chapter 13, direct synthesis from amplitude and frequency data<br />

using the FFT was described. Basically, the procedure consisted <strong>of</strong> conversion

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

Saved successfully!

Ooh no, something went wrong!