JP7474130B2 - PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS - Google Patents

PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS Download PDF

Info

Publication number
JP7474130B2
JP7474130B2 JP2020107798A JP2020107798A JP7474130B2 JP 7474130 B2 JP7474130 B2 JP 7474130B2 JP 2020107798 A JP2020107798 A JP 2020107798A JP 2020107798 A JP2020107798 A JP 2020107798A JP 7474130 B2 JP7474130 B2 JP 7474130B2
Authority
JP
Japan
Prior art keywords
time point
volume
attenuation
sound
time
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
JP2020107798A
Other languages
Japanese (ja)
Other versions
JP2021057880A (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.)
Koei Tecmo Games Co Ltd
Original Assignee
Koei Tecmo Games 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 Koei Tecmo Games Co Ltd filed Critical Koei Tecmo Games Co Ltd
Publication of JP2021057880A publication Critical patent/JP2021057880A/en
Application granted granted Critical
Publication of JP7474130B2 publication Critical patent/JP7474130B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Description

本発明は、プログラム、情報処理方法、及び情報処理装置に関する。 The present invention relates to a program, an information processing method, and an information processing device.

従来、音データの音量を調整する、リミッタやコンプレッサが知られている(例えば、特許文献1を参照)。コンプレッサでは、例えば、入力された音データのある時点での音量が所定の閾値(Threshold)を超えた場合、超過した音量を所定の比率(Ratio)で圧縮することにより、音データの最大値を減少させる。これにより、最大音量と最小音量の差であるダイナミックレンジを圧縮する。 Conventionally, limiters and compressors that adjust the volume of sound data are known (see, for example, Patent Document 1). In a compressor, for example, when the volume of input sound data at a certain point in time exceeds a predetermined threshold, the compressor reduces the maximum value of the sound data by compressing the excess volume at a predetermined ratio. This compresses the dynamic range, which is the difference between the maximum and minimum volumes.

特開2009-272926号公報JP 2009-272926 A

しかしながら、従来技術では、例えば、入力された音データのある時点での音量が所定の閾値を超えてからコンプレッサによる圧縮処理が開始されるまでの間であるアタックタイムにおいて、ノイズが発生する場合がある等の問題がある。 However, conventional technology has problems such as noise being generated during the attack time, which is the period from when the volume of input sound data at a certain point exceeds a certain threshold to when the compressor starts compressing the sound.

そこで、一側面では、より適切に音量を調整することができる技術を提供することを目的とする。 Therefore, one objective of the present invention is to provide a technology that can adjust the volume more appropriately.

一つの案では、プログラムが、コンピュータに、出力される音データのうち、第1時点から第2時点までのデータを取得する第1取得処理と、前記音データによる前記第2時点での音量が所定の閾値を超える場合、前記第1時点から前記第2時点までの各時点における音量の減衰度を、時間の経過に従って増加する値にそれぞれ決定する第1決定処理と、前記音データの前記第1時点からの各時点の音を、前記第1決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる第1出力処理と、を実行させる。 In one proposal, the program causes the computer to execute a first acquisition process for acquiring data from a first time point to a second time point from the sound data to be output, a first determination process for determining the attenuation of the sound volume at each time point from the first time point to the second time point to a value that increases over time if the volume of the sound data at the second time point exceeds a predetermined threshold, and a first output process for outputting the sound at each time point from the first time point in the sound data at the volume of the attenuation at each time point determined in the first determination process.

一側面によれば、より適切に音量を調整することができる。 In one aspect, the volume can be adjusted more appropriately.

実施形態に係る情報処理装置のハードウェア構成例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of an information processing device according to an embodiment. 実施形態に係る情報処理装置の機能ブロック図である。FIG. 2 is a functional block diagram of the information processing device according to the embodiment. 実施形態に係る情報処理装置の処理の一例を示すフローチャートである。10 is a flowchart illustrating an example of processing of the information processing device according to the embodiment. 各種のパラメータの設定画面の一例について説明する図である。FIG. 11 is a diagram illustrating an example of a setting screen for various parameters. 実施形態に係る音データの振幅の波形の例について説明する図である。4A to 4C are diagrams illustrating an example of a waveform of the amplitude of sound data according to the embodiment. 実施形態に係る減衰度の推移の例について説明する図である。10A and 10B are diagrams illustrating an example of a transition of attenuation degree according to the embodiment.

以下、図面に基づいて本発明の実施形態を説明する。 The following describes an embodiment of the present invention with reference to the drawings.

実施形態に係る情報処理装置10は、例えば、家庭用ゲーム機、携帯用ゲーム機、スマートフォン、タブレット端末、パーソナルコンピュータ、及び音量調整装置等である。情報処理装置10は、例えば、音量を一定のレベル以下に抑えるリミッタ(Limiter)、及び音の強弱の差を縮小するコンプレッサ(Compressor)としての機能を有する。 The information processing device 10 according to the embodiment is, for example, a home game console, a portable game console, a smartphone, a tablet terminal, a personal computer, a volume control device, etc. The information processing device 10 has, for example, a function as a limiter that keeps the volume below a certain level, and a compressor that reduces the difference between loudness and softness of sound.

<ハードウェア構成>
図1は、実施形態に係る情報処理装置10のハードウェア構成例を示す図である。図1に示す情報処理装置10は、それぞれバスBで相互に接続されているドライブ装置100、補助記憶装置102、メモリ装置103、CPU104、インタフェース装置105、表示装置106、及び入力装置107等を有する。
<Hardware Configuration>
Fig. 1 is a diagram showing an example of a hardware configuration of an information processing device 10 according to an embodiment. The information processing device 10 shown in Fig. 1 includes a drive device 100, an auxiliary storage device 102, a memory device 103, a CPU 104, an interface device 105, a display device 106, and an input device 107, which are all connected to each other via a bus B.

情報処理装置10での処理を実現するゲームプログラムは、記録媒体101によって提供される。ゲームプログラムを記録した記録媒体101がドライブ装置100にセットされると、ゲームプログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、ゲームプログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされたゲームプログラムを格納すると共に、必要なファイルやデータ等を格納する。 The game program that realizes processing in the information processing device 10 is provided by a recording medium 101. When the recording medium 101 on which the game program is recorded is set in the drive device 100, the game program is installed from the recording medium 101 via the drive device 100 into the auxiliary storage device 102. However, the game program does not necessarily have to be installed from the recording medium 101, but may be downloaded from another computer via a network. The auxiliary storage device 102 stores the installed game program as well as necessary files, data, etc.

メモリ装置103は、例えば、DRAM(Dynamic Random Access Memory)、またはSRAM(Static Random Access Memory)等のメモリであり、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従って情報処理装置10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。表示装置106はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置107は、コントローラ等、キーボード及びマウス等、またはタッチパネル及びボタン等で構成され、様々な操作指示を入力させるために用いられる。 The memory device 103 is, for example, a memory such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory), and when an instruction to start a program is received, reads out the program from the auxiliary storage device 102 and stores it. The CPU 104 realizes functions related to the information processing device 10 according to the program stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network. The display device 106 displays a GUI (Graphical User Interface) or the like according to a program. The input device 107 is composed of a controller or the like, a keyboard and a mouse, or a touch panel and buttons, and is used to input various operation instructions.

なお、記録媒体101の一例としては、CD-ROM、DVDディスク、ブルーレイディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。 Note that examples of the recording medium 101 include portable recording media such as CD-ROMs, DVDs, Blu-ray discs, and USB memory. Examples of the auxiliary storage device 102 include hard disk drives (HDDs), solid state drives (SSDs), and flash memory. Both the recording medium 101 and the auxiliary storage device 102 correspond to computer-readable recording media.

<機能構成>
次に、図2を参照し、情報処理装置10の機能構成について説明する。図2は、実施形態に係る情報処理装置10の機能ブロック図である。
<Functional configuration>
Next, the functional configuration of the information processing device 10 will be described with reference to Fig. 2. Fig. 2 is a functional block diagram of the information processing device 10 according to the embodiment.

情報処理装置10は、記憶部11を有する。記憶部11は、例えば、補助記憶装置102等を用いて実現される。記憶部11は、音データ等を記憶する。 The information processing device 10 has a memory unit 11. The memory unit 11 is realized, for example, using an auxiliary storage device 102 or the like. The memory unit 11 stores sound data, etc.

また、情報処理装置10は、受付部12、取得部13、決定部14、調整部15、制御部16、及び出力部17を有する。これら各部は、情報処理装置10にインストールされた1以上のプログラムが、情報処理装置10のCPU104に実行させる処理により実現される。 The information processing device 10 also has a reception unit 12, an acquisition unit 13, a determination unit 14, an adjustment unit 15, a control unit 16, and an output unit 17. Each of these units is realized by a process executed by the CPU 104 of the information processing device 10 using one or more programs installed in the information processing device 10.

受付部12は、ユーザ等からの各種の入力を受け付ける。取得部13は、記憶部11に記憶されている音データを取得する。 The reception unit 12 receives various inputs from a user, etc. The acquisition unit 13 acquires sound data stored in the memory unit 11.

決定部14は、音データの各時点における音量の減衰度を決定する。なお、音量の減衰度は、例えば、音量を減衰させる割合等を示す値でもよい。 The determination unit 14 determines the degree of attenuation of the volume at each point in time of the sound data. Note that the degree of attenuation of the volume may be, for example, a value indicating the rate at which the volume is attenuated.

調整部15は、例えば、決定部14により決定された減衰度、及びユーザにより指定された音量レベル等に基づいて、音データの各時点における音量を調整する。 The adjustment unit 15 adjusts the volume of the sound data at each point in time, for example, based on the degree of attenuation determined by the determination unit 14 and the volume level specified by the user.

制御部16は、例えば、ゲーム等の状況に応じて、各部の制御を行う。 The control unit 16 controls each part depending on, for example, the situation of the game, etc.

出力部17は、音データの音を、調整部15により調整された音量でスピーカ等の音出力装置に出力する。 The output unit 17 outputs the sound of the sound data to a sound output device such as a speaker at the volume adjusted by the adjustment unit 15.

<処理>
次に、図3及び図4を参照して、情報処理装置10の処理について説明する。図3は、実施形態に係る情報処理装置10の処理の一例を示すフローチャートである。図4は、各種のパラメータの設定画面の一例について説明する図である。
<Processing>
Next, the processing of the information processing device 10 will be described with reference to Fig. 3 and Fig. 4. Fig. 3 is a flowchart showing an example of the processing of the information processing device 10 according to the embodiment. Fig. 4 is a diagram explaining an example of a setting screen for various parameters.

ステップS1において、受付部12は、各種のパラメータの設定を受け付ける。ここで、受付部12は、例えば、ユーザに指定された、先読み区間の時間長、音量上限値(Threshold、「所定の閾値」の一例。)、音量レベル、及び音データの種別等の設定を受け付けてもよい。なお、先読み区間については後述する。音量上限値は、情報処理装置10から出力され、スピーカ等の音出力装置に入力される音の音量の最大値である。 In step S1, the reception unit 12 receives settings of various parameters. Here, the reception unit 12 may receive settings such as the time length of the look-ahead section, the upper volume limit (Threshold, an example of a "predetermined threshold"), the volume level, and the type of sound data, all of which are specified by the user. The look-ahead section will be described later. The upper volume limit is the maximum volume of the sound output from the information processing device 10 and input to a sound output device such as a speaker.

図4の例では、受付部12は、設定画面401において、音量レベルを指定するためのスライダ411、音量上限値を指定するためのスライダ421、及び先読み区間の時間長を指定するためのスライダ431を表示させている。また、受付部12は、音データの種別を指定するためのチェックボックス441も表示させている。図4の例では、スライダ421で指定された値が大きいほど、音量上限値が大きく設定される。また、スライダ431で指定された値が大きいほど、先読み区間の時間長が長く設定される。 In the example of FIG. 4, the reception unit 12 displays on the setting screen 401 a slider 411 for specifying a volume level, a slider 421 for specifying a volume upper limit value, and a slider 431 for specifying a time length of the look-ahead section. The reception unit 12 also displays a check box 441 for specifying a type of sound data. In the example of FIG. 4, the larger the value specified by the slider 421, the larger the volume upper limit value is set. Also, the larger the value specified by the slider 431, the longer the time length of the look-ahead section is set.

音量レベルは、情報処理装置10から出力され、スピーカ等の音出力装置に入力される音の音量のレベルである。音量レベルは、例えば、1から5の段階で指定されてもよい。この場合、調整部15は、音量レベル「3」が指定された場合は、音データにより規定された音量から変更せず、音量レベル「4」が指定された場合は、音データにより規定された音量を予め所定値(例えば、10%)だけ増加されるようにしてもよい。 The volume level is the level of the volume of the sound output from the information processing device 10 and input to a sound output device such as a speaker. The volume level may be specified, for example, on a scale of 1 to 5. In this case, when a volume level of "3" is specified, the adjustment unit 15 may not change the volume defined by the sound data, and when a volume level of "4" is specified, the adjustment unit 15 may increase the volume defined by the sound data by a predetermined value (for example, 10%).

また、調整部15は、音量レベルの値が大きいほど、情報処理装置10から出力される音の平均音量が大きくなるようにされてもよい。以下では、指定された音量レベルに応じて、音データで規定された音量が増減された後の音量のことを、単に、音データの音量と称する。音データの音量は、例えば、指定された音量レベルに応じた係数と、音データで規定された音量とを乗算することにより決定されてもよい。 The adjustment unit 15 may also be configured to increase the average volume of the sound output from the information processing device 10 as the volume level value increases. Hereinafter, the volume after the volume specified in the sound data has been increased or decreased according to the specified volume level will be simply referred to as the volume of the sound data. The volume of the sound data may be determined, for example, by multiplying the volume specified in the sound data by a coefficient according to the specified volume level.

音データの種別は、以下の処理の対象とされる音データの種別である。音データの種別には、例えば、「セリフ」、「BGM」、及び「効果音」等の種別が含まれてもよい。この場合、ユーザにより音データの種別として「セリフ」のみが指定された場合、例えば、ゲームの状況等に応じて出力される各音データのうち、セリフの音データのみが以下の処理の対象とされてもよい。これにより、例えば、ユーザは、セリフの音のみを聞き取り易くすることができる。なお、音データの種別毎に、読み区間の時間長、音量上限値、及び音量レベルを指定できるようにしてもよい。 The type of sound data is the type of sound data that is the subject of the following processing. The type of sound data may include, for example, types such as "dialogue", "BGM", and "sound effects". In this case, if only "dialogue" is specified by the user as the type of sound data, for example, only the sound data of the dialogue may be subject to the following processing among the various sound data output according to the game situation, etc. This allows, for example, the user to easily hear only the sound of the dialogue. Note that it may also be possible to specify the time length of the reading section, the upper volume limit, and the volume level for each type of sound data.

なお、音出力装置は、情報処理装置10に内蔵されてもよいし、別体とされてもよい。別体の場合、情報処理装置10は例えば、ゲーム機等であり、音出力装置は、例えば、ゲーム機からの映像を表示し、音声を出力するテレビ装置等でもよい。 The sound output device may be built into the information processing device 10 or may be separate. If it is separate, the information processing device 10 may be, for example, a game console, and the sound output device may be, for example, a television device that displays images from the game console and outputs sound.

続いて、受付部12は、音データを再生する要求を受け付ける(ステップS2)。ここで、例えば、制御部16により、ゲームの状況等に応じて、所定の音データの再生が指示されてもよい。または、例えば、ユーザの操作等に応答して、所定の音データの再生が指示されてもよい。以降の処理は、音データを再生中に、リアルタイムで実行されてもよい。 Then, the reception unit 12 receives a request to play back sound data (step S2). Here, for example, the control unit 16 may instruct the playback of specific sound data in accordance with the game situation or the like. Or, for example, the playback of specific sound data may be instructed in response to a user operation or the like. Subsequent processing may be executed in real time while the sound data is being played back.

続いて、決定部14は、各種のパラメータを初期化する(ステップS3)。ここで、決定部14は、音の各種処理を行うための各種のパラメータの値を初期化する。決定部14は、例えば、ステップS1の処理でユーザに指定されたパラメータについては、ユーザに指定された値を設定する。また、決定部14は、その他のパラメータについては、予め設定されている初期値を設定する。 Then, the determination unit 14 initializes various parameters (step S3). Here, the determination unit 14 initializes the values of various parameters for performing various sound processing. For example, for parameters specified by the user in the processing of step S1, the determination unit 14 sets the value specified by the user. Furthermore, for other parameters, the determination unit 14 sets initial values that have been set in advance.

また、決定部14は、再生を指示された音データの先頭の時点を、処理対象の先読み区間の開始時点として設定する。また、決定部14は、処理対象とする先読み区間内の各時点における減衰係数の値を初期値である「1」に設定する。 The determination unit 14 also sets the beginning of the sound data instructed to be played as the start of the read-ahead section to be processed. The determination unit 14 also sets the value of the attenuation coefficient at each time point within the read-ahead section to be processed to the initial value of "1."

続いて、取得部13は、再生を指示された音データのうち、処理対象とする先読み区間内のデータを取得する(ステップS4)。ここで、取得部13は、再生を指示された音データのうち、処理対象の先読み区間の開始時点から、ユーザに設定された先読み区間の時間長分のデータを読み出す。 Next, the acquisition unit 13 acquires data within the read-ahead section to be processed from the sound data instructed to be played (step S4). Here, the acquisition unit 13 reads data from the sound data instructed to be played, from the start point of the read-ahead section to be processed, for the time length of the read-ahead section set by the user.

続いて、決定部14は、処理対象の先読み区間内に、音データの音量を低下(圧縮)させるべき時点(以下で、「超過時点」とも称する。)が存在するか否かを判定する(ステップS5)。ここで、決定部14は、例えば、処理対象の先読み区間内の各時点のうち、各時点の減衰係数を音データの各時点の音量に乗算した値が音量上限値(Threshold)を超える時点が存在するか否かを判定してもよい。この場合、決定部14は、例えば、処理対象の先読み区間内の各時点について、処理対象の先読み区間内の各時点における減衰係数と、処理対象の先読み区間内の各時点における音データの音量とを乗算した値が、音量上限値を超えるか否かを判定してもよい。そして、決定部14は、音量上限値を超える時点が有る場合、当該時点を超過時点としてもよい。 Then, the determination unit 14 determines whether or not there is a time point in the look-ahead section to be processed at which the volume of the sound data should be reduced (compressed) (hereinafter also referred to as an "exceeding time point") (step S5). Here, the determination unit 14 may determine, for example, whether or not there is a time point in the look-ahead section to be processed at which the value obtained by multiplying the attenuation coefficient of each time point by the volume of the sound data at each time point exceeds a volume upper limit value (Threshold). In this case, the determination unit 14 may determine, for example, for each time point in the look-ahead section to be processed, whether or not the value obtained by multiplying the attenuation coefficient at each time point in the look-ahead section to be processed by the volume of the sound data at each time point in the look-ahead section to be processed exceeds the volume upper limit value. Then, if there is a time point at which the volume upper limit value is exceeded, the determination unit 14 may determine that time point as an exceeding time point.

(圧縮処理(減衰処理))
超過時点が存在する場合(ステップS5でYES)、決定部14は、超過時点の音データの音量、及び音量上限値等に応じた目標減衰係数を算出する(ステップS6)。ここで、決定部14は、例えば、超過時点の音量を、音量上限値以下に減衰させる減衰係数を目標減衰係数として算出してもよい。この場合、決定部14は、例えば、超過時点の音量が、音量上限値の1.5倍である場合、目標減衰係数は0.66(=1/1.5)(目標減衰度は33%)と算出してもよい。または、決定部14は、超過時点の音量が音量上限値を所定程度以上超えないようにする減衰係数を目標減衰係数として算出してもよい。
(Compression processing (attenuation processing))
If an overshoot time point exists (YES in step S5), the determination unit 14 calculates a target attenuation coefficient according to the volume of the sound data at the overshoot time point, the volume upper limit value, etc. (step S6). Here, the determination unit 14 may calculate, for example, an attenuation coefficient that attenuates the volume at the overshoot time point to below the volume upper limit value as the target attenuation coefficient. In this case, for example, when the volume at the overshoot time point is 1.5 times the volume upper limit value, the determination unit 14 may calculate the target attenuation coefficient to be 0.66 (= 1/1.5) (target attenuation degree is 33%). Alternatively, the determination unit 14 may calculate, as the target attenuation coefficient, an attenuation coefficient that prevents the volume at the overshoot time point from exceeding the volume upper limit value by a predetermined amount or more.

続いて、決定部14は、超過時点、及び算出した目標減衰係数に基づいて、処理対象の先読み区間内の各時点での減衰係数を決定する(ステップS7)。ここで、決定部14は、例えば、処理対象の先読み区間の開始時点から超過時点までの時間の経過に従って、当該開始時点に対して設定されている減衰係数の値から、目標減衰係数の値まで、線形的または非線形的で単調(例えば、単調減少)に値が変化するように、各時点での減衰係数を決定してもよい。 Then, the determination unit 14 determines the attenuation coefficient at each time point in the look-ahead section to be processed based on the exceedance time point and the calculated target attenuation coefficient (step S7). Here, the determination unit 14 may determine the attenuation coefficient at each time point so that the value changes linearly or nonlinearly and monotonically (e.g., monotonically decreasing) from the value of the attenuation coefficient set for the start time point to the value of the target attenuation coefficient as time passes from the start time point of the look-ahead section to be processed to the exceedance time point.

また、決定部14は、処理対象の先読み区間内の各時点における減衰係数の値を、決定した各減衰係数の値に更新して記憶しておく。 The determination unit 14 also updates the values of the attenuation coefficients at each time point within the pre-reading interval to be processed to the determined values of each attenuation coefficient and stores them.

続いて、調整部15は、処理対象の先読み区間の開始時点に対して決定された減衰係数と、先読み区間の開始時点における音データの音量とを乗算した音量に調整し、出力部17により、処理対象の先読み区間の開始時点の音を音出力装置に出力させる(ステップS8)。これにより、スピーカ等の音出力装置から、処理対象の先読み区間の開始時点の音が出力される。 Then, the adjustment unit 15 adjusts the volume by multiplying the attenuation coefficient determined for the start point of the look-ahead section to be processed by the volume of the sound data at the start point of the look-ahead section, and causes the output unit 17 to output the sound at the start point of the look-ahead section to be processed to the sound output device (step S8). As a result, the sound at the start point of the look-ahead section to be processed is output from a sound output device such as a speaker.

続いて、制御部16は、再生を指示された音データの再生を終了するか否かを判定する(ステップS9)。ここで、制御部16は、例えば、先読み区間の開始時点が、再生を指示された音データの終了時点である場合、音データの再生を終了すると判定してもよい。 Next, the control unit 16 determines whether or not to end the playback of the instructed sound data (step S9). Here, the control unit 16 may determine to end the playback of the sound data, for example, if the start point of the read-ahead section is the end point of the instructed sound data to be played.

また、制御部16は、例えば、ゲームの状況等に応じて、音データの再生の終了が指示された場合や、ユーザの操作等に応答して、音データの再生の終了が指示された場合等も、音データの再生を終了すると判定してもよい。 The control unit 16 may also determine to end the playback of the sound data when, for example, an instruction to end the playback of the sound data is given depending on the game situation, etc., or when an instruction to end the playback of the sound data is given in response to a user operation, etc.

再生を終了しないと判定した場合(ステップS9でNO)、取得部13は、処理対象の先読み区間の開始時点の次の時点を、処理対象の先読み区間の開始時点とし、再生を指示された音データのうち、先読み区間内のデータを処理対象とし(ステップS10)、ステップS4の処理に進む。 If it is determined that playback should not be terminated (NO in step S9), the acquisition unit 13 sets the next point in time after the start point of the read-ahead section to be processed as the start point of the read-ahead section to be processed, and processes the data within the read-ahead section of the sound data instructed to be played (step S10), and proceeds to processing in step S4.

一方、再生を終了すると判定した場合(ステップS9でYES)、制御部16は、音データの再生処理を終了させる。 On the other hand, if it is determined that playback should be ended (YES in step S9), the control unit 16 ends the playback process of the sound data.

一方、ステップS5の判定で、超過時点が存在しない場合(ステップS5でNO)、決定部14は、リリース処理を行うか否かを判定する(ステップS11)。ここで、決定部14は、例えば、処理対象の先読み区間内において、減衰係数を乗算しない音量の値が音量上限値(Threshold)を超える時点(以下で、「非減衰超過時点」とも称する。)が存在するか否かを判定してもよい。この場合、決定部14は、例えば、処理対象の先読み区間内の各時点について、処理対象の先読み区間内の各時点における音データの音量が、音量上限値を超えるか否かを判定し、ある時点での値が音量上限値を超える場合、非減衰超過時点が存在すると判定してもよい。 On the other hand, if the determination in step S5 indicates that there is no exceedance time point (NO in step S5), the determination unit 14 determines whether or not to perform release processing (step S11). Here, the determination unit 14 may determine, for example, whether or not there is a time point within the look-ahead section to be processed at which the volume value not multiplied by the attenuation coefficient exceeds the volume upper limit value (Threshold) (hereinafter also referred to as a "non-attenuation exceedance time point"). In this case, the determination unit 14 may determine, for example, for each time point within the look-ahead section to be processed, whether the volume of the sound data at each time point within the look-ahead section to be processed exceeds the volume upper limit value, and may determine that there is a non-attenuation exceedance time point if the value at a certain time point exceeds the volume upper limit value.

そして、決定部14は、非減衰超過時点が存在する場合、リリース処理を行わないと判定してもよい。また、決定部14は、非減衰超過時点が存在しない場合、リリース処理を行うと判定してもよい。 Then, the decision unit 14 may determine not to perform the release process if a non-attenuation exceedance time point exists. The decision unit 14 may also determine to perform the release process if a non-attenuation exceedance time point does not exist.

リリース処理を行わないと判定した場合(ステップS11でNO)、決定部14は、現在の目標減衰係数の値を、以降で処理対象とする先読み区間内の各時点における減衰係数の初期値として設定し(ステップS12)、ステップS8の処理に進む。 If it is determined that the release process is not to be performed (NO in step S11), the decision unit 14 sets the current target damping coefficient value as the initial value of the damping coefficient at each time point in the look-ahead section to be processed thereafter (step S12), and proceeds to the processing of step S8.

(リリース処理)
一方、リリース処理を行うと判定した場合(ステップS11でYES)、決定部14は、所定時点における目標減衰係数を「1」(目標減衰度を0%)と決定する(ステップS13)。ここで、決定部14は、例えば、当該所定時点を、処理対象の先読み区間の開始時点から所定時間(例えば、1ms。以下で、適宜、「リリース時間」とも称する。)後の時点としてもよい。
(Release Processing)
On the other hand, when it is determined that the release process is to be performed (YES in step S11), the determination unit 14 determines the target damping coefficient at the predetermined time point to be "1" (target damping degree to be 0%) (step S13). Here, the determination unit 14 may set the predetermined time point to be a time point that is a predetermined time (for example, 1 ms; hereinafter, also referred to as "release time") after the start of the read-ahead section to be processed.

続いて、決定部14は、当該所定時点、及び目標減衰係数に基づいて、処理対象の先読み区間内の各時点での減衰係数を決定し(ステップS14)、ステップS8の処理に進む。ここで、決定部14は、例えば、処理対象の先読み区間の開始時点から当該所定時点までの時間の経過に従って、当該開始時点に対して設定されている減衰係数の値から、目標減衰係数の値まで、線形的または非線形的な単調増加で値が変化するように、各時点での減衰係数を決定してもよい。そして、決定部14は、目標減衰係数の値である「1」を、当該所定時点以降の各時点における減衰係数の初期値として設定してもよい。 Then, the determination unit 14 determines the attenuation coefficient at each time point in the look-ahead section to be processed based on the specified time point and the target attenuation coefficient (step S14), and proceeds to the processing of step S8. Here, the determination unit 14 may determine the attenuation coefficient at each time point so that the value changes linearly or nonlinearly in a monotonically increasing manner from the value of the attenuation coefficient set for the start time point to the value of the target attenuation coefficient as time passes from the start time point of the look-ahead section to be processed to the specified time point. The determination unit 14 may then set the value of the target attenuation coefficient, "1", as the initial value of the attenuation coefficient at each time point after the specified time point.

≪処理の具体例≫
次に、図5A、及び図5Bを参照し、図3の処理の具体例について説明する。図5Aは、実施形態に係る音データの振幅の波形の例について説明する図である。図5Bは、実施形態に係る減衰度の推移の例について説明する図である。
<<Examples of Processing>>
Next, a specific example of the process in FIG. 3 will be described with reference to FIG. 5A and FIG. 5B. FIG. 5A is a diagram for explaining an example of a waveform of the amplitude of sound data according to the embodiment. FIG. 5B is a diagram for explaining an example of a transition of the attenuation degree according to the embodiment.

(先読み区間の減衰係数が1の場合に音量上限値を超える場合の圧縮処理)
図5Aの例において、音データのうち、第1時点501より前までの音を再生し、第1時点501から第2時点502までが今回の処理対象の先読み区間503であるとし、今回の処理対象の先読み区間503内の各時点における減衰係数の値は「1」(減衰度は0%)に設定されているものとする。
(Compression process when the attenuation coefficient of the look-ahead section exceeds the upper volume limit)
In the example of Figure 5A, sound data up to a first point in time 501 is played back, and the look-ahead section 503 to be processed currently is defined as the section from the first point in time 501 to the second point in time 502, and the value of the attenuation coefficient at each point in the look-ahead section 503 to be processed currently is set to "1" (attenuation degree is 0%).

なお、例えば、図3のステップS3の処理で、処理対象の先読み区間の減衰係数の値が初期化された場合、及び図3のステップS13の処理が行われた後、所定時間内に超過時点が出現しなかった場合に、今回の処理対象の先読み区間503内の各時点における減衰係数の値は「1」に設定されている。 For example, if the value of the attenuation coefficient for the look-ahead section to be processed is initialized in the processing of step S3 in FIG. 3, and if an exceedance point does not occur within a predetermined time after the processing of step S13 in FIG. 3 is performed, the value of the attenuation coefficient at each point in the look-ahead section 503 to be processed this time is set to "1".

図5Aの例では、今回の処理対象の先読み区間503内の各時点の音データの音量に、各時点における減衰係数である「1」を乗算した値は、第2時点502で、音量上限値に対応する振幅である上限値500を超過している。そのため、第2時点502が超過時点とされる。 In the example of FIG. 5A, the value obtained by multiplying the volume of the sound data at each time point within the currently-processed look-ahead section 503 by the attenuation coefficient "1" at each time point exceeds the upper limit value 500, which is the amplitude corresponding to the upper volume limit value, at the second time point 502. Therefore, the second time point 502 is determined to be the exceeding time point.

この場合、図3のステップS6の処理で、決定部14は、音量上限値を、第2時点502での音データの音量で除算した値を、超過時点である第2時点502での目標減衰係数の値551として算出してもよい。これにより、第2時点502での音データの音量を、音量上限値以下の音量に減衰させることができる。 In this case, in the process of step S6 in FIG. 3, the determination unit 14 may calculate the value obtained by dividing the volume upper limit value by the volume of the sound data at the second time point 502 as the target attenuation coefficient value 551 at the second time point 502, which is the exceedance time point. This allows the volume of the sound data at the second time point 502 to be attenuated to a volume equal to or lower than the volume upper limit value.

そして、図3のステップS7の処理で、決定部14は、図5Bに示すように、今回の処理対象の先読み区間503の開始時点である第1時点501から超過時点である第2時点502までの各時点の減衰係数の値を、「1」から値551まで、時間の経過に従って直線的に減少(減衰度は増加)させてもよい。これにより、今回の処理対象の先読み区間503内の各時点における音データの音量は、音量上限値を超えない値に減衰されて出力される。そのため、ユーザへの違和感を軽減しながら、最大音量と最小音量の差であるダイナミックレンジを圧縮させることができる。 In the process of step S7 in FIG. 3, the determination unit 14 may linearly decrease (attenuation degree increases) the value of the attenuation coefficient at each time point from "1" to value 551 as time passes, from the first time point 501, which is the start time of the currently-processed look-ahead section 503, to the second time point 502, which is the exceedance time point, as shown in FIG. 5B. As a result, the volume of the sound data at each time point within the currently-processed look-ahead section 503 is attenuated to a value that does not exceed the upper volume limit and output. Therefore, it is possible to compress the dynamic range, which is the difference between the maximum volume and the minimum volume, while reducing discomfort felt by the user.

(先読み区間の減衰係数が1未満の場合に音量上限値を超える場合の圧縮処理)
図5Aの例において、音データのうち、第3時点511より前までの音を再生し、第3時点511から第4時点512までが今回の処理対象の先読み区間513であるとする。なお、第3時点511は、第1時点501から第2時点502までの間の時点である。上述した区間503に対する処理により、今回の処理対象の先読み区間513内の各時点における減衰係数の値は1未満(減衰度は0%より大きい)に設定されているものとする。
(Compression process when the attenuation coefficient of the look-ahead section is less than 1 and exceeds the upper volume limit)
5A, sound data up to a third time point 511 is played back, and the third time point 511 to a fourth time point 512 is the currently-processed look-ahead section 513. The third time point 511 is a time point between the first time point 501 and the second time point 502. It is assumed that the value of the attenuation coefficient at each time point in the currently-processed look-ahead section 513 is set to less than 1 (attenuation is greater than 0%) by the processing of the above-described section 503.

図5Aの例では、今回の処理対象の先読み区間513内の各時点の音データの音量に、各時点における減衰係数を乗算した値は、第4時点512で、上限値500を超過する。そのため、第4時点512も超過時点とされる。 In the example of FIG. 5A, the value obtained by multiplying the volume of the sound data at each time point within the currently-processed look-ahead section 513 by the attenuation coefficient at each time point exceeds the upper limit value 500 at the fourth time point 512. Therefore, the fourth time point 512 is also considered to be an exceeding time point.

この場合、図3のステップS6の処理で、決定部14は、音量上限値を、第4時点512での音データの音量で除算した値を、超過時点である第4時点512での目標減衰係数の値552として算出してもよい。これにより、第4時点512での音データの音量を、音量上限値以下の音量に減衰させることができる。 In this case, in the process of step S6 in FIG. 3, the determination unit 14 may calculate the target attenuation coefficient value 552 at the exceeding point in time, ie, the fourth point in time 512, as a value obtained by dividing the volume upper limit value by the volume of the sound data at the fourth point in time 512. This allows the volume of the sound data at the fourth point in time 512 to be attenuated to a volume equal to or lower than the volume upper limit value.

そして、図3のステップS7の処理で、決定部14は、図5Bに示すように、今回の処理対象の先読み区間513の開始時点である第3時点511から超過時点である第4時点512までの各時点の減衰係数を、第3時点511での値553から値552まで、時間の経過に従って直線的に減少(減衰度は増加)させる。これにより、例えば、再生する音データにおいて、音データの音量が徐々に大きくなるように記録されている場合に、音データの音量が所定の音量上限値を超えないようにしながら、ダイナミックレンジの圧縮率を高い状態に維持することができる。 Then, in the process of step S7 in FIG. 3, the determination unit 14 linearly decreases (the degree of attenuation increases) the attenuation coefficient at each time point from the third time point 511, which is the start time of the currently-processed look-ahead section 513, to the fourth time point 512, which is the exceedance time point, from value 553 at the third time point 511 to value 552 as time passes, as shown in FIG. 5B. This makes it possible to maintain a high dynamic range compression rate while preventing the volume of the sound data from exceeding a predetermined volume upper limit, for example, when the sound data to be played back is recorded so that the volume of the sound data gradually increases.

(リリース処理)
図5Aの例において、音データのうち、第5時点521より前までの音を再生し、第5時点521から第6時点522までが今回の処理対象の先読み区間523であるとする。なお、第5時点521は、第4時点512より後の時点である。上述した区間513に対する処理を行った以降の図3のステップS12の処理により、今回の処理対象の先読み区間523内の各時点における減衰係数の値は、第4時点512における減衰係数の値552に設定されている。
(Release Processing)
In the example of Fig. 5A, sound from the sound data up to the fifth time point 521 is played back, and the fifth time point 521 to the sixth time point 522 is the currently-processed look-ahead section 523. The fifth time point 521 is a time point after the fourth time point 512. By the processing of step S12 in Fig. 3 after the processing of the above-mentioned section 513, the value of the attenuation coefficient at each time point in the currently-processed look-ahead section 523 is set to the attenuation coefficient value 552 at the fourth time point 512.

図5Aの例では、今回の処理対象の先読み区間523内の各時点の音データの音量に、各時点における減衰係数を乗算した値は、いずれの時点においても、音量上限値を超過しない。また、今回の処理対象の先読み区間523内の各時点の音データの音量は、いずれの時点においても、音量上限値を超過しない。 In the example of FIG. 5A, the value obtained by multiplying the volume of the sound data at each time point in the look-ahead section 523 currently being processed by the attenuation coefficient at each time point does not exceed the volume upper limit at any time point. In addition, the volume of the sound data at each time point in the look-ahead section 523 currently being processed does not exceed the volume upper limit at any time point.

この場合、図3のステップS13、及びステップS14の処理で、決定部14は、第5時点521から第6時点522以前の時点524までの各時点における音量の減衰度を、第4時点512での減衰係数の値552から「1」まで、時間の経過に従って増加(減衰度は減少)する値にそれぞれ決定する。なお、減衰係数を1に戻すまでの時間長である第5時点521から時点524までの時間長は、予め設定されていてもよい。これにより、先読み区間において音量上限値を超えなくなった場合は、比較的急速に、元の音量まで戻すことができる。 In this case, in the processes of steps S13 and S14 in FIG. 3, the determination unit 14 determines the volume attenuation at each time point from the fifth time point 521 to the time point 524 before the sixth time point 522 to a value that increases (the attenuation decreases) over time from the attenuation coefficient value 552 at the fourth time point 512 to "1". Note that the time length from the fifth time point 521 to time point 524, which is the time length until the attenuation coefficient is returned to 1, may be set in advance. This allows the volume to be returned to its original state relatively quickly when the volume upper limit value is no longer exceeded in the look-ahead section.

((先読み区間における音量に基づいてリリース時間等を決定する例))
図3のステップS13、及びステップS14の処理で、決定部14は、各時点の先読み区間における音量に基づいて、リリース時間等を決定してもよい。これにより、例えば、情報処理装置10がリミッタとして用いられる場合に、音質をより適切に保ちながら、音量を調整することができる。
((An example of determining the release time, etc. based on the volume in the look-ahead section))
3, the determination unit 14 may determine the release time, etc., based on the volume in the read-ahead section at each time point. This allows the volume to be adjusted while maintaining the sound quality more appropriately, for example, when the information processing device 10 is used as a limiter.

この場合、決定部14は、例えば、後に続く音の音量が大きいほどリリース時間長を長く決定してもよい。また、決定部14は、例えば、後に続く音の音量が小さいほどリリース時間長を短く決定してもよい。 In this case, the determination unit 14 may determine the release time length to be longer, for example, as the volume of the subsequent sound is larger. Also, the determination unit 14 may determine the release time length to be shorter, for example, as the volume of the subsequent sound is smaller.

この場合、決定部14は、例えば、今回の処理対象の先読み区間の開始時点における音量の減衰係数の値vol_ratioを、以下の式(1)により決定してもよい。 In this case, the determination unit 14 may determine, for example, the value vol_ratio of the volume attenuation coefficient at the start of the currently-processed read-ahead section by the following formula (1):

vol_ratio = (Threshold / peak_max - vol_ratio_previous)/(ReleaseTime *sample_rate) + vol_ratio_previous・・・(1)
ここで、Thresholdは上述した音量上限値、peak_maxは今回の処理対象の先読み区間の各時点における音量の最大値、vol_ratio_previousは前回の処理対象の先読み区間の開始時点における音量の減衰係数の値、ReleaseTimeはリリース時間の基準値(例えば、1ms)、sample_rateは単位時間(例えば、1s)当たりの標本化数(サンプリング周波数、サンプリングレート、サンプルレート)である。
vol_ratio = (Threshold / peak_max - vol_ratio_previous)/(ReleaseTime *sample_rate) + vol_ratio_previous ... (1)
Here, Threshold is the volume upper limit value mentioned above, peak_max is the maximum volume value at each point in the look-ahead section currently being processed, vol_ratio_previous is the value of the volume attenuation coefficient at the start of the previous look-ahead section to be processed, ReleaseTime is the reference value of the release time (e.g., 1 ms), and sample_rate is the number of samples (sampling frequency, sampling rate, sample rate) per unit time (e.g., 1 s).

なお、決定部14は、vol_ratioの値が1以上となった場合は、vol_ratioの値を1として、リリース処理を終了してもよい。これにより、vol_ratioの値は0から1の範囲となる。また、決定部14は、例えば、今回の処理対象の先読み区間のpeak_maxの値が、前回の処理対象の先読み区間のpeak_maxの値と異なる場合、式(1)に基づいて以降の各時点における音量の減衰係数の値vol_ratioの値を再度決定してもよい。 When the value of vol_ratio becomes 1 or more, the determination unit 14 may set the value of vol_ratio to 1 and terminate the release process. As a result, the value of vol_ratio is in the range from 0 to 1. Furthermore, when, for example, the value of peak_max of the look-ahead section to be processed this time is different from the value of peak_max of the look-ahead section to be processed previously, the determination unit 14 may re-determine the value of the volume attenuation coefficient vol_ratio at each subsequent time point based on formula (1).

式(1)によれば、peak_maxがThresholdと同じ値である場合は、リリース時間は基準値となり、リリース時間の間において直線的に音量の減衰係数の値vol_ratioが増加(減衰度は減少)される。また、peak_maxがThresholdよりも小さい場合、リリース時間は基準値よりも短くなり、リリース時間の間において非線形的な単調増加で音量の減衰係数の値が増加される。また、peak_maxがThresholdよりも大きい場合、リリース時間は基準値よりも長くなり、リリース時間の間において非線形的な単調増加で音量の減衰係数の値が増加される。 According to formula (1), when peak_max is the same value as Threshold, the release time becomes the reference value, and the volume attenuation coefficient value vol_ratio increases linearly (attenuation decreases) during the release time. Also, when peak_max is smaller than Threshold, the release time becomes shorter than the reference value, and the volume attenuation coefficient value increases nonlinearly and monotonically during the release time. Also, when peak_max is larger than Threshold, the release time becomes longer than the reference value, and the volume attenuation coefficient value increases nonlinearly and monotonically during the release time.

(リリース処理期間中の圧縮処理)
図5Aの例において、音データのうち、第7時点531より前までの音を再生し、第7時点531から第8時点532までが今回の処理対象の先読み区間533であるとする。なお、第7時点531は、第5時点521から第6時点522までの間の時点である。
(Compression during release processing)
5A , sound data up to a seventh time point 531 is played back, and the read-ahead section 533 to be processed this time is from the seventh time point 531 to the eighth time point 532. The seventh time point 531 is a time point between the fifth time point 521 and the sixth time point 522.

上述した区間523に対する処理を行った以降の図3のステップS13、及びステップS14の処理により、今回の処理対象の先読み区間533内の各時点における減衰係数の値は、時点524以前の各時点では、第4時点512での減衰係数の値552から「1」まで時間の経過に従って増加する値に設定されている。また、時点524より後の各時点では、「1」に設定されている。 By the processing of steps S13 and S14 in FIG. 3 after the processing of section 523 described above, the value of the attenuation coefficient at each time point within the currently processed look-ahead section 533 is set to a value that increases over time from the attenuation coefficient value 552 at the fourth time point 512 to "1" at each time point prior to time point 524. Also, at each time point after time point 524, it is set to "1".

図5Aの例では、今回の処理対象の先読み区間533内の各時点の音データの音量に、各時点における減衰係数の値を乗算した値は、第8時点532で、音量上限値に対応する振幅である上限値500を超過する。そのため、第8時点532も超過時点とされる。 In the example of FIG. 5A, the value obtained by multiplying the volume of the sound data at each time point within the currently-processed look-ahead section 533 by the value of the attenuation coefficient at each time point exceeds the upper limit value 500, which is the amplitude corresponding to the upper volume limit value, at the eighth time point 532. Therefore, the eighth time point 532 is also considered to be an exceeding time point.

この場合、図3のステップS6、及びステップS7の処理で、決定部14は、図5Bに示すように、今回の処理対象の先読み区間533の開始時点である第7時点531から超過時点である第8時点532までの各時点の減衰係数の値を、時間の経過に従って直線的に減少(減衰度は増加)させる。これにより、リリース処理期間中においても、ユーザへの違和感を軽減しながら、最大音量と最小音量の差であるダイナミックレンジを圧縮させることができる。 In this case, in the processes of steps S6 and S7 in FIG. 3, the determination unit 14 linearly decreases (the degree of attenuation increases) the value of the attenuation coefficient at each time point from the seventh time point 531, which is the start time of the currently-processed look-ahead section 533, to the eighth time point 532, which is the exceedance time point, over time, as shown in FIG. 5B. This makes it possible to compress the dynamic range, which is the difference between the maximum volume and the minimum volume, while reducing the sense of discomfort felt by the user, even during the release process period.

<変形例>
情報処理装置10の各機能部は、例えば1以上のコンピュータにより構成されるクラウドコンピューティングにより実現されていてもよい。
<Modification>
Each functional unit of the information processing device 10 may be realized by cloud computing configured with one or more computers, for example.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the above describes in detail an embodiment of the present invention, the present invention is not limited to such a specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims.

10 情報処理装置
11 記憶部
12 受付部
13 取得部
14 決定部
15 調整部
16 制御部
17 出力部
REFERENCE SIGNS LIST 10 Information processing device 11 Storage unit 12 Reception unit 13 Acquisition unit 14 Determination unit 15 Adjustment unit 16 Control unit 17 Output unit

Claims (9)

コンピュータに、
出力される音データのうち、第1時点から第2時点までのデータを取得する第1取得処理と、
前記音データによる前記第2時点での音量が所定の閾値を超える場合、前記第1時点から前記第2時点までの各時点における音量の減衰度を、時間の経過に従って増加する値にそれぞれ決定する第1決定処理と、
前記音データの前記第1時点からの各時点の音を、前記第1決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる第1出力処理と、
前記音データのうち、前記第1時点から前記第2時点までの間の第3時点から、第4時点までのデータを取得する第2取得処理と、
前記第1決定処理で決定した減衰度による前記第4時点での音量が前記所定の閾値を超える場合、前記第3時点から前記第4時点までの各時点における音量の減衰度を、時間の経過に従って増加する値にそれぞれ決定する第2決定処理と、
前記音データの前記第1時点から前記第3時点までの各時点の音を、前記第1決定処理で決定した各時点の減衰度の音量でそれぞれ出力させ、
前記音データの前記第3時点から前記第4時点までの各時点の音を、前記第2決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる第2出力処理と、
前記音データのうち、前記第4時点より後の第5時点から、第6時点までのデータを取得する第3取得処理と、
前記第2決定処理で決定した前記第4時点での減衰度による前記第5時点から前記第6時点までの各時点での音量が、それぞれ前記所定の閾値以下である場合、前記音データによる前記第5時点から前記第6時点までの各時点での音量である所定音量の減衰度を、前記第5時点から所定時間の間、時間の経過に従って減少する値にそれぞれ決定する第3決定処理と、
前記音データの前記第5時点から前記第6時点までの各時点の音を、前記第3決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる第3出力処理と、
を実行させ、
前記第3決定処理では、
前記所定音量の最大値が前記所定の閾値よりも小さい場合、前記所定時間の時間長を、前記所定音量の最大値が前記所定の閾値と同じ場合のときよりも短く決定し、
前記所定音量の最大値が前記所定の閾値よりも大きい場合、前記所定時間の時間長を、前記所定音量の最大値が前記所定の閾値と同じ場合のときよりも長く決定する、
プログラム。
On the computer,
a first acquisition process for acquiring data from a first time point to a second time point from among the output sound data;
a first determination process for determining, when a volume of the sound data at the second time point exceeds a predetermined threshold, a degree of attenuation of the volume at each time point from the first time point to the second time point to a value that increases over time;
a first output process for outputting the sound at each time point from the first time point of the sound data at a volume of the attenuation at each time point determined in the first determination process;
a second acquisition process for acquiring data from a third time point to a fourth time point between the first time point and the second time point from the sound data;
a second determination process for determining the attenuation of the sound volume at each time point from the third time point to the fourth time point to a value that increases over time when the sound volume at the fourth time point based on the attenuation degree determined in the first determination process exceeds the predetermined threshold value;
outputting the sound at each time point from the first time point to the third time point of the sound data at a volume of attenuation at each time point determined in the first determination process;
a second output process for outputting the sound at each time point from the third time point to the fourth time point of the sound data at a volume of the attenuation at each time point determined in the second determination process;
a third acquisition process for acquiring data from a fifth time point after the fourth time point to a sixth time point from the sound data;
a third determination process for determining, when the volume at each time point from the fifth time point to the sixth time point based on the attenuation at the fourth time point determined in the second determination process is equal to or less than the predetermined threshold, the attenuation of a predetermined volume, which is the volume at each time point from the fifth time point to the sixth time point based on the sound data, to a value that decreases over a predetermined time period from the fifth time point;
a third output process for outputting the sound at each time point from the fifth time point to the sixth time point of the sound data at a volume of the attenuation at each time point determined in the third determination process;
Run the command,
In the third determination process,
When the maximum value of the predetermined volume is smaller than the predetermined threshold value, the length of the predetermined time is determined to be shorter than when the maximum value of the predetermined volume is equal to the predetermined threshold value;
When the maximum value of the predetermined volume is greater than the predetermined threshold value, the length of the predetermined time is determined to be longer than when the maximum value of the predetermined volume is equal to the predetermined threshold value.
program.
前記第1決定処理では、
前記第1時点から前記第2時点までの各時点における音量の減衰度を、前記第2時点で出力される音量が前記所定の閾値以下となるように、時間の経過に従って増加する値にそれぞれ決定する、
請求項に記載のプログラム。
In the first determination process,
determining a degree of attenuation of the sound volume at each time point from the first time point to the second time point to a value that increases over time so that the sound volume output at the second time point is equal to or less than the predetermined threshold value;
The program according to claim 1 .
前記第2決定処理では、
前記第3時点から前記第4時点までの各時点における音量の減衰度を、前記第4時点で出力される音量が前記所定の閾値以下となるように、前記第2決定処理で決定した前記第3時点での減衰度から、時間の経過に従って増加する値にそれぞれ決定する、
請求項又はに記載のプログラム。
In the second determination process,
determining the attenuation degree of the sound volume at each time point from the third time point to the fourth time point to a value that increases over time from the attenuation degree at the third time point determined in the second determination process so that the sound volume output at the fourth time point is equal to or less than the predetermined threshold value;
The program according to claim 1 or 2 .
前記第3決定処理では、
前記第5時点から前記第6時点以前までの各時点における音量の減衰度を、前記第2決定処理で決定した前記第4時点での減衰度から、時間の経過に従って減少する値にそれぞれ決定し、
前記第3出力処理では、
前記音データの前記第4時点から前記第5時点までの各時点の音を、前記第2決定処理で決定した前記第5時点の減衰度の音量でそれぞれ出力させ、前記音データの前記第5時点から前記第6時点までの各時点の音を、前記第3決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる、
を実行させる請求項からのいずれか一項に記載のプログラム。
In the third determination process,
determining a degree of attenuation of the sound volume at each time point from the fifth time point to the sixth time point or earlier to a value that decreases over time from the degree of attenuation at the fourth time point determined in the second determination process;
In the third output process,
outputting the sound at each time point from the fourth time point to the fifth time point of the sound data at a volume of the attenuation at the fifth time point determined in the second determination process, and outputting the sound at each time point from the fifth time point to the sixth time point of the sound data at a volume of the attenuation at each time point determined in the third determination process;
The program according to any one of claims 1 to 3 , which causes the program to execute the steps of:
前記第3決定処理では、
前記音データによる、前記第5時点から前記第6時点までの各時点での音量に基づいて、前記第5時点から前記第6時点以前までの各時点における音量の減衰度を決定する、
請求項からのいずれか一項に記載のプログラム。
In the third determination process,
determining an attenuation degree of the sound volume at each time point from the fifth time point to the sixth time point based on the sound volume at each time point from the fifth time point to the sixth time point according to the sound data;
The program according to any one of claims 1 to 4 .
前記音データのうち、前記第5時点から前記第6時点までの間の第7時点から、第8時点までのデータを取得する第4取得処理と、
前記第3決定処理で決定した減衰度による前記第8時点での音量が前記所定の閾値を超える場合、前記第7時点から前記第8時点までの各時点における音量の減衰度を、前記第3決定処理で決定した前記第7時点での音量の減衰度と、前記音データによる前記第8時点での音量が前記所定の閾値を超える量とに基づいて、時間の経過に従って変化する値にそれぞれ決定する第4決定処理と、
を実行させる請求項からのいずれか一項に記載のプログラム。
a fourth acquisition process for acquiring data from a seventh time point between the fifth time point and the sixth time point, out of the sound data;
a fourth determination process for determining, when the volume at the eighth time point based on the attenuation degree determined in the third determination process exceeds the predetermined threshold, the volume attenuation degree at each time point from the seventh time point to the eighth time point to a value that changes over time based on the volume attenuation degree at the seventh time point determined in the third determination process and the amount by which the volume at the eighth time point based on the sound data exceeds the predetermined threshold;
The program according to claim 1 , which causes the program to execute the above steps.
前記第1取得処理により取得される第1時点から第2時点までの時間長のユーザによる指定を受け付ける処理を実行させる、
請求項からのいずれか一項に記載のプログラム。
execute a process of accepting, by a user, a designation of a time length from a first time point to a second time point acquired by the first acquisition process;
The program according to any one of claims 1 to 6 .
情報処理装置が、
出力される音データのうち、第1時点から第2時点までのデータを取得する第1取得処理と、
前記音データによる前記第2時点での音量が所定の閾値を超える場合、前記第1時点から前記第2時点までの各時点における音量の減衰度を、時間の経過に従って増加する値にそれぞれ決定する第1決定処理と、
前記音データの前記第1時点からの各時点の音を、前記第1決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる第1出力処理と、
前記音データのうち、前記第1時点から前記第2時点までの間の第3時点から、第4時点までのデータを取得する第2取得処理と、
前記第1決定処理で決定した減衰度による前記第4時点での音量が前記所定の閾値を超える場合、前記第3時点から前記第4時点までの各時点における音量の減衰度を、時間の経過に従って増加する値にそれぞれ決定する第2決定処理と、
前記音データの前記第1時点から前記第3時点までの各時点の音を、前記第1決定処理で決定した各時点の減衰度の音量でそれぞれ出力させ、
前記音データの前記第3時点から前記第4時点までの各時点の音を、前記第2決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる第2出力処理と、
前記音データのうち、前記第時点より後の第5時点から、第6時点までのデータを取得する第3取得処理と、
前記第決定処理で決定した前記第時点での減衰度による前記第5時点から前記第6時点までの各時点での音量が、それぞれ前記所定の閾値以下である場合、前記音データによる前記第5時点から前記第6時点までの各時点での音量である所定音量の減衰度を、前記第5時点から所定時間の間、時間の経過に従って減少する値にそれぞれ決定する第3決定処理と、
前記音データの前記第5時点から前記第6時点までの各時点の音を、前記第3決定処理で決定した各時点の減衰度の音量でそれぞれ出力させる第3出力処理と、
を実行し、
前記第3決定処理では、
前記所定音量の最大値が前記所定の閾値よりも小さい場合、前記所定時間の時間長を、前記所定音量の最大値が前記所定の閾値と同じ場合のときよりも短く決定し、
前記所定音量の最大値が前記所定の閾値よりも大きい場合、前記所定時間の時間長を、前記所定音量の最大値が前記所定の閾値と同じ場合のときよりも長く決定する、
情報処理方法。
An information processing device,
a first acquisition process for acquiring data from a first time point to a second time point from among the output sound data;
a first determination process for determining, when a volume of the sound data at the second time point exceeds a predetermined threshold, a degree of attenuation of the volume at each time point from the first time point to the second time point to a value that increases over time;
a first output process for outputting the sound at each time point from the first time point of the sound data at a volume of the attenuation at each time point determined in the first determination process;
a second acquisition process for acquiring data from a third time point to a fourth time point between the first time point and the second time point from the sound data;
a second determination process for determining the attenuation of the sound volume at each time point from the third time point to the fourth time point to a value that increases over time when the sound volume at the fourth time point based on the attenuation degree determined in the first determination process exceeds the predetermined threshold value;
outputting the sound at each time point from the first time point to the third time point of the sound data at a volume of attenuation at each time point determined in the first determination process;
a second output process for outputting the sound at each time point from the third time point to the fourth time point of the sound data at a volume of the attenuation at each time point determined in the second determination process;
a third acquisition process for acquiring data from a fifth time point after the fourth time point to a sixth time point from the sound data;
a third determination process for determining, when the volume at each time point from the fifth time point to the sixth time point based on the attenuation at the fourth time point determined in the second determination process is equal to or less than the predetermined threshold, the attenuation of a predetermined volume, which is the volume at each time point from the fifth time point to the sixth time point based on the sound data, to a value that decreases over time for a predetermined time from the fifth time point;
a third output process for outputting the sound at each time point from the fifth time point to the sixth time point of the sound data at a volume of the attenuation at each time point determined in the third determination process;
Run
In the third determination process,
When the maximum value of the predetermined volume is smaller than the predetermined threshold value, the length of the predetermined time is determined to be shorter than when the maximum value of the predetermined volume is equal to the predetermined threshold value;
When the maximum value of the predetermined volume is greater than the predetermined threshold value, the length of the predetermined time is determined to be longer than when the maximum value of the predetermined volume is equal to the predetermined threshold value.
Information processing methods.
出力される音データのうち、第1時点から第2時点までのデータを取得する取得部と、
前記音データによる前記第2時点での音量が所定の閾値を超える場合、前記第1時点から前記第2時点までの各時点における音量の減衰度を、時間の経過に従って増加する値にそれぞれ決定する決定部と、
前記音データの前記第1時点からの各時点の音を、前記決定部により決定された各時点の減衰度の音量でそれぞれ出力させる出力部と、
を有し、
前記取得部は、
前記音データのうち、前記第1時点から前記第2時点までの間の第3時点から、第4時点までのデータを取得し、
前記決定部は、
前記決定部で決定した減衰度による前記第4時点での音量が前記所定の閾値を超える場合、前記第3時点から前記第4時点までの各時点における音量の減衰度を、時間の経過に従って増加する値にそれぞれ決定し、
前記出力部は、
前記音データの前記第1時点から前記第3時点までの各時点の音を、前記決定部により決定された各時点の減衰度の音量でそれぞれ出力させ、
前記音データの前記第3時点から前記第4時点までの各時点の音を、前記決定部により決定された各時点の減衰度の音量でそれぞれ出力させ、
前記取得部は、
前記音データのうち、前記第時点より後の第5時点から、第6時点までのデータを取得し、
前記決定部は、
前記決定部で決定した前記第時点での減衰度による前記第5時点から前記第6時点までの各時点での音量が、それぞれ前記所定の閾値以下である場合、前記音データによる前記第5時点から前記第6時点までの各時点での音量である所定音量の減衰度を、前記第5時点から所定時間の間、時間の経過に従って減少する値にそれぞれ決定し、
前記出力部は、
前記音データの前記第5時点から前記第6時点までの各時点の音を、前記決定部により決定された各時点の減衰度の音量でそれぞれ出力させ、
前記決定部は、
前記所定音量の最大値が前記所定の閾値よりも小さい場合、前記所定時間の時間長を、前記所定音量の最大値が前記所定の閾値と同じ場合のときよりも短く決定し、
前記所定音量の最大値が前記所定の閾値よりも大きい場合、前記所定時間の時間長を、前記所定音量の最大値が前記所定の閾値と同じ場合のときよりも長く決定する、
情報処理装置。
an acquisition unit that acquires data from a first time point to a second time point from the output sound data;
a determination unit that determines, when a volume of the sound data at the second time point exceeds a predetermined threshold, a degree of attenuation of the volume at each time point from the first time point to the second time point to a value that increases over time;
an output unit that outputs the sound at each time point from the first time point of the sound data at a volume of attenuation at each time point determined by the determination unit;
having
The acquisition unit is
acquiring data from a third time point to a fourth time point between the first time point and the second time point from the sound data;
The determination unit is
When the volume at the fourth time point based on the attenuation degree determined by the determination unit exceeds the predetermined threshold value, the attenuation degree of the volume at each time point from the third time point to the fourth time point is determined to be a value that increases over time,
The output unit is
outputting the sound at each time point from the first time point to the third time point of the sound data at a volume of attenuation at each time point determined by the determination unit;
outputting the sound at each time point from the third time point to the fourth time point of the sound data at a volume of attenuation at each time point determined by the determination unit;
The acquisition unit is
Acquiring data from a fifth time point after the fourth time point to a sixth time point from the sound data;
The determination unit is
When the volume at each time point from the fifth time point to the sixth time point based on the attenuation degree at the fourth time point determined by the determination unit is equal to or less than the predetermined threshold, the attenuation degree of the predetermined volume, which is the volume at each time point from the fifth time point to the sixth time point based on the sound data, is determined to be a value that decreases over time for a predetermined time from the fifth time point,
The output unit is
outputting the sound at each time point from the fifth time point to the sixth time point of the sound data at a volume of attenuation at each time point determined by the determination unit;
The determination unit is
When the maximum value of the predetermined volume is smaller than the predetermined threshold value, the length of the predetermined time is determined to be shorter than when the maximum value of the predetermined volume is equal to the predetermined threshold value;
When the maximum value of the predetermined volume is greater than the predetermined threshold value, the length of the predetermined time is determined to be longer than when the maximum value of the predetermined volume is equal to the predetermined threshold value.
Information processing device.
JP2020107798A 2019-09-27 2020-06-23 PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS Active JP7474130B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019176925 2019-09-27
JP2019176925 2019-09-27

Publications (2)

Publication Number Publication Date
JP2021057880A JP2021057880A (en) 2021-04-08
JP7474130B2 true JP7474130B2 (en) 2024-04-24

Family

ID=75271255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020107798A Active JP7474130B2 (en) 2019-09-27 2020-06-23 PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS

Country Status (1)

Country Link
JP (1) JP7474130B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014110567A (en) 2012-12-03 2014-06-12 Clarion Co Ltd Distortion sound correction compensation apparatus and distortion sound correction compensation method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5684013A (en) * 1979-12-12 1981-07-09 Matsushita Electric Ind Co Ltd Automatic level regulator for sound signal
JPH04150106A (en) * 1990-10-09 1992-05-22 Pioneer Electron Corp Output level controller
JPH0855428A (en) * 1994-08-17 1996-02-27 Sony Corp Sound recording signal processor
US9559650B1 (en) * 2012-07-13 2017-01-31 MUSIC Group IP Ltd. Loudness limiter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014110567A (en) 2012-12-03 2014-06-12 Clarion Co Ltd Distortion sound correction compensation apparatus and distortion sound correction compensation method

Also Published As

Publication number Publication date
JP2021057880A (en) 2021-04-08

Similar Documents

Publication Publication Date Title
TWI415481B (en) Audio dynamics processing using a reset
TWI600273B (en) System and method for adjusting loudness of audio signals in real time
US8645144B2 (en) Audio signal shaping for playback by audio devices
US7848531B1 (en) Method and apparatus for audio loudness and dynamics matching
US20150207479A1 (en) Dynamic range control with large look-ahead
US20150363411A1 (en) Synchronous Audio Playback Method, Apparatus and System
US20080253587A1 (en) Method for automatically adjusting audio volume and audio player
JP7474130B2 (en) PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS
US7233200B2 (en) AGC circuit, AGC circuit gain control method, and program for the AGC circuit gain control method
US8036400B2 (en) Volume control apparatus and volume control program
JP2020067531A (en) Program, information processing method, and information processing device
CN110622517A (en) Video processing method and device
CN111627412B (en) Audio frequency speed changing method, device, electronic equipment and computer readable storage medium
JP2022544795A (en) Audio binaural steering
US20180183399A1 (en) Audio processing apparatus and method of controlling same
JP7446653B1 (en) Adjustment device and program
EP3940954B1 (en) Systems and methods for limiter functions
US11252507B2 (en) Dynamics processing method and dynamics processing device
US20220038062A1 (en) Systems and methods for limiter functions
JP7515220B1 (en) Audio processing device, audio processing method, and program
JP4882818B2 (en) Dynamics control device
JP6314803B2 (en) Signal processing apparatus, signal processing method, and program
CN117528337A (en) Audio processing method, device, electronic equipment and medium
CN113192524A (en) Audio signal processing method and device
CN111766946A (en) Optimization method and device of haptic effect and computer-readable storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200626

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230411

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231003

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240315

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240412

R150 Certificate of patent or registration of utility model

Ref document number: 7474130

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150