JP6642755B1 - Audio processing device - Google Patents

Audio processing device Download PDF

Info

Publication number
JP6642755B1
JP6642755B1 JP2019067371A JP2019067371A JP6642755B1 JP 6642755 B1 JP6642755 B1 JP 6642755B1 JP 2019067371 A JP2019067371 A JP 2019067371A JP 2019067371 A JP2019067371 A JP 2019067371A JP 6642755 B1 JP6642755 B1 JP 6642755B1
Authority
JP
Japan
Prior art keywords
game
sound
voice
estimated value
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
JP2019067371A
Other languages
Japanese (ja)
Other versions
JP2020162936A (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.)
Sega Corp
Original Assignee
Sega Corp
Sega 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 Sega Corp, Sega Games Co Ltd filed Critical Sega Corp
Priority to JP2019067371A priority Critical patent/JP6642755B1/en
Application granted granted Critical
Publication of JP6642755B1 publication Critical patent/JP6642755B1/en
Publication of JP2020162936A publication Critical patent/JP2020162936A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

【課題】ゲーム機そのものの機能に過度に依存することなく、超過プレイを効果的に検出する。【解決手段】音声処理装置は、外部音声を検出する音声検出部と、外部音声に、コンピュータゲームのゲーム音が含まれるか否かを判定する音声判定部と、ゲーム音に基づいて、コンピュータゲームのプレイ時間の累計推定値を計算する時間推定部と、累計推定値が第1の閾値を超えるとき、プレイヤに第1のメッセージを報知する報知部を備える。時間推定部は、音声パターンの長さに音声パターンの検出回数を乗じることにより累計推定値を算出してもよい。【選択図】図3An object of the present invention is to detect excessive play effectively without excessively depending on the function of a game machine itself. A sound processing device includes: a sound detection unit configured to detect an external sound; a sound determination unit configured to determine whether or not the external sound includes a game sound of a computer game; A time estimating unit for calculating the cumulative estimated value of the play time of the game, and a notifying unit for notifying the player of the first message when the cumulative estimated value exceeds the first threshold value. The time estimating unit may calculate the cumulative estimated value by multiplying the length of the voice pattern by the number of times the voice pattern is detected. [Selection diagram] FIG.

Description

本発明は、コンピュータゲームにおける音声認識技術、に関する。   The present invention relates to a speech recognition technology in a computer game.

さまざまなゲーム機の普及にともない、コンピュータゲームは大人から子どもまで幅広く楽しめる娯楽として定着した感がある。その一方、ゲームに夢中になりすぎてしまい、プレイヤ本人も気づかないうちに思わぬ長時間をプレイに費やしてしまうことも多い。以下、想定以上に長くゲームをプレイし続けてしまう事象を「超過プレイ」とよぶ。   With the spread of various game consoles, computer games seem to have become established as entertainment that can be enjoyed widely by adults and children. On the other hand, there are many cases where the player becomes too engrossed in the game, and spends an unexpectedly long time playing without even being aware of the player himself. Hereinafter, an event that continues to play a game longer than expected is called “excessive play”.

超過プレイ対策として、特許文献1は、ゲーム画像が所定時間以上連続表示されたときゲームを中断させることで、プレイヤに休憩を促す技術を開示する。   As a measure for excess play, Patent Literature 1 discloses a technique for prompting a player to take a break by interrupting the game when a game image is continuously displayed for a predetermined time or more.

特開2000−005448号公報JP-A-2000-005448

現在、1つの家庭に複数台のゲーム機があることも珍しくない。プレイヤは、複数のゲームを次々にプレイすることもある。したがって、ゲームごと、あるいは、ゲーム機ごとにプレイ時間を計測したとしても、超過プレイをうまく検出できない可能性がある。   At present, it is not uncommon for a single home to have multiple game consoles. The player may play a plurality of games one after another. Therefore, even if the play time is measured for each game or each game machine, the excess play may not be detected properly.

本発明は、上記課題認識に基づいて完成された発明であり、その主たる目的は、ゲーム機そのものの機能に過度に依存することなく、超過プレイを効果的に検出するための技術、を提供することにある。   The present invention has been completed based on the recognition of the above-mentioned problems, and a main object of the present invention is to provide a technique for effectively detecting an excess play without excessively depending on the functions of the game machine itself. It is in.

本発明のある態様における音声処理装置は、外部音声を検出する音声検出部と、外部音声に、コンピュータゲームのゲーム音が含まれるか否かを判定する音声判定部と、ゲーム音に基づいて、コンピュータゲームのプレイ時間の累計推定値を計算する時間推定部と、累計推定値が第1の閾値を超えるとき、プレイヤに第1のメッセージを報知する報知部と、を備える。   A sound processing device according to an aspect of the present invention, a sound detection unit that detects an external sound, a sound determination unit that determines whether or not the external sound includes a game sound of a computer game, based on the game sound, A time estimating unit for calculating the cumulative estimated value of the playing time of the computer game, and a notifying unit for notifying the player of the first message when the cumulative estimated value exceeds the first threshold value.

本発明の別の態様における音声処理装置は、外部音声を検出する音声検出部と、外部音声から所定の音声パターンが繰り返し検出されるとき、外部音声にゲーム音が含まれると判定する音声判定部と、音声パターンの連続検出回数が第3の閾値を超えるとき、プレイヤに第1のメッセージを報知する報知部と、を備える。   A voice processing device according to another aspect of the present invention includes a voice detection unit that detects an external voice, and a voice determination unit that determines that the external voice includes a game sound when a predetermined voice pattern is repeatedly detected from the external voice. And a notifying unit for notifying the player of the first message when the number of consecutive detections of the voice pattern exceeds the third threshold.

本発明によれば、超過プレイを効果的に検出しやすくなる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes easy to detect excess play effectively.

本実施形態において想定されるシステム構成図である。It is a system configuration diagram assumed in the present embodiment. 音声処理装置の機能ブロック図である。FIG. 3 is a functional block diagram of the audio processing device. ゲームのプレイ時間を判定する過程を示すタイムチャートである。6 is a time chart illustrating a process of determining a play time of a game. 検出モードにおける処理過程を示すフローチャートである。It is a flowchart which shows the process in a detection mode. 計測モードにおける処理過程を示すフローチャートである。It is a flowchart which shows the process in a measurement mode.

図1は、本実施形態において想定されるシステム構成図である。
図1に示すゲーム装置104aとゲーム装置104b(以下、まとめていうときや特に区別しないときには「ゲーム装置104」とよぶ)は、いずれもゲームを実行するための一般的な装置である。ゲーム装置104aの機種とゲーム装置104bの機種は同一である必要はない。ゲーム装置104は、ゲームを実行するとき、内蔵するスピーカから「ゲーム音」を出力する。ここでいうゲーム音は、ゲームのバック・グラウンド・ミュージック(以下、「ゲーム背景音楽」とよぶ)のほか、爆発音や撃墜音などのいわゆる効果音も含む。
FIG. 1 is a system configuration diagram assumed in the present embodiment.
The game device 104a and the game device 104b shown in FIG. 1 (hereinafter, referred to as “game device 104” when referred to collectively or unless otherwise specified) are general devices for executing a game. The model of the game device 104a and the model of the game device 104b do not need to be the same. When executing a game, the game device 104 outputs “game sound” from a built-in speaker. The game sound referred to here includes not only background music of the game (hereinafter, referred to as “game background music”) but also so-called sound effects such as explosion sounds and shooting down sounds.

音声入力装置102は、スマートスピーカなどの既知の装置である。音声入力装置102は、マイクとスピーカを内蔵する。音声入力装置102は、各ゲーム装置104から出力されるゲーム音やプレイヤの発話を検出する。ゲーム音の検出・認識方法の詳細は後述する。   The voice input device 102 is a known device such as a smart speaker. The voice input device 102 has a built-in microphone and speaker. The voice input device 102 detects a game sound output from each game device 104 and an utterance of a player. Details of the method of detecting and recognizing the game sound will be described later.

音声入力装置102には音声処理装置100が接続される。音声処理装置100は、音声入力装置102によるゲーム音の検出結果に基づいて、いずれかのゲーム装置104において、プレイヤがゲームをプレイ中であるか否かを判断する。音声処理装置100は、後述の方法により超過プレイになっていると判断したとき、音声入力装置102から警告または注意のためのメッセージ(第1のメッセージ)を音声出力させる。なお、音声処理装置100の機能は音声入力装置102の一部として組み込まれてもよいが、本実施形態においては音声処理装置100と音声入力装置102は別々の装置であるとして説明する。   The voice processing device 100 is connected to the voice input device 102. The sound processing device 100 determines whether or not a player is playing a game in any one of the game devices 104 based on a result of detection of a game sound by the sound input device 102. When the voice processing device 100 determines that the excessive play has been performed by a method described later, the voice input device 102 outputs a warning or caution message (first message) by voice. Note that the function of the voice processing device 100 may be incorporated as a part of the voice input device 102, but in the present embodiment, the voice processing device 100 and the voice input device 102 are described as being separate devices.

音声入力装置102は、ゲーム装置104と有線・無線に関わらず通信回線にて接続される必要はない。音声入力装置102はゲーム装置104のゲーム音を検出し、音声処理装置100は音声入力装置102がゲーム音を検出しているときゲームのプレイ中であると判断する。音声入力装置102は、ゲーム音に基づいて、ゲームのプレイが長引いていないか判断する。したがって、プレイヤが複数種類のゲーム装置104を取り替えながらゲームをプレイしたとしても、あるいは、複数種類のゲームを順番にプレイしたとしても、音声処理装置100はプレイヤがゲームを続けていることを認識できる。音声処理装置100は、音声入力装置102の機種あるいはゲームの種類に依存することなく超過プレイを効果的に検出できる。   The voice input device 102 does not need to be connected to the game device 104 via a communication line regardless of whether it is wired or wireless. The voice input device 102 detects the game sound of the game device 104, and the voice processing device 100 determines that the game is being played when the voice input device 102 detects the game sound. The voice input device 102 determines based on the game sound whether play of the game has been prolonged. Therefore, even if a player plays a game while replacing a plurality of types of game devices 104, or plays a plurality of types of games in order, the sound processing device 100 can recognize that the player continues the game. . The voice processing device 100 can effectively detect the excess play without depending on the model of the voice input device 102 or the type of the game.

図2は、音声処理装置100の機能ブロック図である。
音声処理装置100の各構成要素は、CPU(Central Processing Unit)および各種コプロセッサなどの演算器、メモリやストレージといった記憶装置、それらを連結する有線または無線の通信線を含むハードウェアと、記憶装置に格納され、演算器に処理命令を供給するソフトウェアによって実現される。コンピュータプログラムは、デバイスドライバ、オペレーティングシステム、それらの上位層に位置する各種アプリケーションプログラム、また、これらのプログラムに共通機能を提供するライブラリによって構成されてもよい。以下に説明する各ブロックは、ハードウェア単位の構成ではなく、機能単位のブロックを示している。
FIG. 2 is a functional block diagram of the audio processing device 100.
Each component of the audio processing device 100 includes a computing unit such as a CPU (Central Processing Unit) and various coprocessors, a storage device such as a memory and a storage, hardware including a wired or wireless communication line connecting them, and a storage device. And is provided by software that supplies processing instructions to the computing unit. The computer program may be configured by a device driver, an operating system, various application programs located in an upper layer thereof, and a library that provides a common function to these programs. Each block described below is not a configuration in a hardware unit but a block in a functional unit.

音声入力装置102は、ゲーム音等の音声を取得する。また、音声入力装置102は、プレイヤの発話時における音声を解釈し、発話内容を文字情報に変換することもできる。音声入力装置102は、音声処理装置100から指定された文字情報を音声情報として出力する。   The voice input device 102 acquires a voice such as a game sound. Further, the voice input device 102 can also interpret the voice of the player when speaking and convert the speech content into character information. The voice input device 102 outputs character information designated by the voice processing device 100 as voice information.

音声処理装置100は、音声検出部110、報知部112、データ処理部114およびデータ格納部116を含む。
音声検出部110は、音声入力装置102から音声情報を取得する。報知部112は、音声入力装置102にメッセージ(文字情報)を送信することにより、音声入力装置102からメッセージを音声出力させる。データ格納部116はプログラム等の各種データを格納する。データ処理部114は、音声検出部110により取得されたデータおよびデータ格納部116に格納されているデータに基づいて各種処理を実行する。データ処理部114は、音声検出部110、報知部112およびデータ格納部116のインタフェースとしても機能する。
The voice processing device 100 includes a voice detection unit 110, a notification unit 112, a data processing unit 114, and a data storage unit 116.
The voice detection unit 110 acquires voice information from the voice input device 102. The notifying unit 112 causes the voice input device 102 to output a voice message by transmitting a message (character information) to the voice input device 102. The data storage unit 116 stores various data such as programs. The data processing unit 114 performs various processes based on the data acquired by the voice detection unit 110 and the data stored in the data storage unit 116. The data processing unit 114 also functions as an interface of the voice detection unit 110, the notification unit 112, and the data storage unit 116.

データ処理部114は、音声判定部118と時間推定部120を含む。
音声判定部118は、音声検出部110が取得した音声がゲーム音であるか否かを判定する。また、音声判定部118は、ゲーム音のほか、プレイヤの発話内容についても認識する。音声入力装置102は発話音声を文字情報に変換し、音声検出部110は発話音声の文字情報を音声入力装置102から取得する。118は、この発話内容を示す文字情報から後述するエキサイト条件が成立するか否かを判定する。時間推定部120は、プレイヤがゲームを実質的に連続してプレイしている時間を推定する。以下、この推定値のことを「累計推定値」とよぶ。
The data processing unit 114 includes a voice determination unit 118 and a time estimation unit 120.
The sound determination unit 118 determines whether the sound obtained by the sound detection unit 110 is a game sound. Further, the voice determination unit 118 recognizes not only the game sound but also the utterance content of the player. The voice input device 102 converts the uttered voice into character information, and the voice detection unit 110 acquires the character information of the uttered voice from the voice input device 102. At 118, it is determined from the character information indicating the utterance content whether or not an exciting condition described later is satisfied. The time estimation unit 120 estimates the time during which the player is playing the game substantially continuously. Hereinafter, this estimated value is referred to as “cumulative estimated value”.

図3は、ゲームのプレイ時間を判定する過程を示すタイムチャートである。
ゲーム背景音楽には、同一の音声パターン(フレーズ)が繰り返し実行されるという一般的な特徴がある。そこで、音声処理装置100は、所定の音声パターンが繰り返し検出されるときに、ゲーム背景音楽が流れていると判定する。いいかえれば、繰り返される音声パターンを検出している時間をゲームのプレイ時間として判定(推定)する。
FIG. 3 is a time chart showing a process of determining the play time of the game.
Game background music has a general feature that the same voice pattern (phrase) is repeatedly executed. Therefore, when a predetermined sound pattern is repeatedly detected, the sound processing device 100 determines that the game background music is playing. In other words, the time during which the repeated voice pattern is detected is determined (estimated) as the game play time.

音声処理装置100は、「検出モード」と「計測モード」の2種類のモードを有する。
検出モードはゲーム背景音楽の始まりを認識するためのモードである。計測モードはゲーム背景音楽の継続とその終了タイミングを認識するためのモードである。
音声処理装置100は、まず、検出モードに初期設定される。検出モードにおいて、所定回数以上、たとえば、3回以上同じ音声パターンが繰り返し検出されたとき、音声処理装置100は検出モードから計測モードに移行する。図3においては時刻t0からゲームG1の音声パターンP1が検出されている。3回目の音声パターンP1が確認された時刻t1において、音声処理装置100は検出モードから計測モードに移行する。検出モードに対応する時刻t0から時刻t1までの期間を「検出期間」とよぶ。
The audio processing device 100 has two types of modes, a “detection mode” and a “measurement mode”.
The detection mode is a mode for recognizing the beginning of the game background music. The measurement mode is a mode for recognizing the continuation of the game background music and the end timing thereof.
First, the audio processing device 100 is initially set to the detection mode. In the detection mode, when the same voice pattern is repeatedly detected a predetermined number of times or more, for example, three times or more, the voice processing apparatus 100 shifts from the detection mode to the measurement mode. In FIG. 3, the sound pattern P1 of the game G1 has been detected from time t0. At time t1 when the third sound pattern P1 is confirmed, the sound processing device 100 shifts from the detection mode to the measurement mode. A period from time t0 to time t1 corresponding to the detection mode is called a “detection period”.

音声パターンP1は、時刻t1以降も繰り返し検出され、時刻t3において途切れている。このとき、音声処理装置100は、計測モードから検出モードに移行する。計測モードに対応する時刻t1から時刻t3までの期間を「計測期間」とよぶ。   The voice pattern P1 is repeatedly detected after time t1, and is interrupted at time t3. At this time, the sound processing device 100 shifts from the measurement mode to the detection mode. A period from time t1 to time t3 corresponding to the measurement mode is called a “measurement period”.

時間推定部120は、検出期間および計測期間における音声パターンP1の繰り返し回数n1と、音声パターンP1の1回分の演奏時間tm1を乗じた時間(n1×tm1)をゲームG1の連続プレイ時間の推定値、すなわち、累計推定値T1として算出する。累計推定値T1が所定の閾値V1(第1の閾値)以上となったとき、音声処理装置100は音声入力装置102から「少し休憩しましょう」のような注意を促すメッセージ(以下、「注意メッセージ」とよぶ)(第1のメッセージ)を出力させる。   The time estimating unit 120 calculates a time (n1 × tm1) obtained by multiplying the number of repetitions n1 of the voice pattern P1 in the detection period and the measurement period by one playing time tm1 of the voice pattern P1 as an estimated value of the continuous play time of the game G1. That is, it is calculated as the cumulative estimated value T1. When the cumulative estimated value T1 becomes equal to or more than a predetermined threshold value V1 (first threshold value), the voice processing apparatus 100 prompts the voice input apparatus 102 for a message such as "let's take a break" (hereinafter, "caution message"). (The first message).

図3においては、時刻t3から時刻t4までは音声パターンは検出されていない。時刻t4からは別のゲームG2の音声パターンP2が検出される。検出モードにある音声処理装置100は、音声パターンP2の3回連続検出が確認された時刻t5において、計測モードに移行する。   In FIG. 3, no voice pattern is detected from time t3 to time t4. From time t4, a sound pattern P2 of another game G2 is detected. The audio processing device 100 in the detection mode shifts to the measurement mode at time t5 when three consecutive detections of the audio pattern P2 are confirmed.

時間推定部120は、ゲームG2についても音声パターンP2に基づいて累計推定値T2を計算する。累計推定値T2が閾値V1以上となったとき、音声処理装置100は注意メッセージを出力させる。   The time estimating unit 120 also calculates the cumulative estimated value T2 for the game G2 based on the voice pattern P2. When the cumulative estimated value T2 becomes equal to or more than the threshold value V1, the voice processing device 100 outputs a caution message.

時刻t3から時刻t4までのインターバルTXは、プレイヤがゲームをプレイしていない時間である。インターバルTXが閾値V2(第2の閾値)よりも長いとき、いいかえれば、プレイヤがゲームG1をプレイしたあとに十分に休息してから、次のゲームG2をプレイしたときには、時間推定部120はゲームG1の累計推定値をいったんリセットした上で、ゲームG2の累計推定値を計算する。一方、インターバルTXが閾値V2以下のとき、いいかえれば、プレイヤがゲームG1のあと立て続けにゲームG2をプレイしたときには、音声処理装置100は累計推定値T1(ゲームG1)と累計推定値T2(ゲームG2)の合計値をゲームのプレイ時間についての累計推定値として算出する。このように、プレイヤが十分な休息をとらずに立て続けにゲームをプレイした状況においても超過プレイを検出できる。なお、プレイヤは、閾値V1、V2を任意に設定可能である。   An interval TX from time t3 to time t4 is a time during which the player is not playing the game. When the interval TX is longer than the threshold value V2 (the second threshold value), in other words, when the player has sufficiently rested after playing the game G1, and then plays the next game G2, the time estimation unit 120 After resetting the total estimated value of G1 once, the total estimated value of the game G2 is calculated. On the other hand, when the interval TX is equal to or less than the threshold value V2, in other words, when the player plays the game G2 continuously after the game G1, the audio processing device 100 sets the cumulative estimated value T1 (game G1) and the cumulative estimated value T2 (game G2). ) Is calculated as the cumulative estimated value of the game play time. In this way, excess play can be detected even in a situation where the player plays the game continuously without taking sufficient rest. Note that the player can arbitrarily set the thresholds V1 and V2.

図4は、検出モードにおける処理過程を示すフローチャートである。
図4に示すフローチャートは、検出モードにおいて、音声入力装置102が音声パターンを検出したときに実行される。音声検出部110は、検出された音声パターンを記憶しておく。2回以上続けて同一の音声パターンを検出したとき(S10のY)、音声判定部118はカウント変数iをインクリメントする(S12)。カウント変数iが2以下であれば(S14のN)、あるいは、1回目の音声パターンの検出時においては(S10のN)、次の音声パターンが検出されるまで特段の処理は実行されない。
FIG. 4 is a flowchart showing a processing procedure in the detection mode.
The flowchart shown in FIG. 4 is executed when the voice input device 102 detects a voice pattern in the detection mode. The voice detection unit 110 stores the detected voice pattern. When the same voice pattern is detected twice or more consecutively (Y in S10), the voice determination unit 118 increments the count variable i (S12). If the count variable i is 2 or less (N in S14), or at the time of detecting the first voice pattern (N in S10), no special processing is executed until the next voice pattern is detected.

カウント変数iが2以上であれば(S14のY)、いいかえれば、検出モードにおいて同一の音声パターンを3回続けて検出したときには、音声判定部118は検出モードから計測モードに移行させる(S16)。また、音声判定部118はカウント変数iをリセットする(S18)。   If the count variable i is 2 or more (Y in S14), in other words, when the same voice pattern is detected three times in the detection mode consecutively, the voice determination unit 118 shifts from the detection mode to the measurement mode (S16). . Further, the sound determination unit 118 resets the count variable i (S18).

図5は、計測モードにおける処理過程を示すフローチャートである。
図5に示すフローチャートは、計測モードにおいて、音声入力装置102が前回と同一の音声パターンを検出したときに実行される。時間推定部120は、上述の方法により累計推定値TYを更新する(S20)。累計推定値TYが閾値V1以上となったとき(S22のY)、報知部112は注意メッセージを音声入力装置102に出力させる(S24)。また、注意メッセージの出力後、時間推定部120は累計推定値TYをリセットする(S26)。一方、累計推定値が閾値V1未満のときには、S24以降の処理はスキップされる。
FIG. 5 is a flowchart showing a process in the measurement mode.
The flowchart shown in FIG. 5 is executed when the voice input device 102 detects the same voice pattern as the previous time in the measurement mode. The time estimating unit 120 updates the cumulative estimated value TY by the method described above (S20). When the cumulative estimated value TY is equal to or greater than the threshold value V1 (Y in S22), the notification unit 112 causes the voice input device 102 to output a caution message (S24). After outputting the caution message, the time estimating unit 120 resets the cumulative estimated value TY (S26). On the other hand, when the cumulative estimated value is less than the threshold value V1, the processing after S24 is skipped.

上述したように、計測モードにおいて、音声パターンの検出が途切れたとき、音声判定部118は計測モードから検出モードに移行させる。また、音声パターンが検出されない期間、すなわち、インターバルの長さが閾値V2以上となったとき、時間推定部120は累計推定値TYをリセットする。一方、インターバルの長さが閾値V2未満のときに新たに音声パターンが検出されたときには、前回のゲームのプレイ時間(累計推定値)に対して、新たなゲームのプレイ時間(累計推定値)を加算していく。   As described above, when the detection of the voice pattern is interrupted in the measurement mode, the voice determination unit 118 shifts from the measurement mode to the detection mode. In addition, when no voice pattern is detected, that is, when the length of the interval is equal to or greater than the threshold value V2, the time estimating unit 120 resets the cumulative estimated value TY. On the other hand, when a new voice pattern is detected when the length of the interval is less than the threshold value V2, the play time (cumulative estimated value) of the new game is compared with the play time (cumulative estimated value) of the previous game. Add up.

音声入力装置102は、ゲームのプレイ中におけるプレイヤの発話も検出する。音声処理装置100は、ゲーム背景音楽の検出中にプレイヤから所定の発話が検出されたとき、「エキサイト条件」が成立したと判定する。エキサイト条件は、プレイヤの過度の興奮が推測される発話が検出されたときに成立する。たとえば、「クソ」「畜生」「ボケ」などの暴力的な所定単語の発話が検出されたとき、エキサイト条件が成立するとしてもよい。エキサイト条件の設定は任意である。たとえば、子どものけんかする声や泣き声が検出されたときにもエキサイト条件が成立したと判定してもよい。   The voice input device 102 also detects the utterance of the player during the play of the game. When a predetermined utterance is detected from the player during the detection of the game background music, the voice processing device 100 determines that the “exciting condition” is satisfied. The exciting condition is satisfied when an utterance in which excessive excitement of the player is estimated is detected. For example, when an utterance of a violent predetermined word such as “fuck”, “brute”, or “blurred” is detected, the exciting condition may be satisfied. The setting of the excitement condition is optional. For example, it may be determined that the exciting condition is satisfied when a quarrel or cry of a child is detected.

報知部112は、エキサイト条件が成立したとき、プレイヤをたしなめるメッセージ(以下、「鎮静メッセージ」とよぶ)(第2のメッセージ)を音声入力装置102に出力させる。鎮静メッセージは、たとえば、「おちついて」「ドンマイ」「深呼吸しよう」のような任意のメッセージであればよい。また、報知部112は、音声入力装置102からブザー音などを発生させてもよいし、プレイヤを落ち着かせるためにクラシック音楽を流してもよい。   When the exciting condition is satisfied, the notifying unit 112 causes the voice input device 102 to output a message (hereinafter, referred to as a “sedation message”) for replaying the player (second message). The sedation message may be any message such as, for example, “Come down”, “Donmai”, “Let's take a deep breath”. The notification unit 112 may generate a buzzer sound or the like from the voice input device 102, or may play classical music to calm the player.

以上、実施形態に基づいて、音声処理装置100を説明した。
音声処理装置100は、ゲームの連続プレイ時間をゲーム音に基づいて累計推定値として算出する。このため、ゲーム装置104の種類に関わらず、実質的なプレイ時間を計測できる。また、音声入力装置102および音声処理装置100をゲーム装置104と通信接続する必要がない。既存のゲーム装置104に特段の機能追加をする必要がないため、簡単にシステムを導入できる。また、音声処理装置100は、インターバルが短いときには、プレイヤが実質的に連続してゲームをプレイしているとして超過プレイを合理的に認識できる。
As described above, the audio processing device 100 has been described based on the embodiment.
The voice processing device 100 calculates the continuous play time of the game as a cumulative estimated value based on the game sound. Therefore, the actual play time can be measured regardless of the type of the game device 104. Further, there is no need to connect the voice input device 102 and the voice processing device 100 with the game device 104 for communication. Since there is no need to add a special function to the existing game apparatus 104, the system can be easily introduced. In addition, when the interval is short, the sound processing device 100 can reasonably recognize excess play assuming that the player plays the game substantially continuously.

一般的な音楽の演奏期間は固定時間であり、数分程度で完結するものが多い。繰り返しのフレーズがあるとしても、同じフレーズを延々と繰り返すことは少ない。一方、ゲーム背景音楽は、プレイヤがゲームを中断したときが終期となるため、演奏時間は可変長となる。ゲーム背景音楽は、完結しない音楽であるため、同一フレーズ(音声パターン)を延々と繰り返すことが多い。このため、音声パターンの繰り返しを手がかりとすることでゲーム背景音楽かそれ以外の一般的な音楽であるかを比較的簡易に見分けることができる。   The performance period of general music is fixed time, and is often completed in about several minutes. Even if there is a repeated phrase, the same phrase is rarely repeated endlessly. On the other hand, the game background music ends when the player interrupts the game, so that the playing time has a variable length. Since the game background music is incomplete music, the same phrase (voice pattern) is often repeated endlessly. For this reason, by using the repetition of the voice pattern as a clue, it can be relatively easily distinguished between game background music and other general music.

なお、本発明は上記実施形態や変形例に限定されるものではなく、要旨を逸脱しない範囲で構成要素を変形して具体化することができる。上記実施形態や変形例に開示されている複数の構成要素を適宜組み合わせることにより種々の発明を形成してもよい。また、上記実施形態や変形例に示される全構成要素からいくつかの構成要素を削除してもよい。   Note that the present invention is not limited to the above embodiments and modified examples, and can be embodied by modifying the constituent elements without departing from the gist. Various inventions may be formed by appropriately combining a plurality of components disclosed in the above embodiments and modifications. In addition, some components may be deleted from all the components shown in the above-described embodiment and the modified examples.

音声入力装置102と音声処理装置100によりシステムが構成されるとして説明したが、音声処理装置100の機能の一部は音声入力装置102により実現されてもよいし、音声処理装置100および音声入力装置102以外の第3の装置が、これらの装置の機能の一部を担ってもよい。   Although the system has been described as being configured by the voice input device 102 and the voice processing device 100, some of the functions of the voice processing device 100 may be realized by the voice input device 102, or the voice processing device 100 and the voice input device Third devices other than 102 may perform some of the functions of these devices.

[変形例]
本実施形態においては、注意メッセージや鎮静メッセージ等の各種メッセージを音声入力装置102から音声出力するとして説明した。変形例として、音声処理装置100は内蔵のモニタ、または、外付けのモニタに対して、メッセージを文字または画像により表示してもよい。音声処理装置100は、ランプを点灯させることで、プレイヤの注意を喚起してもよい。メッセージは言語である必要はなく、ブザーなどの非言語音声であってもよい。
[Modification]
In the present embodiment, it has been described that various messages such as a caution message and a sedation message are output from the voice input device 102 by voice. As a modified example, the voice processing device 100 may display a message by text or an image on a built-in monitor or an external monitor. The sound processing device 100 may call attention of the player by turning on a lamp. The message need not be in language, but may be non-verbal audio such as a buzzer.

音声処理装置100は通信部(図示せず)を備えてもよい。音声処理装置100の通信部は、超過プレイを検出したとき、ゲーム装置104に制御信号を送信し、ゲーム装置104はこの制御信号を受信したときにゲームを中止させてもよい。また、ゲーム装置104は、この制御信号を受信したときにコントローラのバイブレータを振動させることでプレイヤに注意を促してもよい。音声処理装置100の通信部は、プレイヤ以外のユーザの通信端末にメッセージを送信してもよい。たとえば、プレイヤが子どものときには、その親の携帯端末に注意メッセージを送信してもよい。   The voice processing device 100 may include a communication unit (not shown). The communication unit of the audio processing device 100 may transmit a control signal to the game device 104 when detecting an excessive play, and the game device 104 may stop the game when receiving the control signal. The game device 104 may alert the player by vibrating the vibrator of the controller when receiving the control signal. The communication unit of the voice processing device 100 may transmit a message to a communication terminal of a user other than the player. For example, when the player is a child, a caution message may be transmitted to the mobile terminal of the parent.

累計推定値の長さに応じて、注意メッセージの内容や報知方法を変化させてもよい。たとえば、報知部112は累計推定値が1時間を超えたときには「ちょっと休もうよ」という提案型の注意メッセージを音声出力させ、2時間を超えたときには叱りつけるような注意メッセージを音声出力させてもよい。また、3時間を超えたときには、音声処理装置100はコントローラのバイブレータを起動させる制御信号を送信してもよいし、高周波音などの不快音を出力させてもよい。   The content of the caution message and the notification method may be changed according to the length of the cumulative estimated value. For example, the notifying unit 112 may output a suggestion-type caution message “Let's rest a little” when the cumulative estimated value exceeds one hour, and may output a caution message such as scolding when the total estimated value exceeds two hours. Good. When the time exceeds three hours, the sound processing device 100 may transmit a control signal for activating the vibrator of the controller, or may output an unpleasant sound such as a high-frequency sound.

本実施形態においては、音声パターンの繰り返しに基づいてゲーム背景音楽を検出するとして説明した。変形例として、音声処理装置100は、複数種類のゲーム背景音楽をあらかじめデータ格納部116に登録しておいてもよい。音声判定部118は、既知のゲーム背景音楽と同一のゲーム背景音楽を検出したとき、ゲームのプレイ中であると判定してもよい。   In the present embodiment, it has been described that the game background music is detected based on the repetition of the voice pattern. As a modification, the audio processing device 100 may register a plurality of types of game background music in the data storage unit 116 in advance. When detecting the same game background music as the known game background music, the sound determination unit 118 may determine that the game is being played.

音声検出部110は衝撃音や破裂音等のゲームに特有の効果音を検出し、音声判定部118はゲームの効果音の発生時に流れている音楽をゲーム背景音楽として判定してもよい。また、音声判定部118は、このときの背景音楽をゲーム背景音楽としてデータ格納部116に登録してもよい。ゲームの効果音に限らず、プレイヤのゲーム中における典型的な発話を検出し、このときに流れている音楽をゲーム背景音楽として判定してもよい。典型的な発話としては「よし」「くそ」「もー」といった発話が考えられる。このような効果音あるいは発話を単位時間内において所定回数以上検出したとき、この単位時間において継続して流れている背景音楽をゲーム背景音楽として登録してもよい。   The sound detection unit 110 may detect a sound effect unique to the game, such as an impact sound or a plosive sound, and the sound determination unit 118 may determine the music that is playing when the sound effect of the game is generated as the game background music. Further, the sound determination unit 118 may register the background music at this time in the data storage unit 116 as game background music. Not only the sound effect of the game but also a typical utterance of the player during the game may be detected, and the music playing at this time may be determined as the game background music. As typical utterances, utterances such as “good”, “shit”, and “mo” can be considered. When such a sound effect or utterance is detected a predetermined number of times or more in a unit time, the background music continuously flowing in the unit time may be registered as the game background music.

本実施形態においては、音声パターンとその繰り返し回数を乗ずることでプレイ時間の累計推定値を算出するとして説明した。変形例として、音声パターンの繰り返し回数にもとづいて超過プレイを判定してもよい。時間推定部120は、音声パターンの繰り返し回数をカウントし、このカウント値が所定の閾値以上となったとき、超過プレイになっていると判定してもよい。   In the present embodiment, it has been described that the cumulative estimated value of the play time is calculated by multiplying the voice pattern by the number of repetitions. As a modification, excess play may be determined based on the number of repetitions of the audio pattern. The time estimating unit 120 may count the number of repetitions of the voice pattern, and when the count value is equal to or greater than a predetermined threshold value, may determine that the excess play has been performed.

音声パターンの繰り返し回数やプレイ時間の累積推定値に基づいて、プレイヤによってプレイ中のゲームの攻略情報を音声入力装置102が出力してもよい。たとえば、音声検出部110がゲームオーバー時の効果音を繰り返し検出した場合に、報知部112は、ゲームの攻略情報を音声入力装置102に出力させてもよい。   The voice input device 102 may output capture information of the game being played by the player based on the number of repetitions of the voice pattern and the cumulative estimated value of the play time. For example, when the sound detection unit 110 repeatedly detects a sound effect at the time of a game over, the notification unit 112 may cause the sound input device 102 to output game capture information.

本実施形態においては、音声処理装置100は、音声入力装置102がゲーム背景音楽の音声パターンを検出したときに駆動される。変形例として、音声処理装置100は、定期的にゲーム背景音楽を検出してもよい。たとえば、音声処理装置100は、5分に1回のペースで駆動されるとしてもよい。そして、駆動後、30秒間が計測期間となる。音声処理装置100の音声判定部118は計測期間において音声パターンが検出されたときにはカウント値をインクリメントし、音声パターンが検出されなければカウント値をリセットする。すなわち、プレイヤがゲームをプレイし続けるとカウント値は徐々に大きくなる。時間推定部120は、このカウント値が所定の閾値を超えたとき、超過プレイになっていると判定する。報知部112は、カウント値が閾値を超えたときに注意メッセージを音声入力装置102から音声出力してもよい。   In the present embodiment, the voice processing device 100 is driven when the voice input device 102 detects a voice pattern of game background music. As a modification, the voice processing device 100 may periodically detect game background music. For example, the audio processing device 100 may be driven at a pace of once every five minutes. Then, after driving, 30 seconds is a measurement period. The voice determination unit 118 of the voice processing device 100 increments the count value when a voice pattern is detected during the measurement period, and resets the count value when no voice pattern is detected. That is, as the player continues to play the game, the count value gradually increases. When the count value exceeds a predetermined threshold, the time estimating unit 120 determines that the excess play has been performed. The notification unit 112 may output a warning message from the voice input device 102 by voice when the count value exceeds the threshold.

本実施形態においては、ゲームの実質的な連続プレイ時間の推定値として累計推定値を算出するとして説明した。変形例として、連続プレイ時間ではなく、所定期間における合計のプレイ時間を累計推定値としてもよい。たとえば、1日あたりのゲームのプレイ時間を2時間に制限したとする。このとき、時間推定部120は、1日あたりのゲームのプレイ時間の合計値を累計推定値として計算し、この累計推定値が2時間を超過したとき、報知部112は注意メッセージを音声出力させてもよい。   In the present embodiment, it has been described that the cumulative estimated value is calculated as the estimated value of the substantial continuous play time of the game. As a modification, the total play time in a predetermined period may be used as the cumulative estimated value instead of the continuous play time. For example, assume that the play time of a game per day is limited to two hours. At this time, the time estimating unit 120 calculates the total value of the game play time per day as a cumulative estimated value, and when the cumulative estimated value exceeds 2 hours, the notifying unit 112 outputs a caution message by voice. You may.

本実施形態においては、音声入力装置102はスマートスピーカであるとして説明した。変形例として、音声処理装置100および音声入力装置102の機能はマイクおよびスピーカを備える任意の装置により実現されてもよい。たとえば、スマートフォンのアプリケーションとして音声処理装置100の機能を実装し、スマートフォンのマイクおよびスピーカを利用して同様の機能を実現してもよい。   In the present embodiment, the voice input device 102 has been described as a smart speaker. As a modification, the functions of the audio processing device 100 and the audio input device 102 may be realized by any device including a microphone and a speaker. For example, the function of the voice processing device 100 may be implemented as an application of a smartphone, and the same function may be realized using a microphone and a speaker of the smartphone.

100 音声処理装置、102 音声入力装置、104 ゲーム装置、110 音声検出部、112 報知部、114 データ処理部、116 データ格納部、118 音声判定部、120 時間推定部   Reference Signs List 100 voice processing device, 102 voice input device, 104 game device, 110 voice detection unit, 112 notification unit, 114 data processing unit, 116 data storage unit, 118 voice determination unit, 120 time estimation unit

Claims (8)

外部音声を検出する音声検出部と、
前記外部音声に、コンピュータゲームのゲーム音が含まれるか否かを判定する音声判定部と、
前記ゲーム音に基づいて、コンピュータゲームのプレイ時間の累計推定値を計算する時間推定部と、
前記累計推定値が第1の閾値を超えるとき、プレイヤに第1のメッセージを報知する報知部と、を備え、
前記音声判定部は、前記外部音声から所定の音声パターンが繰り返し検出されるとき、前記外部音声にゲーム音が含まれると判定することを特徴とする音声処理装置。
An audio detection unit that detects external audio,
A sound determination unit that determines whether or not the external sound includes a game sound of a computer game;
A time estimating unit that calculates a cumulative estimated value of the play time of the computer game based on the game sound;
A notification unit that notifies a player of a first message when the total estimated value exceeds a first threshold value ,
The voice processing device according to claim 1, wherein the voice determination unit determines that a game sound is included in the external voice when a predetermined voice pattern is repeatedly detected from the external voice.
前記時間推定部は、第1のコンピュータゲームにおける第1のゲーム音に続いて第2のコンピュータゲームにおける第2のゲーム音が検出されたときには、前記第1のゲーム音に基づく第1の累計推定値と前記第2のゲーム音に基づく第2の累計推定値の双方に基づいて、コンピュータゲームのプレイ時間全体としての累計推定値を計算することを特徴とする請求項1に記載の音声処理装置。   The time estimating unit, when a second game sound in the second computer game is detected following the first game sound in the first computer game, the first cumulative estimation based on the first game sound The speech processing device according to claim 1, wherein a total estimated value as a whole play time of the computer game is calculated based on both the value and a second total estimated value based on the second game sound. . 前記時間推定部は、前記音声パターンの長さに前記音声パターンの検出回数を乗じることにより累計推定値を算出することを特徴とする請求項1または2に記載の音声処理装置。 The audio processing device according to claim 1 , wherein the time estimation unit calculates a cumulative estimated value by multiplying a length of the audio pattern by the number of times the audio pattern is detected. 前記時間推定部は、ゲーム音が検出されてから次にゲーム音が検出されるまでのインターバルが第2の閾値を超えるときには、累計推定値をリセットした上で、次のゲーム音に基づいてプレイ時間の累計推定値を再計算することを特徴とする請求項1から3のいずれかに記載の音声処理装置。 The time estimating unit resets the cumulative estimated value when the interval from the detection of the game sound to the next detection of the game sound exceeds the second threshold value, and performs the play based on the next game sound. The speech processing device according to claim 1 , wherein a cumulative estimated value of time is recalculated. 前記音声判定部は、更に、前記外部音声からゲーム音とともにプレイヤによる発話音声を検出し、前記発話音声に所定単語が含まれているか否かを判定し、
前記報知部は、前記所定単語の発話がなされているときには、プレイヤに対して第2のメッセージを報知することを特徴とする請求項1から4のいずれかに記載の音声処理装置。
The sound determination unit further detects an uttered sound by the player together with the game sound from the external sound, and determines whether the uttered sound includes a predetermined word,
The voice processing device according to any one of claims 1 to 4, wherein the notification unit notifies the player of a second message when the predetermined word is uttered .
外部音声を検出する音声検出部と、
前記外部音声から所定の音声パターンが繰り返し検出されるとき、前記外部音声にゲーム音が含まれると判定する音声判定部と、
前記音声パターンの連続検出回数が第3の閾値を超えるとき、プレイヤに第1のメッセージを報知する報知部と、を備えることを特徴とする音声処理装置。
An audio detection unit that detects external audio,
When a predetermined voice pattern is repeatedly detected from the external voice, a voice determination unit that determines that a game sound is included in the external voice,
A notification unit configured to notify a player of a first message when the number of consecutive detections of the voice pattern exceeds a third threshold.
外部音声を検出する機能と、
前記外部音声から所定の音声パターンが繰り返し検出されるとき、前記外部音声にゲーム音が含まれると判定する機能と、
前記ゲーム音に基づいて、コンピュータゲームのプレイ時間の累計推定値を計算する機能と、
前記累計推定値が第1の閾値を超えるとき、プレイヤに第1のメッセージを報知する機能と、をコンピュータに発揮させることを特徴とする音声処理プログラム。
The ability to detect external audio,
A function of determining that a game sound is included in the external voice when a predetermined voice pattern is repeatedly detected from the external voice;
A function of calculating a cumulative estimated value of the play time of the computer game based on the game sound;
A sound processing program for causing a computer to perform a function of notifying a player of a first message when the cumulative estimated value exceeds a first threshold value.
外部音声を検出する機能と、
前記外部音声から所定の音声パターンが繰り返し検出されるとき、前記外部音声にゲーム音が含まれると判定する機能と、
前記音声パターンの連続検出回数が第3の閾値を超えるとき、プレイヤに第1のメッセージを報知する機能と、をコンピュータに発揮させることを特徴とする音声処理プログラム。
The ability to detect external audio,
A function of determining that a game sound is included in the external voice when a predetermined voice pattern is repeatedly detected from the external voice;
A sound processing program for causing a computer to perform a function of notifying a player of a first message when the number of times of continuous detection of the sound pattern exceeds a third threshold value.
JP2019067371A 2019-03-29 2019-03-29 Audio processing device Active JP6642755B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019067371A JP6642755B1 (en) 2019-03-29 2019-03-29 Audio processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019067371A JP6642755B1 (en) 2019-03-29 2019-03-29 Audio processing device

Publications (2)

Publication Number Publication Date
JP6642755B1 true JP6642755B1 (en) 2020-02-12
JP2020162936A JP2020162936A (en) 2020-10-08

Family

ID=69412084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019067371A Active JP6642755B1 (en) 2019-03-29 2019-03-29 Audio processing device

Country Status (1)

Country Link
JP (1) JP6642755B1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7461392B2 (en) * 2002-07-01 2008-12-02 Microsoft Corporation System and method for identifying and segmenting repeating media objects embedded in a stream
JP2007105313A (en) * 2005-10-14 2007-04-26 Snk Playmore Corp Game machine and game program
JP6966231B2 (en) * 2017-06-19 2021-11-10 任天堂株式会社 Information processing system, information processing method, information processing device, and information processing program
JP2019036190A (en) * 2017-08-18 2019-03-07 ヤフー株式会社 Determination device, method for determination, and determination program
JP6767322B2 (en) * 2017-08-18 2020-10-14 ヤフー株式会社 Output control device, output control method and output control program
JP2019036191A (en) * 2017-08-18 2019-03-07 ヤフー株式会社 Determination device, method for determination, and determination program

Also Published As

Publication number Publication date
JP2020162936A (en) 2020-10-08

Similar Documents

Publication Publication Date Title
US8204238B2 (en) Systems and methods of sonic communication
JP4307193B2 (en) Program, information storage medium, and game system
US7909698B2 (en) Input device, input determination method, game system, game system control method, program, and information storage medium
US20090069072A1 (en) Shake responsive handheld device and method
CN110035358B (en) Vehicle-mounted audio output device, audio output control method, and recording medium
US20180110461A1 (en) Audio signal processing device, audio signal processing method, and storage medium
JP5652415B2 (en) Touch detection device, touch detection method, and electronic musical instrument
JP6642755B1 (en) Audio processing device
US9277340B2 (en) Sound output system, information processing apparatus, computer-readable non-transitory storage medium having information processing program stored therein, and sound output control method
JP2019090945A (en) Information processing unit
US8958895B2 (en) Information storage medium and information processing system
JP2010154387A (en) Communication terminal device, communication control method, and communication control program
US20230005473A1 (en) Information output apparatus, information output method, and non-transitory recording medium
WO2019082321A1 (en) Tempo setting device and control method for same, and program
JP2019005018A5 (en)
US10841702B2 (en) Computer-readable non-transitory storage medium having sound processing program stored therein, sound processing system, sound processing apparatus, and sound processing method
JP5949879B2 (en) Touch detection device, touch detection method, and electronic musical instrument
JP2002085834A (en) Game machine
JP2017198922A (en) Karaoke device
WO2017145800A1 (en) Voice analysis apparatus, voice analysis method, and program
JP4648707B2 (en) Program, information storage medium, and game system
JP4155572B2 (en) Input device, game system, program, and information storage medium
JP4391885B2 (en) Program, information storage medium and game system
JPH10230036A (en) Golf swing rhythm phone
JP2021151336A (en) Information processing device, output sound determination method and output sound determination program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190603

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20190603

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20190719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190920

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191216

R150 Certificate of patent or registration of utility model

Ref document number: 6642755

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250