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.

DIGITAL TONE GENERATION TECHNIQUES<br />

437<br />

-I RECORD<br />

(AI<br />

(B1<br />

Fig. 13-9. Actual and assumed waveforms used with discrete Fourier transform.<br />

(A) Actual wave to be analyzed. (B) Assumed wave that will<br />

be analyzed.<br />

record is <strong>of</strong> less consequence. Techniques are available to "tail out" the ends<br />

<strong>of</strong> the record to minimize the error even further.<br />

When a large but nonintegral number <strong>of</strong> cycles <strong>of</strong> a truly periodic<br />

waveform is transformed, each harmonic <strong>of</strong> the actual waveform becomes a<br />

group <strong>of</strong> harmonics <strong>of</strong> the assumed waveform. An example <strong>of</strong> this is shown in<br />

Fig. 13-10 in which 5.31 cycles <strong>of</strong> a waveform containing fundamental,<br />

second, and third harmonics in equal proportions was made into a record and<br />

Fourier transformed. The three clusters <strong>of</strong> transform harmonics correspond to<br />

the individual harmonics <strong>of</strong> the actual waveform. High-frequency energy<br />

above the third waveform harmonic is due to the discontinuity caused by the<br />

nonintegral number <strong>of</strong> cycles in the record.<br />

When a section <strong>of</strong> changing sound is marked <strong>of</strong>f into a record, the<br />

spectrum reported by the Fourier transform is the average spectrum during<br />

the time interval represented by the record. Thus, if one wishes to use<br />

Fourier transformation to track a changing spectrum, the variation contours<br />

will themselves be sampled curves with the sample period equal to the record<br />

period. As a result, there is a trade<strong>of</strong>f between long record size for minimum<br />

"periodicity error" and maximum frequency resolution, and a short record<br />

size for following rapidly changing sounds. One technique that is <strong>of</strong>ten<br />

useful is to overlap successive records rather than arrange them end to end.<br />

This way one can obtain a high "spectrum sample rate" while using adequately<br />

long records.<br />

Fourier transform synthesis is also complicated by record orientation.<br />

There are actually two problems. One is that an integral number <strong>of</strong> cycles <strong>of</strong>

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

Saved successfully!

Ooh no, something went wrong!