JPH05344599A - Automatic discriminating device for adding sound effect - Google Patents

Automatic discriminating device for adding sound effect

Info

Publication number
JPH05344599A
JPH05344599A JP4175012A JP17501292A JPH05344599A JP H05344599 A JPH05344599 A JP H05344599A JP 4175012 A JP4175012 A JP 4175012A JP 17501292 A JP17501292 A JP 17501292A JP H05344599 A JPH05344599 A JP H05344599A
Authority
JP
Japan
Prior art keywords
signal
frame
music
signals
silence
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.)
Pending
Application number
JP4175012A
Other languages
Japanese (ja)
Inventor
Sachiko Houkan
祥子 宝官
Takeshi Miyagawa
猛 宮川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4175012A priority Critical patent/JPH05344599A/en
Publication of JPH05344599A publication Critical patent/JPH05344599A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stereophonic System (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Stereo-Broadcasting Methods (AREA)

Abstract

PURPOSE:To accurately discriminate a music signal and an announce signal in a frame by discriminating the number by signals of all stereo signals in the frame. CONSTITUTION:On the frame discriminated as a sound frame by a silence number discriminating means 4, a means 15 by level difference numbers discriminates whether the all signals in the frame is a music signal or an announce signal by the level difference between an L signal input 1 and an R signal input 2 of the stereo signal. The one with the higher discriminated signal numbers is decided as a music frame or an announce frame. Thus, the discrimination accuracy is improved and the discrimination whether or not the input is the music or announce signal is accurately performed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、受信した音楽放送に対
してのみ反射波、残響等の効果音を付加するため、放送
内容を音楽とアナウンスとに判別する効果音付加自動判
別装置に関し、特に、この判別の精度を高めるように構
成したものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic effect sound addition discriminating apparatus for discriminating broadcast contents into music and announcements in order to add reflected sound, reverberation and other sound effects only to received music broadcasts. In particular, it is configured to increase the accuracy of this determination.

【0002】[0002]

【従来の技術】近年、ホーム・オーディオやカー・オー
ディオに効果音付加機能を持たせることが普及し、これ
に伴い、受信したFM放送が音楽のときは効果音を付加
し、ニュース等のアナウンス番組のときは効果音を付加
しないように、放送内容を自動的に判別する効果音付加
自動判別装置が考案されている。
2. Description of the Related Art In recent years, it has become widespread to provide home audio and car audio with a sound effect addition function, and when the received FM broadcast is music, sound effect is added to announce news. An automatic effect sound addition discriminating apparatus has been devised which automatically discriminates broadcast contents so that no sound effect is added in the case of a program.

【0003】本発明者は、この効果音付加自動判別装置
に関する改良を特願平4−17420号として出願して
いる。
The inventor of the present invention has filed an application for an improvement of this automatic effect sound discrimination apparatus as Japanese Patent Application No. 4-17420.

【0004】図5は、この先願に係る効果音付加自動判
別装置の構成を示している。この装置には、サンプリン
グ周期毎にデジタル化されたステレオ信号が、それらの
複数個を含むフレーム構成を採って入力する。
FIG. 5 shows the configuration of the effect sound addition automatic discrimination apparatus according to this prior application. The stereo signal digitized at each sampling period is input to the device by adopting a frame structure including a plurality of them.

【0005】この装置は、ステレオ信号の左側の信号
(L信号)が入力するL信号入力端子1と、右側の信号
(R信号)が入力するR信号入力端子2と、L信号とR信
号を加算する加算処理部3と、一定区間毎のフレームに
含まれるステレオ信号の“L信号の絶対値+R信号の絶
対値”と無音信号域値とを比較して、そのフレームの含
んでいる無音信号の数を検出し、無音信号数から入力信
号の種類を判別する無音回数判別手段4と、無音回数判
別手段4で有音フレームと判定されたフレームから任意
の1つのステレオ信号をサンプルとして抽出し、そのサ
ンプルのL信号とR信号のレベル差の絶対値からその有
音フレームが音楽信号またはアナウンス信号のいずれで
あるかを判別するレベル差判別手段5と、無音回数判別
手段4において比較のために用いられる無音信号域値を
決定する無音信号域値設定手段6と、反射波や残響等の
効果音を生成する効果音生成手段7と、効果音レベルを
設定する効果音ボリューム8と、この効果音ボリューム
8でレベル設定した効果音とL信号またはR信号とを加
算する出力信号加算処理部9、10と、信号を出力するL
信号出力端子11およびR信号出力端子12とを備えてい
る。
This device uses a signal on the left side of the stereo signal.
(L signal) input L signal input terminal 1 and the right signal
R signal input terminal 2 for inputting (R signal), addition processing unit 3 for adding L signal and R signal, “absolute value of L signal + absolute value of R signal” of stereo signal included in frame for each fixed section The number of silent signals contained in the frame is detected, and the number of silent signals is determined by the number of silent signals, and the number of silent signals is determined by the number of silent signals. Any one stereo signal is extracted as a sample from the frame determined to be a voiced frame, and the voiced frame is either a music signal or an announcement signal based on the absolute value of the level difference between the L signal and the R signal of the sample. Level difference discriminating means 5 for discriminating whether or not, silent signal threshold value setting means 6 for determining a silent signal threshold value used for comparison in the silent frequency determining means 4, and a sound effect such as a reflected wave or reverberation. A sound effect generating means 7, a sound effect volume 8 for setting a sound effect level, and output signal addition processing units 9, 10 for adding the sound effect level set by the sound effect volume 8 and the L signal or the R signal, L that outputs a signal
A signal output terminal 11 and an R signal output terminal 12 are provided.

【0006】この効果音付加自動判別装置においては、
サンプリング周期毎にデジタル化されたステレオ信号の
L信号およびR信号が入力信号加算処理部3で加算さ
れ、この加算された入力信号に基づいて反射音や残響等
の効果音が効果音生成手段7で生成される。この効果音
は、効果音ボリューム8でその音量が設定され、次い
で、出力加算処理部9、10において、L信号およびR信
号のそれぞれに加算され、出力される。
In this automatic effect sound discrimination apparatus,
The L signal and the R signal of the stereo signal digitized at each sampling cycle are added by the input signal addition processing unit 3, and a sound effect such as a reflected sound or a reverberation is generated based on the added input signal. Is generated by. The volume of this sound effect is set by the sound effect volume 8, and then, in the output addition processing units 9 and 10, it is added to each of the L signal and the R signal and output.

【0007】効果音ボリューム8における音量の設定
は、無音回数判別手段4およびレベル差判別手段5の判
別の結果に基づいて行なわれる。
The volume of the sound effect volume 8 is set on the basis of the results of the judgments by the silence count judging means 4 and the level difference judging means 5.

【0008】無音信号域値設定手段6では、無音回数判
別手段4に対して、入力信号が無音か有音かを判別する
ときの比較対象となる無音信号域値を提供しているが、
この無音信号域値は、入力信号レベルが変動した場合に
も正確な判別ができるように、入力レベルを勘案して設
定する必要がある。
The silent signal threshold value setting means 6 provides the silent frequency determination means 4 with a silent signal threshold value to be compared when determining whether the input signal is silent or voiced.
This silent signal threshold value needs to be set in consideration of the input level so that accurate determination can be performed even when the input signal level fluctuates.

【0009】そこで、無音信号域値設定手段6では、レ
ベル差判別手段5においてレベル差を検出するために用
いた有音信号のL信号およびR信号の和の絶対値を求
め、その値の1/α(但し、α>1)を次フレームの無
音信号推定域値とし、この無音信号推定域値と現フレー
ムの無音信号域値とから、次式によって次フレームの無
音信号域値を設定している。
Therefore, in the silent signal threshold value setting means 6, the absolute value of the sum of the L signal and the R signal of the sound signal used for detecting the level difference in the level difference determining means 5 is obtained, and the value is 1 / Α (where α> 1) is the silent signal estimation threshold value of the next frame, and the silence signal threshold value of the next frame is set by the following equation from the silence signal estimation threshold value and the silence signal threshold value of the current frame. ing.

【0010】Ki=Ki-1−(Ki-1−KN)×β (但し、K:無音信号域値、KN:無音信号推定域値、
β:β<1、i:フレーム番号)また、無音回数判別手
段4およびレベル差判別手段5では、図6および図7に
示す手順で音楽信号とアナウンス信号との別を判別し、
同時に、無音信号域値設定手段6では、図4に示す手順
で次フレームの無音信号域値を設定する。これらの手順
について、次に説明すると、先ず、無音回数判別手段4
(図6)では、ステップ1;一定区間毎のフレームに含ま
れるステレオ信号の“L信号の絶対値+R信号の絶対
値”と、無音信号域値設定手段8の設定する無音信号域
値とを比較し、“L信号の絶対値+R信号の絶対値”が
無音信号域値以上のときはステレオ信号が有音であると
判定し、無音信号域値より小さいときは無音であると判
定する。
K i = K i-1 − (K i-1 −KN) × β (where K: silent signal threshold value, KN: silent signal estimated threshold value,
(β: β <1, i: frame number) Further, the silence number discrimination means 4 and the level difference discrimination means 5 discriminate between the music signal and the announcement signal in the procedure shown in FIGS. 6 and 7,
At the same time, the silence signal threshold value setting means 6 sets the silence signal threshold value of the next frame in the procedure shown in FIG. These procedures will be described below. First, the silence count determination means 4
In FIG. 6, in step 1, the stereo signal “absolute value of L signal + absolute value of R signal” included in the frame for each fixed section and the silent signal range value set by the silent signal range value setting means 8 are set. By comparison, when the “absolute value of L signal + absolute value of R signal” is equal to or greater than the silent signal range value, it is determined that the stereo signal is sound, and when it is smaller than the silent signal range value, it is determined that there is no sound.

【0011】ステップ2;無音のステレオ信号を判定し
たときには、無音回数を1つずつ増やすことにより無音
回数をカウントし、ステップ3;フレーム内のステレオ
信号の無音検出が終了するまで、この動作を継続する。
そのフレームに関する無音検出が終了すると、ステップ
4;カウントした無音回数により、そのフレームが有音
フレームかどうかを判別する。フレーム内の無音信号の
数がある値(a)以下のときは、レベル差判別手段3によ
る判別を実行する。また、その数がaを超えるときは、
ステップ5;更に、その数により二通りの対応を採り、
その数がある値(b、但し、b>a)を超えるときは、無
入力状態と判定して、無音回数をリセットする(ステッ
プ7)。また、その数がb以下のときは、入力信号をア
ナウンス信号と判定し、ステップ6;効果音ボリューム
8の減算を行なった後、無音回数をリセットする(ステ
ップ7)。
Step 2: When a silent stereo signal is determined, the number of silences is counted by incrementing the number of silences one by one, and this operation is continued until the silence detection of the stereo signal in the frame is completed. To do.
When the silence detection for the frame is completed, step 4; it is determined whether or not the frame is a voiced frame based on the counted number of silences. When the number of silent signals in the frame is less than or equal to a certain value (a), the level difference determining means 3 performs the determination. When the number exceeds a,
Step 5; Further, there are two types of correspondence depending on the number,
When the number exceeds a certain value (b, but b> a), it is determined that there is no input and the number of silences is reset (step 7). If the number is less than or equal to b, the input signal is determined to be an announcement signal, step 6; the sound effect volume 8 is subtracted, and then the number of silences is reset (step 7).

【0012】また、レベル差判別手段5では(図7)、無
音回数判別手段4で有音フレームと判定したフレームか
ら任意のステレオ信号の1つをサンプルとして抽出し、
ステップ8;その信号のL信号とR信号との差の絶対値
が、ある値(c)以上のときは、入力信号を音楽信号と判
定し、ステップ9;効果音ボリューム5の加算を行な
う。
Further, in the level difference judging means 5 (FIG. 7), one of the arbitrary stereo signals is extracted as a sample from the frame judged by the silence number judging means 4 as a sound frame,
Step 8: When the absolute value of the difference between the L signal and the R signal of the signal is a certain value (c) or more, the input signal is determined to be a music signal, and Step 9: The sound effect volume 5 is added.

【0013】また、ステップ8において、L信号とR信
号との差の絶対値がcより小さいときは、ステップ10;
更に、その絶対値により二通りの対応を採り、その絶対
値がある値(d,但し、d<c)以下のときは、アナウン
スと判定して、ステップ11;効果音ボリュームの減算を
行なう。
When the absolute value of the difference between the L signal and the R signal is smaller than c in step 8, step 10;
Further, two correspondences are taken according to the absolute value, and when the absolute value is less than a certain value (d, where d <c), it is judged as an announcement and step 11; the sound effect volume is subtracted.

【0014】また、その絶対値がdを超えるときは、判
定不可能な信号として、レベル差判別を終了する。
When the absolute value exceeds d, the level difference determination is terminated as an undeterminable signal.

【0015】また、無音信号域値設定手段6では(図
4)、ステップ12;レベル差判別手段3で使用したステ
レオ信号のL信号とR信号とを加算し、その絶対値に1
/αを乗じて次フレームの無音信号域値の推定値を求
め、ステップ13;この無音信号域値の推定値を用いて、
前記式により次フレームにおける無音信号域値(Ki)を
算出し、無音回数判別手段4の無音信号域値を更新す
る。次いで、図6のに飛び、無音回数のリセットを行
なう。
Further, in the silent signal threshold value setting means 6 (FIG. 4), step 12; the L signal and the R signal of the stereo signal used in the level difference judging means 3 are added, and the absolute value is 1
Multiply / α to obtain the estimated value of the silent signal threshold value of the next frame, step 13; using this estimated value of the silent signal threshold value,
The silence signal threshold value (K i ) in the next frame is calculated by the above formula, and the silence signal threshold value of the silence count judging means 4 is updated. Then, the process jumps to FIG. 6 to reset the number of silences.

【0016】このように、先願の発明の効果音付加自動
判別装置は、有音フレームから無音信号推定域値を求
め、この無音信号推定域値を用いて入力レベルに適合し
た無音信号域値を算出し、無音回数判別手段4で使用す
る無音信号域値を、この算出した値によって随時更新す
る点に特徴を有している。
As described above, the automatic sound effect discriminating apparatus according to the invention of the prior application obtains the silent signal estimated threshold value from the voiced frame, and uses the silent signal estimated threshold value to adjust the silent signal threshold value to the input level. Is calculated, and the silence signal range value used in the silence number discrimination unit 4 is updated at any time by the calculated value.

【0017】それ以前の装置は、無音信号域値として一
定値を使用しているが、これと比べて、先願の発明の装
置では、入力信号レベルの違いに影響を受けることな
く、無音回数判別手段4の無音信号の検出を行なうこと
ができ、常に一定の判別結果を得ることができる。
The devices before that used a constant value as the silence signal threshold value, but in comparison with this, the device of the invention of the earlier application does not suffer from the difference in the input signal level, and the number of silence times is not affected. It is possible to detect the silent signal of the discrimination means 4, and it is possible to always obtain a constant discrimination result.

【0018】[0018]

【発明が解決しようとする課題】しかし、この効果音付
加自動判別装置では、レベル差判別手段5において、有
音フレームから抽出した任意の1サンプルを判別するこ
とによって、そのフレーム全体が音楽信号フレームであ
るかアナウンス信号フレームであるかを決定しているた
め、フレームに対する正確な判別が難しいという問題点
を備えている。
However, in this effect sound addition automatic discriminating apparatus, the level difference discriminating means 5 discriminates any one sample extracted from the voiced frame so that the entire frame is a music signal frame. Therefore, it is difficult to accurately discriminate the frame because it is determined whether the frame is an announcement signal frame or an announcement signal frame.

【0019】本発明は、このような問題点を解決するも
のであり、音楽信号とアナウンス信号との別を正確に判
別することができる効果音付加自動判別装置を提供する
ことを目的としている。
The present invention solves such a problem, and an object of the present invention is to provide a sound effect addition automatic discriminating apparatus capable of discriminating correctly between a music signal and an announcement signal.

【0020】[0020]

【課題を解決するための手段】そこで、本発明では、フ
レーム内に含まれるデジタル化したステレオ信号の無音
信号数を検出して、無音フレーム、有音フレームおよび
無入力フレームの別を判別する無音回数判別手段と、こ
のステレオ信号のL信号およびR信号のレベル差を検出
して音楽信号およびアナウンス信号の別を判別するレベ
ル差判別手段とを備える効果音付加自動判別装置におい
て、前記レベル差判別手段として、フレーム内に含まれ
るステレオ信号の各々に対して音楽信号およびアナウン
ス信号の別を判別し、判別した音楽信号の数とアナウン
ス信号の数との比較に基づいて、フレームが音楽フレー
ムであるかアナウンス・フレームであるかを決定するレ
ベル差回数判別手段を設けている。
Therefore, according to the present invention, the number of silent signals of a digitized stereo signal included in a frame is detected to determine whether the frame is a silent frame, a sound frame or a non-input frame. In the effect sound addition automatic discrimination device, which comprises a number of times discrimination means and a level difference discrimination means for discriminating between a music signal and an announcement signal by detecting the level difference between the L signal and the R signal of the stereo signal, the level difference discrimination As a means, for each of the stereo signals included in the frame, the distinction between the music signal and the announcement signal is determined, and the frame is a music frame based on the comparison between the number of the determined music signals and the number of the announcement signals. There is provided a level difference number determination means for determining whether it is an announcement frame or an announcement frame.

【0021】[0021]

【作用】このレベル差回数判別手段では、フレームの中
の全てのステレオ信号を対象に音楽信号であるかアナウ
ンス信号であるかを判定し、音楽信号と判定した数がア
ナウンス信号と判定した数よりも多ければ、そのフレー
ムを音楽フレームとして、また、音楽信号と判定した数
がアナウンス信号と判定した数よりも少なければ、その
フレームをアナウンス・フレームとして決定する。
With this level difference number determination means, it is determined whether all stereo signals in the frame are music signals or announcement signals, and the number determined as a music signal is greater than the number determined as an announcement signal. If so, the frame is determined as a music frame, and if the number of music signals determined is less than the number of announcement signals, the frame is determined as an announcement frame.

【0022】[0022]

【実施例】本発明の効果音付加自動判別装置の実施例
は、図1に示すように、無音回数判別手段4で有音フレ
ームと判定されたフレームに含まれる全てのステレオ信
号について音楽信号かアナウンス信号かを判別するレベ
ル差回数判別手段15を備えている。このレベル差回数判
別手段15は、L信号入力端子1およびR信号入力端子2
に直接接続されている。その他の点では、先願に係る装
置の構成(図5)と変わりがない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. 1, the embodiment of the automatic effect sound automatic discriminating apparatus of the present invention is that all the stereo signals included in the frame judged to be the sound frame by the silence number judging means 4 are music signals. A level difference number discriminating means 15 for discriminating whether or not it is an announcement signal is provided. The level difference number determining means 15 includes an L signal input terminal 1 and an R signal input terminal 2
Is directly connected to. In other respects, it is the same as the configuration of the device according to the prior application (FIG. 5).

【0023】この効果音付加自動判別装置の動作は、大
筋では先願の装置のそれと同じである。この装置には、
サンプリング周期毎にデジタル化されたステレオ信号が
フレーム構成を採って入力し、ステレオ信号のL信号お
よびR信号が入力信号加算処理部3で加算され、この加
算された入力信号に基づいて反射音や残響等の効果音が
効果音生成手段7で生成され、この効果音の音量が、無
音回数判別手段4およびレベル差回数判別手段15の判定
に基づいて、効果音ボリューム8において設定され、こ
の効果音とL信号およびR信号のそれぞれとが出力加算
処理部9、10で加算され、L信号出力端子11およびR信
号出力端子12から出力される。
The operation of this automatic effect sound discrimination apparatus is basically the same as that of the apparatus of the prior application. This device has
A stereo signal digitized for each sampling period is input in a frame configuration, L signals and R signals of the stereo signal are added in the input signal addition processing unit 3, and reflected sound and reflected sound are generated based on the added input signal. A sound effect such as reverberation is generated by the sound effect generating means 7, and the volume of this sound effect is set in the sound effect volume 8 based on the judgments of the silent frequency judging means 4 and the level difference frequency judging means 15. The sound and each of the L signal and the R signal are added by the output addition processing units 9 and 10, and output from the L signal output terminal 11 and the R signal output terminal 12.

【0024】この装置の無音回数判別手段4では、図2
に示す手順によって無音回数の判別動作を行なう。
In the silence number judging means 4 of this apparatus,
The operation of determining the number of silences is performed by the procedure shown in.

【0025】ステップ1;フレーム内の全てのステレオ
信号に対する無音検出が終了したかどうかを判定して、
ステップ2;終了していない場合には、入力ステレオ信
号の“L信号の絶対値+R信号の絶対値”を無音信号域
値設定手段6の提供する無音信号域値と比較して、“L
信号の絶対値+R信号の絶対値”が無音信号域値を超え
るならば有音と判定して、ステップ10(リターン)から
ステップ1へと戻り、また、“L信号の絶対値+R信号
の絶対値”が無音信号域値以下ならば無音と判定して、
ステップ3;無音回数を更新し、その後にステップ10
からステップ1へと戻る。
Step 1: Judge whether or not silence detection is completed for all stereo signals in the frame,
Step 2; if not completed, compare the "absolute value of L signal + absolute value of R signal" of the input stereo signal with the silence signal threshold value provided by the silence signal threshold value setting means 6 to obtain "L".
If "absolute value of signal + absolute value of R signal" exceeds the silence signal threshold, it is judged as sound, and the process returns from step 10 (return) to step 1 and "absolute value of L signal + absolute value of R signal". If the "value" is less than or equal to the silence signal threshold, it is judged as silence,
Step 3: Update the silence count, then step 10
Returns to step 1.

【0026】こうして、フレームに含まれる全てのステ
レオ信号に対する無音検出が終了すると、ステップ4;
フレームについての無音回数を一定値aと比較し、無音
回数がaを超えるときは、無音フレームと判定して、ス
テップ5;有音フラグを0にセットし、ステップ6;ま
た、ステップ4において、無音回数がa以下のときは、
有音フレームと判定して、有音フラグを1にセットす
る。
When silence detection is completed for all stereo signals included in the frame, step 4;
The silence count for a frame is compared with a fixed value a, and when the silence count exceeds a, it is determined to be a silence frame, step 5; the sound flag is set to 0, step 6; When the number of silences is a or less,
A voiced frame is determined and a voiced flag is set to 1.

【0027】ステップ7;無音フレームについては、無
入力状態であるかどうかを判定するため、無音回数を一
定値b(>a)と比較し、無音回数がbを超えるときは、
無入力状態と判定して無音回数をリセット(ステップ9)
し、ステップ8;無音回数が一定値b以下であるとき
は、入力信号をアナウンス信号と判定して効果音ボリュ
ーム8を減算し、ステップ9;無音回数をリセットす
る。
Step 7: With respect to the silent frame, the number of silences is compared with a constant value b (> a) to determine whether or not there is no input, and when the number of silences exceeds b,
Reset the number of silences by judging that there is no input (step 9)
Step 8: When the number of silences is equal to or less than the constant value b, the input signal is determined to be an announcement signal, the sound effect volume 8 is subtracted, and Step 9: the number of silences is reset.

【0028】また、レベル差回数判別手段15では、図3
に示す手順によって、L信号とR信号とのレベル差によ
る音楽信号またはアナウンス信号の判別動作を行なう。
In the level difference number discriminating means 15, FIG.
According to the procedure shown in (1), the operation of discriminating the music signal or the announcement signal is performed based on the level difference between the L signal and the R signal.

【0029】ステップ1;フレーム内の全てのステレオ
信号に対する音楽信号またはアナウンス信号の検出が終
了したかどうかを判定し、ステップ2;終了していない
ときは、入力されたステレオ信号のL信号とR信号の差
の絶対値を一定値cと比較する。前記絶対値がcを超え
ていれば音楽信号と判定して、ステップ3;音楽信号回
数(MCNT)を更新し、ステップ6(リターン)からス
テップ1へと戻る。
Step 1; It is judged whether or not the detection of the music signal or the announcement signal for all the stereo signals in the frame is completed. Step 2; If not completed, the L and R signals of the input stereo signal are judged. The absolute value of the signal difference is compared with a constant value c. If the absolute value exceeds c, it is determined to be a music signal, step 3; the number of music signals (MCNT) is updated, and the process returns from step 6 (return) to step 1.

【0030】ステップ4;また、ステップ2において、
L信号とR信号の差の絶対値がc以下のときは、音楽信
号ではないものと判定し、前記絶対値を一定値d(<c)
と比較して、ステレオ信号がアナウンス信号かどうかを
判定する。前記絶対値がd以下のときは、アナウンス信
号と判定し、ステップ5;アナウンス信号回数(ACN
T)の更新を行ない、ステップ6からステップ1に戻
る。
Step 4; Also, in Step 2,
When the absolute value of the difference between the L signal and the R signal is less than or equal to c, it is determined that the signal is not a music signal, and the absolute value is set to a constant value d (<c).
And whether the stereo signal is an announcement signal by comparing with. When the absolute value is less than or equal to d, it is determined as an announcement signal, and step 5; the number of announcement signals (ACN
T) is updated, and the process returns from step 6 to step 1.

【0031】また、ステップ4において、絶対値がdを
超えるときは、音楽でもアナウンスでも無い、判定不可
能な信号として、ステップ6からステップ1に戻る。
When the absolute value exceeds d in step 4, the signal is neither a music nor an announcement and cannot be judged, and the process returns from step 6 to step 1.

【0032】こうして、フレームに含まれる全てのステ
レオ信号に対する音楽信号またはアナウンス信号の検出
が終了すると、ステップ7;有音フラグが1かどうかの
判定を行ない、有音フラグが1の場合には、ステップ
8;音楽信号回数(MCNT)とアナウンス信号回数
(ACNT)とを比較し、ステップ9;MCNT>AC
NTのときは、音楽フレームと判定して、効果音ボリュ
ームの加算を行ない、ステップ10;MCNT≦ACN
Tのときは、アナウンス・フレームと判定して、効果音
ボリュームの減算を行なう。
When the detection of the music signal or the announcement signal for all the stereo signals included in the frame is completed in this way, step 7; it is judged whether the voiced flag is 1 or not. Step 8: Compare the number of music signals (MCNT) with the number of announcement signals (ACNT), and Step 9: MCNT> AC
If it is NT, it is judged as a music frame and the sound effect volume is added, and step 10; MCNT ≦ ACN.
When it is T, it is determined to be an announcement frame, and the sound effect volume is subtracted.

【0033】ステップ11;ステップ7において有音フ
ラグが0のとき、またはステップ9およびステップ10
の動作が終了したときは、MCNTおよびACNTをリ
セットし、無音信号域値設定手段6へと飛ぶ。
Step 11; When the voiced flag is 0 in Step 7, or Steps 9 and 10
When the operation of is finished, MCNT and ACNT are reset, and the process goes to the silent signal range value setting means 6.

【0034】無音信号域値設定手段6における無音信号
域値の設定手順は、先願での手順と実質的に同じであ
り、図4に示すように、ステップ12;無音回数判別手
段4で有音フレームと判定したフレームの任意の1つの
ステレオ信号をサンプルとして抽出し、そのL信号とR
信号を加算し、その絶対値を1/α(但し、α>1)する
ことで次フレームの無音信号域値の推定値を求め、ステ
ップ13;次フレームの無音信号域値を、 Ki=Ki-1−(Ki-1−KN)×β (但し、K:無音信号域値、KN:無音信号推定域値、
β:β<1、i:フレーム番号)によって更新する。次
いで、図2の(1)へと飛ぶ。
The procedure for setting the silence signal threshold value in the silence signal threshold value setting means 6 is substantially the same as the procedure in the prior application, and as shown in FIG. 4, step 12; An arbitrary one stereo signal of a frame determined to be a sound frame is extracted as a sample, and its L signal and R signal are extracted.
The estimated value of the silent signal threshold value of the next frame is obtained by adding the signals and the absolute value thereof is 1 / α (where α> 1), and the silence signal threshold value of the next frame is set to K i = K i-1 − (K i-1 −KN) × β (where K: silent signal threshold value, KN: silent signal estimated threshold value,
β: β <1, i: frame number). Then, jump to (1) in FIG.

【0035】このように、実施例の効果音付加自動判別
装置では、有音フレームに含まれるステレオ信号の全サ
ンプルに対して音楽信号かアナウンス信号かの判定を行
ない、音楽信号と判定した数とアナウンス信号と判定し
た数とを比較して、音楽信号と判定した数が多ければ、
そのフレームを音楽フレームとし、また、アナウンス信
号と判定した数が多ければ、アナウンス・フレームとし
て決定している。
As described above, in the sound effect addition automatic discrimination apparatus of the embodiment, it is determined whether all the samples of the stereo signal included in the sound frame are music signals or announcement signals, and the number of music signals is determined. If the number judged as a music signal is large by comparing the number judged as an announcement signal,
The frame is determined to be a music frame, and if there are a large number of announcement signals, it is determined as an announcement frame.

【0036】このレベル差回数判別手段15は、従来の一
定無音信号域値を使用する効果音付加自動判別装置に対
して適用することも勿論可能である。
The level difference number discriminating means 15 can of course be applied to a conventional effect sound addition automatic discriminating device using a constant silence signal range value.

【0037】また、実施例の装置における無音回数判別
手段4およびレベル差回数判別手段15では、図2および
図3に示すように、処理手順に関して、フレーム内のサ
ンプルの処理とフレーム終了後の処理とをステップ1の
段階で分離している。そのため、それらの処理を分離し
ない場合と比べて、処理時間を短縮することが可能であ
る。
Further, in the silence number discriminating means 4 and the level difference number discriminating means 15 in the apparatus of the embodiment, as shown in FIGS. 2 and 3, with respect to the processing procedure, the processing of the sample in the frame and the processing after the end of the frame are carried out. And are separated in the step 1. Therefore, it is possible to shorten the processing time as compared with the case where those processings are not separated.

【0038】[0038]

【発明の効果】以上の実施例の説明から明らかなよう
に、本発明の効果音付加自動判別装置では、L信号およ
びR信号のレベル差に基づく判別において、その判別精
度を高めることができ、それによって、入力信号が音楽
であるかアナウンスであるかの判定をより正確に行なう
ことができる。
As is apparent from the above description of the embodiments, in the effect-sound-added automatic discriminating apparatus of the present invention, in the discrimination based on the level difference between the L signal and the R signal, the discrimination accuracy can be improved, This makes it possible to more accurately determine whether the input signal is music or an announcement.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の効果音付加自動判別装置における一実
施例のブロック図、
FIG. 1 is a block diagram of an embodiment of an effect sound addition automatic discrimination apparatus of the present invention,

【図2】同装置の無音回数判別手段の動作を説明するフ
ローチャート、
FIG. 2 is a flow chart for explaining the operation of the silent frequency determination means of the same device,

【図3】同装置のレベル差回数判別手段の動作を説明す
るフローチャート、
FIG. 3 is a flow chart for explaining the operation of the level difference number determination means of the same device,

【図4】同装置の無音信号域値設定手段の動作を説明す
るフローチャート、
FIG. 4 is a flowchart for explaining the operation of the silent signal threshold value setting means of the same device;

【図5】従来の効果音付加自動判別装置のブロック図、FIG. 5 is a block diagram of a conventional effect sound addition automatic discrimination device,

【図6】従来の装置の無音回数判別手段の動作を説明す
るフローチャート、
FIG. 6 is a flow chart for explaining the operation of the silence count determination means of the conventional device;

【図7】従来の装置のレベル差判別手段の動作を説明す
るフローチャートである。
FIG. 7 is a flowchart for explaining the operation of the level difference determination means of the conventional device.

【符号の説明】[Explanation of symbols]

1 L信号入力端子 2 R信号入力端子 3 入力信号加算処理部 4 無音回数判別手段 5 レベル差判別手段 6 無音信号域値設定手段 7 効果音成生手段 8 効果音ボリューム 9、10 出力信号加算処理部 11 L信号出力端子 12 R信号出力端子 15 レベル差回数判別手段 1 L signal input terminal 2 R signal input terminal 3 Input signal addition processing unit 4 Silence number determination means 5 Level difference determination means 6 Silence signal threshold value setting means 7 Sound effect generation means 8 Sound effect volume 9, 10 Output signal addition processing Part 11 L signal output terminal 12 R signal output terminal 15 Level difference frequency determination means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 フレーム内に含まれるデジタル化したス
テレオ信号の無音信号数を検出して、無音フレーム、有
音フレームおよび無入力フレームの別を判別する無音回
数判別手段と、前記ステレオ信号のL信号およびR信号
のレベル差を検出して音楽信号およびアナウンス信号の
別を判別するレベル差判別手段とを備える効果音付加自
動判別装置において、 前記レベル差判別手段として、前記フレーム内に含まれ
るステレオ信号の各々に対して音楽信号およびアナウン
ス信号の別を判別し、判別した音楽信号の数とアナウン
ス信号の数との比較に基づいて前記フレームに対する音
楽フレームおよびアナウンス・フレームの別を決定する
レベル差回数判別手段を設けたことを特徴とする効果音
付加自動判別装置。
1. A silence number determination means for detecting the number of silence signals of a digitized stereo signal contained in a frame to determine whether the frame is a silence frame, a sound frame or a non-input frame, and L of the stereo signal. In a sound effect addition automatic discriminating apparatus including a level difference discriminating means for discriminating between a music signal and an announcement signal by detecting a level difference between the signal and the R signal, the stereo included in the frame is used as the level difference discriminating means. A level difference that determines the distinction between the music signal and the announcement signal for each of the signals and determines the distinction between the music frame and the announcement frame for the frame based on the comparison between the number of the determined music signals and the number of the announcement signals. An effect-sound-added automatic discriminating device characterized by being provided with a frequency discriminating means.
JP4175012A 1992-06-10 1992-06-10 Automatic discriminating device for adding sound effect Pending JPH05344599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4175012A JPH05344599A (en) 1992-06-10 1992-06-10 Automatic discriminating device for adding sound effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4175012A JPH05344599A (en) 1992-06-10 1992-06-10 Automatic discriminating device for adding sound effect

Publications (1)

Publication Number Publication Date
JPH05344599A true JPH05344599A (en) 1993-12-24

Family

ID=15988677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4175012A Pending JPH05344599A (en) 1992-06-10 1992-06-10 Automatic discriminating device for adding sound effect

Country Status (1)

Country Link
JP (1) JPH05344599A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023074595A1 (en) * 2021-10-25 2023-05-04 ピクシーダストテクノロジーズ株式会社 Signal processing device, cognitive function improvement system, signal processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023074595A1 (en) * 2021-10-25 2023-05-04 ピクシーダストテクノロジーズ株式会社 Signal processing device, cognitive function improvement system, signal processing method, and program
JP7307929B1 (en) * 2021-10-25 2023-07-13 ピクシーダストテクノロジーズ株式会社 SIGNAL PROCESSING DEVICE, COGNITIVE FUNCTION IMPROVEMENT SYSTEM, SIGNAL PROCESSING METHOD, AND PROGRAM

Similar Documents

Publication Publication Date Title
EP0637011B1 (en) Speech signal discrimination arrangement and audio device including such an arrangement
RU2007118674A (en) FORMATION OF SCATTERED SOUND FOR BCC SCHEMES, etc.
JP2003514412A (en) How to determine if a sound source is near or far from a pair of microphones
JP2910417B2 (en) Voice music discrimination device
SE470577B (en) Method and apparatus for encoding and / or decoding background noise
JP2961952B2 (en) Music voice discrimination device
US20060050891A1 (en) Method for automatic loudspeaker polarity determination through loudspeaker-room acoustic responses
JPH05344599A (en) Automatic discriminating device for adding sound effect
JPH05183997A (en) Automatic discriminating device with effective sound
JP2949925B2 (en) Sound effect addition discriminator
JP2004109712A (en) Speaker&#39;s direction detecting device
JPH0837700A (en) Sound field correction circuit
JP3520430B2 (en) Left and right sound image direction extraction method
JP2001166783A (en) Voice section detecting method
JPS63281200A (en) Voice section detecting system
US5926553A (en) Method for measuring the conservation of stereophonic audio signals and method for identifying jointly coded stereophonic audio signals
JPH02178699A (en) Voice recognition device
JP2772598B2 (en) Audio coding device
JPH0315897A (en) Decision threshold value setting control system
JP2003271189A (en) Circuit for detecting speaker direction and detecting method thereof
JPH0522239A (en) Effect sound addition discriminating device
JPH09297587A (en) In-cage broadcasting device of elevator
JP4710130B2 (en) Audio signal separation method and apparatus
JPH06295194A (en) Signal comparing device
JP3033537B2 (en) Voice detector