Game program and game device
The game program and device dynamically associate audio data with characters to manage pronunciations within hardware limits, improving immersion by enabling multiple sound source objects without sacrificing sound quality.
Patent Information
- Application Number
- JP2020215089
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-24
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2040-12-24
AI Technical Summary
Existing game programs are limited by hardware specifications, restricting the maximum number of simultaneous sounds, which leads to a decrease in immersion as the number of sound source objects increases, necessitating the sacrifice of character pronunciations.
A game program and device that associate audio data with characters in a virtual space, selecting audio data to ensure the total number of pronunciations does not exceed a threshold, allowing for multiple sound source objects through dynamic mapping and playback units.
Enhances the sense of immersion by allowing multiple sound source objects without sacrificing pronunciations, optimizing sound reproduction based on hardware limitations.
Smart Images

Figure 0007572620000001 
Figure 0007572620000002 
Figure 0007572620000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a game program and a game device. [Background technology]
[0002] Among game programs, there are those that play back sounds associated with multiple sound source objects at the same timing at the positions of each sound source object in a virtual space (see, for example, Patent Document 1). In the example of Patent Document 1, stereo speakers and surround speakers are sometimes connected. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2014-094160 A Summary of the Invention [Problem to be solved by the invention]
[0004] In a game device, the maximum number of simultaneous sounds is determined according to the specifications of the hardware on which the game program is executed. Therefore, in the example of the above-mentioned patent document, the number of sound source objects related to sounds is also limited. As a result, if the number of characters (sound source objects) that appear increases, it is necessary to sacrifice the sound of one of the characters. Such a limitation leads to a decrease in the sense of immersion in the game.
[0005] It is an object of the present invention to provide a means for associating sounds with multiple sound source objects. [Means for solving the problem]
[0006] A first aspect of the present invention provides a computer comprising: a game progression unit that causes a plurality of characters to move within a virtual space and progresses the game; a correspondence unit that corresponds voice data to a predetermined character; a playback unit that plays back voice data associated with the character; and make it work. the audio data is configured to produce one or more pronunciations; The association unit selects, during a game, the voice data to be associated with the character such that a total number of sounds of the voice data simultaneously played by the playback unit does not exceed a first threshold value. The game program is characterized by the above.
[0007] In the first aspect, The voice data to be selected by the association unit may include voice data having the same sound source but different numbers of pronunciations.
[0008] In addition, in the above aspect, The association unit may perform the selection when the number of the characters to which the voice data is associated changes within a predetermined range of the virtual space.
[0009] In addition, in the above aspect, the character to which the voice data is associated is a non-player character; The association unit may associate the voice data with the character whose distance from the player character is equal to or less than a second threshold.
[0010] A second aspect of the present invention is a game device comprising: a storage unit that stores the game program according to any one of the above aspects; A control unit that executes the game program; The present invention relates to a game device comprising: Effect of the Invention
[0011] According to the present invention, a means for associating sounds with multiple sound source objects can be provided. [Brief description of the drawings]
[0012] [Figure 1] 1 is a block diagram showing the configuration of a game device according to an embodiment of the present invention; [Diagram 2] 13 illustrates an example of the positional relationship between the player character and the monster at time T=0. [Diagram 3] 1 illustrates an example of the positional relationship between the player character and the monster at time T=1. [Figure 4] 13 illustrates an example of the positional relationship between the player character and the monster at time T=2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] [Embodiment] Hereinafter, a game program and a game device according to an embodiment of the present invention will be described with reference to the drawings.
[0014] The game program described in this embodiment is executed on a game device such as a personal computer, PlayStation (registered trademark), XBox (registered trademark), PlayStation Vita (registered trademark), or Nintendo Switch (registered trademark).
[0015] The game described in this embodiment is set in a three-dimensional game space (hereinafter, virtual space VS). The virtual space VS is displayed on a display as an image. The virtual space VS is provided with objects representing terrain such as rock walls, caves, and rivers. Various objects such as buildings and trees are also provided on the terrain objects.
[0016] This game is an action game in which a player character is operated by a user (here, a player) to move around in a three-dimensional virtual space VS and fight against enemy characters, which are non-player characters. In this game, player characters may form groups to fight against enemy characters. Examples of non-player characters (hereinafter, referred to as NPC) in this game include monsters that fight against player characters (hereinafter, referred to as PC).
[0017] A user can play a game online with other users via a communication network (not shown). A user can also play a game individually without using a communication network.
[0018] In this game, the player character PC may speak lines. The non-player character NPC may also speak lines. The non-player character NPC may also make sounds other than lines, such as barking.
[0019] In this game, sound effects may be played in accordance with the movements of the player character PC, and similarly, sound effects may be played in accordance with the movements of the non-player character NPC.
[0020] Examples of sound effects include footsteps, wind noises, etc. In this game, wind noises are made when a player character PC swings a weapon, a monster (non-player character NPC) swings its tail, etc.
[0021] <Configuration of the Game Device> 1 is a block diagram showing the configuration of a game device 5 according to this embodiment. The game device 5 executes a predetermined game based on a user's operation. The game device 5 has a display 61, a speaker 62, and a controller 63 either externally connected or built-in.
[0022] In the game device 5, for example, the game progresses based on the installed game program and game data. Note that the game devices 5 can also communicate data with each other using a communication network (not shown) or a short-range wireless communication device (not shown).
[0023] The game device 5 has a network interface 51, a graphics processing unit 52, an audio processing unit 53, an operation unit 54, a storage unit 55, and a control unit 56. The network interface 51, the graphics processing unit 52, the audio processing unit 53, the operation unit 54, and the storage unit 55 are electrically connected to the control unit 56 via a bus 59.
[0024] The network interface 51 is communicatively connected to the communication network in order to transmit and receive various data to and from, for example, the game device 5 and an external server device (not shown).
[0025] The graphics processing unit 52 renders game images including the player character PC and various objects related to the game space in a moving image format according to game image information output from the control unit 56. The graphics processing unit 52 is connected to a display 61. The game images are displayed on the display 61 as a game screen.
[0026] The audio processing unit 53 reproduces and synthesizes digital game sounds according to instructions from the control unit 56. The audio processing unit 53 is connected to a speaker 62. The reproduced and synthesized game sounds are output from the speaker 62.
[0027] The audio processing unit 53 is capable of multi-channel audio output. Specifically, the audio processing unit 53 is configured to be capable of 5.1 channel output. However, the audio processing unit 53 has a set upper limit on the number of simultaneous polyphony (maximum number of simultaneous polyphony). The number of simultaneous polyphony is the number of sounds that are reproduced simultaneously.
[0028] The speakers 62 are connected for multiple channels. In this embodiment, the speakers 62 are connected for 5.1 channels. The game device 5 of this embodiment is capable of so-called surround sound reproduction.
[0029] The operation unit 54 is connected to the controller 63, and transmits and receives data related to operation inputs to and from the controller 63. For example, a user inputs operation signals to the game device 5 by operating operators (not shown) such as buttons provided on the controller 63.
[0030] The storage unit 55 is composed of a HDD, a RAM, a ROM, etc. The storage unit 55 can store game programs and game data. The storage unit 55 also stores other account information received from other game devices 5, etc.
[0031] The control unit 56 is configured with a microcomputer including a CPU and a semiconductor memory. The control unit 56 controls the operation of the game device 5. For example, the control unit 56 executes the game program to operate the graphics processing unit 52, the audio processing unit 53, etc.
[0032] The audio processing unit 53 reproduces game sounds (hereinafter, may be simply referred to as sounds) in response to control by the control unit 56. The audio processing unit 53 performs sound image localization when reproducing the sounds.
[0033] In order to perform sound image localization, the audio processing unit 53 sets a virtual sound receiving point (hereinafter, virtual microphone L) where sound is heard in the virtual space VS. In this example, the virtual microphone L is set in the vicinity of the player character PC. The virtual microphone L moves in accordance with the movement of the player character PC.
[0034] In this game, acoustic effects are produced so that sounds appear as if they were coming from a sound source (virtual sound source) present in the virtual space VS. The audio processor 53 outputs the sound coming from the virtual sound source to the speaker 62 in an acoustic representation as if it were collected by a virtual microphone L. In this game, the player character PC and the non-player character NPC are examples of sound sources. The virtual microphone L is a virtual listener, and is a reference point for sound image localization by the audio processor 53.
[0035] In this game, appropriate lines are output for each scene according to the actions, positions, and states of each character that unfold in the virtual space VS. Digital data (audio data) such as lines are stored as game data in the storage unit 55. In this game, audio data is provided for reproducing the barks, footsteps, and the like of monsters.
[0036] The voice data is configured to produce one or more sounds. The voice data are prepared from the same source sound but with different numbers of sounds. In this embodiment, for example, for the same bark, voice data for monaural reproduction, stereo reproduction (for 2-channel reproduction), and surround reproduction (for example, for 5.1 channels) are prepared.
[0037] The number of pronunciations of audio data for monaural playback may be considered to be 1. The number of pronunciations of audio data for stereo playback may be considered to be 2. Furthermore, the number of pronunciations of audio data for 5.1 channels may be considered to be 6.
[0038] <Functional configuration of the control section> The control unit 56 executes the game program, thereby functioning as a game progression unit 561, an association unit 562, and a playback unit 563.
[0039] The game progression unit 561 progresses the game by moving the player character PC in the virtual space VS in response to operation signals (commands) input from the operation unit 54. The game progression unit 561 also moves non-player characters NPC in the virtual space VS.
[0040] Under this game program, objects that function as virtual sound sources (hereinafter, sound source objects) exist within the virtual space VS. The association unit 562 associates sound data with a predetermined character that exists within a predetermined range (described later) and that can become a sound source object. Here, the characters that can become a sound source object include both a player character PC and a non-player character NPC. The association between the sound data and the character by the association unit 562 will be described later.
[0041] The playback unit 563 plays back the voice data selected by the association unit 562 as the voice of the character. Specifically, the playback unit 563 notifies the audio processing unit 53 of information specifying the voice data to be played back. Furthermore, the playback unit 563 instructs the audio processing unit 53 to start playback.
[0042] Audio data mapping The association unit 562 associates voice data with non-player character NPCs (e.g., monsters) that exist in a predetermined range (hereinafter, called the search range) of the virtual space VS. "Association" refers to determining the non-player character NPC to be sounded and the content of the sound (cries, footsteps, etc.) (determining the voice data to be used).
[0043] In this example, the search range is the inside of a virtual sphere (or a virtual circle) with a predetermined radius (hereinafter referred to as distance threshold Th2) centered on the player character PC. That is, the association unit 562 associates the voice data with a non-player character NPC whose distance d from the player character PC is equal to or less than the distance threshold Th2. The association unit 562 does not "associate" with a non-player character NPC whose distance d from the player character PC is greater than the distance threshold Th2.
[0044] When performing "association," the association unit 562 selects voice data to be associated with a character so that the total number of pronunciations of the voice data played simultaneously does not exceed a predetermined value (the pronunciation number threshold Th1). An example of the operation of selecting voice data will be described later.
[0045] The association unit 562 dynamically performs association during the game. Under this game program, when the number of non-player characters NPCs expected to sound within the search range changes, the association unit 562 determines the non-player characters NPCs to sound and selects (including reselection) the voice data to be associated. The association unit 562 checks the number of non-player characters NPCs expected to sound within the search range at a predetermined timing (for example, at regular intervals).
[0046] <Example of operation> 2 to 4 are diagrams explaining the operation of this game program. These diagrams show the actions of monsters M1 to M6 (six monsters) in chronological order. All of the monsters M1 to M6 are non-player characters NPC. The circle (radius=Th2) shown in these diagrams represents the search range (virtual sphere).
[0047] 2 shows the positional relationship between the player character PC and monsters M1 to M6 at time T = 0 (the unit of time is arbitrary, and the same applies below). In the example of FIG. 2, the monster M1 is the only non-player character NPC whose distance d from the player character PC is equal to or less than the distance threshold Th2.
[0048] At time T=0, the association unit 562 associates voice data only with the monster M1 among the non-player characters NPCs, and does not associate voice data with the other monsters M2 to M6.
[0049] The association unit 562 selects the voice data to be associated with the monster M1 so that the total number of pronunciations of the voice data simultaneously played back by the playback unit 563 does not exceed the pronunciation number threshold Th1. Here, it is assumed that the number of pronunciations that can be assigned to the character is 6 or more.
[0050] In this case, the association unit 562 associates 5.1 channel audio data (number of pronunciations=6) as the audio data for the monster M1 (for example, a bark). As a result, the reproduction unit 563 performs surround reproduction (5.1 channel reproduction) for the audio (bark) for the monster M1.
[0051] Fig. 3 shows the positional relationship between the player character PC and monsters M1 to M6 at time T = 1. In the example of Fig. 3, the non-player characters NPC whose distance d from the player character PC is equal to or less than the distance threshold Th2 are monsters M1, M2, and M5.
[0052] At time T=1, the association unit 562 associates voice data with the monsters M1, M2, and M5 as non-player characters NPC. Reselection of voice data is considered for the monster M1. That is, the association unit 562 performs the selection when the number of characters to which voice data is to be associated changes in a predetermined range (search range) of the virtual space VS. The association unit 562 does not associate voice data with the other monsters M3, M4, and M6.
[0053] The association unit 562 selects the voice data to be associated with the monsters M1, M2, and M5 so that the total number of sounds of the voice data simultaneously played back by the playback unit 563 does not exceed the number of sounds threshold Th1. Here, it is assumed that the number of sounds that can be assigned to the three monsters M1, M2, and M5 is 6.
[0054] In this case, the association unit 562 associates two-channel voice data (number of pronunciations=2) as the voice data (e.g., barking) of each of the monsters M1, M2, and M5. In other words, the association unit 562 assigns six pronunciations to the three non-player characters NPC. As a result, the playback unit 563 performs stereo playback (two-channel playback) of the voices (barking) of each of the monsters M1, M2, and M5.
[0055] When assigning pronunciations to multiple non-player characters NPCs (monsters, etc.), the number of pronunciations assigned may differ depending on the non-player character NPC. For example, assume that the number of pronunciations that can be assigned to three monsters M1, M2, and M5 at time T=1 is 8. In this case, as an example, it is possible to associate 5.1 channel audio data (number of pronunciations=6) with monster M1, and monaural playback audio data (number of pronunciations=1) with monsters M2 and M5.
[0056] Fig. 4 shows the positional relationship between the player character PC and monsters M1 to M6 at time T = 2. In the example of Fig. 4, the non-player characters NPC whose distance d from the player character PC is equal to or less than the distance threshold Th2 are the monsters M1 to M5.
[0057] At time T=2, the association unit 562 associates voice data with the monsters M1 to M5 as non-player characters NPC. Reselection of voice data is considered for the monsters M1, M2, and M5. The association unit 562 does not associate voice data with the monster M6.
[0058] The association unit 562 selects voice data to be associated with the monsters M1 to M5 so that the total number of sounds of the voice data simultaneously played back by the playback unit 563 does not exceed the sound number threshold Th1. Here, it is assumed that the number of sounds that can be assigned to the five monsters M1 to M5 is six.
[0059] In this case, the association unit 562 associates the voice data for monaural playback (number of pronunciations=1) as the voice data (for example, barking) of each of the monsters M1 to M5. In other words, the association unit 562 assigns five numbers of pronunciations to the five non-player characters NPC. As a result, the playback unit 563 performs monaural playback (one channel playback) for the voice (barking) of each of the monsters M1 to M5.
[0060] To summarize the above, the present invention is a game program which causes a computer (game device 5) to function as a game progression unit 561 which operates multiple characters in a virtual space VS to progress the game, a matching unit 562 which matches voice data to a predetermined number of the characters, and a playback unit 563 which plays the voice data associated with the characters, the voice data being configured to produce one or more pronunciations, and the matching unit 562 selecting voice data to be associated with the characters during the game so that the total number of pronunciations of the voice data played simultaneously by the playback unit 563 does not exceed a pronunciation number threshold Th1 (first threshold).
[0061] Effects of this embodiment As described above, according to this embodiment, the sound data (monaural, stereo, etc.) to be reproduced is selected so that the total number of sounds produced by non-player characters NPCs etc. does not exceed the maximum number of simultaneous sounds. This allows the game program of this embodiment to minimize the amount of sounds that sacrifice sound production when playing sounds associated with multiple sound source objects.
[0062] [Other embodiments] To adjust the number of pronunciations, the type (content) of the sound to be selected may be changed. For example, as the sound data for a monster, sound data for a roar (for example, for 5.1 channels) and sound data for footsteps (for example, for 5.1 channels) are prepared. If there is room for the number of pronunciations that can be assigned, both the sound data for a roar and the sound data for footsteps are associated with one monster.
[0063] When you want to reduce the number of sounds to be made, if you were to completely eliminate sounds from that character (monster), it would reduce the sense of realism, etc. In order to reduce the number of sounds to be made while preventing such a loss of realism, it is a good idea to limit the types (contents) of sounds to be assigned to that monster.
[0064] For example, it is conceivable to stop playing the sound data of footsteps as sounds related to monsters and play only the sound data of barking. In this way, the user can hear the monster's barking and recognize its presence. This improves the sense of realism compared to when the sounds from the monsters are completely removed.
[0065] The playback unit 563 may play background music (BGM). When playing BGM, a singing voice can be played as the voice of a non-player character NPC (e.g., a monster). It is desirable that the singing voice of the non-player character NPC has a pitch that matches the chord of the BGM being played. Specifically, a plurality of voice data with different pitches is prepared for the same singing voice (song). Then, from among these voice data, it is preferable to select one that matches the chord of the BGM. In this way, it is possible to maintain the affinity between the voice of the non-player character NPC and the song while being recognized as the voice of the non-player character NPC (monster).
[0066] Some games are played by multiple people (multiple game devices). In such games, the player character PC acting as the main character may change depending on the game situation. For example, if the player character PC of the first player fights an enemy monster and the player character PC of the second player stands by to the side, the first player is the main character and the second player is the supporting character. The main character and the supporting character change roles depending on the progress of the game.
[0067] The playback unit 563 may switch the sound to be played depending on which player character PC is the main character of the game. For example, the playback unit 563 of the game device 5 operated by the first player switches the sound to be played depending on whether the player character PC being operated by the first player is the main character of the play (battle).
[0068] Here, focusing on the first player, the following are examples of cases in which the player character PC of the first player takes on the role of the "main character."
[0069] (1) The player character PC of the first player is operable (other characters cannot be operated) (2) When the player character PC of the first player is set as the gaze point of the virtual camera (in other words, when the game screen is centered on that player character PC) In addition, in games where there is only one player and the character operated by the player can be switched, the character that the player is controlling is the player character PC. Characters that are not controlled by the player cannot be controlled by the player or act as non-player characters NPC. In such games, the character that the player is controlling is the "main character."
[0070] More specifically, when the player character PC of the first player is the main character and the player character PC of the second player is the supporting character, the game device 5 of the first player plays exhilarating background music. When the second player is the main character and the first player is the supporting character, the game device 5 of the first player plays subdued background music.
[0071] This makes it possible to improve the sense of immersion in the game. In addition to the background music, sound effects such as wind noises and hit sounds (sounds of an attack hitting) may also be changed depending on whether the player is the main character or a supporting character.
[0072] In a game, the importance of non-player characters NPCs may differ. For example, in a game in which monsters appear, monsters that are difficult for the player (for convenience, large monsters) and monsters that are not much of a threat to the player (for convenience, small monsters) are set.
[0073] In such games, the volume of the voices of large monsters is often set higher than the volume of the voices of small monsters, which makes it difficult to hear the voices of small monsters in scenes where both large monsters (non-player character NPCs with a relatively loud volume setting) and small monsters (non-player character NPCs with a relatively quiet volume setting) appear.
[0074] In such a case, the playback unit 563 may adjust the volume and playback method (such as whether or not to use a filter) of the voices of non-player character NPCs with relatively low volume settings according to the number of non-player character NPCs with relatively high volume settings (e.g., large monsters).
[0075] Specifically, the volume of small monsters is increased according to the number of large monsters, and the filter settings are changed so that the sounds of small monsters can be heard more clearly. This can improve the sense of realism and immersion in the game.
[0076] Many games allow the user to operate a virtual camera. In such games, for example, the greater the distance between a non-player character NPC and a player character PC, the lower the volume of the sound reproduced as the voice of the non-player character NPC. Also, the volume of the voice of a non-player character NPC that is not captured by the virtual camera may be lowered or filtered (filtered to make it sound muffled).
[0077] This allows the player to recognize the distance, position, and height difference between the player and a non-player character NPC (e.g., a monster). In other words, the sense of realism and immersion in the game can be improved.
[0078] The game is not limited to being represented by three-dimensional images, but may be represented by two-dimensional images.
[0079] The game program may be implemented as a game program for a so-called online game. When the game program is for an online game, the processing performed by the control unit 56 may be performed by the server side instead, or may be shared between the server side and the client (game device 5).
[0080] The effects of the present invention can be achieved even when these other embodiments are adopted. In addition, this embodiment can be combined with other embodiments, and other embodiments can be combined with each other as appropriate. [Explanation of symbols]
[0081] 5. Game device (computer) 55 Storage section 56 Control section 561 Game Progression Department 562 Correspondence Department 563 Playback Department Th1 Polyphony threshold (first threshold) Th2 Distance threshold (second threshold)
Claims
1. Computer, a game progression unit that causes a plurality of characters to move within a virtual space and progresses the game; a correspondence unit that corresponds voice data to a predetermined character; a playback unit that plays back voice data associated with the character; and make it work. the voice data is configured to produce one or more pronunciations; the association unit selects, during the game, the sound data to be associated with the character such that a total number of sounds of the sound data simultaneously played by the playback unit does not exceed a first threshold value; The voice data to be selected by the association unit have the same sound source but different numbers of sounds. A game program characterized by:
2. In the game program of claim 1, The associating unit performs the selection when the number of the characters to which the voice data is associated has changed within a predetermined range of the virtual space. A game program characterized by:
3. In the game program according to claim 1 or 2, the character to which the voice data is associated is a non-player character; The associating unit associates the voice data with the character whose distance from the player character is equal to or less than a second threshold. A game program characterized by:
4. A storage unit that stores the game program according to any one of claims 1 to 3; A control unit that executes the game program; A game device comprising:
Citation Information
Patent Citations
Game sound control program, game sound control method, and game device
JP2004195210A
Sound output system, sound output method, and program
JP2007037728A
Game device, game control method, and game control program
JP2010010844A
Game system,game processing control method, game apparatus, and game program
JP2014094160A
