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.

574 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

the zeroes, an all-pole model is used. The filter resulting from all-pole linear<br />

prediction analysis gives the "best" (least-square error) approximation possible<br />

when constrained to the specified number <strong>of</strong> poles (twice the number <strong>of</strong><br />

resonances). Often, the appropriate number <strong>of</strong> resonances to use can be<br />

determined from a physical knowledge <strong>of</strong> the natural sound source. In such<br />

cases, the linear prediction model can be expected to give excellent results. In<br />

cases in which the filter is arbitrary, a balance between resonance count and<br />

result quality will have to be determined by experiment. If vocals are being<br />

analyzed, three or four resonances are quite sufficient to capture the intelligence<br />

<strong>of</strong> the words. Many more are necessary to characterize the timbre in<br />

sufficient detail for recognition <strong>of</strong> the singer's identity. Figure 16-15 shows<br />

the results <strong>of</strong> linear prediction analysis <strong>of</strong> a vowel sound with different<br />

resonance counts.<br />

An all-poles digital linear predierion calculation usually results in the<br />

set <strong>of</strong> multiplier coefficients necessary for implementation <strong>of</strong> the filter in cannonical<br />

form. These coefficients apply only to the feedback paths; the feedforward<br />

coefficients, which implement zeroes, are zero for an all-poles model.<br />

The number <strong>of</strong> coefficients from the calculation will be 2N+ 1, where N is<br />

the number <strong>of</strong> resonances. The extra coefficient is an overall gain factor. The<br />

cannonical form <strong>of</strong> the filter can be converted into cascade form with N<br />

sections. The conversion is desirable because multiplier accuracy requirements<br />

<strong>of</strong> the cascade form are much less than the cannonical form.<br />

Note that linear predicti0n just gives the filter design, not the actual<br />

formant frequencies and bandwidths. Although the latter can be determined<br />

by analyzing the filter, they are not needed to utilize the filter for synthesis<br />

with an arbitrary excitation function.<br />

Homomorphic Analysis<br />

In digital music synthesis using the natural sound model <strong>of</strong> Fig.<br />

16-14, all that is really needed is a plot <strong>of</strong> the filter's amplitude response.<br />

With such a plot, the methods <strong>of</strong> arbitrary filter implementation discussed in<br />

Chapter 14 can be used to apply the filter to a different excitation funerion.<br />

However, a typical spectrum plot such as the one in Fig. 16-1GA shows<br />

effects due to discrete harmonics <strong>of</strong> the excitation function as well as general<br />

trends due'to the system function. In homomorphic analysis, the goal is to<br />

obtain an amplitude response curve <strong>of</strong> the system function independent <strong>of</strong> the<br />

characteristics <strong>of</strong> the excitation function.<br />

From examination <strong>of</strong> the overall spectrum, it is obvious that what is<br />

desired is a "smoothed" plot <strong>of</strong> the spectrum that retains the general spectral<br />

shape but suppresses the individual harmonic "noise." This smoothing may<br />

be accomplished by a moving average, which is actually a digital low-pass<br />

transversal filter, or by other low-pass filters applied to the frequency sample<br />

sequence just like they would be normally applied to a time sample sequence.

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

Saved successfully!

Ooh no, something went wrong!