Patent ID: 8053658

Claim:
An electronic musical instrument comprising: an input device that inputs a sound generation instruction that instructs to start generating a musical sound and a stop instruction that instructs to stop the musical sound being generated by the sound generation instruction; a sound source that starts generation of a musical sound in response to the sound generation instruction, and stops generation of the musical sound in response to the stop instruction; an on-on time timer device that measures an on-on time difference between a first sound generation instruction inputted in the input device to generate a first musical sound and a second sound generation instruction inputted next to the first sound generation instruction to generate a second musical sound; a gate time timer device that measures a gate time difference between the second sound generation instruction and a stop instruction that instructs to stop the second musical sound; an attack characteristic setting device that sets an attack characteristic of the second musical sound to have a shorter attack time as the on-on time difference becomes shorter and that sets the attack characteristic of the second musical sound to be generally identical with an attack characteristic of the first musical sound when the on-on time difference is shorter than a multiple stop judgment time having a predetermined time duration; a release characteristic setting device that sets a release characteristic of the second musical sound to have a shorter release time as the gate time difference becomes shorter; and an instruction device that instructs the sound source to start generation of the second musical sound with an attack characteristic set by the attack characteristic setting device in response to an input of the second sound generation instruction given by the input device and instructs the sound source to stop generation of the second musical sound with a release characteristic set by the release characteristic setting device in response to an input of the stop instruction given by the input device.