Patent ID: 6965069

Claim:
A method of synthesizing music in a digital system, comprising the steps of: accessing a digital analysis waveform having a first duration, a first pitch, a first attack portion arid a first decay portion; determining a second duration and a second pitch for a synthesis waveform; computing first timing marks for the analysis waveform such that the first timing marks correspond to periodicity of the analysis waveform; computing second timing marks for the synthesis waveform such that the second timing marks correspond to periodicity of the synthesis waveform; calculating samples for each period of the synthesis waveform defined by adjacent second timing marks using samples selected from a corresponding period of the analysis waveform defined by adjacent first timing marks to form the synthesis waveform having the second pitch, the second duration, a second attack portion and a second decay portion; and wherein the step of calculating samples to form the synthesis waveform includes determining whether the duration of the synthesis waveform is greater than the duration of the analysis waveform, if the duration of the synthesis waveform is greater than the duration of the analysis waveform synthesizing the second attack portion by pitch modification of the analysis waveform and the synthesizing the second decay portion by pitch modification and duration extension, and if the duration of the synthesis waveform is not greater than the duration of the analysis waveform synthesizing both the second attack portion and the second decay portion by pitch modification.