摘要 |
In the preset invention, in an initial stationary state of a drumstick section (10), a CPU (11) stores each axis component of geomagnetism obtained by a magnetic sensor (121) in a RAM (15), and obtains each axis component of geomagnetism obtained by the magnetic sensor (121) which is changed by a motion provided to the drumstick section (10), at every predetermined timing. Then, the CPU (11) accumulates each axis component of geomagnetism obtained at every predetermined timing, for each predetermined interval, and conforms each axis component of geomagnetism accumulated thereby to each axis component of geomagnetism stored in the RAM (15). |