Patent ID: 8723013

Claim:
A musical performance device comprising: a musical performance component which is operable on a virtual plane; a position detecting section which detects position coordinates of the musical performance component on the virtual plane; a storage section which stores layout information including positions of a plurality of areas arranged on the virtual plane and musical tones respectively associated with the plurality of areas; a mode specifying section which specifies one of a position change mode and a musical performance mode; a certain operation position detecting section which detects a position of the musical performance component on the virtual plane when a certain operation is performed by the musical performance component; a judging section which judges whether the position of the musical performance component detected by the certain operation position detecting section is within any one of the plurality of areas arranged based on the layout information; a sound generation instructing section which, when the judging section judges that the position of the musical performance component is within one area of the plurality of areas in the musical performance mode, gives an instruction to emit a musical sound of a musical tone associated with the one area; and a position changing section which, when the judging section judges that the position of the musical performance component is within a given area of the plurality of areas in the position change mode, changes a position of the given area based on the position coordinates detected by the position detecting section, and changes the layout information stored in the storage section based on the changed position; wherein, when a number of times that the certain operation position detection section detects the position of the musical performance component in an arbitrary area on the virtual plane reaches a predetermined number of times, the position changing section changes the position of the given area based on the position of the musical performance component in the arbitrary area detected the predetermined number of times by the certain operation position detecting section.