Patent ID: 7568158

Claim:
A computer-readable medium having at least one data structure for use during execution of a program by a computer from which a sound effect can be produced encoded thereon, said data structure comprising: a variable associated with gain of an identified sound; a variable associated with delay of the identified sound; a variable associated with pitch of the identified sound to vary a produced sound effect; and a separately recorded sound effect, wherein said recorded sound effect has at least one of a first sound segment for initiating said sound effect, a second sound segment which is repeatable to sustain said sound effect, and a third sound segment for decaying, at least one of which can be adjusted based on at least one of the variables associated with gain, delay or pitch of an identified sound to vary the produced sound effect, wherein the pitch of an identified sound is selected from within an envelope which is weighted such that frequencies closer to an originally recorded frequency are more likely to be selected than frequencies toward the edges of the envelope.