Next  |  Prev  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

## Synthesis (Step 7)

The analysis portion of PARSHL returns a set of amplitudes , frequencies , and phases , for each frame index , with a triad'' ( ) for each track . From this analysis data the program has the option of generating a synthetic sound.

The synthesis is done one frame at a time. The frame at hop , specifies the synthesis buffer where is the number of tracks present at frame ; ; and is the length of the synthesis buffer (without any time scaling , the analysis hop size). To avoid clicks'' at the frame boundaries, the parameters ( ) are smoothly interpolated from frame to frame.

The parameter interpolation across time used in PARSHL is the same as that used by McAulay and Quatieri . Let ( ) and ( ) denote the sets of parameters at frames and for the th frequency track. They are taken to represent the state of the signal at time 0 (the left endpoint) of the frame.

The instantaneous amplitude is easily obtained by linear interpolation, where is the time sample into the th frame.

Frequency and phase values are tied together (frequency is the phase derivative), and they both control the instantaneous phase . Given that four variables are affecting the instantaneous phase: , and , we need at least three degrees of freedom for its control, while linear interpolation only gives one. Therefore, we need at least a cubic polynomial as interpolation function, of the form We will not go into the details of solving this equation since McAulay and Quatieri  go through every step. We will simply state the result: where and can be calculated using the end conditions at the frame boundaries,   (15)   (16)

This will give a set of interpolating functions depending on the value of , among which we have to select the maximally smooth'' one. This can be done by choosing to be the integer closest to , where is and finally, the synthesis equation turns into which smoothly goes from frame to frame and where each sinusoid accounts for both the rapid phase changes (frequency) and the slowly varying phase changes.

Figure 7 shows the result of the analysis/synthesis process using phase information and applied to a piano tone. Next  |  Prev  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search