JP2003140694A - Audio decoder - Google Patents

Audio decoder

Info

Publication number
JP2003140694A
JP2003140694A JP2001339103A JP2001339103A JP2003140694A JP 2003140694 A JP2003140694 A JP 2003140694A JP 2001339103 A JP2001339103 A JP 2001339103A JP 2001339103 A JP2001339103 A JP 2001339103A JP 2003140694 A JP2003140694 A JP 2003140694A
Authority
JP
Japan
Prior art keywords
error
signal
occurrence rate
audio data
output
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
JP2001339103A
Other languages
Japanese (ja)
Inventor
Hiromoto Furukawa
博基 古川
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 JP2001339103A priority Critical patent/JP2003140694A/en
Publication of JP2003140694A publication Critical patent/JP2003140694A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that it has been difficult for a user to recognize audio errors when decoding audio data containing audio errors. SOLUTION: The audio error is made recognizable for a user by adding noise, music, or speech as a predetermined signal in proportion to an error incidence rate.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化されたオー
ディオ信号を再生するオーディオデコーダに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an audio decoder which reproduces an encoded audio signal.

【0002】[0002]

【従来の技術】従来、オーディオデコーダとしては、特
開平8−116314号公報の音声信号復号装置にて伝
送路で発生したエラーによるオーディオ再生時の異音を
抑圧できるオーディオデコーダが示されている。
2. Description of the Related Art Conventionally, as an audio decoder, an audio decoder capable of suppressing an abnormal sound at the time of audio reproduction due to an error occurring in a transmission line has been disclosed in Japanese Patent Laid-Open No. 8-116314.

【0003】図7に従来のオーディオデコーダのブロッ
ク図を示す。101は、MPEGオーディオストリーム
のデータをフレーム単位で記憶するための記憶手段、1
02は、MPEGオーディオストリームのCRCチェッ
クを行いエラーの有無を検出し、エラーが検出された時
に、エラーが検出されたフレームを記憶手段101への
書き込みを禁止し、代わりに前のフレームのMPEGオ
ーディオストリームを書き込むよう制御し、エラーが連
続して検出される場合にはオーディオ信号をミュートす
るよう制御するエラー処理手段、103は、記憶手段1
01からMPEGオーディオストリームを読み出MPE
Gオーディオデコードを行うデコード手段で、104
は、エラー処理手段102がミュート制御した場合に
は、デコード手段103の出力をミュートするミュート
手段である。
FIG. 7 shows a block diagram of a conventional audio decoder. Reference numeral 101 denotes a storage unit for storing the data of the MPEG audio stream on a frame-by-frame basis.
Reference numeral 02 denotes a CRC check of the MPEG audio stream to detect the presence or absence of an error. When an error is detected, the frame in which the error is detected is prohibited from being written to the storage means 101, and instead the MPEG audio of the previous frame is replaced. Error processing means 103 for controlling the writing of the stream and for muting the audio signal when an error is continuously detected is the storage means 1.
Read MPEG audio stream from 01 and MPE
104 is a decoding unit that performs G audio decoding.
Is a mute means for muting the output of the decoding means 103 when the error processing means 102 controls mute.

【0004】図7の従来のオーディオデコーダについて
以下動作を説明する。MPEGオーディオストリーム
は、エラー処理手段102によりCRCチェックが行わ
れ、エラーが検出されなかった場合には記憶手段101
に記憶され、デコード手段103で順次デコードされP
CM出力信号として再生される。
The operation of the conventional audio decoder shown in FIG. 7 will be described below. The MPEG audio stream is CRC checked by the error processing means 102, and if no error is detected, the storage means 101
Are sequentially stored in the decoding unit 103 and sequentially decoded by the decoding means 103.
It is reproduced as a CM output signal.

【0005】一方、エラー処理手段にエラーがあり、エ
ラーがエラー処理手段102で検出された場合は、エラ
ーが検出されたMPEGオーディオストリームは記憶手
段101に記憶されず、代わりに最後にエラーが検出さ
れなかったMPEGオーディオフレームが記憶手段に記
憶される。デコード手段103で読み出したMPEGオ
ーディオフレームは、以前の正しいMPEGオーディオ
フレームのため、PCM信号はMPEGオーディオフレ
ーム周期で繰り返されることになり、大きな異音を発生
することはない。
On the other hand, if the error processing means has an error and the error is detected by the error processing means 102, the MPEG audio stream in which the error is detected is not stored in the storage means 101, but instead the error is detected at the end. The unrecorded MPEG audio frame is stored in the storage means. Since the MPEG audio frame read by the decoding means 103 is the correct previous MPEG audio frame, the PCM signal is repeated in the MPEG audio frame cycle, and no loud noise is generated.

【0006】さらに、エラーが連続して検出された場合
には、エラー処理手段102からミュート手段104で
デコード手段103の出力をミュートして最終的なオー
ディオデコーダ出力として出力するため2フレーム以上
エラーのあるオーディオフレームがオーディオデコーダ
に入力された場合には、無音出力となりエラーによる異
音は発生しない。
Further, when an error is continuously detected, the error processing means 102 mutes the output of the decoding means 103 by the mute means 104 and outputs it as a final audio decoder output. When a certain audio frame is input to the audio decoder, no sound is output due to the silent output.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記の
ような構成では、地上波放送のように受信エリアから受
信エリア外に出た時に再生信号がミュートされてしまい
無音状態が続き、利用者が受信エリア外に出たことを認
識しづらい。
However, in the above-mentioned configuration, when the signal goes out of the receiving area from the receiving area like the terrestrial broadcasting, the reproduction signal is muted and the silent state continues, and the user receives the signal. It is difficult to recognize that you have gone out of the area.

【0008】本発明は上記課題に鑑み、オーディオデー
タにエラーが発生した場合に、異音を抑圧すると共に、
所定の信号、例えば音楽、アナウンスやノイズを付加す
ることにより利用者に受信エリア外にでたことを通知で
きるオーディオデコーダを提供するものである。
In view of the above problems, the present invention suppresses abnormal noise when an error occurs in audio data, and
It is an object of the present invention to provide an audio decoder capable of notifying a user that he / she has gone out of the reception area by adding a predetermined signal such as music, announcement or noise.

【0009】[0009]

【課題を解決するための手段】この目的を達成するため
に本発明のオーディオデコーダは、符号化されたオーデ
ィオデータのエラーを検出するエラー検出手段と、エラ
ー検出手段によりオーディオデータにエラーが検出され
なかった時にはオーディオデータをデコードしPCM信
号を出力し、エラー検出手段によりエラーが検出された
時にエラーを含むオーディオデータに対応するPCM信
号をミュートして出力するデコード手段と、所定の信号
を発生する信号発生手段と、エラー検出手段でエラーが
検出されなかった時にはデコード手段の出力を出力し、
エラーが検出された時には信号発生手段の出力を出力す
るスイッチ手段と、信号発生手段の出力信号レベルをエ
ラー検出手段のエラー検出結果に従い制御する信号レベ
ル制御手段とを有した構成となっている。
In order to achieve this object, an audio decoder according to the present invention has an error detecting means for detecting an error in encoded audio data and an error detecting means for detecting an error in the audio data. When not present, the audio data is decoded and a PCM signal is output, and when an error is detected by the error detection means, a decoding means for muting and outputting the PCM signal corresponding to the audio data including the error, and a predetermined signal are generated. When the error is not detected by the signal generating means and the error detecting means, the output of the decoding means is output,
When an error is detected, it has a switch means for outputting the output of the signal generating means, and a signal level control means for controlling the output signal level of the signal generating means according to the error detection result of the error detecting means.

【0010】[0010]

【発明の実施の形態】(実施の形態1)以下本発明の実
施の形態1について、図面を参照しながら説明する。図
1は本発明の実施の形態1におけるオーディオデコーダ
の構成図を示すものである。図1において、1は入力さ
れた符号化オーディオデータのエラーを検出するエラー
検出手段、2は符号化オーディオデータを復号するデコ
ーダ手段で、エラー検出手段1でエラーが検出されなか
った場合はオーディオデータをデコードし、エラーが検
出された場合にはミュート出力を行う。3は所定の信号
を発生する信号発生手段、4はエラー検出手段1がエラ
ーを検出した時には信号発生手段3の出力を選択し、エ
ラーが検出されなかった場合にはデコーダ手段2の出力
を選択するスイッチ手段、5はエラー検出手段1のエラ
ー検出結果から信号発生手段3で発生する信号レベルを
制御する信号レベル制御手段である。信号発生手段3か
らは、ホワイトノイズ等のノイズもしくは音楽やアナウ
ンスを発生させる。
BEST MODE FOR CARRYING OUT THE INVENTION (Embodiment 1) Hereinafter, Embodiment 1 of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an audio decoder according to the first embodiment of the present invention. In FIG. 1, reference numeral 1 is an error detecting means for detecting an error in the input encoded audio data, and 2 is a decoder means for decoding the encoded audio data. When the error detecting means 1 detects no error, the audio data is outputted. Is decoded and mute output is performed when an error is detected. Reference numeral 3 denotes a signal generating means for generating a predetermined signal, and 4 denotes an output of the signal generating means 3 when the error detecting means 1 detects an error, and selects an output of the decoder means 2 when no error is detected. The switch means 5 for controlling is a signal level control means for controlling the signal level generated by the signal generating means 3 based on the error detection result of the error detecting means 1. The signal generating means 3 generates noise such as white noise or music or an announcement.

【0011】図2は信号レベル制御手段5の詳細を表す
ブロック図で、51はエラー発生率算出手段で、エラー
検出手段1のエラー検出結果短時間平均値を算出する。
52はレベル制御手段で、エラー発生率算出手段51で
算出されたエラー発生率から信号レベルの制御値を算出
し、信号発生手段3の出力レベルを制御する。
FIG. 2 is a block diagram showing the details of the signal level control means 5, and 51 is an error occurrence rate calculation means for calculating the error detection result short-time average value of the error detection means 1.
Reference numeral 52 is a level control means, which calculates a control value of the signal level from the error occurrence rate calculated by the error occurrence rate calculation means 51 and controls the output level of the signal generation means 3.

【0012】実施の形態では、圧縮されたオーディオデ
ータとしては、フレーム構造を有したMPEGオーディ
オ(ISO/IEC 11172-3,、ISO/IEC13813-3、ISO/IEC13813-
7)等が広く実用化されている。このようなフレーム構
造を有した圧縮オーディオに関してのエラー検出は、フ
レーム同期ワードの欠落、各パラメータの異常、CRC
チェックワードにより行われることが従来より知られて
いる。エラー検出手段1では、このような従来のエラー
検出方法によりフレーム構造を有したオーディオデータ
のエラーを検出する。
In the embodiment, the compressed audio data is MPEG audio (ISO / IEC 11172-3, ISO / IEC13813-3, ISO / IEC13813-) having a frame structure.
7) are widely put into practical use. Error detection for compressed audio having such a frame structure includes missing frame sync words, abnormal parameters, and CRC.
It is conventionally known that the check word is used. The error detecting means 1 detects an error in audio data having a frame structure by such a conventional error detecting method.

【0013】オーディオデータにエラーがあり、エラー
がエラー検出手段1で検出されなかった時にはオーディ
オフレームをデコード手段2でデコードし、出力PCM
信号がスイッチ手段4で選択されオーディオデコーダ出
力としてPCM信号が出力される。
When there is an error in the audio data and the error is not detected by the error detecting means 1, the audio frame is decoded by the decoding means 2 and output PCM.
A signal is selected by the switch means 4, and a PCM signal is output as an audio decoder output.

【0014】オーディオデータにエラーがある場合に
は、エラー検出手段1でエラーが検出される。エラーが
検出された時には、エラーを含むオーディオフレームに
対応するPCM出力データ期間、スイッチ手段4はノイ
ズ発生手段の出力を選択し、オーディオデコーダからは
ノイズ発生手段で生成されたノイズが出力される。信号
レベル制御手段5では、短時間のエラー発生率をエラー
発生率算出手段51において短時間積分演算を用いて算
出し、レベル制御手段52において算出したエラー発生
率に反比例するよう信号レベルを図3のように制御す
る。信号レベルを図3のように制御することにより信号
発生手段3から出力される信号レベルは、受信エリア外
に出た直後はエラー発生率が小さいため非常に小さく、
その後エラー発生率が増加するに従い、徐々に大きくな
る。図3の例では最大ノイズレベルは最大振幅の30%
程度のノイズレベルになる。図3はエラー発生率対信号
レベルの関係の一例であり、図3に限定するものではな
い。
If the audio data has an error, the error detecting means 1 detects the error. When an error is detected, the switch means 4 selects the output of the noise generating means during the PCM output data period corresponding to the audio frame containing the error, and the noise generated by the noise generating means is output from the audio decoder. In the signal level control means 5, the error occurrence rate for a short time is calculated in the error occurrence rate calculation means 51 by using a short-time integration calculation, and the signal level is set so as to be inversely proportional to the error occurrence rate calculated by the level control means 52. Control like. The signal level output from the signal generating means 3 by controlling the signal level as shown in FIG. 3 is very small immediately after going out of the receiving area because the error occurrence rate is small,
After that, as the error occurrence rate increases, it gradually increases. In the example of FIG. 3, the maximum noise level is 30% of the maximum amplitude.
The noise level is about the same. FIG. 3 is an example of the relationship between the error occurrence rate and the signal level, and is not limited to FIG.

【0015】エラー発生率算出手段51では、エラー発
生率の算出方法として実現が容易な短時間積分を用い
る。一例を式に示す。時刻jにおけるエラー発生率Pe
(j)はエラー:Error(j)および時刻j−1の
エラー発生率Pe(j−1)から下式により算出され
る。
The error occurrence rate calculation means 51 uses short-time integration, which is easy to implement, as a method of calculating the error occurrence rate. An example is shown in the formula. Error occurrence rate Pe at time j
(J) is calculated from the error: Error (j) and the error occurrence rate Pe (j-1) at time j-1 by the following formula.

【0016】[0016]

【数1】 [Equation 1]

【0017】ここで、jは算出周期T0を基にした時刻
を表している。Error(j)は時刻jにおけるエラ
ー検出結果で、エラーが検出された場合は1、エラーが
検出されなかった場合は0である。Tupは立ち上がり
時定数、Tdnは立ち下がり時定数である。少なくとも
TupおよびTdnはT0より大きな時定数である。
Here, j represents the time based on the calculation cycle T0. Error (j) is the error detection result at time j, which is 1 when an error is detected and 0 when no error is detected. Tup is a rising time constant, and Tdn is a falling time constant. At least Tup and Tdn have a larger time constant than T0.

【0018】上式より、立ち上がり時定数:Tupによ
り信号発生手段3で生成された信号のフェードインの速
度を制御できる。同様に、立ち下がり時定数:Tdnに
より信号発生手段3で生成された信号のフェードアウト
の速度を制御できる。例えば、地上波放送で音楽を再生
するためのオーディオデコーダの場合には、これらの時
定数TupとTdnを適切な時間、例えば、信号発生手
3で発生する信号としてノイズや予め決められた音楽信
号を用い、Tupを3秒、Tdnを1秒に設定すること
により、受信エリア外に出た時に、利用者は数秒以内に
受信エリア外に出たことをノイズや所定の音楽信号の増
加により認識し、また受信エリア外から受信エリア内に
入った場合には、1秒程度でノイズや所定の音楽信号レ
ベルが減少することにより受信エリア内に入ったことを
知ることができる。
From the above equation, the fade-in speed of the signal generated by the signal generating means 3 can be controlled by the rising time constant: Tup. Similarly, the rate of fading out of the signal generated by the signal generating means 3 can be controlled by the falling time constant: Tdn. For example, in the case of an audio decoder for reproducing music in terrestrial broadcasting, these time constants Tup and Tdn are used as signals generated by the signal generator 3 at an appropriate time, for example, noise or a predetermined music signal. By setting Tup to 3 seconds and Tdn to 1 second, when the user goes out of the receiving area, the user recognizes that he / she went out of the receiving area within a few seconds by noise or increase of a predetermined music signal. In addition, when entering the receiving area from outside the receiving area, it is possible to know that the inside of the receiving area is entered by noise or a predetermined music signal level reduction in about 1 second.

【0019】実施の形態1では、エラーが検出されたオ
ーディオデータに対しては耳障りな異音を発生すること
なく、継続してエラーが発生しエラー発生率が増加する
に伴いオーディオデコーダがオーディオデータからPC
M信号を再生できなくなったことをノイズや所定の音楽
信号により利用者に知らせることができる。エラー発生
率に対応して信号レベルが増加するため、突発的に発生
したエラーに対しては、エラー発生率が小さく、そのた
め信号発生手段からは非常に小さいノイズや音楽信号が
出力されるため利用者に耳障りになることはない。
In the first embodiment, the audio decoder outputs audio data as an error continues and an error occurrence rate increases without generating an offensive noise to the audio data in which an error is detected. To PC
The user can be notified by noise or a predetermined music signal that the M signal cannot be reproduced. Since the signal level increases corresponding to the error occurrence rate, the error occurrence rate is small for sudden errors, so very small noise or music signals are output from the signal generating means. It does not disturb the person.

【0020】(実施の形態2)図4は本発明の実施の形
態2におけるオーディオデコーダの構成図を示すもので
ある。図4において、1は入力された符号化オーディオ
データのエラーを検出するエラー検出手段、2は符号化
オーディオデータを復号するデコーダ手段で、エラー検
出手段1でエラーが検出されなかった場合はオーディオ
データをデコードし、エラーが検出された場合にはミュ
ート出力を行う。3はノイズを発生する信号発生手段で
信号レベルの最大レベルはデコード手段2の最大出力レ
ベルより小さく設定されている。例えば、最大信号レベ
ルはデコード手段2の最大出力レベルの30%程度であ
る。6はデコード手段2および信号発生手段3のそれぞ
れの出力信号に重み付けを行いながら加算するミキサー
手段、7はエラー検出手段1で検出されたエラー発生率
を用いてミキサー手段6の重み付け利得を制御する利得
制御手段である。
(Second Embodiment) FIG. 4 is a block diagram of an audio decoder according to the second embodiment of the present invention. In FIG. 4, 1 is an error detecting means for detecting an error in the input encoded audio data, 2 is a decoder means for decoding the encoded audio data, and when the error detecting means 1 does not detect an error, the audio data Is decoded and mute output is performed when an error is detected. Reference numeral 3 is a signal generating means for generating noise, and the maximum signal level is set smaller than the maximum output level of the decoding means 2. For example, the maximum signal level is about 30% of the maximum output level of the decoding means 2. Reference numeral 6 is a mixer means for adding the respective output signals of the decoding means 2 and the signal generating means 3 while weighting them, and 7 is for controlling the weighting gain of the mixer means 6 by using the error occurrence rate detected by the error detecting means 1. It is a gain control means.

【0021】図5は利得制御手段の詳細を示すブロック
図で、61は、エラー検出手段1で検出されたエラーの
一定期間の発生率を算出するエラー発生率算出手段、6
2は、デコード手段2の出力信号に付加する利得G1を
算出する第1の利得算出手段、63は、信号発生手段3
の出力信号に付加する利得G2を算出する第2の利得算
出手段である。
FIG. 5 is a block diagram showing the details of the gain control means. 61 is an error occurrence rate calculation means for calculating the occurrence rate of the error detected by the error detection means 1 for a certain period, 6
2 is a first gain calculating means for calculating a gain G1 to be added to the output signal of the decoding means 2, and 63 is a signal generating means 3.
Is a second gain calculating means for calculating a gain G2 to be added to the output signal of.

【0022】実施の形態2では、デコード手段2の出力
PCM信号と信号発生手段3の出力信号が、ミキサー手
段6で加算される。デコーダ手段2の出力PCM信号に
対する第1の利得G1と信号発生手段3の出力信号に対
する第2の利得G2とはエラー発生率算出手段61で算
出されたエラー発生率Peと図6に示すような関係にな
る。エラー発生率Peが0の場合には、利得G2は0で
あり信号発生手段3で発生された信号はミキサー手段6
では加算されず、デコード手段2の出力PCM信号のみ
がミキサー手段6から出力される。エラーの発生率が1
に近づくに従い、第1の利得G1は減少し、第2の利得
G2は増加する。このように、エラー発生率が増加する
と共に、ミキサー手段6の出力からより大きなレベルで
信号発生手段3で発生された信号が出力されると共に、
デコーダ手段2のPCM出力信号は徐々に小さくなり、
ミュートされていく。
In the second embodiment, the output PCM signal of the decoding means 2 and the output signal of the signal generation means 3 are added by the mixer means 6. The first gain G1 with respect to the output PCM signal of the decoder means 2 and the second gain G2 with respect to the output signal of the signal generation means 3 are the error occurrence rate Pe calculated by the error occurrence rate calculation means 61 and as shown in FIG. Get involved. When the error occurrence rate Pe is 0, the gain G2 is 0 and the signal generated by the signal generating means 3 is the mixer means 6
Is not added, and only the output PCM signal of the decoding means 2 is output from the mixer means 6. Error rate is 1
As the first gain G1 decreases, the first gain G1 decreases and the second gain G2 increases. Thus, as the error occurrence rate increases, the signal generated by the signal generating means 3 is output from the output of the mixer means 6 at a higher level, and
The PCM output signal of the decoder means 2 gradually decreases,
It will be muted.

【0023】実施の形態2では、エラー発生率Peの増
加に伴い、デコーダ手段2のPCM出力がフェードアウ
トする点が実施の形態1と異なる。エラー発生率が増加
するに従い、徐々に信号発生手段で発生されたノイズや
音楽信号レベルが増加すると共に、単発的にデコード手
段2でデコードされたPCM信号が大きなレベルで再生
され、耳障りな大きな音が発生することを防止できる。
The second embodiment differs from the first embodiment in that the PCM output of the decoder means 2 fades out as the error occurrence rate Pe increases. As the error occurrence rate increases, the noise and the music signal level generated by the signal generating means gradually increase, and the PCM signal decoded by the decoding means 2 is reproduced at a large level in a sporadic manner, resulting in a loud and unpleasant sound. Can be prevented.

【0024】エラー発生率算出手段61では、実施の形
態1と同じ式の短時間積分を用いる。立ち上がり時定数
Tupによりデコード手段2のPCM出力のフェードア
ウトと信号発生手段3で生成されたノイズや音楽信号の
フェードインの速度を制御できる。同様に、立ち下がり
時定数Tdnによりデコード手段2のPCM出力のフェ
ードインと信号発生手段3で生成されたノイズや音楽信
号のフェードアウトの速度を制御でき、デコード手段2
の出力PCM信号と信号発生手段3で発生されたノイズ
や音楽信号のクロスフェードしながら切り替わる速度を
制御することができる。
The error occurrence rate calculation means 61 uses the short time integration of the same formula as in the first embodiment. The rising time constant Tup can control the fade-out speed of the PCM output of the decoding means 2, the noise generated by the signal generating means 3, and the fade-in speed of the music signal. Similarly, the rate of fading in of the PCM output of the decoding means 2 and fading out of noise and music signals generated by the signal generating means 3 can be controlled by the fall time constant Tdn.
It is possible to control the switching speed of the output PCM signal and the noise generated by the signal generating means 3 and the music signal while cross-fading.

【0025】地上波放送で音楽を再生するためのオーデ
ィオデコーダの場合には、これらの時定数TupとTd
nを適切な時間、例えば、Tupを3秒、Tdnを1秒
に設定することにより、受信エリア外に出た時に、3秒
程度で再生音の信号発生手段3から発生されるノイズや
音楽信号レベルが増加して利用者は受信エリア外に出た
ことを認識し、また受信エリア外から受信エリア内に入
った場合には、1秒程度で信号発生手段3から発生され
るノイズや音楽信号レベルが減少し、デコード手段で正
しくデコードされたPCM出力信号が増加し、受信エリ
ア内に入ったことを知ることができる。
In the case of an audio decoder for reproducing music by terrestrial broadcasting, these time constants Tup and Td are set.
By setting n to an appropriate time, for example, Tup is set to 3 seconds and Tdn is set to 1 second, noise or a music signal generated from the reproduced sound signal generating means 3 in about 3 seconds when going out of the reception area. When the level increases and the user recognizes that he / she has gone out of the reception area, and when he / she goes into the reception area from the outside of the reception area, the noise or the music signal generated from the signal generation means 3 in about 1 second. It is possible to know that the level has decreased, the PCM output signal correctly decoded by the decoding means has increased, and the signal has entered the reception area.

【0026】信号発生手段で生成する信号としては、ス
ペクトルが平坦なホワイトノイズや音楽の統計的なスペ
クトルと同じスペクトルを有するノイズを用いることに
より、従来のアナログ放送で受信エリア外で再生される
音と同様の音とすることができ、利用者が受信エリア外
であることをより認識し易くなる。また、所定の音楽で
あっても同様に利用者が受信エリア外であることをより
認識し易く、ノイズより耳障りでは無くなる。また、音
声アナウンスを用いて、受信エリア外もしくは電波が弱
くなりオーディオ再生ができなくなったことを明確に利
用者に通知することもできる。
As the signal generated by the signal generating means, white noise having a flat spectrum or noise having the same spectrum as the statistical spectrum of music is used to reproduce the sound reproduced outside the reception area in the conventional analog broadcasting. The same sound can be used, and it becomes easier for the user to recognize that the user is outside the reception area. Similarly, even with predetermined music, the user can more easily recognize that the music is outside the reception area, and it is less annoying than noise. In addition, it is possible to clearly notify the user that the audio cannot be reproduced outside the reception area or due to the weak radio wave by using the voice announcement.

【0027】[0027]

【発明の効果】以上のように、請求項1によれば、符号
化されたオーディオデータのエラーを検出するエラー検
出手段と、エラー検出手段によりオーディオデータにエ
ラーが検出されなかった時にはオーディオデータをデコ
ードしPCM信号を出力し、エラー検出手段によりエラ
ーが検出された時にエラーを含むオーディオデータに対
応するPCM信号をミュートして出力するデコード手段
と、所定の信号を発生する信号発生手段と、エラー検出
手段でエラーが検出されなかった時にはデコード手段の
出力を出力し、エラーが検出された時にはノイズ発生手
段の出力を出力するスイッチ手段と、信号発生手段の出
力信号レベルをエラー検出手段のエラー検出結果に従い
制御する信号レベル制御手段により、エラーが発生しオ
ーディオデコーダがオーディオデータからPCM信号を
再生できなくなったことをノイズや所定の音楽、アナウ
ンスにより利用者に知らせることができるという利点が
ある。また、エラー発生率に対応して信号発生手段で発
生される信号のレベルが増加することにより、突発的に
発生したエラーに対しては、非常に小さいノイズ、音
楽、音声となり利用者に耳障りになることはない。
As described above, according to the first aspect, the error detecting means for detecting an error in the encoded audio data and the audio data when the error detecting means detects no error in the audio data. Decoding means for decoding and outputting a PCM signal, muting and outputting a PCM signal corresponding to audio data containing an error when an error is detected by the error detecting means, signal generating means for generating a predetermined signal, and error The switch means for outputting the output of the decoding means when the error is not detected by the detecting means, and the output of the noise generating means when the error is detected, and the output signal level of the signal generating means for detecting the error of the error detecting means An error occurs due to the signal level control means for controlling according to the result, and the audio decoder That it can no longer reproduce the PCM signal from the audio data noise or predetermined music, there is the advantage that it is possible to inform the user by announcements. In addition, the level of the signal generated by the signal generating means increases in accordance with the error occurrence rate, so that very small noise, music, or voice is generated against an unexpected error, which is offensive to the user. It never happens.

【0028】請求項2によれば、エラー発生率の算出の
算出を短時間積分を用い、積分の立ち上がり時定数と立
ち下がり時定数を個別に設定すことにより、ノイズレベ
ル増加と減少速度を別々に制御できる。
According to the second aspect, the calculation of the error occurrence rate is performed by using the short-time integration, and the rising time constant and the falling time constant of the integration are individually set, so that the noise level increasing speed and the noise speed decreasing speed are separately set. Can be controlled.

【0029】請求項3によれば、符号化されたオーディ
オデータのエラーを検出するエラー検出手段と、エラー
検出手段によりオーディオデータにエラーが検出されな
かった時にはオーディオデータをデコードしPCM信号
を出力し、エラー検出手段によりエラーが検出された時
にはエラーを含むオーディオデータに対応するPCM信
号をミュートして出力するデコード手段と、所定の信号
を発生する信号発生手段と、デコード手段の出力と信号
発生手段の出力をそれぞれ重み付けしながら加算するミ
キサー手段と、ミキサー手段の重み付け量をエラー検出
手段のエラー検出結果に従い制御する利得制御手段によ
り、エラーが発生しオーディオデコーダがオーディオデ
ータからPCM信号を再生できなくなったことをノイ
ズ、音楽、音声などの所定の信号により利用者に知らせ
ることができると共に、エラー発生率が高い状況で、単
発的に正しいオーディオデコーダをデコード手段でデコ
ードした時に大きな振幅のPCM信号として再生され、
耳障りな大きな音が発生することを防止できるという利
点がある。
According to a third aspect of the present invention, an error detecting means for detecting an error in the encoded audio data, and when no error is detected in the audio data by the error detecting means, the audio data is decoded and a PCM signal is output. When an error is detected by the error detecting means, a decoding means for muting and outputting a PCM signal corresponding to audio data including the error, a signal generating means for generating a predetermined signal, an output of the decoding means and a signal generating means An error occurs and the audio decoder cannot reproduce the PCM signal from the audio data due to the mixer means for adding the respective outputs of the respective weights while adding them and the gain control means for controlling the weighting amount of the mixer means according to the error detection result of the error detection means. That things like noise, music, voice, etc. It is possible to inform the user by a predetermined signal, a high status error occurrence rate is reproduced as a large amplitude of a PCM signal when decoded by the decoding means single correct audio decoder,
There is an advantage that it is possible to prevent a loud noise that is offensive to the ear.

【0030】請求項4によれば、エラー発生率の算出の
算出を短時間積分を用い、積分の立ち上がり時定数と立
ち下がり時定数を個別に設定することにより、デコード
手段でデコードしたPCM信号と信号発生手段で発生し
たレベルとのクロスフェードしながら切り替わる速度を
制御することができる。
According to the fourth aspect, the calculation of the error occurrence rate is performed by using the short-time integration, and the rising time constant and the falling time constant of the integration are individually set, so that the PCM signal decoded by the decoding means is obtained. It is possible to control the switching speed while crossfading with the level generated by the signal generating means.

【0031】請求項5によれば、エラー発生率算出手段
における短時間積分の立ち上がり時定数が立ち下がり時
定数より大きく設定することにより、受信状態が悪くな
り信号発生手段で発生させた信号がフェードインする速
度より、受信状態が良くなりエラー発生率が減少した場
合、信号発生手段で発生させた信号がフェードアウトす
る速度を速くし、信号発生手段で発生させた信号を速や
か減衰させることができる。また、デコード手段のPC
M出力のフェードインの速度が速くなり、PCM信号を
速やかに再生でき、より速く再生音を試聴できると共
に、単発的に発生したエラーに対しては信号発生手段で
発生させた信号が大きなレベルとなることがなく耳障り
にならない。
According to the fifth aspect of the present invention, by setting the rising time constant of the short-time integration in the error occurrence rate calculating means to be larger than the falling time constant, the reception state becomes poor and the signal generated by the signal generating means fades. When the reception condition is improved and the error occurrence rate is reduced, the speed at which the signal generated by the signal generating means fades out can be increased and the signal generated by the signal generating means can be quickly attenuated. Also, the decoding means PC
The fade-in speed of the M output becomes faster, the PCM signal can be quickly reproduced, the reproduced sound can be auditioned more quickly, and the signal generated by the signal generating means has a large level for a sporadic error. It doesn't get harsh and doesn't hurt.

【0032】請求項6によれば、信号発生手段で出力さ
れる所定の信号のスペクトラムを音楽信号の統計的スペ
クトラムと同様とすることにより、従来のアナログ放送
で受信エリア外で再生される音と同様の音とすることが
でき、利用者が受信エリア外であることをより認識し易
くなる。
According to the sixth aspect, by making the spectrum of the predetermined signal output by the signal generating means similar to the statistical spectrum of the music signal, the sound reproduced outside the reception area in the conventional analog broadcasting is obtained. The same sound can be used, and it becomes easier for the user to recognize that the user is outside the reception area.

【0033】請求項7によれば、信号発生手段で出力さ
れる所定の信号を音楽とすることにより、ノイズの場合
と同様に利用者が受信エリア外であることをより認識し
易く、ノイズより耳障りでは無くなる。
According to the seventh aspect, by using the predetermined signal output from the signal generating means as music, it is easier for the user to recognize that the user is outside the reception area, as in the case of noise. It's not an offensive sensation.

【0034】請求項8によれば、信号発生手段で出力さ
れる所定の信号を音声アナウンスとすることにより、受
信エリア外もしくは電波が弱くなりオーディオ再生がで
きなくなったことを明確に利用者に通知することもでき
る。
According to the eighth aspect, by using a predetermined signal output from the signal generating means as a voice announcement, it is clearly notified to the user that the audio cannot be reproduced outside the receiving area or the radio wave is weakened. You can also do it.

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

【図1】本発明の実施の形態1におけるオーディオデコ
ーダのブロック図
FIG. 1 is a block diagram of an audio decoder according to a first embodiment of the present invention.

【図2】本発明の実施の形態1における信号レベル制御
手段の詳細を示すブロック図
FIG. 2 is a block diagram showing details of signal level control means in the first embodiment of the present invention.

【図3】本発明の実施の形態1におけるエラー発生率と
信号発生手段で発生する信号レベルの関係の一例を示す
FIG. 3 is a diagram showing an example of a relationship between an error occurrence rate and a signal level generated by a signal generating means in Embodiment 1 of the present invention.

【図4】本発明の実施の形態2におけるオーディオデコ
ーダのブロック図
FIG. 4 is a block diagram of an audio decoder according to the second embodiment of the present invention.

【図5】本発明の実施の形態2における利得制御手段の
詳細を示すブロック図
FIG. 5 is a block diagram showing details of gain control means in the second embodiment of the present invention.

【図6】本発明の実施の形態2におけるエラー発生率と
利得の関係の一例を示す図
FIG. 6 is a diagram showing an example of a relationship between an error occurrence rate and a gain according to the second embodiment of the present invention.

【図7】従来のオーディオデコーダのブロック図FIG. 7 is a block diagram of a conventional audio decoder.

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

1 エラー検出手段 2 デコード手段 3 信号発生手段 4 スイッチ手段 5 信号レベル制御手段 6 ミキサー手段 7 利得制御手段 51 エラー発生率算出手段 52 レベル制御手段 61 エラー発生率算出手段 62 第1の利得算出手段 63 第2の利得算出手段 101 記憶手段 102 エラー処理手段 103 デコード手段 104 ミュート手段 1 Error detection means 2 Decoding means 3 Signal generation means 4 switch means 5 Signal level control means 6 Mixer means 7 Gain control means 51 Error occurrence rate calculation means 52 Level control means 61 Error occurrence rate calculation means 62 First Gain Calculation Means 63 Second gain calculating means 101 storage means 102 error handling means 103 decoding means 104 Mute means

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】符号化されたオーディオデータを復号しP
CM信号を出力するオーディオデコーダであって、 前記符号化されたオーディオデータのエラーを検出する
エラー検出手段と、 前記エラー検出手段により前記オーディオデータにエラ
ーが検出されなかった時には前記オーディオデータをデ
コードしPCM信号を出力し、前記エラー検出手段によ
りエラーが検出された時には前記エラーを含むオーディ
オデータに対応するPCM信号をミュートして出力する
デコード手段と、所定の信号を発生する信号発生手段
と、 前記エラー検出手段でエラーが検出されなかった時には
前記デコード手段の出力を出力し、エラーが検出された
時には前記信号発生手段の出力を出力するスイッチ手段
と、 前記信号発生手段の信号レベルを前記エラー検出手段の
エラーの一定期間の発生率を算出し、算出したエラー発
生率に反比例するよう信号レベルを制御する信号レベル
制御手段から構成されたことを特徴とするオーディオデ
コーダ。
1. Decoding encoded audio data to obtain P
An audio decoder for outputting a CM signal, comprising: error detecting means for detecting an error in the encoded audio data; and decoding the audio data when no error is detected in the audio data by the error detecting means. Decoding means for outputting a PCM signal, muting and outputting a PCM signal corresponding to audio data including the error when the error detecting means detects an error, signal generating means for generating a predetermined signal, and Switch means for outputting the output of the decoding means when no error is detected by the error detecting means, and for outputting the output of the signal generating means when an error is detected, and a signal level of the signal generating means for detecting the error The error rate of the instrument was calculated for a certain period, and the calculated error An audio decoder comprising a signal level control means for controlling a signal level so as to be inversely proportional to the error rate.
【請求項2】前記信号レベル制御手段が、 エラー発生率算出手段と、前記エラー発生率算出手段で
算出したエラー発生率に対して反比例するよう信号レベ
ルを算出するレベル算出手段とから構成され、前記エラ
ー発生率算出手段が短時間積分により一定期間のエラー
発生率を算出し、かつ、短時間積分用の時定数が、エラ
ー発生率が増加する場合と、エラー発生率が減少する場
合で異なることを特徴とする請求項1記載のオーディオ
デコーダ。
2. The signal level control means comprises an error occurrence rate calculation means and a level calculation means for calculating a signal level inversely proportional to the error occurrence rate calculated by the error occurrence rate calculation means, The error occurrence rate calculation means calculates the error occurrence rate for a certain period by short-time integration, and the time constant for short-time integration differs depending on whether the error occurrence rate increases or decreases. The audio decoder according to claim 1, wherein:
【請求項3】符号化されたオーディオデータを復号しP
CM信号を出力するオーディオデコーダであって、 前記符号化されたオーディオデータのエラーを検出する
エラー検出手段と、 前記エラー検出手段により前記オーディオデータにエラ
ーが検出されなかった時には前記オーディオデータをデ
コードしPCM信号を出力し、前記エラー検出手段によ
りエラーが検出された時には前記エラーを含むオーディ
オデータに対応するPCM信号をミュートして出力する
デコード手段と、 所定の信号を発生する信号発手段と、 前記デコード手段の出力と前記信号発生手段の出力に対
してそれぞれ利得を付加しながら加算するミキサー手段
と、 前記ミキサー手段の重み付け量を前記エラー検出手段の
エラーの一定期間の発生率を算出し、算出したエラー発
生率に反比例するように前記デコード手段の出力に対す
る利得を制御し、算出したエラー発生率に比例するよう
に前記信号発生手段の出力に対する利得を制御する利得
制御手段から構成されたことを特徴とするオーディオデ
コーダ。
3. Decoding encoded audio data to obtain P
An audio decoder for outputting a CM signal, comprising: error detecting means for detecting an error in the encoded audio data; and decoding the audio data when no error is detected in the audio data by the error detecting means. Decoding means for outputting a PCM signal, muting and outputting a PCM signal corresponding to audio data containing the error when an error is detected by the error detecting means, signal generating means for generating a predetermined signal, and Mixer means for adding gains to the output of the decoding means and the output of the signal generating means, and a weighting amount of the mixer means for calculating the error rate of the error detecting means for a certain period, and calculating Output of the decoding means in inverse proportion to the error occurrence rate Audio decoder, characterized in that to control the gain, which is composed of the gain control means for controlling a gain for the output of said signal generating means in proportion to the calculated error rate against.
【請求項4】前記利得制御手段が、 エラー発生率算出手段と、デコード手段の出力に対する
利得を制御する第1の利得算出手段と、信号発生手段の
出力に対する利得を制御する第2の利得算出手段から構
成され、前記エラー発生率算出手段が短時間積分により
一定期間のエラー発生率を算出し、かつ、短時間積分用
の時定数が、エラー発生率が増加する場合と、エラー発
生率が減少する場合で異なることを特徴とする請求項3
記載のオーディオデコーダ。
4. The gain control means includes an error occurrence rate calculation means, a first gain calculation means for controlling a gain with respect to an output of the decoding means, and a second gain calculation for controlling a gain with respect to an output of the signal generation means. The error occurrence rate calculation means calculates the error occurrence rate for a certain period by short-time integration, and the time constant for short-time integration is such that the error occurrence rate increases and the error occurrence rate increases. 4. The difference in the case of decrease.
The described audio decoder.
【請求項5】前記エラー発生率算出手段が、短時間積分
によりエラー発生率を算出し、かつ、短時間積分用の時
定数が、発生率が増加する場合の時定数の方が、発生率
が減少する場合の時定数より大きいことを特徴とする請
求項2または請求項4記載のオーディオデコーダ。
5. The error occurrence rate calculation means calculates the error occurrence rate by short-time integration, and the time constant for short-time integration is the time constant when the occurrence rate increases. 5. The audio decoder according to claim 2, wherein the time constant is larger than the time constant when it decreases.
【請求項6】前記信号発生手段が、音楽信号の統計的な
スペクトラムを有しているノイズ信号であることを特徴
とする請求項1または請求項2記載のオーディオデコー
ダ。
6. The audio decoder according to claim 1, wherein said signal generating means is a noise signal having a statistical spectrum of a music signal.
【請求項7】前記信号発生手段が、音楽信号であること
を特徴とする請求項1または請求項2記載のオーディオ
デコーダ。
7. The audio decoder according to claim 1 or 2, wherein the signal generating means is a music signal.
【請求項8】前記信号発生手段が、音声アナウンスであ
ることを特徴とする請求項1または請求項2記載のオー
ディオデコーダ。
8. The audio decoder according to claim 1, wherein said signal generating means is a voice announcement.
【請求項9】オーディオデータがフレーム構造を有した
オーディオデータであることを特徴とする請求項1また
は請求項2記載のオーディオデコーダ。
9. The audio decoder according to claim 1, wherein the audio data is audio data having a frame structure.
JP2001339103A 2001-11-05 2001-11-05 Audio decoder Pending JP2003140694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001339103A JP2003140694A (en) 2001-11-05 2001-11-05 Audio decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001339103A JP2003140694A (en) 2001-11-05 2001-11-05 Audio decoder

Publications (1)

Publication Number Publication Date
JP2003140694A true JP2003140694A (en) 2003-05-16

Family

ID=19153502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001339103A Pending JP2003140694A (en) 2001-11-05 2001-11-05 Audio decoder

Country Status (1)

Country Link
JP (1) JP2003140694A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL1030982C2 (en) * 2005-02-04 2007-12-18 Samsung Electronics Co Ltd Volume control method for digital audio broadcasting system, involves detecting number of error frames based on which output volume is controlled
CN110720122A (en) * 2017-06-28 2020-01-21 雅马哈株式会社 Sound generating device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL1030982C2 (en) * 2005-02-04 2007-12-18 Samsung Electronics Co Ltd Volume control method for digital audio broadcasting system, involves detecting number of error frames based on which output volume is controlled
CN110720122A (en) * 2017-06-28 2020-01-21 雅马哈株式会社 Sound generating device and method
CN110720122B (en) * 2017-06-28 2023-06-27 雅马哈株式会社 Sound generating device and method

Similar Documents

Publication Publication Date Title
JP5236006B2 (en) Audio signal adjustment apparatus and audio signal adjustment method
JP4579273B2 (en) Stereo sound signal processing method and apparatus
US9613622B1 (en) Conversation management in a personal audio device
JP4241443B2 (en) Audio signal processing apparatus and audio signal processing method
US20080253587A1 (en) Method for automatically adjusting audio volume and audio player
US5796847A (en) Sound reproduction apparatus
US6122531A (en) Method for selectively including leading fricative sounds in a portable communication device operated in a speakerphone mode
JP2008060759A (en) Noise cancel headphone and its noise cancel method
US20060239472A1 (en) Sound quality adjusting apparatus and sound quality adjusting method
US7233200B2 (en) AGC circuit, AGC circuit gain control method, and program for the AGC circuit gain control method
US7139393B1 (en) Environmental noise level estimation apparatus, a communication apparatus, a data terminal apparatus, and a method of estimating an environmental noise level
JP2003140694A (en) Audio decoder
JP5062055B2 (en) Audio signal processing apparatus and method
JP4505427B2 (en) Noise canceling headphones and noise canceling control mode switching method
JPH08314497A (en) Silence compression sound encoding/decoding device
JP2001188599A (en) Audio signal decoding device
JP4661422B2 (en) Muting device, digital audio device
JP4680122B2 (en) Spoken speed conversion device, television receiver, and speaking speed conversion method
JP2012070024A (en) Audio dynamic range control device
WO2010100895A1 (en) Sound reproduction device and image/sound reproduction device
JP2011066604A (en) Sound volume control device
JP4430035B2 (en) Audio adjustment device and audio adjustment method
JP4890050B2 (en) Audio signal amplifier
JP2006279194A (en) Mixing apparatus
JP2007208880A (en) Audio signal amplifying apparatus