JP7381856B2 - Audio playback program, audio playback device, and audio generation method - Google Patents

Audio playback program, audio playback device, and audio generation method Download PDF

Info

Publication number
JP7381856B2
JP7381856B2 JP2019204731A JP2019204731A JP7381856B2 JP 7381856 B2 JP7381856 B2 JP 7381856B2 JP 2019204731 A JP2019204731 A JP 2019204731A JP 2019204731 A JP2019204731 A JP 2019204731A JP 7381856 B2 JP7381856 B2 JP 7381856B2
Authority
JP
Japan
Prior art keywords
marker
audio
playback
reproduction
program
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
Application number
JP2019204731A
Other languages
Japanese (ja)
Other versions
JP2021074395A (en
Inventor
秀基 細井
佑樹 五十嵐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Capcom Co Ltd
Original Assignee
Capcom Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Capcom Co Ltd filed Critical Capcom Co Ltd
Priority to JP2019204731A priority Critical patent/JP7381856B2/en
Publication of JP2021074395A publication Critical patent/JP2021074395A/en
Application granted granted Critical
Publication of JP7381856B2 publication Critical patent/JP7381856B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Description

本発明は、音声再生プログラム、音声再生装置、および音声生成方法に関する。 The present invention relates to an audio playback program, an audio playback device, and a sound generation method.

ゲームプログラムの中には、音声をループ再生するとともに、単発の発音をランダムに再生するものがある(例えば特許文献1を参照)。 Some game programs play back audio in a loop and randomly play single pronunciations (for example, see Patent Document 1).

特開2004-298280号公報Japanese Patent Application Publication No. 2004-298280

前記特許文献では、プレイヤ(ユーザ)には、単なるループ再生ではないように聞こえるとされている。これを更に改善できると、臨場感をより高めることが可能になる。それには、例えば、音声データの長さ(例えば録音時間)を伸ばして、ループの周期を長くすることが考えられる。しかしながら、ループの周期を長くするには、より多くのメモリ容量が必要になる。 In the above patent document, it is said that the player (user) hears it as more than just loop playback. If this can be further improved, it will be possible to further enhance the sense of reality. One possible way to do this is, for example, to lengthen the length of the audio data (eg, recording time) to lengthen the loop cycle. However, increasing the loop period requires more memory capacity.

本開示は、音声データ用のメモリ容量を抑制しつつ、音声の繰り返し再生の単調さを改善することを目的とする。 The present disclosure aims to improve the monotony of repeated reproduction of audio while suppressing the memory capacity for audio data.

第1の態様は、コンピュータを、
音声を再生する再生手段と、
前記再生手段を制御する再生制御手段と、
して機能させ、
前記音声には、それぞれが前記再生の区切り位置を示す、複数のマーカーが対応づけられており、
前記再生制御手段は、
前記音声の再生位置が、選択された所定のマーカーに対応した位置まで進んだ場合に、前記再生手段に対して、前記音声の他の位置からの再生開始を指示する、
という動作を所定の終了条件が成立するまで繰り返す
ことを特徴とする音声再生プログラムである。
The first aspect is that the computer is
a reproduction means for reproducing audio;
a reproduction control means for controlling the reproduction means;
and make it work,
A plurality of markers are associated with the audio, each indicating a break position of the playback,
The regeneration control means includes:
when the playback position of the sound advances to a position corresponding to a selected predetermined marker, instructing the playback means to start playing the sound from another position;
This is an audio playback program that is characterized by repeating this operation until a predetermined termination condition is met.

第1の態様において、
前記再生手段は、前記他の位置からの再生を開始する場合には、選択された所定のマーカーの後に位置する音声と、前記他の位置から始まる音声とをクロスフェードさせてもよい。
In the first aspect,
When starting reproduction from the other position, the reproduction means may cross-fade the audio located after the selected predetermined marker and the audio starting from the other position.

前記態様においては、前記マーカーの選択は、複数のマーカーの中からランダムに行ってもよい。 In the above aspect, the marker may be selected randomly from among a plurality of markers.

前記態様においては、前記他の位置は、前記音声の先頭、または、選択された所定のマーカーを除くマーカーに対応する位置としてもよい。 In the aspect, the other position may be the beginning of the audio or a position corresponding to a marker other than the selected predetermined marker.

第2の態様は、前記態様の何れかの音声再生プログラムを記憶した記憶部と、
前記音声再生プログラムを実行する制御部と、
を備えたことを特徴とする音声再生装置である。
A second aspect includes a storage unit storing the audio playback program according to any of the aforementioned aspects;
a control unit that executes the audio playback program;
This is an audio playback device characterized by comprising:

第3の態様は、コンピュータを用いて音声を生成する音声生成方法において、
前記音声を再生する再生ステップを含み、
前記音声には、それぞれが前記再生の区切り位置を示す、複数のマーカーが対応づけられており、
前記再生ステップでは、前記音声の再生位置が、選択された所定のマーカーに対応した位置まで進んだ場合に、他の位置から前記音声の再生を開始し、
前記再生ステップは、所定の終了条件が成立するまで繰り返されることを特徴とする音声生成方法である。
A third aspect is a voice generation method for generating voice using a computer,
a playback step of playing the audio;
A plurality of markers are associated with the audio, each indicating a break position of the playback,
In the playback step, when the playback position of the sound advances to a position corresponding to the selected predetermined marker, start playback of the sound from another position,
The sound generation method is characterized in that the reproduction step is repeated until a predetermined termination condition is satisfied.

本発明によれば、音声データ用のメモリ容量を抑制しつつ、音声の繰り返し再生の単調さを改善するすることができる。 According to the present invention, it is possible to suppress the memory capacity for audio data and improve the monotony of repeated reproduction of audio.

本実施形態のゲーム装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a game device according to the present embodiment. 環境音データに付したマーカーを模式的に示す。Markers attached to environmental sound data are schematically shown. 本実施形態の再生手法を説明する図である。FIG. 3 is a diagram illustrating a reproduction method according to the present embodiment.

[実施形態]
以下、本発明の実施形態にかかる音声再生プログラム、および音声再生装置について、図面を参照して説明する。本発明の音声再生プログラムは、ゲームプログラムとして実装されている。音声再生装置は、ゲーム装置として実現されている。
[Embodiment]
DESCRIPTION OF THE PREFERRED EMBODIMENTS An audio playback program and an audio playback device according to embodiments of the present invention will be described below with reference to the drawings. The audio playback program of the present invention is implemented as a game program. The audio playback device is realized as a game device.

本実施形態で説明するゲームプログラムは、例えば、パーソナルコンピュータ、プレイステーション(登録商標)、XBox(登録商標)、PlayStation Vita(登録商標)などのゲーム装置において実行される。 The game program described in this embodiment is executed on a game device such as a personal computer, PlayStation (registered trademark), XBox (registered trademark), or PlayStation Vita (registered trademark).

このゲームプログラムによるゲームでは、ユーザの操作を受けて、プレイヤキャラクタを三次元の仮想ゲーム空間(以下、単に仮想空間という)で活動させたり、プレイヤキャラクタの仲間に対して様々なアクションを行わせたりする。 In a game based on this game program, the player character is operated in a three-dimensional virtual game space (hereinafter simply referred to as virtual space) and the player character's companions are made to perform various actions in response to user operations. do.

そのプレイヤキャラクタの移動過程やアクション等において、所定のトリガ条件を満たすとBGMが流れる。所定のトリガ条件とは、例えば、プレイヤキャラクタの所定場所への移動、敵キャラクタの出現、敵キャラクタを倒したあと、などである。また、このゲームでは、音響的な表現として、いわゆる環境音(後述)も再生される。 BGM is played when a predetermined trigger condition is met during the movement process or action of the player character. The predetermined trigger conditions include, for example, movement of the player character to a predetermined location, appearance of an enemy character, defeat of an enemy character, and the like. Additionally, in this game, so-called environmental sounds (described later) are also played as acoustic expressions.

〈ゲーム装置の構成〉
ゲーム装置5は、ユーザの操作に基づいて所定のゲームを実行する。図1は、本実施形態のゲーム装置5の構成を示すブロック図である。ゲーム装置5には、ディスプレイ61、スピーカ62およびコントローラ63が外部接続または内蔵される。ゲーム装置5では、例えば、インストールされたゲームプログラムおよびゲームデータに基づいてゲームが進行する。なお、ゲーム装置5同士も、通信ネットワーク(図示を省略)または近距離無線通信装置(図示せず)を用いて、互いにデータ通信を行うことができる。
<Configuration of game device>
The game device 5 executes a predetermined game based on a user's operation. FIG. 1 is a block diagram showing the configuration of a game device 5 of this embodiment. A display 61, a speaker 62, and a controller 63 are externally connected or built into the game device 5. In the game device 5, for example, a game progresses based on the installed game program and game data. Note that the game devices 5 can also perform data communication with each other using a communication network (not shown) or a short-range wireless communication device (not shown).

ゲーム装置5は、ネットワークインターフェース51、グラフィック処理部52、オーディオ処理部53、操作部54、記憶部55および制御部56を有する。ネットワークインターフェース51、グラフィック処理部52、オーディオ処理部53、操作部54および記憶部55は、バス59を介して制御部56と電気的に接続されている。 The game device 5 includes a network interface 51, a graphic processing section 52, an audio processing section 53, an operation section 54, a storage section 55, and a control section 56. The network interface 51, the graphic processing section 52, the audio processing section 53, the operation section 54, and the storage section 55 are electrically connected to the control section 56 via a bus 59.

ネットワークインターフェース51は、例えばゲーム装置5や外部のサーバ装置(図示を省略)との間で各種データを送受信するために、前記通信ネットワークに通信可能に接続される。 The network interface 51 is communicably connected to the communication network in order to transmit and receive various data with, for example, the game device 5 and an external server device (not shown).

グラフィック処理部52は、制御部56から出力されるゲーム画像情報に従って、プレイヤキャラクタおよび仮想空間に関する各種オブジェクトを含むゲーム画像を、動画形式で描画する。グラフィック処理部52はディスプレイ61と接続されている。動画形式に描画されたゲーム画像は、ゲーム画面としてディスプレイ61上に表示される。 The graphic processing unit 52 draws a game image including a player character and various objects related to the virtual space in a moving image format according to the game image information output from the control unit 56. The graphic processing section 52 is connected to the display 61. The game image drawn in a moving image format is displayed on the display 61 as a game screen.

オーディオ処理部53は、制御部56の指示に従ってデジタルのゲーム音声を再生および合成する。オーディオ処理部53はスピーカ62と接続されており、再生および合成されたゲーム音声は、スピーカ62から出力される。 The audio processing unit 53 reproduces and synthesizes digital game audio according to instructions from the control unit 56. The audio processing section 53 is connected to a speaker 62, and the reproduced and synthesized game sound is output from the speaker 62.

操作部54は、コントローラ63と接続され、操作入力に関するデータをコントローラ63との間で送受信する。例えば、ユーザは、コントローラ63に設けられたボタン等の操作子(図示略)を操作することにより、ゲーム装置5に操作信号を入力する。 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, the user inputs an operation signal to the game device 5 by operating an operator (not shown) such as a button provided on the controller 63.

記憶部55は、HDD、RAMおよびROM等で構成される。記憶部55は、ゲームプログラムおよびゲームデータを記憶することができる。また、記憶部55には、他のゲーム装置5から受信した他アカウント情報なども記憶される。 The storage unit 55 is composed of an HDD, RAM, ROM, and the like. 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.

制御部56は、CPUおよび半導体メモリを含むマイクロコンピュータで構成され、ゲーム装置5自身の動作を制御する。例えば、制御部56は、前記ゲームプログラムを実行することにより、グラフィック処理部52およびオーディオ処理部53を動作させる。 The control unit 56 is composed of a microcomputer including a CPU and a semiconductor memory, and controls the operation of the game device 5 itself. For example, the control unit 56 operates the graphic processing unit 52 and the audio processing unit 53 by executing the game program.

〈オーディオ処理部の機能的構成〉
オーディオ処理部53は、音声データの再生や合成の機能を発揮する、いわゆるミドルウエアを実行する。このゲームプログラムの実行中には、例えば、BGM、環境音、ユーザの操作に応じて流れる効果音などの種々の音声が、オーディオ処理部53によって再生される。
<Functional configuration of audio processing unit>
The audio processing unit 53 executes so-called middleware that performs functions of reproducing and synthesizing audio data. While this game program is being executed, the audio processing unit 53 reproduces various sounds such as BGM, environmental sounds, and sound effects played in response to user operations.

このゲームプログラムの下では、ゲーム音声には、いわゆる環境音も含まれる。環境音としては、例えば、水たまりに落ちてくる水滴の音、風の音、町の雑踏の音(通行人の声や付近を通過する自動車の音等)、森や草原に吹く風の音、鳥、虫、動物の鳴き声等が挙げられる。 Under this game program, the game sounds also include so-called environmental sounds. Environmental sounds include, for example, the sound of water drops falling in a puddle, the sound of the wind, the noise of the bustle of the town (voices of passersby, the sound of cars passing nearby, etc.), the sound of the wind blowing in the forest or grassland, birds, insects, etc. Examples include animal sounds.

環境音は、ゲームの状況(プレイヤキャラクタがおかれている環境など)を説明するために有用な音ではあるが、ゲームにおいて主役となる音ではない。したがって、これらの環境音の音源の存在(音が発生する位置など)は、ゲーム中に殆ど意識されることがない。 Although environmental sounds are sounds useful for explaining the game situation (such as the environment in which the player character is placed), they are not the main sounds in the game. Therefore, the existence of the sound source of these environmental sounds (the position where the sound is generated, etc.) is hardly noticed during the game.

オーディオ処理部53は、前記ミドルウエアを実行することにより、再生手段531として機能する。再生手段531は、音声を再生する機能を有している。 The audio processing unit 53 functions as a playback unit 531 by executing the middleware. The reproducing means 531 has a function of reproducing audio.

このゲームプログラムでは、環境音用に複数の音源データ(音声のデジタルデータ)が用意されている。環境音用の音源データ(以下、環境音データという)には、再生の区切り位置を示すマーカーが対応づけられている。この例では、1つの音源データに対して、複数のマーカーが設定されている。 In this game program, a plurality of sound source data (audio digital data) are prepared for environmental sounds. Sound source data for environmental sounds (hereinafter referred to as environmental sound data) is associated with markers indicating playback break positions. In this example, multiple markers are set for one sound source data.

図2に、環境音データに付したマーカーを模式的に示す。図2には、環境音データを波形で示してある。図2では、横軸が時間軸である。縦軸は、環境音の振幅である。ただし、図2は、単に波形を説明するものである。図2は、実際に再生されるときの、環境音の振幅(音量)を示すものではない。 FIG. 2 schematically shows markers attached to environmental sound data. FIG. 2 shows environmental sound data in waveforms. In FIG. 2, the horizontal axis is the time axis. The vertical axis is the amplitude of the environmental sound. However, FIG. 2 merely illustrates waveforms. FIG. 2 does not show the amplitude (volume) of the environmental sound when it is actually reproduced.

図2の例では、5つのマーカー(M1~M5)が設定されている。この例では、これらのマーカーは、ゲームプログラムの開発者が、ゲームプログラムの開発段階に、設定したものである。マーカーの数および位置は、開発者が任意に定めてよい。 In the example of FIG. 2, five markers (M1 to M5) are set. In this example, these markers are set by the developer of the game program during the development stage of the game program. The number and position of markers may be arbitrarily determined by the developer.

再生手段531は、制御部56の制御に従って、環境音データの先頭から再生の開始処理を行ったり、指示されたマーカー位置から再生の開始処理を行ったりできる。また、再生手段531は、指示されたマーカー位置で再生の終了処理を行うことができる。 Under the control of the control unit 56, the playback unit 531 can start playback from the beginning of the environmental sound data, or start playback from a designated marker position. Furthermore, the reproduction means 531 can perform a reproduction end process at the designated marker position.

再生手段531は、再生の終了処理の際に、再生を終える音声と、次に再生する音声とをクロスフェードさせることができる。このゲームプログラムでは、再生手段531は、クロスフェード実行の指示を制御部56から受け取った場合に、クロスフェードを終了処理の一環として行う。 The reproduction unit 531 can cross-fade the audio to be reproduced and the audio to be reproduced next during the reproduction termination process. In this game program, when the reproducing unit 531 receives an instruction to execute a cross-fade from the control unit 56, it performs the cross-fade as part of the ending process.

〈制御部の詳細〉
このゲームプログラムでは、環境音を再生する際に、環境音データの実際の記録長さよりも長時間の再生を行うことができる。その環境音の再生は、所定の終了条件(後述)が成立した場合に終了する。この機能を実現するために、制御部56は、ゲームプログラムを実行することにより、選択手段561、および再生制御手段562として機能する。
<Details of control unit>
In this game program, when playing back environmental sounds, it is possible to play back for a longer time than the actual recording length of the environmental sound data. The reproduction of the environmental sound ends when a predetermined end condition (described later) is satisfied. In order to realize this function, the control section 56 functions as a selection means 561 and a playback control means 562 by executing a game program.

選択手段561は、再生対象の環境音データに関して、2つのマーカーを選択する機能を有している。選択手段561は、マーカーの選択を、再生制御手段562の指示に応じて行う。 The selection means 561 has a function of selecting two markers regarding the environmental sound data to be reproduced. The selection means 561 selects markers according to instructions from the reproduction control means 562.

選択手段561における選択方法としては、一例として、マーカーのリストの中から、乱数を用いてランダムに、2つのマーカーを選ぶことが考えられる。以下では、記憶部55に格納されている状態における環境音データを、説明の便宜のため、「元データ」と呼ぶ。また、2つのマーカーを、元データの時系列で比較して、後の方の位置にあるマーカーを終了マーカーと呼び、もう一方のマーカーを開始マーカーと呼ぶ。 As an example of the selection method in the selection means 561, it is possible to randomly select two markers from a list of markers using random numbers. In the following, the environmental sound data stored in the storage unit 55 will be referred to as "original data" for convenience of explanation. Also, two markers are compared in chronological order of the original data, and the marker located at the later position is called the end marker, and the other marker is called the start marker.

再生制御手段562は、再生手段531における環境音データの再生を制御する。この例では、再生制御手段562は、以下の動作1、および動作2を所定の終了条件が成立するまで繰り返す。
動作1:環境音データ(音声)の再生位置が、終了マーカーに対応した位置まで進んだ場合に、再生手段531に対して、再生位置の変更を指示する。
動作2:選択手段561に対して、マーカーの選択の実行を指示する。
The reproduction control means 562 controls the reproduction of the environmental sound data in the reproduction means 531. In this example, the reproduction control means 562 repeats the following operations 1 and 2 until a predetermined termination condition is satisfied.
Operation 1: When the playback position of the environmental sound data (audio) advances to the position corresponding to the end marker, the playback means 531 is instructed to change the playback position.
Operation 2: Instruct the selection means 561 to select a marker.

再生制御手段562は、動作1において「再生位置の変更」を指示する場合には、再生手段531に対して、開始マーカーからの環境音データの再生開始を指示する。この場合、再生制御手段562は、再生手段531に対して、クロスフェードの処理を指示する。 When instructing to "change the playback position" in operation 1, the playback control means 562 instructs the playback means 531 to start playing back the environmental sound data from the start marker. In this case, the reproduction control means 562 instructs the reproduction means 531 to perform cross-fade processing.

再生手段531は、クロスフェードの指示を受け取ると、終了マーカーの後に位置する音声と、開始マーカーの位置から始まる音声とをクロスフェードさせる。より詳しくは、終了マーカーの後に位置する音声をフェードアウトし、開始マーカーから始まる音声をフェードインさせる。なお、「終了マーカーの後に位置する音声」とは、元データの時系列で見て終了マーカーに後続する音声である。 When receiving the cross-fade instruction, the reproduction means 531 cross-fade the audio located after the end marker and the audio starting from the start marker position. More specifically, the audio located after the end marker is faded out, and the audio starting from the start marker is faded in. Note that the "sound located after the end marker" is the sound that follows the end marker when viewed in chronological order of the original data.

終了条件には、任意の条件を設定できる。例えば、再生の継続時間、動作1と動作2の繰り返し回数、ゲームの状況変化等を終了条件とすることができる。ゲームの状況変化には、プレイヤキャラクタの移動、仮想空間における天候の変化等を例示できる。 Any condition can be set as the termination condition. For example, the duration of playback, the number of repetitions of action 1 and action 2, a change in the game situation, etc. can be used as the termination condition. Examples of changes in the game situation include movement of the player character, changes in the weather in the virtual space, and the like.

〈動作例〉
図3は、本実施形態の再生手法を説明する図である。図3は、環境音データの波形を模式的に示している。この環境音データでは、4つのマーカー(マーカーM~マーカーMn+3)が設定されている。
<Operation example>
FIG. 3 is a diagram illustrating the reproduction method of this embodiment. FIG. 3 schematically shows the waveform of environmental sound data. In this environmental sound data, four markers (marker M n to marker M n+3 ) are set.

本実施形態では、プレイヤキャラクタが所定の場所に移動すると、環境音が再生される。例えば、プレイヤキャラクタが所定の森に入ったときには、鳥の鳴き声が環境音として再生されるように設定されていたとする。 In this embodiment, when the player character moves to a predetermined location, environmental sounds are played. For example, assume that the setting is such that when the player character enters a predetermined forest, the sound of birds chirping is played as an environmental sound.

この場合は、再生制御手段562は、再生手段531に対して、鳥の鳴き声の環境音データの再生を指示する。再生制御手段562は、選択手段561に対しては、マーカーの選択を指示する。ここでは、選択手段561の選択の結果、開始マーカーとしてマーカーMが選択され、終了マーカーとしてマーカーMn+2が選択されたものとする。 In this case, the reproduction control means 562 instructs the reproduction means 531 to reproduce the environmental sound data of the bird's song. The reproduction control means 562 instructs the selection means 561 to select a marker. Here, it is assumed that as a result of selection by the selection means 561, marker M n is selected as the start marker and marker M n+2 is selected as the end marker.

再生手段531は、再生制御手段562から再生の指示を受けると、環境音データの先頭から再生を開始する。再生が進んで環境音データにおける再生位置が終了マーカー(マーカーMn+2)に到達すると、再生制御手段562は、再生手段531に、開始マーカー(マーカーM)からの再生、およびクロスフェードの実行を指示する。 When the reproduction means 531 receives a reproduction instruction from the reproduction control means 562, it starts reproduction from the beginning of the environmental sound data. When the playback progresses and the playback position in the environmental sound data reaches the end marker (marker M n+2 ), the playback control means 562 instructs the playback means 531 to play from the start marker (marker M n ) and execute cross-fade. Instruct.

再生手段531は、クロスフェードの実行が指示されたら、終了マーカー(マーカーMn+2)の後に位置する音声のフェードアウト行う。再生手段531は、開始マーカーから始まる音声のフェードインを行う。 When instructed to perform a cross-fade, the reproducing unit 531 fades out the audio located after the end marker (marker M n+2 ). The playback means 531 fades in the audio starting from the start marker.

このようにクロスフェードが行われると、例えば、開始マーカーにおける音源データの振幅と、終了マーカーにおける音源データの振幅とが、元データにおいてかけ離れていたとしても、ユーザには音声のつなぎ目が分かりにくくなる。換言すると、このクロスフェードによって、あたかも、連続した環境音のように音声が再生される。 When cross-fading is performed in this way, for example, even if the amplitude of the sound source data at the start marker and the amplitude of the sound source data at the end marker are far apart in the original data, it becomes difficult for the user to understand the joint between the sounds. . In other words, this cross-fade causes the sound to be played back as if it were continuous environmental sound.

ここで、例えば、プレイヤキャラクタが森から出たとする。すなわち、ゲームの状況変化があったとする。そうすると、再生制御手段562は、現在の環境音に関する、動作1、動作2の繰り返し実行を終了する。 For example, suppose that the player character comes out of the forest. In other words, assume that there is a change in the game situation. Then, the reproduction control means 562 ends the repeated execution of operations 1 and 2 regarding the current environmental sound.

その後、再生制御手段562は、必要に応じて、別の環境音の再生を再生手段531に指示する。再生制御手段562は、新たに再生する環境音についても、動作1、および動作2を所定の終了条件が成立するまで繰り返す。 Thereafter, the reproduction control means 562 instructs the reproduction means 531 to reproduce another environmental sound as necessary. The reproduction control means 562 repeats operations 1 and 2 for the newly reproduced environmental sound until a predetermined end condition is satisfied.

以上をまとめると、本開示は、コンピュータを、音声を再生する再生手段と、前記再生手段を制御する再生制御手段と、して機能させ、前記音声には、それぞれが前記再生の区切り位置を示す、複数のマーカーが対応づけられており、前記再生制御手段は、前記音声の再生位置が、選択された所定のマーカーに対応した位置まで進んだ場合に、前記再生手段に対して、前記音声の他の位置からの再生開始を指示する、という動作を所定の終了条件が成立するまで繰り返すことを特徴とする音声再生プログラムである。 To summarize the above, the present disclosure causes a computer to function as a reproduction means for reproducing audio and a reproduction control means for controlling the reproduction means, and each of the audio indicates a break position of the reproduction. , a plurality of markers are associated with each other, and the playback control means controls the playback means to control the playback of the sound when the playback position of the sound advances to a position corresponding to a selected predetermined marker. This audio playback program is characterized by repeating the operation of instructing to start playback from another position until a predetermined end condition is met.

また、本開示は、コンピュータを用いて音声を生成する音声生成方法において、前記音声を再生する再生ステップを含み、前記音声には、それぞれが前記再生の区切り位置を示す、複数のマーカーが対応づけられており、前記再生ステップでは、前記音声の再生位置が、選択された所定のマーカーに対応した位置まで進んだ場合に、前記音声の他の位置から再生を開始し、前記再生ステップは、所定の終了条件が成立するまで繰り返されることを特徴とする音声生成方法である。 The present disclosure also provides a sound generation method for generating sound using a computer, including a playback step of playing the sound, and the sound is associated with a plurality of markers each indicating a break position of the playback. In the playback step, when the playback position of the sound advances to a position corresponding to the selected predetermined marker, playback is started from another position of the sound, and the playback step starts playback from another position of the sound. This is a voice generation method characterized in that the voice generation method is repeated until a termination condition is satisfied.

〈本実施形態の効果〉
以上のように、本実施形態の再生手法では、動作1,2を繰り返すことで、環境音データの実際の記録長さよりも長時間の再生を行うことができる。その際、本実施形態では、再生の終了位置(切り替わりの位置)をランダムに変更しながら、1つの音声の、いろいろな部分を順次再生している。
<Effects of this embodiment>
As described above, in the reproduction method of this embodiment, by repeating operations 1 and 2, it is possible to perform reproduction for a longer time than the actual recording length of the environmental sound data. At this time, in this embodiment, various parts of one audio are sequentially played back while randomly changing the playback end position (switching position).

つまり、本実施形態では、記憶部55へ格納されている状態における環境音データの並び(時系列)と、再生時における環境音データの並びとが互いに異なっている。その結果、本実施形態によれば、ユーザが再生の周期性を感じさせないように、実際の記録長さよりも長時間の再生が可能になる。 That is, in this embodiment, the arrangement (time series) of the environmental sound data in the state stored in the storage unit 55 is different from the arrangement of the environmental sound data at the time of reproduction. As a result, according to this embodiment, playback can be performed for a longer time than the actual recording length so that the user does not feel the periodicity of playback.

しかも、本実施形態では、再生の再開位置(開始マーカーの位置)がランダムに選択される。この点からも、本実施形態では、ユーザが再生の周期性を感じにくくできる。 Furthermore, in this embodiment, the playback restart position (position of the start marker) is randomly selected. Also from this point of view, in this embodiment, it is possible to make it difficult for the user to perceive the periodicity of playback.

従来は、音声データを先頭から終端まで再生したら先頭に戻るという動作を繰り返す単純なループ再生(以下、従来手法と呼ぶ)が一般的であった。従来手法において再生の周期性をユーザに気づかれないようにするには、音声データの長さ(例えば録音時間)を伸ばして、ループの周期を長くすることが考えられる。しかしながら、ループの周期を長くするには、より多くのメモリ容量が必要になる。 Conventionally, simple loop playback (hereinafter referred to as the conventional method) in which audio data is played back from the beginning to the end and then returned to the beginning has been common. In the conventional method, in order to prevent the user from noticing the periodicity of playback, it is conceivable to increase the length of the audio data (for example, the recording time) to lengthen the loop period. However, increasing the loop period requires more memory capacity.

それに対して、本実施形態では、再生の終了位置をランダムに変更しているので、用意すべき音源データの長さを従来手法と比べて少なくしても、ユーザが周期性に気づきにくい。したがって、本実施形態では、従来手法と比べて、音声データの格納に必要なメモリ容量を少なくできる。 On the other hand, in this embodiment, since the playback end position is changed at random, it is difficult for the user to notice the periodicity even if the length of the sound source data to be prepared is reduced compared to the conventional method. Therefore, in this embodiment, the memory capacity required for storing audio data can be reduced compared to the conventional method.

本実施形態では、環境音の再生時に、環境音データ内の互いに異なる位置同士を、クロスフェードでつないでいる。そのため、環境音データ内のどの位置でつなぎ合わせても、つなぎ目が不自然になることはない。 In this embodiment, when the environmental sound is played back, mutually different positions in the environmental sound data are connected by cross-fading. Therefore, no matter where the environmental sound data is spliced, the joint will not look unnatural.

つまり、本実施形態では、プログラムの開発者が、マーカー位置を自由に設定できる。換言すると、本実施形態では、音声再生プログラム(ゲームプログラム)の開発工数の低減が可能になる。 That is, in this embodiment, the program developer can freely set the marker position. In other words, in this embodiment, it is possible to reduce the number of steps required to develop an audio playback program (game program).

[その他の実施形態]
なお、マーカーは、ゲーム中(音声再生プログラムの動作中)に動的に設定してもよい。
[Other embodiments]
Note that the marker may be dynamically set during the game (while the audio playback program is running).

本実施形態の再生手法は、環境音以外の音声の再生に適用してもよい。 The reproduction method of this embodiment may be applied to reproduction of sounds other than environmental sounds.

再生制御手段562では、終了マーカーに到達した後は、常に、音源データの先頭から再生を再開するように制御してもよい。換言すると、開始マーカーは、必須ではない。 The reproduction control means 562 may control the reproduction to always restart from the beginning of the sound source data after reaching the end marker. In other words, a start marker is not required.

選択手段561が選んだ2つのマーカーのうちの、元データの時系列で見て、後の方のマーカーを開始マーカーとして取り扱ってもよい。 Of the two markers selected by the selection means 561, the latter marker may be treated as the start marker when viewed in chronological order of the original data.

ゲームプログラムは、いわゆるオンラインゲーム用のゲームプログラムとして実装してもよい。ゲームプログラムがオンラインゲーム用である場合には、制御部56やオーディオ処理部53で行っていた処理をそれらに代わってサーバ側で行ってもよいし、サーバ側とクライアント(ゲーム装置5)側とで分担してもよい。 The game program may be implemented as a so-called online game game program. If the game program is for an online game, the processing performed by the control unit 56 or the audio processing unit 53 may be performed on the server side instead, or the server side and the client (game device 5) side may You can share it with others.

本実施形態の再生手法を適用するゲームの種類には限定はない。本実施形態の再生手法は、ゲームプログラム以外に適用してもよい。例えば、映画に音響効果を付すプログラムや装置にも応用できる。 There is no limitation on the type of game to which the reproduction method of this embodiment is applied. The reproduction method of this embodiment may be applied to other than game programs. For example, it can be applied to programs and devices that add sound effects to movies.

これらの他の実施形態を採用した場合においても、本発明の作用効果は発揮される。また、本実施形態と他の実施形態、および他の実施形態同士を適宜組み合わせることも可能である。 Even when these other embodiments are adopted, the effects of the present invention can be exerted. Moreover, it is also possible to combine this embodiment with other embodiments, or with other embodiments, as appropriate.

5 ゲーム装置
55 記憶部
56 制御部
531 再生手段
562 再生制御手段
5 Game device 55 Storage section 56 Control section 531 Playback means 562 Playback control means

Claims (5)

コンピュータを、
音声を再生する再生手段と、
前記再生手段を制御する再生制御手段と、
して機能させ、
前記音声には、それぞれが前記再生の区切り位置を示す、複数のマーカーが対応づけられており、
前記再生制御手段は、
前記音声の再生位置が、選択された所定のマーカー(以下、第1マーカーという)に対応した位置まで進んだ場合に、前記再生手段に対して、前記選択された所定のマーカーとは異なるマーカー(以下、第2マーカーという)の位置からの再生開始を指示する、
という動作を所定の終了条件が成立するまで繰り返すものであり、
前記第1マーカーおよび前記第2マーカーは、複数のマーカーの中から、乱数を用いてランダム選択されたものである
ことを特徴とする音声再生プログラム。
computer,
a reproduction means for reproducing audio;
a reproduction control means for controlling the reproduction means;
and make it work,
A plurality of markers are associated with the audio, each indicating a break position of the playback,
The regeneration control means includes:
When the playback position of the audio advances to a position corresponding to the selected predetermined marker (hereinafter referred to as the first marker) , the playback means is instructed to display a marker (different from the selected predetermined marker ) ( Instructing to start playback from the position of the second marker (hereinafter referred to as the second marker) ,
This operation is repeated until a predetermined termination condition is met.
The first marker and the second marker are randomly selected from among the plurality of markers using random numbers.
An audio playback program characterized by:
請求項1において、
前記再生手段は、前記他の位置からの再生を開始する場合には、選択された所定のマーカーの後に位置する音声と、前記他の位置から始まる音声とをクロスフェードさせることを特徴とする音声再生プログラム。
In claim 1,
When starting playback from the other position, the reproduction means cross-fade the audio located after the selected predetermined marker and the audio starting from the other position. Regeneration program.
請求項1または請求項2において、
前記他の位置は、前記音声の先頭、または、選択された所定のマーカーを除くマーカーに対応する位置であることを特徴とする音声再生プログラム。
In claim 1 or claim 2 ,
The audio playback program is characterized in that the other position is the beginning of the audio or a position corresponding to a marker other than the selected predetermined marker.
請求項1から請求項3の何れかの音声再生プログラムを記憶した記憶部と、
前記音声再生プログラムを実行する制御部と、
を備えたことを特徴とする音声再生装置。
A storage unit storing the audio reproduction program according to any one of claims 1 to 3 ;
a control unit that executes the audio playback program;
An audio playback device comprising:
コンピュータを用いて音声を生成する音声生成方法において、
前記音声を再生する再生ステップを含み、
前記音声には、それぞれが前記再生の区切り位置を示す、複数のマーカーが対応づけられており、
前記再生ステップでは、前記音声の再生位置が、選択された所定のマーカー(以下、第1マーカーという)に対応した位置まで進んだ場合に、前記選択された所定のマーカーとは異なるマーカー(以下、第2マーカーという)の位置から再生を開始し、
前記再生ステップは、所定の終了条件が成立するまで繰り返されるものであり、前記第1マーカーおよび前記第2マーカーは、複数のマーカーの中から、乱数を用いてランダム選択する
ことを特徴とする音声生成方法。
In a voice generation method for generating voice using a computer,
a playback step of playing the audio;
A plurality of markers are associated with the audio, each indicating a break position of the playback,
In the reproduction step, when the reproduction position of the audio advances to a position corresponding to the selected predetermined marker (hereinafter referred to as the first marker), a marker different from the selected predetermined marker (hereinafter referred to as the first marker) is selected . Start playback from the position of the second marker) ,
The reproduction step is repeated until a predetermined termination condition is satisfied, and the first marker and the second marker are randomly selected from among the plurality of markers using random numbers.
A voice generation method characterized by:
JP2019204731A 2019-11-12 2019-11-12 Audio playback program, audio playback device, and audio generation method Active JP7381856B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019204731A JP7381856B2 (en) 2019-11-12 2019-11-12 Audio playback program, audio playback device, and audio generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019204731A JP7381856B2 (en) 2019-11-12 2019-11-12 Audio playback program, audio playback device, and audio generation method

Publications (2)

Publication Number Publication Date
JP2021074395A JP2021074395A (en) 2021-05-20
JP7381856B2 true JP7381856B2 (en) 2023-11-16

Family

ID=75897721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019204731A Active JP7381856B2 (en) 2019-11-12 2019-11-12 Audio playback program, audio playback device, and audio generation method

Country Status (1)

Country Link
JP (1) JP7381856B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101678271B1 (en) 2011-06-05 2016-11-21 애플 인크. Systems and methods for displaying notifications received from multiple applications

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194375A (en) 1998-12-25 2000-07-14 Roland Corp Waveform reproducing device
JP2003263166A (en) 2002-03-07 2003-09-19 Yamaha Corp Automatic playing device, automatic playing program and data structure of automatic playing data
JP2004117414A (en) 2002-09-24 2004-04-15 Korg Inc Device for music
JP2005148210A (en) 2003-11-12 2005-06-09 Konami Computer Entertainment Studios Inc Generating system, reproducing apparatus, generating method, reproducing method, and program
JP2007094060A (en) 2005-09-29 2007-04-12 Yamaha Corp Content reproducing device, content reproducing method, and content reproducing program
JP2019128492A (en) 2018-01-25 2019-08-01 株式会社カプコン Voice generation device and voice generation program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3173704B2 (en) * 1994-10-05 2001-06-04 株式会社河合楽器製作所 Automatic performance device
JP3617865B2 (en) * 1996-01-25 2005-02-09 ローランド株式会社 Automatic performance device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194375A (en) 1998-12-25 2000-07-14 Roland Corp Waveform reproducing device
JP2003263166A (en) 2002-03-07 2003-09-19 Yamaha Corp Automatic playing device, automatic playing program and data structure of automatic playing data
JP2004117414A (en) 2002-09-24 2004-04-15 Korg Inc Device for music
JP2005148210A (en) 2003-11-12 2005-06-09 Konami Computer Entertainment Studios Inc Generating system, reproducing apparatus, generating method, reproducing method, and program
JP2007094060A (en) 2005-09-29 2007-04-12 Yamaha Corp Content reproducing device, content reproducing method, and content reproducing program
JP2019128492A (en) 2018-01-25 2019-08-01 株式会社カプコン Voice generation device and voice generation program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一條 貴彰 TAKAAKI ICHIJOU,Unity サウンド エキスパート養成講座 初版 ,第1版,株式会社ボーンデジタル 村上 徹,2019年08月25日,pp. 72-76
特盛4 著作権フリーの名曲音源を収録 自由に使える!名曲JAZZ特選50 Special Project TOKUMORI-4,Mr.PC 第4巻 第7号 ,日本,株式会社晋遊舎,第4巻,p. 78

Also Published As

Publication number Publication date
JP2021074395A (en) 2021-05-20

Similar Documents

Publication Publication Date Title
JP2001190844A (en) Game system and computer readable recording medium for storing game program
JP7381856B2 (en) Audio playback program, audio playback device, and audio generation method
JP2017131409A (en) Game program and game system
US8496516B2 (en) Game device, tempo announcement method, information recording medium and program
JP5087292B2 (en) Game program and game system
JP7339512B2 (en) Audio playback program and audio playback device
US8282483B2 (en) Game system and computer program
JP3849132B2 (en) GAME DEVICE, GAME PROCESSING METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM
JP2013046661A (en) Music switching device in game machine
JP4372571B2 (en) GAME DEVICE AND GAME PROGRAM
JP7277777B2 (en) Sound reproduction program, sound reproduction device and sound generation method
JP7348505B2 (en) Audio playback program and audio playback device
JP6817281B2 (en) Voice generator and voice generator
JP2019198416A (en) Game program and game device
JP6740297B2 (en) Game program and game device
JP6840715B2 (en) Game programs and game devices
JP2021145838A (en) Processing system and program
JP3277829B2 (en) Competitive karaoke control method and game device by two-way communication of game device
JP4648707B2 (en) Program, information storage medium, and game system
JP6978694B2 (en) Game programs and game equipment
JP2019128492A (en) Voice generation device and voice generation program
JP7492104B2 (en) Audio playback program, audio playback device, and audio generation method
JP3694510B2 (en) GAME DEVICE, GAME CONTROL METHOD, AND PROGRAM
JP2013105085A (en) Information processing program, information processing device, information processing system, and information processing method
JP6953582B1 (en) Content playback program and content playback device

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20220118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230718

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230919

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: 20231003

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231016

R150 Certificate of patent or registration of utility model

Ref document number: 7381856

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150