Patent ID: 8026437

Claim:
An electronic musical instrument, comprising: an input device that inputs a sound generation instruction that instructs to start generating a musical sound at a predetermined pitch and a stop instruction that instructs to stop the musical sound being generated by the sound generation instruction; a processor; a computer readable storage medium having a control program executed by the processor to perform operations, the operations comprising: generating a first musical sound at a first pitch in response to processing a first sound generation instruction from the input device, where the first musical sound comprises a plurality of parts comprising different timbres of different musical instruments; receiving a second sound generation instruction from the input device to generate a second musical sound at a second pitch while generating the first musical sound; determining whether a processing mode comprises a first or second processing mode; switching the processing mode from the first processing mode to the second processing mode based on a first time at which the first sound generation instruction was received and a second time at which the second sound generation instruction was received; in response to determining that the processing mode comprises the first processing mode, stopping the generating of the first musical sound and generating the second musical sound using the plurality of parts; in response to determining that the processing mode comprises the second processing mode, assigning a plurality of parts to the first and second pitches by dividing the parts among the first and the second pitches and generating the first and the second pitches with the parts assigned to each to generate the first and second musical sounds.