JP7312590B2 - Program, information processing method, and information processing apparatus - Google Patents
Program, information processing method, and information processing apparatus Download PDFInfo
- Publication number
- JP7312590B2 JP7312590B2 JP2019061637A JP2019061637A JP7312590B2 JP 7312590 B2 JP7312590 B2 JP 7312590B2 JP 2019061637 A JP2019061637 A JP 2019061637A JP 2019061637 A JP2019061637 A JP 2019061637A JP 7312590 B2 JP7312590 B2 JP 7312590B2
- Authority
- JP
- Japan
- Prior art keywords
- sound
- volume
- player
- game
- player character
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Stereophonic System (AREA)
Description
本発明は、プログラム、情報処理方法、及び情報処理装置に関する。 The present invention relates to a program, an information processing method, and an information processing apparatus.
従来、複数のプレイヤが同時にプレイし、複数のプレイヤでの協力プレイ、及び対戦プレイ等ができるコンピュータゲームが知られている。このコンピュータゲームでは、プレイヤ毎の表示画面をテレビ等の一の画面の領域を、同時にプレイするプレイヤの数に応じて分割し、分割した各領域に、ゲームの仮想空間上における各プレイヤのプレイヤキャラクタの位置に応じた表示画面を表示させる(例えば、特許文献1を参照)。 2. Description of the Related Art Conventionally, computer games are known which are played by a plurality of players at the same time, and in which a plurality of players can play cooperatively, play against each other, and the like. In this computer game, the display screen for each player is divided into one screen area such as a television according to the number of players playing at the same time, and a display screen corresponding to the position of the player character of each player in the virtual space of the game is displayed in each divided area (see, for example, Patent Document 1).
しかしながら、従来技術では、同時にプレイする各プレイヤ毎の音をスピーカから出力する場合、音が大きくなりすぎる場合がある。本開示は、一側面では、ゲームを同時にプレイする各プレイヤ毎の音を適切に調整することができる技術を提供することを目的とする。 However, in the conventional technology, when the sound of each player playing at the same time is output from the speaker, the sound may become too loud. An object of the present disclosure, in one aspect, is to provide a technology capable of appropriately adjusting the sound of each player who plays a game simultaneously.
一つの案は、第1プレイヤに操作される第1プレイヤキャラクタ、及び第2プレイヤに操作される第2プレイヤキャラクタを、同一の仮想空間において動作させるゲームを提供する情報処理装置に、前記仮想空間における前記第1プレイヤキャラクタの第1位置に応じたオブジェクトを表示する第1表示領域、及び前記仮想空間における前記第2プレイヤキャラクタの第2位置に応じたオブジェクトを表示する第2表示領域を含む表示画面を表示させる処理と、前記第1位置に応じた第1音と、前記第2位置に応じた第2音とを合成して出力させる処理と、を実行させ、前記出力させる処理は、一の音情報に基づいて前記第1音と前記第2音とを同時に出力させる場合、前記第1音の第1音量と、前記第2音の第2音量とに基づいて、前記第1音と前記第2音とが合成される音の音量を調整し、前記第1位置に応じた前記第1音の音量が大きくなるに従って、前記第1音の音量を減衰させる割合を大きくする処理を含む、プログラムである。
One idea is to display a display screen including a first display area displaying an object corresponding to a first position of the first player character in the virtual space and a second display area displaying an object corresponding to the second position of the second player character in the virtual space, on an information processing device that provides a game in which a first player character operated by a first player and a second player character operated by a second player operate in the same virtual space, and a first sound corresponding to the first position. , a process of synthesizing and outputting a second sound corresponding to the second position, and the process of outputting adjusts the volume of the synthesized sound of the first sound and the second sound based on the first volume of the first sound and the second volume of the second sound when the first sound and the second sound are simultaneously output based on one sound information.and increasing the rate at which the volume of the first sound is attenuated as the volume of the first sound corresponding to the first position increases,It's a program.
一側面によれば、ゲームを同時にプレイする各プレイヤ毎の音を適切に調整することができる。 According to one aspect, it is possible to appropriately adjust the sound for each player who plays the game simultaneously.
以下、図面を参照し、本開示の実施形態を説明する。 Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
<システム構成>
図1は、実施形態に係るゲームシステム1のシステム構成例を示す図である。図1の例では、ゲームシステム1は、ゲーム装置(情報処理装置)10、出力装置20、及び入力装置30A、入力装置30B、入力装置30C、入力装置30D、(以下で、それぞれを区別する必要がない場合は、単に「入力装置30」と称する。)等を有する。なお、入力装置30の数は、図1の例に限定されない。なお、図1の例では、4つの入力装置30を有しているため、4人以下のプレイヤが同時にプレイできる。
<System configuration>
FIG. 1 is a diagram showing a system configuration example of a
ゲーム装置10は、例えば、家庭用または業務用等の、据え置き型または携帯型等のゲーム専用装置でもよい。または、ゲーム装置10は、例えば、各種のパーソナルコンピュータ等でもよい。
The
出力装置20は、表示装置21(モニター、ディスプレイ)、及び1以上のスピーカ22を有する装置である。出力装置20は、例えば、家庭用または業務用のテレビ受像機等でもよい。図1の例では、出力装置20は、テレビ受像機等であり、表示装置21の左右に、ステレオ用のスピーカ22A、及びスピーカ22Bを有している。なお、スピーカ22の数は、図1の例に限定されない。スピーカ22の数は、例えば、1つでもよいし、5.1ch(通常のスピーカが5つ、サブウーファーが1つ)、または7.1ch(通常のスピーカが7つ、サブウーファーが1つ)等でもよい。表示装置21とスピーカ22は同一の筐体に収容されてもよいし、別の筐体に収容され、ケーブル等で接続されてもよい。
The
入力装置30は、例えば、ゲーム装置10用のコントローラ等である。入力装置30は、例えば、同時にプレイするプレイヤの人数分、ゲーム装置10に接続される。
The input device 30 is, for example, a controller for the
<ハードウェア構成>
図2は、実施形態に係るゲーム装置10のハードウェア構成例を示す図である。図1に示すゲーム装置10は、それぞれバスBで相互に接続されているドライブ装置100、補助記憶装置102、メモリ装置103、CPU104、及びインタフェース装置105等を有する。
<Hardware configuration>
FIG. 2 is a diagram showing a hardware configuration example of the
ゲーム装置10での処理を実現するゲームプログラムは、記録媒体101によって提供される。ゲームプログラムを記録した記録媒体101がドライブ装置100にセットされると、ゲームプログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、ゲームプログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされたゲームプログラムを格納すると共に、必要なファイルやデータ等を格納する。
A game program for realizing processing in the
メモリ装置103は、例えば、DRAM(Dynamic Random Access Memory)、またはSRAM(Static Random Access Memory)等のメモリであり、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従ってゲーム装置10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。
The
なお、記録媒体101の一例としては、CD-ROM、DVDディスク、ブルーレイディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。
Note that an example of the
<機能構成>
次に、図3、図4を参照し、ゲーム装置10の機能構成について説明する。図3は、実施形態に係るゲーム装置10の機能ブロック図である。図4は、実施形態に係るイベント音データ111の一例を示す図である。
<Functional configuration>
Next, the functional configuration of the
ゲーム装置10は、記憶部11を有する。記憶部11は、例えば、補助記憶装置102等を用いて実現される。記憶部11は、イベント音データ111等を記憶する。
The
図4の例では、イベント音データ111には、イベントIDに対応付けて、音信号データ(音声ファイル)が記録されている。イベントIDは、ゲームにおける音を発生させるイベントの識別情報である。ゲームにおける音を発生させるイベントには、例えば、プレイヤキャラクタ等の攻撃、及びプレイヤキャラクタ等の歩行等が含まれてもよい。音信号データは、イベントIDに係るイベントにより出力される音の信号のデータである。
In the example of FIG. 4, sound signal data (sound file) is recorded in the
また、ゲーム装置10は、ゲーム制御部12、表示制御部13、及び音制御部14を有する。これら各部は、ゲーム装置10にインストールされた1以上のプログラムが、ゲーム装置10のCPU104に実行させる処理により実現される。
The
ゲーム制御部12は、ゲームの実行を制御する。ゲーム制御部12は、例えば、プレイヤの操作等に応答して、ゲームの仮想空間(仮想3次元空間、及び仮想2次元空間等を含む)におけるプレイヤキャラクタの行動等を制御する。また、ゲーム制御部12は、例えば、ゲームの状況に応じて、敵のキャラクタの行動等を制御する。
The
表示制御部13は、ゲーム制御部12の指示に従い、複数のプレイヤのそれぞれに対する各表示画面を合成した表示画面を生成し、生成した表示画面を表示装置21に表示させる。
The
音制御部14は、ゲーム制御部12の指示に従い、複数のプレイヤのそれぞれに対する各音を合成した音を生成し、生成した音をスピーカ22に出力させる。
The
<処理>
次に、図5及び図6を参照して、ゲーム装置10の処理について説明する。図5は、実施形態に係るゲーム装置10の処理の一例を示すフローチャートである。図6は、実施形態に係る表示画面の一例について説明する図である。なお、以下の図5の処理は、ゲームが終了されるまで繰り返し実行される。以下では、ゲームの仮想3次元空間において複数のプレイヤが協力して進行させるゲームを例として説明する。なお、開示の技術は、仮想2次元空間においてプレイヤキャラクタを行動させるゲーム、及び複数のプレイヤが対戦を行うゲーム等に対しても適用できる。
<Processing>
Next, processing of the
ステップS1において、ゲーム制御部12は、各プレイヤキャラクタに対する操作を、各プレイヤキャラクタを操作する各プレイヤから受け付ける。
In step S1, the
続いて、ゲーム制御部12は、各プレイヤからの操作に応答して、各プレイヤキャラクタをゲームの仮想3次元空間上で制御する(ステップS2)。ここで、ゲーム制御部12は、例えば、各プレイヤキャラクタを当該仮想3次元空間上で移動させる、各プレイヤキャラクタに敵のキャラクタ等を攻撃させる、または各プレイヤキャラクタにゲームで使用可能なアイテムを使用させる等の制御を行う。
Subsequently, the
続いて、ゲーム制御部12は、各プレイヤキャラクタの動作等に応答して、当該仮想3次元空間上のプレイヤキャラクタ以外の各オブジェクトを制御する(ステップS3)。ここで、ゲーム制御部12は、例えば、敵のキャラクタ、ゲームで使用可能なアイテム、及びゲームのオブジェクト等を制御する。
Subsequently, the
ゲーム制御部12は、例えば、各プレイヤキャラクタが協力して戦う敵のボスキャラクタに、プレイヤキャラクタに対する必殺技等による攻撃を行わせてもよい。なお、敵のボスキャラクタとは、例えば、通常の敵のキャラクタよりも攻撃力や耐久力が強い敵のキャラクタでもよい。また、必殺技とは、例えば、比較的広範囲に存在するキャラクタに、比較的大きなダメージを与える(耐久力を減少させる)攻撃等でもよい。また、ゲーム制御部12は、例えば、プレイヤキャラクタに、当該敵のボスキャラクタに対する必殺技等による攻撃を行わせてもよい。
The
続いて、表示制御部13は、各プレイヤ毎の表示画面の各表示データを生成する(ステップS4)。ここで、表示制御部13は、各プレイヤキャラクタの当該仮想3次元空間上の位置及び向きに応じた表示データを生成する。表示制御部13は、例えば、各プレイヤキャラクタの背後の所定位置から当該仮想3次元空間を見た場合の各表示データを生成する。
Subsequently, the
続いて、表示制御部13は、生成した各プレイヤ毎の表示データを並べて1つに合成し、合成した表示画面を表示装置21に表示させる(ステップS5)。図6の表示画面601の例では、4人のプレイヤが同時にプレイしている場合の表示例が示されている。以下で、4人の各プレイヤを、それぞれ、プレイヤA、プレイヤB、プレイヤC、プレイヤDと称する。図6の例では、プレイヤA、プレイヤB、プレイヤCは、協力プレイにより各プレイヤキャラクタを敵のボスキャラクタと戦わせており、プレイヤDは、プレイヤキャラクタを、他プレイヤが協力プレイしている場所とは別の場所を移動させている。
Subsequently, the
表示制御部13は、図6の例では、プレイヤA用の表示領域611、プレイヤB用の表示領域621、プレイヤC用の表示領域631、プレイヤD用の表示領域641を表示させている。表示領域611には、プレイヤAのプレイヤキャラクタ612の背後の位置を視点の位置としたゲームの仮想3次元空間上の各オブジェクトが表示されている。表示領域621には、プレイヤBのプレイヤキャラクタ622の背後の位置を視点の位置としたゲームの仮想3次元空間上の各オブジェクトが表示されている。表示領域631には、プレイヤCのプレイヤキャラクタ632の背後の位置を視点の位置としたゲームの仮想3次元空間上の各オブジェクトが表示されている。表示領域641には、プレイヤDのプレイヤキャラクタ642の背後の位置を視点の位置としたゲームの仮想3次元空間上の各オブジェクトが表示されている。
The
表示領域611、表示領域621、表示領域631には、それぞれ、プレイヤキャラクタ612、敵のキャラクタ613、プレイヤキャラクタ622、プレイヤキャラクタ632、及び敵のキャラクタ613による必殺技を演出する火のオブジェクト614が表示されている。表示領域641には、敵のキャラクタ643、及び火のオブジェクト644が表示されている。
A
続いて、音制御部14は、各スピーカ22毎の音データを調整して出力する(ステップS6)。ここで、各スピーカ22毎に、各プレイヤ毎の音データを1つに合成し、合成した音データを各スピーカ22にそれぞれ出力させる。
Subsequently, the
≪音の調整処理≫
次に、図7から図8Bを参照し、図5のステップS6における、各プレイヤ毎の各スピーカ22毎の音データを調整して出力する処理の一例について説明する。図7は、実施形態に係る音データを調整して出力する処理の一例を示すフローチャートである。図8Aは、実施形態に係る減衰係数の一例について説明する図である。図8Bは、実施形態に係る補正後の音量の一例について説明する図である。
≪Sound adjustment process≫
Next, an example of processing for adjusting and outputting sound data for each
ステップS101において、音制御部14は、各プレイヤ毎に、各プレイヤキャラクタ、敵のキャラクタ等のオブジェクトの状況に基づいて、音を発生させる各イベントを判定する。ここで、音制御部14は、ゲームの状況に応じて、例えば、音を発生させるイベントとして、敵のキャラクタ613による必殺技が実行されることを判定する。
In step S101, the
続いて、音制御部14は、各プレイヤ毎に、判定した各イベントによる音の音量を決定する(ステップS102)。以下で、各プレイヤのうちの一のプレイヤを、「処理対象のプレイヤ」と称する。また、音を発生させる各イベントのうちの一のイベントを、「処理対象のイベント」と称する。
Subsequently, the
ここで、音制御部14は、ゲームの仮想3次元空間における処理対象のプレイヤの位置と、処理対象のイベントにより出力される音の発生源(音源)の位置との距離を算出する。なお、ゲームの仮想3次元空間におけるプレイヤの位置は、例えば、当該プレイヤにより操作されるプレイヤキャラクタ等の位置でもよいし、仮想3次元空間上のプレイヤの視点(仮想的なカメラ、仮想カメラ)等の位置でもよい。なお、表示制御部13は、仮想カメラにより撮影される仮想3次元空間を、3次元コンピュータグラフィックス(3次元CG)により画面に表示する。仮想カメラの位置は、例えば、プレイヤキャラクタの中心位置から仮想3次元空間上で所定の距離離れた球面上の位置であり、プレイヤの操作により当該球面上で移動されてもよい。
Here, the
そして、音制御部14は、例えば、処理対象のイベントに対応付けられた音量の初期値に、算出した距離等に反比例する係数を乗算した値を、処理対象のプレイヤに対する処理対象のイベントにより出力される音の音量の値とする。これにより、音の発生源が遠い程、音量が小さく聞こえるようにすることができる。
Then, the
続いて、音制御部14は、判定した各イベントのうち、複数のプレイヤに対して共通の音信号による音が同時に出力される1以上の各イベント(以下で、「共通イベント」と称する。)を判定する(ステップS103)。ここで、音制御部14は、図6の例では、例えば、プレイヤA、プレイヤB、プレイヤCに対する共通イベントとして、敵のキャラクタ613による必殺技が実行されるイベントを判定する。なお、音制御部14は、共通イベントが無い場合は、以下のステップS104による調整を行わずに、各プレイヤ毎の音を合成し、合成した音を出力させてもよい。
Subsequently, the
続いて、音制御部14は、各共通イベントによる音の音量を調整する(ステップS104)。以下で、1以上の各共通イベントのうちの一のイベントを、「処理対象の共通イベント」と称する。また、以下で、各スピーカ22のうちの一のスピーカを「処理対象のスピーカ22」と称する。以下の処理は、各スピーカ22に対してそれぞれ行われる。
Subsequently, the
(調整方法1)
ステップS104において、音制御部14は、以下の式(1)により、処理対象の共通イベントによる音の音量を各スピーカ22毎にそれぞれ決定してもよい。
(Adjustment method 1)
In step S104, the
式(1)で、Volumeは、処理対象の共通イベントにより処理対象のスピーカ22に出力される音の補正後の音量である。displayは各プレイヤを示す変数(添え字)である。DisplayVolume[display]は、処理対象の共通イベントにより各プレイヤのために処理対象のスピーカ22に出力される音の補正前の音量である。従って、例えば、処理対象の共通イベントによりプレイヤA、プレイヤB、プレイヤC、プレイヤDのそれぞれのためにスピーカ22Aに出力される音の音量をそれぞれDisplayVolume[0]、DisplayVolume[1]、DisplayVolume[2]、DisplayVolume[3]とすると、処理対象の共通イベントによりスピーカ22Aに出力される音の音量Volumeは、(DisplayVolume[0]2+DisplayVolume[1]2+DisplayVolume[2]2+DisplayVolume[3]2)1/2である。
In Expression (1), Volume is the corrected volume of the sound output to the
これにより、例えば、スピーカ22を4人のプレイヤで同時に使用し、当該4人のプレイヤで同時にゲームをプレイさせる場合に、各プレイヤ用の音を4組の各スピーカのセットに出力させた場合と同等のエネルギー量となる音圧レベルでスピーカ22に出力させることができる。
Thus, for example, when four players use the
音制御部14は、各共通イベントによる音の音量を式(1)で補正した後加算(ミキシング)し、さらに、ステップS101で判定した各イベントのうち、共通イベント以外の各イベントによる音の信号を、それぞれ加算(ミキシング)してもよい。
The
なお、音制御部14は、各共通イベントにより各プレイヤのために処理対象のスピーカ22に出力される音の補正前の音量と、共通イベント以外の各イベントにより各プレイヤのために処理対象のスピーカ22に出力される音の補正前の音量とを加算した音量を式(1)のDisplayVolume[display]としてもよい。これにより、例えば、各プレイヤ毎の音を、1人のプレイヤのみで1画面でプレイする場合と同様の処理によりそれぞれ算出できるため、計算負荷を低減できる。
Note that the
(調整方法2)
ステップS104において、音制御部14は、以下の式(2)により、処理対象の共通イベントによる音の音量を各スピーカ22毎にそれぞれ決定してもよい。
(Adjustment method 2)
In step S<b>104 , the
式(2)で、PlayerVolumeは、処理対象の共通イベントにより処理対象のプレイヤに対して処理対象のスピーカ22に出力される音の補正後の音量である。OriginalVolumeは、処理対象の共通イベントにより処理対象のプレイヤに対して処理対象のスピーカ22に出力される音の補正前の音量である。OriginalVolumeは、式(1)のDisplayVolume[display]と同様でもよい。減衰係数Dは、OriginalVolumeに乗算する補正用の係数である。音制御部14は、減衰係数Dを、以下の式(3)により算出してもよい。
In Expression (2), PlayerVolume is the corrected volume of the sound output to the
式(3)で、VolumeRatioは、OriginalVolumeを0から1の範囲に正規化した値である。そのため、出力させる音の最大値(最大音量)をMaxVolumeとすると、VolumeRatioは以下の式(3)により算出されてもよい。 In Equation (3), VolumeRatio is a value obtained by normalizing OriginalVolume to a range of 0 to 1. Therefore, if the maximum value (maximum volume) of the sound to be output is MaxVolume, the VolumeRatio may be calculated by the following equation (3).
VolumeRatio = OriginalVolume/MaxVolume ・・・(4)
MinRatio、及びMaxRatioは、それぞれ、最小音量時に適用される補正値、及び最大音量時に適用される補正値であり、例えば、以下の式(5)、(6)により算出されてもよい。
VolumeRatio = OriginalVolume/MaxVolume (4)
MinRatio and MaxRatio are the correction value applied at the minimum volume and the correction value applied at the maximum volume, respectively, and may be calculated by the following equations (5) and (6), for example.
MinRatio = 1-(1-DepressionRatio)×MinVolumeAugmenter・・・(5)
MaxRatio = 1-(1-DepressionRatio)×MaxVolumeAugmenter・・・(6)
ここで、DepressionRatioはプレイヤの数の平方根の逆数である。プレイヤが4人であれば、DepressionRatioは0.5(=1/41/2)である。
MinRatio = 1-(1-DepressionRatio) x MinVolumeAugmenter (5)
MaxRatio = 1-(1-DepressionRatio) x MaxVolumeAugmenter (6)
where DepressionRatio is the reciprocal of the square root of the number of players. If there are four players, the DepressionRatio is 0.5 (=1/4 1/2 ).
MinVolumeAugmenter、及びMaxVolumeAugmenterは、それぞれ、最小音量時に適用される補正値の係数、及び最大音量時に適用される補正値の係数である、最小音量時は補正無し、最大音量時は最大限に補正する場合、MinVolumeAugmenter、及びMaxVolumeAugmenterは、それぞれ、0、1としてもよい。この場合、MinRatioは1、MaxRatioは0.5となる。この場合の式(3)の減衰係数Dは、図8Aの直線801で示すような値となる。図8Aでは、縦軸の値が減衰係数Dであり、横軸の値はOriginalVolumeである。図8Aの例では、OriginalVolumeの値が0の場合は減衰係数Dは1であり、OriginalVolumeの値がMaxVolume(最大音量)の場合は減衰係数Dは0.5である。
MinVolumeAugmenter and MaxVolumeAugmenter are the coefficient of the correction value applied at the minimum volume and the coefficient of the correction value applied at the maximum volume, respectively. When there is no correction at the minimum volume and maximum correction at the maximum volume, MinVolumeAugmenter and MaxVolumeAugmenter may be 0 and 1, respectively. In this case, MinRatio is 1 and MaxRatio is 0.5. In this case, the damping coefficient D in equation (3) has a value as indicated by a
この場合、式(2)の補正後の音量PlayerVolumeは、図8Bの曲線811で示すような値となる。図8Bでは、縦軸の値が補正後の音量PlayerVolumeであり、横軸の値はOriginalVolumeである。図8Bの例では、OriginalVolumeの値が0の場合は補正後の音量PlayerVolumeも0あり、OriginalVolumeの値がMaxVolume(最大音量)の場合は補正後の音量PlayerVolumeはMaxVolume/2である。OriginalVolumeの値が大きくなるに従って、減衰係数Dの値が小さくなるため、補正後の音量PlayerVolumeの増加量(勾配)は小さくなる。
In this case, the volume PlayerVolume after correction of equation (2) has a value as indicated by
音制御部14は、各プレイヤ毎の各共通イベントによる音の音量を式(2)で補正した後加算し、さらに、ステップS101で判定した各イベントのうち、共通イベント以外の各イベントによる音の信号を、それぞれ加算してもよい。
The
上述した調整方法2によれば、イベント音データ111に共通イベントに対応付けて記憶されている同一の音信号データを4人のプレイヤに対して同時に出力する場合、当該音信号データの音量を4人のプレイヤに対してそれぞれ最大音量で出力する場合は、4人のプレイヤに対してそれぞれ最大音量の半分の音量に減衰させて出力される。そのため、合成して出力される当該音信号データの音量は、各プレイヤに対する最大音量の2倍(=MaxVolume/2×4)となり、当該音信号データによりスピーカ22から出力される音のエネルギーをMaxVolumeでの音のエネルギーの4(=22)倍とすることができる。そのため、当該音信号データによる各プレイヤ用の音を4組の各スピーカのセットに出力させた場合と同等のエネルギー量となる音圧レベルでスピーカ22に出力させることができる。
According to the
また、当該音信号データの音量を4人のプレイヤに対してそれぞれ最大音量よりも小さい音量で出力する場合は、当該音量の半分よりも大きな音量に減衰させて出力される。そのため、例えば、プレイヤキャラクタの移動の際の歩行音等の比較的小さい音は、比較的減衰させずに、聞こえ易い音量とすることができる。 When the volume of the sound signal data is output to each of the four players at a volume lower than the maximum volume, the sound signal data is output after being attenuated to a volume higher than half of the volume. Therefore, for example, a relatively soft sound, such as a walking sound when the player character moves, can be set to an easy-to-hear volume without being relatively attenuated.
なお、音制御部14は、各共通イベントにより各プレイヤのために処理対象のスピーカ22に出力される音の補正前の音量と、共通イベント以外の各イベントにより各プレイヤのために処理対象のスピーカ22に出力される音の補正前の音量とを加算した音量を式(2)のPlayerVolumeとしてもよい。これにより、例えば、各プレイヤ毎の音を、1人のプレイヤのみで1画面でプレイする場合と同様の処理によりそれぞれ算出できるため、計算負荷を低減できる。
Note that the
なお、音制御部14は、上述した調整方法1、及び調整方法2を組み合わせて音量を調整してもよい。例えば、音制御部14は、ゲーム装置10のCPU104の処理負荷が所定の閾値よりも高い場合は調整方法1により音量を調整し、当該閾値以下の場合は調整方法2により音量を調整するようにしてもよい。これにより、CPU104の処理負荷が比較的高いゲームの状況の場合は、処理負荷が比較的高い平方根の演算を行わない調整方法2を用いることにより、例えば、CGに関する処理を円滑に行うことができる。
Note that the
<変形例>
ゲーム装置10の各機能部は、例えば1以上のコンピュータにより構成されるクラウドコンピューティングにより実現されていてもよい。この場合、ゲーム装置10は、インターネット等のネットワークを介してオンラインゲームをプレイヤの端末に提供するゲームサーバであってもよい。
<Modification>
Each functional unit of the
<実施形態の効果>
ゲームの仮想3次元空間における各プレイヤの位置と、ゲームの各イベントにより出力される音の発生源の位置との距離に応じた遅延や周波数減衰を計算して音を出力させる場合、それによりゲーム装置10の計算資源が比較的多く消費される。
<Effects of Embodiment>
When the sound is output by calculating the delay and frequency attenuation according to the distance between the position of each player in the virtual three-dimensional space of the game and the position of the source of the sound output by each event of the game, the calculation resources of the
また、例えば、複数のプレイヤで画面を分割して、各プレイヤがそれぞれ異なる仮想3次元空間上の位置でプレイヤキャラクタを制御する場合、3次元CGの生成にゲーム装置10の計算資源が比較的多く消費されるため、音のために使用できるゲーム装置10の計算資源は少ない方が望ましい。
Further, for example, when the screen is divided by a plurality of players, and each player controls a player character at a different position in the virtual three-dimensional space, relatively large amounts of computational resources of the
ゲームの仮想3次元空間における各プレイヤの位置と、ゲームの各イベントにより出力される音の発生源の位置との距離に応じた遅延や周波数減衰を計算せずに音を出力させる場合、ゲーム装置10の計算資源の消費は低減される。しかしながら、同一の音信号を複数のプレイヤに同時に出力する場合、音量が大きくなりすぎる場合がある。例えば、ゲームにおける爆発音等の音信号を、4人のプレイヤに同じ音量で同時に出力する場合、4人分の当該音信号を合成すると、当該音信号の振幅が4倍になるため、音のエネルギーである音量は4倍ではなく16倍(=42)となってしまう。
When sound is output without calculating the delay or frequency attenuation according to the distance between the position of each player in the virtual three-dimensional space of the game and the position of the source of the sound output by each event of the game, consumption of computational resources of the
上述した実施形態によれば、例えば、モニターやスピーカを複数のプレイヤで同時に使用し、当該複数のプレイヤで同時にゲームをプレイさせ、各プレイヤキャラクタと音の発生源との距離に応じた遅延等の計算をしない場合でも、適切な音量でスピーカに出力させることができる。 According to the above-described embodiment, for example, when a plurality of players use monitors and speakers at the same time, the plurality of players play the game at the same time, and even if delays and the like are not calculated according to the distance between each player character and the sound source, the sound can be output to the speakers at an appropriate volume.
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications and changes are possible within the scope of the gist of the present invention described in the claims.
10 ゲーム装置
11 記憶部
111 イベント音データ
12 ゲーム制御部
13 表示制御部
14 音制御部
10 game device 11
Claims (6)
第1プレイヤに操作される第1プレイヤキャラクタ、及び第2プレイヤに操作される第2プレイヤキャラクタを、同一の仮想空間において動作させるゲームを提供する情報処理装置に、
前記仮想空間における前記第1プレイヤキャラクタの第1位置に応じたオブジェクトを表示する第1表示領域、及び前記仮想空間における前記第2プレイヤキャラクタの第2位置に応じたオブジェクトを表示する第2表示領域を含む表示画面を表示させる処理と、
前記第1位置に応じた第1音と、前記第2位置に応じた第2音とを合成して出力させる処理と、
を実行させ、
前記出力させる処理は、
一の音情報に基づいて前記第1音と前記第2音とを同時に出力させる場合、前記第1音の第1音量と、前記第2音の第2音量とに基づいて、前記第1音と前記第2音とが合成される音の音量を調整し、前記第1位置に応じた前記第1音の音量が大きくなるに従って、前記第1音の音量を減衰させる割合を大きくする処理を含む、
プログラム。 information processing equipment,
An information processing device for providing a game in which a first player character operated by a first player and a second player character operated by a second player operate in the same virtual space,
a process of displaying a display screen including a first display area displaying an object corresponding to a first position of the first player character in the virtual space and a second display area displaying an object corresponding to a second position of the second player character in the virtual space;
a process of synthesizing and outputting a first sound corresponding to the first position and a second sound corresponding to the second position;
and
The output processing is
When the first sound and the second sound are simultaneously output based on one sound information, the first sound and the second sound are based on the first volume of the first sound and the second volume of the second sound. Adjusting the volume of the synthesized sound, and increasing the rate at which the volume of the first sound is attenuated as the volume of the first sound corresponding to the first position increases.
program.
前記第1位置に応じた前記第1音の音量が大きくなるに従って、前記第1音の音量を減衰させる割合を、前記一の音情報を同時に出力させるプレイヤの数に基づく値に近づける、請求項1に記載のプログラム。 The output processing is
2. The program according to claim 1 , wherein, as the volume of the first sound corresponding to the first position increases, the rate at which the volume of the first sound is attenuated approaches a value based on the number of players simultaneously outputting the one sound information.
前記第1位置に応じた前記第1音の音量が大きくなるに従って、前記第1音の音量を減衰させる割合を、前記一の音情報を同時に出力させるプレイヤの数の平方根の逆数に基づく値に近づける、
請求項2に記載のプログラム。 The output processing is
As the volume of the first sound corresponding to the first position increases, the rate at which the volume of the first sound is attenuated approaches a value based on the reciprocal of the square root of the number of players simultaneously outputting the one sound information,
3. A program according to claim 2 .
前記第1音量を二乗した値と前記第2音量を二乗した値とを加算した値の平方根の値に基づいて、
前記第1音と前記第2音とが合成される音の音量を調整する、
請求項1から3のいずれか一項に記載のプログラム。 The output processing is
Based on the square root of the value obtained by adding the value obtained by squaring the first volume and the value obtained by squaring the second volume,
adjusting the volume of a sound that is synthesized from the first sound and the second sound;
A program according to any one of claims 1 to 3 .
前記仮想空間における前記第1プレイヤキャラクタの第1位置に応じたオブジェクトを表示する第1表示領域、及び前記仮想空間における前記第2プレイヤキャラクタの第2位置に応じたオブジェクトを表示する第2表示領域を含む表示画面を表示させる処理と、
前記第1位置に応じた第1音と、前記第2位置に応じた第2音とを合成して出力させる処理と、
を実行し、
前記出力させる処理は、
同一の音情報に基づいて前記第1音と前記第2音とを同時に出力させる場合、前記第1音の第1音量と、前記第2音の第2音量とに基づいて、前記第1音と前記第2音とが合成される音の音量を調整し、前記第1位置に応じた前記第1音の音量が大きくなるに従って、前記第1音の音量を減衰させる割合を大きくする処理を含む、
情報処理方法。 An information processing device for providing a game in which a first player character operated by a first player and a second player character operated by a second player operate in the same virtual space,
a process of displaying a display screen including a first display area displaying an object corresponding to a first position of the first player character in the virtual space and a second display area displaying an object corresponding to a second position of the second player character in the virtual space;
a process of synthesizing and outputting a first sound corresponding to the first position and a second sound corresponding to the second position;
and run
The output processing is
When the first sound and the second sound are simultaneously output based on the same sound information, the first sound and the second sound are based on the first volume of the first sound and the second volume of the second sound. Adjusting the volume of the synthesized sound, and increasing the rate of attenuation of the volume of the first sound as the volume of the first sound corresponding to the first position increases.
Information processing methods.
前記仮想空間における前記第1プレイヤキャラクタの第1位置に応じたオブジェクトを表示する第1表示領域、及び前記仮想空間における前記第2プレイヤキャラクタの第2位置に応じたオブジェクトを表示する第2表示領域を含む表示画面を表示させる表示制御部と、
前記第1位置に応じた第1音と、前記第2位置に応じた第2音とを合成して出力させる音制御部と、
を有し、
前記音制御部は、
同一の音情報に基づいて前記第1音と前記第2音とを同時に出力させる場合、前記第1音の第1音量と、前記第2音の第2音量とに基づいて、前記第1音と前記第2音とが合成される音の音量を調整し、前記第1位置に応じた前記第1音の音量が大きくなるに従って、前記第1音の音量を減衰させる割合を大きくする、
情報処理装置。 An information processing device for providing a game in which a first player character operated by a first player and a second player character operated by a second player operate in the same virtual space,
a display control unit for displaying a display screen including a first display area displaying an object corresponding to a first position of the first player character in the virtual space and a second display area displaying an object corresponding to a second position of the second player character in the virtual space;
a sound control unit for synthesizing and outputting a first sound corresponding to the first position and a second sound corresponding to the second position;
has
The sound control unit
When the first sound and the second sound are simultaneously output based on the same sound information, the volume of the sound in which the first sound and the second sound are synthesized is adjusted based on the first volume of the first sound and the second volume of the second sound, and as the volume of the first sound corresponding to the first position increases, the rate at which the volume of the first sound is attenuated is increased.
Information processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019061637A JP7312590B2 (en) | 2019-03-27 | 2019-03-27 | Program, information processing method, and information processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019061637A JP7312590B2 (en) | 2019-03-27 | 2019-03-27 | Program, information processing method, and information processing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020156918A JP2020156918A (en) | 2020-10-01 |
JP7312590B2 true JP7312590B2 (en) | 2023-07-21 |
Family
ID=72640610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019061637A Active JP7312590B2 (en) | 2019-03-27 | 2019-03-27 | Program, information processing method, and information processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7312590B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004236851A (en) | 2003-02-06 | 2004-08-26 | Sanyo Electric Co Ltd | Image processing device |
JP2014094160A (en) | 2012-11-09 | 2014-05-22 | Nintendo Co Ltd | Game system,game processing control method, game apparatus, and game program |
JP2014188303A (en) | 2013-03-28 | 2014-10-06 | Nintendo Co Ltd | Game system, game program, game processing method, and game device |
-
2019
- 2019-03-27 JP JP2019061637A patent/JP7312590B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004236851A (en) | 2003-02-06 | 2004-08-26 | Sanyo Electric Co Ltd | Image processing device |
JP2014094160A (en) | 2012-11-09 | 2014-05-22 | Nintendo Co Ltd | Game system,game processing control method, game apparatus, and game program |
JP2014188303A (en) | 2013-03-28 | 2014-10-06 | Nintendo Co Ltd | Game system, game program, game processing method, and game device |
Also Published As
Publication number | Publication date |
---|---|
JP2020156918A (en) | 2020-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11259136B2 (en) | Sound reproduction method and apparatus, storage medium, and electronic apparatus | |
US7113610B1 (en) | Virtual sound source positioning | |
US9432790B2 (en) | Real-time sound propagation for dynamic sources | |
EP1565035A2 (en) | Dynamic sound source and listener position based audio rendering | |
JP2017500989A (en) | Variable audio parameter setting | |
WO2007105689A1 (en) | Game sound output device, game sound control method, information recording medium, and program | |
KR101434725B1 (en) | Importing audio to affect gameplay experience | |
US20100197401A1 (en) | Reliable, efficient and low cost method for games audio rendering | |
US20050182608A1 (en) | Audio effect rendering based on graphic polygons | |
CN108379842B (en) | Game audio processing method and device, electronic equipment and storage medium | |
WO2015198646A1 (en) | Game device, sound effect processing method, and recording medium | |
JP2024069464A (en) | Reverberation Gain Normalization | |
JP2020031303A (en) | Voice generating program and voice generating apparatus in virtual space | |
US8558100B2 (en) | Music production apparatus and method of producing music by combining plural music elements | |
JP7312590B2 (en) | Program, information processing method, and information processing apparatus | |
JP7157537B2 (en) | Program, image processing method, and information processing apparatus | |
JP7277777B2 (en) | Sound reproduction program, sound reproduction device and sound generation method | |
JP4789145B2 (en) | Content reproduction apparatus and content reproduction program | |
CN109683845B (en) | Sound playing device, method and non-transient storage medium | |
JP2022175027A (en) | Information processing device, program, and game image generation method | |
TWI701659B (en) | Sound playback method, apparatus and non-transitory computer readable storage medium thereof | |
JP2024041359A (en) | Game program and game device | |
JP6773819B2 (en) | Game program, game system | |
JP2022125666A (en) | Game program and game device | |
JP6737842B2 (en) | Game program and game device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220113 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230214 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230414 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230627 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230710 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7312590 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |