The present invention relates to a music game system and the like in which a sound input by a player is reflected in game contents.
Music game machines in which game contents changes based on a sound input by a player are well-known. For example, music game machines that reflect an input sound in the behavior of characters (refer to Patent Literature 1) and also music game machines that inputs and marks player's singing to vie for supremacy (refer to Patent Literature 2) are known. Patent Literature 1: JP-A-2002-136764 and Patent Literature 2: JP-A-H10-268876.
All of the above game machines change game contents by capturing a player's voice. After a musical interval of the player's voice is detected, processing is performed so that behavior of characters is changed based on a result of comparison with a reference musical interval. However, no game machine is configured to reflect a sound input by the player as a raw material in game content to enjoy the game based on the input sound.
The present invention aims to provide a music game system capable of determining a sound input by a player and forming a musical scale based on a determination result, a computer program thereof, and a method of generating sound effect data.
The music game system of the present invention is a game system comprising: a sound input device which inputs sound; an audio output device which outputs game sound; a sound effect data storage device which stores sound effect data to cause the audio output device to output each of sound effects of different musical intervals; a sequence data storage device which stores sequence data in which a relationship between a player's operation and the sound effect to be output correspondingly is described; a musical interval determination device which determines the musical interval representing an input sound based on sound data of the sound input by the sound input device; a musical scale generating device which generates multiple tone data which have different music interval from the sound data respectively based on a musical interval determination result of the musical interval determination device so as to form the musical scale; and a sound effect data storage control device which causes the sound effect data storage device to store the multiple tone data generated by the musical scale generating device as at least a part of the sound effect data.
The computer program of the present invention is a computer program for a music game system comprising: a sound input device which inputs sound; an audio output device which outputs game sound; a sound effect data storage device which stores sound effect data to cause the audio output device to output each of sound effects of different musical intervals; a sequence data storage device which stores sequence data in which a relationship between a player's operation and the sound effect to output correspondingly is described; wherein the computer program causes the music game system to function as: a musical interval determination device which determines the musical interval representing an input sound based on sound data of the sound input by the sound input device; a musical scale generating device which generates multiple tone data which have different music interval from the sound data respectively based on a musical interval determination result of the musical interval determination device so as to form the musical scale; and a sound effect data storage control device which causes the sound effect data storage device to store the multiple tone data generated by the musical scale generating device as at least a part of the sound effect data.
In the present invention, sound data is generated by a musical interval determination device based on a sound input into a sound input device by a player and a musical interval to represent the sound data is determined. Then, multiple tone data which have different music interval are generated by a musical scale generation device from the sound data whose musical interval has been determined based on a musical interval determination result of the sound data. The multiple tone data form a musical scale. The multiple tone data are stored in a sound effect data storage device as sound effect data and the multiple tone data are used as a sound effect to be output in response to a player's operation. Thus, a musical scale is formed based on a sound input arbitrarily by the player and therefore, a melody can be played based on an input sound or an input sound may be reflected in game content as a raw material for the player to enjoy a game with a sound input by the player.
As one aspect of the music game system of the present invention, the musical interval determination device determines the musical interval of the sound by identifying a frequency representing the sound data of the sound input by the sound input device. According to this, the musical interval of the sound is determined by, for example, identifying the frequency at which the distribution is maximum as a representative value with reference to a frequency spectrum of the sound data.
As one aspect of the music game system of the present invention, the musical scale generating device generates the musical scale of at least one octave or more. According to this, a melody can be played by generating a musical scale. If a large number of pieces of tone data is generated, the musical scale grows in breadth and the number of melodies that can be played increases so that game content can be made more advanced.
As one aspect of the music game system of the present invention, further comprising: an input device which has at least one operating device; wherein the sound effect following a description of the sequence data is played by the audio output device based on operations of the player through the input device. According to this, by operating the operating device, the player can reproduce a sound effect constituted of a musical scale formed by using a sound input by the player. Therefore, an input sound can be reflected in game content as a raw material to enjoy a game with a sound input by the player.
The method of the present invention is a method of generating sound effect data comprising: a musical interval determination step which determines the musical interval representing an input sound based on sound data of the sound input by a sound input device; a musical scale generating step which generates multiple tone data which have different music interval from the sound data respectively based on a musical interval determination result of the musical interval determination step so as to form the musical scale; and a storing step which causes a storage device to store the multiple tone data generated by the musical scale generating step as sound effect data for outputting from an audio output device.
The present invention is a method of generating sound effect data in a music game system and a computer program thereof and achieves a similar operation effect. The present invention is not limited to music game systems and is also applicable to various electronic devices such as electronic musical instruments.
In a music game system according to the present invention and a computer program thereof, as described above, sound data is generated by a musical interval determination device based on a sound input into a sound input device by a player and a musical interval to represent the sound data is determined. Then, multiple tone data which have different music interval are generated by a musical scale generation device from the sound data whose musical interval has been determined based on a musical interval determination result of the sound data. The multiple tone data form a musical scale. The multiple tone data are stored in a sound effect data storage device as sound effect data and the multiple tone data are used as a sound effect to be output in response to a player's operation. Thus, a musical scale is formed based on a sound input arbitrarily by the player and therefore, a melody can be played based on an input sound or an input sound may be reflected in game content as a raw material for the player to enjoy a game with a sound input by the player. A similar effect is achieved by a method of generating sound effect data.
An embodiment obtained by applying the present invention to a mobile game machine will be described below. As shown in
As shown in
The push-button switches 5, the cross key 6, and the touch panel 7 described above are connected to the game controller 11 as input devices and, in addition, a sound input device (microphone) 9 is connected thereto. Besides, various input devices may be connected to the game controller 11. Further, an external storage device 20 is connected to the game controller 11. A storage medium capable of holding storage without power feeding like a magnetic storage device and a nonvolatile semiconductor memory device such as EEPROM is used as the external storage device 20. The storage medium of the external storage device 20 is removable from the game machine 1.
A game program 21 and game data 22 are stored in the external storage device 20. The game program 21 is a computer program needed to play a music game in the game machine 1 according to a predetermined procedure and contains a sequence control module 23, a musical interval determination module 24, and a musical scale generating module 25 to realize functions according to the present invention. When the game machine 1 is started, the game controller 11 performs various initial settings necessary for operation as the game machine 1 by executing an operation program stored in an internal storage device thereof and then sets the environment to play the music game according to the game program 21 by reading the game program 21 from the external storage device 20 and executing the game program 21. A sequence process portion 15 is generated in the game controller 11 after the sequence control module 23 of the game program 21 being performed by the game controller 11. Also, a musical interval determination portion 16 is generated in the game controller 11 after the musical interval determination module 24 of the game program 21 being performed by the game controller 11 and similarly, a musical scale generating portion 17 is generated in the game controller 11 after the musical scale generating module 25 being performed by the game controller 11.
The sequence process portion 15, the musical interval determination portion 16, and the musical scale generating portion 17 are logical devices realized by combining computer hardware and computer programs. The sequence process portion 15 performs music game processing such as issuing instructions of operation to a player in time to playback of music (musical piece) selected by the player or generating a sound effect in accordance with a player's operation. The musical interval determination portion 16 decides a representative value of a frequency by capturing any sound input into the sound input device 9 by the player and performing predetermined processing described later thereon. The musical scale generating portion 17 generates multiple tone data by changing the musical interval based on the representative value decided by the musical interval determination portion 16. These pieces of tone data form musical scales of a predetermined octave number and constitute sound effects. In addition to the above modules 23 to 25, various program modules necessary for playing the music game are contained in the game program 21 and logical devices corresponding to such modules are generated in the game controller 11, but an illustration thereof is omitted.
Various kinds of data to be referenced when the music game is played according to the game program 21 are contained in the game data 22. For example, music data 26, sound effect data 27, and image data 28 are contained in the game data 22. The music data 26 is data needed to cause the speaker 8 to play and output a musical piece intended for the game. Though one kind of the music data 26 is shown in
Further, sequence data 29 is contained in the game data 22. The sequence data 29 is data that defines operations and the like to be instructed to the player. At least one piece of the sequence data 29 is prepared for one piece of the music data 26.
Next, an overview of the music game played in the game machine 1 will be provided. As shown in
The objects 106 appear at a top end of the lanes 101, 102 and 103 at an appropriate time of the musical piece and are scrolled downward, as indicated by an arrow A in
The sound effect corresponding to each of the objects 106 played in accordance with a touch operation is selected from a plurality of sound effects recorded in the sound effect data 27. As shown in
Next, the sequence data 29 will be described in detail. As shown in
In the operation sequence portion 29b, on the other hand, operation specifying information 29c and sound effect switching instruction information 29d are described. The operation specifying information 29c in which operation times of the lanes 101 to 103 are associated with information specifying one of the lanes 101 to 103 is described. That is, as illustrated in
The sound effect switching instruction information 29d is inserted into a suitable position in the operation specifying information 29c. The sound effect switching instruction information 29d is described by associating the time in a musical piece when the sound effect should be changed and tone data of sound effects to be generated when the lanes 101 to 103 are each operated to change the sound effects generated when the specified lane is touched in the subsequent operation specifying information 29c. The time in a musical piece is described in the same format as the format of the operation time of the operation specifying information 29c. The sound effect switching instruction information 29d specifies tone data of one of the original data 27a and the user data 27b recorded in the sound effect data 27 for each lane. The sound effect switching instruction information 29d is inserted into the time in a musical piece when the sound effect should be switched and the setting of the sound effect is maintained until instructed by the next sound effect switching instruction information 29d.
The sequence process portion 15 of the game controller 11 controls the display of each of the lanes 101 to 103 so that the object 106 and the operation reference portion 105 match at the above operation time specified by the operation specifying information 29c. The sequence process portion 15 also exercises control so that the sound effects generated when the player touches the specified lanes 101 to 103 are switched at the time in a musical piece specified by the sound effect switching instruction information 29d.
Next, processing of the game controller 11 when a music game is played on the game machine 1 will be described. After completing initial settings necessary to play the music game by reading the game program 21, the game controller 11 waits in preparation for instructions to start the game from a player. Instructions to start the game include, for example, an operation to identify the musical piece to be played in the game or data to be used in the game such as the selection of the degree of difficulty. The procedure for receiving such instructions may be the same as the procedure for a well-known music game and the like.
If the start of the game is instructed, the game controller 11 reads the music data 26 corresponding to the music selected by the player and outputs the music data 26 to the audio output controller 14 to cause the speaker 8 to play the musical piece. Accordingly, the control unit 10 functions as a musical piece playback device. In synchronization with playback of the musical piece, the game controller 11 also reads the sequence data 29 corresponding to the player's selection to generate image data necessary for rendering of the operation instruction screen 100 and the information screen 110 while referencing the image data 28 and outputs the image data to the display controllers 12 and 13 to cause the monitors 3 and 4 to display the operation instruction screen 100 and the information screen 110 respectively. Further, while the music game is played, the game controller 11 repeatedly executes the sequence processing routine shown in
When the sequence processing routine shown in
In next step S3, the sequence process portion 15 calculates coordinates of all the objects 106 to be displayed in the lanes 101 to 103 in the operation instruction screen 100. The calculation is carried out, as an example, as described below. Whether to arrange the object 106 in any of the lanes 101 to 103 is determined based on the designation of the lanes 101 to 103 associated with any operation time contained in the display range, that is, the designation of any of “button1” to “button3” in the example of
After the calculation of coordinates of the objects 106 is completed, the sequence process portion 15 proceeds to step S4 to determine whether the sound effect switching instruction information 29d is present in the data which is obtained from the sequence data 29. If the sound effect switching instruction information 29d is present, the sequence process portion 15 obtains the current time in step S5 and compares the current time with the time in the musical piece specified by the sound effect switching instruction information 29d to determine whether the current time corresponds to the timing of switching instructions of the sound effect. If the current time corresponds to the timing of switching instructions of the sound effect, in step S6, the sequence control portion 15 changes the sound effects generated in the respective lanes 101 to 103 specified by the subsequent operation specifying information 29c to the sound effects specified by the sound effect switching instruction information 29d. To give a description by taking the example shown in
When switching of the sound effects is completed, the sequence process portion 15 proceeds to next step S7 to generate image data necessary for rendering of the operation instruction screen 100 based on coordinates of the objects 106 calculated in step S3. More specifically, the sequence process portion 15 generates image data in such a way that the objects 106 are arranged in calculated coordinates. The image of the object 106 may be obtained from the image data 28.
In subsequent step S8, the sequence process portion 15 outputs the image data to the display controller 12. Accordingly, the operation instruction screen 100 is displayed in the first monitor 3. When the processing in step S8 is completed, the sequence process portion 15 terminates this sequence processing routine. With the above processing being performed repeatedly, the objects 106 are displayed by scrolling in the lanes 101 to 103 in such a way that the objects 106 arrive at the operation reference portion 105 at operation times described in the sequence data 29.
Next, processing by the musical interval determination unit 16 and the musical scale generating portion 17 when a sound effect is created based on a sound input by a player into the game machine 1 will be described. A sound effect is created when, for example, the start thereof is instructed by the player in a waiting state in which no music game is played. When the creation of a sound effect is started, first the musical interval determination portion 16 executes the musical interval determination processing routine shown in
When the musical interval determination processing routine in
Then, in step S13, the musical interval determination portion 16 obtains a frequency spectrum of the sound data.
If the representative value is obtained by the musical interval determination processing routine, the musical scale generating portion 17 executes the musical scale generating processing routine in
In the above embodiment, the external storage device 20 of the game machine 1 functions as a sound effect data storage device and a sequence data storage device. Also, the control unit 10 functions as a musical interval determination device by causing the musical interval determination portion 16 to perform the processing in steps S11 to S14 in
The present invention is not limited to the above embodiment and can be carried out in various embodiments. For example, the present embodiment has been described by taking the music game machine 1 as an example of the apparatus that causes a musical interval determination device, a musical scale generating device, and a sound effect data storage control device to function, but is not limited to the above example. For example, the present invention may be applied to various electronic devices such as electronic musical instruments. If the present invention is applied to an electronic musical instrument, a melody can be played based on any sound input by the player.
A music game system according to the present invention is not limited to game systems realized as mobile game machines and may be realized in an appropriate form such as home video game machines, business-use game machines installed in commercial facilities, and game systems realized by using a network. The input device is not limited to an example using the touch panel and input devices configured in various ways such as a push button, lever, and track ball can be used.
Number | Date | Country | Kind |
---|---|---|---|
2009 210571 | Sep 2009 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2010/065337 | 9/7/2010 | WO | 00 | 3/8/2012 |