Storage medium having music playing program stored therein and music playing apparatus therefor
First Claim
1. A storage medium having stored therein a music playing program to be executed in a computer of an apparatus operated in accordance with an acceleration detected by an input device including an acceleration sensor for detecting the acceleration in at least one axial direction, causing the computer to execute:
- acquiring acceleration data outputted from the acceleration sensor;
calculating a magnitude of the acceleration by using the acquired acceleration data;
selecting at least one piece of track data representing a target music to play from music piece data including a plurality of pieces of track data stored in a computer readable memory, based on the calculated magnitude of the acceleration; and
outputting data for controlling a sound generated from a sound generation device, based on the selected track data;
detecting a peak value of the magnitude of the acceleration by using a history of the magnitude of the calculated acceleration, wherein, in the selection of the at least one piece of track data, the track data representing the target music to play is selected based on the peak value, of the magnitude of the acceleration, detected in the detecting of the peak value of the magnitude of the acceleration.
1 Assignment
0 Petitions
Accused Products
Abstract
Acceleration data outputted from an acceleration sensor provided in an input device is acquired and a magnitude of an acceleration is calculated. Next, based on the calculated magnitude of the acceleration, at least one piece of track data representing a target music to play is selected from music piece data including a plurality of pieces of track data stored in memory means. Then, based on the selected track data, data for controlling a sound generated from a sound generation device is outputted.
31 Citations
9 Claims
-
1. A storage medium having stored therein a music playing program to be executed in a computer of an apparatus operated in accordance with an acceleration detected by an input device including an acceleration sensor for detecting the acceleration in at least one axial direction, causing the computer to execute:
-
acquiring acceleration data outputted from the acceleration sensor; calculating a magnitude of the acceleration by using the acquired acceleration data; selecting at least one piece of track data representing a target music to play from music piece data including a plurality of pieces of track data stored in a computer readable memory, based on the calculated magnitude of the acceleration; and outputting data for controlling a sound generated from a sound generation device, based on the selected track data; detecting a peak value of the magnitude of the acceleration by using a history of the magnitude of the calculated acceleration, wherein, in the selection of the at least one piece of track data, the track data representing the target music to play is selected based on the peak value, of the magnitude of the acceleration, detected in the detecting of the peak value of the magnitude of the acceleration. - View Dependent Claims (2, 3)
-
-
4. A storage medium having stored therein a music playing program to be executed in a computer of an apparatus operated in accordance with an acceleration detected by an input device including an acceleration sensor for detecting the acceleration in at least one axial direction, causing the computer to execute:
-
acquiring acceleration data outputted from the acceleration sensor; calculating a magnitude of the acceleration by using the acquired acceleration data; selecting at least one piece of track data representing a target music to play from music piece data including a plurality of pieces of track data stored in a computer readable memory, based on the calculated magnitude of the acceleration; and outputting data for controlling a sound generated from a sound generation device, based on the selected track data; wherein the calculation of the magnitude of the acceleration includes calculating a difference between an acceleration calculated by using the acceleration data previously acquired and an acceleration calculated by using the acceleration data currently acquired, and, in the selection of the track data, the track data representing the target music to play is selected based on the calculated difference of the acceleration. - View Dependent Claims (5, 6)
-
-
7. A storage medium having stored therein a music playing program to be executed in a computer of an apparatus operated in accordance with an acceleration detected by an input device including an acceleration sensor for detecting the acceleration in at least one axial direction, causing the computer to execute:
-
acquiring acceleration data outputted from the acceleration sensor; calculating a magnitude of the acceleration by using the acquired acceleration data; selecting at least one piece of track data representing a target music to play from music piece data including a plurality of pieces of track data stored in a computer readable memory, based on the calculated magnitude of the acceleration; and outputting data for controlling a sound generated from a sound generation device, based on the selected track data; wherein the music piece data includes a plurality of track data groups each having different track data, in the calculation of the magnitude of the acceleration, the magnitude of the acceleration calculated from the acceleration data currently acquired, and the difference between the acceleration calculated by using the acceleration data previously acquired and the acceleration calculated by using the acceleration data currently acquired are calculated, the music playing program causes the computer to further execute; detecting a peak value of the magnitude of the acceleration by using a history of the calculated magnitude of the acceleration; and detecting a peak value of the difference of the acceleration by using a history of the difference of the calculated acceleration, and in the selection of the track data, a track data group representing a target music to play is selected based on the detected peak value of the difference of the acceleration, and, based on the detected peak value of the magnitude of the acceleration, the track data representing the target music to play is selected from the track data group representing the target music to play. - View Dependent Claims (8)
-
-
9. A music playing apparatus operable in accordance with an acceleration detected by an input device including an acceleration sensor for detecting the acceleration in at least one axial direction, comprising:
-
acceleration data acquisition programmed logic circuitry for acquiring acceleration data outputted from the acceleration sensor; acceleration calculation programmed logic circuitry for calculating a magnitude of the acceleration by using the acquired acceleration data; track data selection programmed logic circuitry for selecting at least one piece of track data representing a target music to play from music piece data including a plurality of pieces of track data stored in a machine readable memory, based on the calculated magnitude of the acceleration, and music performance programmed logic circuitry for outputting data for controlling a sound generated from a sound generation device, based on the track data selected by the track data selection programmed logic circuitry; an acceleration peak value detection programmed logic circuitry for detecting a peak value of the magnitude of the acceleration by using a history of the magnitude of the acceleration calculated in the acceleration calculation programmed logic circuitry, wherein the track data representing the target music to play is selected based on the peak value, of the magnitude of the acceleration, detected by the acceleration peak value detection programmed logic circuitry.
-
Specification