JP2009289385A - Digital audio signal processing device and method - Google Patents

Digital audio signal processing device and method Download PDF

Info

Publication number
JP2009289385A
JP2009289385A JP2008144074A JP2008144074A JP2009289385A JP 2009289385 A JP2009289385 A JP 2009289385A JP 2008144074 A JP2008144074 A JP 2008144074A JP 2008144074 A JP2008144074 A JP 2008144074A JP 2009289385 A JP2009289385 A JP 2009289385A
Authority
JP
Japan
Prior art keywords
fade
audio signal
digital audio
execution period
signal processing
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
JP2008144074A
Other languages
Japanese (ja)
Inventor
Akira Sasahara
亮 笹原
Koji Hatada
浩二 畑田
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.)
NEC Electronics Corp
Original Assignee
NEC Electronics Corp
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 NEC Electronics Corp filed Critical NEC Electronics Corp
Priority to JP2008144074A priority Critical patent/JP2009289385A/en
Publication of JP2009289385A publication Critical patent/JP2009289385A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To smoothly reproduce an audio signal, by determining an optimal fade starting time point of time according to a data situation for a target point of time of time-sequential data to perform the minimum necessary fade processing. <P>SOLUTION: The digital audio signal processing device is one that performs fade processing based on the target point of time of a digital audio signal, and includes a fade execution period calculating part for detecting the level value of the digital audio signal in a predetermined period determined, according to the target point of time and calculating the fade execution period according to the level value, and a fade control part for controlling the fade processing based on the fade execution period. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、デジタルAV(Audio Visual)機器等のデジタルオーディオ信号処理装置、及び方法に関し、特にデジタルオーディオ信号のフェード処理に関する。   The present invention relates to a digital audio signal processing apparatus and method, such as a digital AV (Audio Visual) device, and more particularly to fade processing of a digital audio signal.

近年、オーディオ信号のデジタル化が進み、圧縮されたデジタルオーディオ信号のデコード処理時にエラーが発生した場合、ミュート処理を行うことでノイズを発生させないようにすることが一般的となっている。その場合、エラーデータのみミュート処理を行うと、正常データとエラーデータの出力切り替え時にノイズが発生する。その回避手段として、出力切り替え時に音を徐々に変化させること(フェード処理)が行われる。そのため、衛星放送やワンセグ放送など電波状況の影響を受けエラーが頻繁に発生する環境下においても、できるだけ音声出力が行えるよう、出力データの切り替えが最適となる処理が望まれている。   In recent years, when an audio signal has been digitized and an error has occurred during the decoding process of a compressed digital audio signal, it is common to prevent noise by performing a mute process. In that case, if only the error data is muted, noise is generated when the output of normal data and error data is switched. As a means for avoiding this, the sound is gradually changed (fade process) when the output is switched. Therefore, there is a demand for a process that optimizes output data switching so that audio can be output as much as possible even in an environment where errors frequently occur due to the influence of radio wave conditions such as satellite broadcasting and one-segment broadcasting.

特許文献1及び2には、光ディスクに記録された1ビットオーディオ信号を再生するデジタル信号処理装置が開示されている。図13は、特許文献1及び2における1ビットオーディオ信号の再生装置の構成を示すブロック図である。   Patent Documents 1 and 2 disclose digital signal processing apparatuses that reproduce 1-bit audio signals recorded on an optical disc. FIG. 13 is a block diagram showing a configuration of a 1-bit audio signal reproducing device in Patent Documents 1 and 2.

当該再生装置は、光ディスク11に記録された信号を読み出す光学ピックアップ(PU)12、光ディスク11を回転させるスピンドルモータ(SPM)26、光学PU12を駆動制御するための駆動回路25とサーボ回路24、入力した信号を波形整形するRF回路13、入力した信号を復調し再生用のデジタル信号DRを得るとともに、復調できなかったデータの検出を行う第1信号処理部14、復調したデータにデコード処理を行い、1ビットデジタルオーディオデータを生成する第2信号処理部15、1ビットデジタルオーディオデータをアナログのオーディオ信号に変換する1ビットD/A変換器22、第1信号処理部14で復調された時間情報などのサブコード(Sub)を解読し、各部の制御を行うとともに、第2信号処理部へ制御信号CNTを供給し、デコード処理の開始、停止等の制御を行うシステムコントローラ27とそれに接続される表示部28、ユーザからの入力操作を受け取るキー操作部29を備える。   The reproducing apparatus includes an optical pickup (PU) 12 that reads a signal recorded on the optical disc 11, a spindle motor (SPM) 26 that rotates the optical disc 11, a drive circuit 25 and a servo circuit 24 for driving and controlling the optical PU 12. An RF circuit 13 for shaping the waveform of the received signal, a digital signal DR for reproduction by demodulating the input signal, a first signal processing unit 14 for detecting data that could not be demodulated, and decoding processing on the demodulated data Second signal processing unit 15 that generates 1-bit digital audio data, 1-bit D / A converter 22 that converts 1-bit digital audio data into an analog audio signal, and time information demodulated by the first signal processing unit 14 The sub-code (Sub) etc. is decoded and each part is controlled and the second signal processing unit It comprises supplying a control signal CNT, the start of decoding, a display unit 28 connected thereto to the system controller 27 for controlling the stop or the like, a key operation unit 29 that receives an input operation from the user.

また、第2信号処理部15は、第1信号処理部14から受け取ったエラーフラグfeを元に、エラーが発生した場合にデジタル信号DRに対してフェードを伴ったミュート処理を施し、一定のレートでデータ出力を行うために第1信号処理部14から入力されたデジタル信号DRとエラーフラグfeを格納しておくバッファ16と、デジタル信号DRをデコードするデコーダ17、デコードされたオーディオデータDAに対してミュートのためのフェード処理を行うフェード処理部18、デコーダ17がバッファ16から取得したデジタル信号DRよりも時間的に前のデータDdに含まれるエラーフラグfeの状態を判断し、エラー判断結果f'eを出力するエラーフラグ判断部20と、エラー判断結果f'eを元にフェード処理部18を制御するフェード制御部21を備える。さらに、フェード処理部18は、フェードのステップ幅をコントロールするアッテネータ(ATT)カウンタ19を有する。   Further, the second signal processing unit 15 performs a mute process with a fade on the digital signal DR when an error occurs based on the error flag fe received from the first signal processing unit 14 to obtain a constant rate. A buffer 16 for storing the digital signal DR and the error flag fe inputted from the first signal processing unit 14 for data output, a decoder 17 for decoding the digital signal DR, and the decoded audio data DA The fade processing unit 18 that performs a fade process for muting and the decoder 17 determines the state of the error flag fe included in the data Dd temporally before the digital signal DR acquired from the buffer 16, and the error determination result f The error flag determination unit 20 that outputs “e” and the fade processing unit 18 are controlled based on the error determination result f′e. It comprises a fade control portion 21 that. Further, the fade processing unit 18 includes an attenuator (ATT) counter 19 that controls the step width of the fade.

続いて、第1信号処理部14から第2信号処理部15の動作の流れを説明する。まず、第1信号処理部14は、駆動回路25を制御し、光ディスク11からオーディオデータを入力する。次に入力したオーディオデータを復調し再生用のデジタル信号DRを生成する。データ復調時にエラーがあった場合、エラーフラグfeを有効にし、エラーが無かった場合はエラーフラグfeを無効にする。そして、第1信号処理部14は、デジタル信号DRとエラーフラグfeをバッファ16へ格納する。   Subsequently, an operation flow from the first signal processing unit 14 to the second signal processing unit 15 will be described. First, the first signal processing unit 14 controls the drive circuit 25 and inputs audio data from the optical disc 11. Next, the input audio data is demodulated to generate a digital signal DR for reproduction. If there is an error during data demodulation, the error flag fe is validated, and if there is no error, the error flag fe is invalidated. Then, the first signal processing unit 14 stores the digital signal DR and the error flag fe in the buffer 16.

次に、第2信号処理部15のエラー判断部20は、エラーフラグfeからエラーであるか否かを判定し、エラーと判定された場合、エラー判定フラグf'eを有効にし、フェード制御部21へ通知する。一方、エラーフラグ判別部20は、エラーと判定されない場合、エラー判定フラグf'eを無効にし、フェード制御部21へ通知する。   Next, the error determination unit 20 of the second signal processing unit 15 determines whether or not there is an error from the error flag fe. If it is determined that there is an error, the error determination flag f′e is validated, and the fade control unit 21 is notified. On the other hand, if the error flag determination unit 20 does not determine that an error has occurred, the error flag determination unit 20 invalidates the error determination flag f′e and notifies the fade control unit 21 of the error.

続いて、フェード制御部21は、エラー判定フラグf'eが有効か否かを判定し、エラー判定フラグf'eが有効と判定された場合、ミュートフラグfmを有効にする。また、エラーフラグが一定期間無効か判定し、一定期間無効の場合はミュートフラグfmを無効にする。エラーフラグが有効から無効に変化して間もない間はミュートフラグfmを有効にしておく。   Subsequently, the fade control unit 21 determines whether or not the error determination flag f′e is valid. If the error determination flag f′e is determined to be valid, the fade control unit 21 enables the mute flag fm. Further, it is determined whether the error flag is invalid for a certain period. If the error flag is invalid for a certain period, the mute flag fm is invalidated. As soon as the error flag changes from valid to invalid, the mute flag fm is kept valid.

その後、フェード処理部18は、エラー発生時、すなわちエラー判定フラグf'eが有効であるときには、フェード制御部21からのミュートフラグfm及びステップフラグfsに基づいて、再生停止時とは異なった速やかなミュートのためのフェード処理を行う。フェード処理部18は、再生停止時とエラー発生時でのミュートのためのフェード処理を異ならせるために、音量を制御するためのATTカウンタ19を内蔵している。このATTカウンタ19は、上記ミュートフラグfm、ステップフラグfs及び制御信号CNTによりカウントのためのステップ幅(刻み幅)を変える。ミュートフラグfm及びステップフラグfsが有効となると、フェード処理部18は、ATTカウンタ19を1.0から0.0まで比較的大きい刻み幅で、例えばカウントダウンまで3msecの時間がかかる様な刻み幅でカウントダウンし、0.0になったらカウントストップする。ATTカウンタ19のカウント値は乗算器によって音楽データDAに乗算される。
特開2000−163888号公報 特開2006−040529号公報
After that, the fade processing unit 18 promptly differs from the playback stop time based on the mute flag fm and the step flag fs from the fade control unit 21 when an error occurs, that is, when the error determination flag f′e is valid. Fade for proper muting. The fade processing unit 18 incorporates an ATT counter 19 for controlling the sound volume in order to make the fade process for muting different between when playback is stopped and when an error occurs. The ATT counter 19 changes the step width (step width) for counting by the mute flag fm, the step flag fs and the control signal CNT. When the mute flag fm and the step flag fs become effective, the fade processing unit 18 sets the ATT counter 19 to a relatively large step size from 1.0 to 0.0, for example, a step size that takes 3 msec to count down. Count down and stop counting when it reaches 0.0. The count value of the ATT counter 19 is multiplied by the music data DA by a multiplier.
JP 2000-163888 A JP 2006-040529 A

特許文献1及び2では、オーディオ信号の復調時にエラーデータを検出し、復調データと共にエラーフラグをバッファに格納する。そして、エラーフラグが検出された時刻から所定時間前のオーディオ信号から一定間隔でフェード処理を行うことで、エラーデータを再生する時間帯には、ミュートされた状態とすることができる。   In Patent Documents 1 and 2, error data is detected when an audio signal is demodulated, and an error flag is stored in a buffer together with the demodulated data. Then, by performing a fade process at regular intervals from an audio signal a predetermined time before the time when the error flag is detected, a state in which the error data is reproduced can be muted.

しかしながら、特許文献1及び2におけるフェード処理は、あらかじめ設定された時間幅でATTカウンタを用いて行われているため、エラー発生時のフェード処理期間は一定値としている。また、オーディオ出力データは低信号レベル時にはATTカウンタと乗算するオーディオデータ信号に比例して、小さい出力レベル値になってしまうため、フェード処理期間の早い段階で音が聞こえなくなる。そのため、特許文献1及び2では、必要以上に音の聞こえない状態が長い時間続くという問題が生じる。   However, since the fade processing in Patent Documents 1 and 2 is performed using an ATT counter with a preset time width, the fade processing period when an error occurs is a constant value. Further, since the audio output data has a small output level value in proportion to the audio data signal multiplied by the ATT counter when the signal level is low, no sound can be heard at an early stage of the fade processing period. Therefore, in Patent Documents 1 and 2, there is a problem that a state in which sound cannot be heard more than necessary continues for a long time.

本発明の第1の態様にかかるデジタルオーディオ信号処理装置は、デジタルオーディオ信号の目標時点に基づいてフェード処理を行うものであって、前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じてフェード実施期間を算出するフェード実施期間算出部と、前記フェード実施期間に基づいて前記フェード処理を制御するフェード制御部とを備える。   A digital audio signal processing apparatus according to a first aspect of the present invention performs a fade process based on a target time point of a digital audio signal, and the digital audio signal in a predetermined period determined according to the target time point A fade execution period calculation unit that detects a fade execution period according to the level value, and a fade control unit that controls the fade process based on the fade execution period.

本発明の第2の態様にかかるデジタルオーディオ信号処理装置は、デジタルオーディオ信号の目標時点に基づいてフェードアウト処理又はフェードイン処理を行うものであって、前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じて前記フェードアウト処理における処理開始タイミングあるいは前記フェードイン処理における処理終了タイミングを決定する処理タイミング決定部と、前記処理開始タイミングに基づいて前記フェードアウト処理あるいは前記処理終了タイミングに基づいて前記フェードイン処理を制御するフェード制御部とを備える。   The digital audio signal processing apparatus according to the second aspect of the present invention performs a fade-out process or a fade-in process based on a target time point of the digital audio signal, and in a predetermined period determined according to the target time point. A processing timing determination unit that detects a level value of the digital audio signal and determines a processing start timing in the fade-out process or a processing end timing in the fade-in process according to the level value, and based on the processing start timing A fade control unit that controls the fade-in process based on the fade-out process or the process end timing.

本発明の第3の態様にかかるデジタルオーディオ信号処理装置は、デジタルオーディオ信号の目標時点に基づいてフェード処理を行うものであって、前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値が所定の条件で前記フェード処理を行う際の基準値を超えない場合、前記フェード処理を行わないものである。   A digital audio signal processing device according to a third aspect of the present invention performs a fade process based on a target time point of a digital audio signal, and the digital audio signal in a predetermined period determined according to the target time point The level value is detected, and if the level value does not exceed a reference value for performing the fade process under a predetermined condition, the fade process is not performed.

本発明の第1の態様にかかるデジタルオーディオ信号処理方法は、デジタルオーディオ信号の目標時点に基づいてフェード処理を行うものであって、前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じてフェード実施期間を算出するフェード実施期間算出ステップと、前記フェード実施期間に基づいて前記フェード処理を制御するフェード制御ステップとを備える。   A digital audio signal processing method according to a first aspect of the present invention performs fade processing based on a target time point of a digital audio signal, and the digital audio signal in a predetermined period determined according to the target time point A fade execution period calculation step for detecting a fade execution period in accordance with the level value, and a fade control step for controlling the fade process based on the fade execution period.

本発明の第2の態様にかかるデジタルオーディオ信号処理方法は、デジタルオーディオ信号の目標時点に基づいてフェードアウト処理又はフェードイン処理を行うものであって、前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じて前記フェードアウト処理における処理開始タイミングあるいは前記フェードイン処理における処理終了タイミングを決定する処理タイミング決定ステップと、前記処理開始タイミングに基づいて前記フェードアウト処理あるいは前記処理終了タイミングに基づいて前記フェードイン処理を制御するフェード制御ステップとを備える。   A digital audio signal processing method according to a second aspect of the present invention performs a fade-out process or a fade-in process based on a target time point of a digital audio signal, and in a predetermined period determined according to the target time point. A processing timing determination step for detecting a level value of the digital audio signal and determining a processing start timing in the fade-out processing or a processing end timing in the fade-in processing according to the level value, and the processing start timing based on the processing start timing A fade control step of controlling the fade-in process based on the fade-out process or the process end timing.

本発明の第3の態様にかかるデジタルオーディオ信号処理方法は、デジタルオーディオ信号の目標時点に基づいてフェード処理を行うものであって、前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値が所定の条件で前記フェード処理を行う際の基準値を超えない場合、前記フェード処理を行わないものである。   A digital audio signal processing method according to a third aspect of the present invention performs fade processing based on a target time point of a digital audio signal, and the digital audio signal in a predetermined period determined according to the target time point The level value is detected, and if the level value does not exceed a reference value for performing the fade process under a predetermined condition, the fade process is not performed.

上述した本発明のデジタルオーディオ信号処理装置及び方法によれば、例えば、デジタルオーディオ信号のエラーデータの発生箇所において、当該発生箇所から所定期間前のデジタルオーディオ信号のレベル値に応じたフェード実施期間を算出、又は、処理開始タイミング、もしくは、処理終了タイミングを決定することができるため、フェード処理における低信号レベル時におけるフェード実施期間を短くし、フェードアウト処理時には、処理開始を遅らせ、フェードイン処理時には、処理終了を早めることで、不要なフェード処理を減らし、音の聞こえる状態を長くすることができる。   According to the above-described digital audio signal processing apparatus and method of the present invention, for example, at a location where error data of a digital audio signal is generated, a fade execution period corresponding to a level value of the digital audio signal a predetermined period before the occurrence location is set. Since calculation or process start timing or process end timing can be determined, the fade execution period at the low signal level in the fade process is shortened, the process start is delayed at the fade-out process, and the fade-in process is By accelerating the end of processing, unnecessary fade processing can be reduced, and the sound can be heard longer.

また、検出されるレベル値のうちに、所定の条件に基づくフェード処理を行う際の基準値を超えるものが存在しない場合は、フェード処理自体を行わないことで、音の聞こえる状態を長くすることができる。   In addition, if there is no detected level value that exceeds the reference value when performing fade processing based on a predetermined condition, the state in which sound can be heard is lengthened by not performing fade processing itself. Can do.

本発明により、時系列データの目標時点に対して、データ状況に応じて最適なフェード開始時点を決定することで、必要最小限のフェード処理を行い、スムーズなオーディオ信号の再生を行うデジタルオーディオ信号処理装置、及び方法を提供することができる。   According to the present invention, a digital audio signal that performs smooth reproduction of an audio signal by performing a minimum necessary fade process by determining an optimum fade start point according to the data situation with respect to a target point of time-series data. A processing apparatus and method can be provided.

以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description will be omitted as necessary for the sake of clarity.

発明の実施の形態1.
図1は、発明の実施の形態1にかかるデジタルオーディオ信号処理装置1の構成図を示す。デジタルオーディオ信号処理装置1は、時系列データであるデジタルオーディオ信号の入力を受け付け、当該デジタルオーディオ信号の中にエラーデータがある場合に、所定の間隔でフェードアウト処理を行うものである。すなわち、デジタルオーディオ信号処理装置1は、エラーデータが発生する時点(目標時点)に基づいてフェード処理を行う。
Embodiment 1 of the Invention
FIG. 1 shows a configuration diagram of a digital audio signal processing apparatus 1 according to a first embodiment of the invention. The digital audio signal processing apparatus 1 receives an input of a digital audio signal that is time-series data, and performs a fade-out process at a predetermined interval when there is error data in the digital audio signal. That is, the digital audio signal processing apparatus 1 performs a fade process based on a time point (target time point) when error data occurs.

デジタルオーディオ信号処理装置1は、デコーダ処理部110と、バッファ部111と、フェード実施期間算出部112と、ステップ幅算出部113と、開始アドレス算出部114と、フェード開始信号生成部115と、フェード処理部116と、D/A変換器117とを備える。   The digital audio signal processing apparatus 1 includes a decoder processing unit 110, a buffer unit 111, a fade execution period calculation unit 112, a step width calculation unit 113, a start address calculation unit 114, a fade start signal generation unit 115, and a fade. A processing unit 116 and a D / A converter 117 are provided.

デコーダ処理部110は、入力されたデジタルオーディオ信号データに対してデコード処理とエラー判定を行い、バッファ部111へオーディオ信号DRAを出力し、フェード実施期間算出部112と開始アドレス算出部114へエラーアドレスA1を出力(通知)する。   The decoder processing unit 110 performs decoding processing and error determination on the input digital audio signal data, outputs an audio signal DRA to the buffer unit 111, and outputs an error address to the fade execution period calculation unit 112 and the start address calculation unit 114. A1 is output (notified).

バッファ部111は、記憶領域であり、デコーダ処理部110によりデコードされたオーディオ信号DRAを格納し、フェード処理部116へオーディオ信号DRAを出力し、処理対象のオーディオ信号DRAのアドレスであるリードアドレスA3をフェード開始信号生成部115へ出力する。   The buffer unit 111 is a storage area, stores the audio signal DRA decoded by the decoder processing unit 110, outputs the audio signal DRA to the fade processing unit 116, and reads an address A3 that is an address of the audio signal DRA to be processed. Is output to the fade start signal generator 115.

フェード実施期間算出部112は、上述した目標時点に応じて決定される所定期間における各デジタルオーディオ信号DRAのレベル値を検出し、当該レベル値に応じて実際にフェードアウト処理を実施するフェード実施期間fe1を算出する。そして、算出されたフェード実施期間fe1をステップ幅算出部113と開始アドレス算出部114へ出力する。すなわち、フェード実施期間算出部112は、デコーダ処理部110からのエラーアドレスA1の通知を受け付け、バッファ部111からエラーアドレスA1に対応する時点以前のオーディオ信号DRAを取得し、取得したオーディオ信号DRAのレベル値と、所定の条件で前記フェード処理を行う際の基準値である基準レベルとに基づいて、フェード実施期間fe1を算出する。   The fade execution period calculation unit 112 detects a level value of each digital audio signal DRA in a predetermined period determined according to the target time point, and performs a fade-out process according to the level value. Is calculated. Then, the calculated fade execution period fe1 is output to the step width calculation unit 113 and the start address calculation unit 114. That is, the fade execution period calculation unit 112 receives the notification of the error address A1 from the decoder processing unit 110, acquires the audio signal DRA before the time corresponding to the error address A1 from the buffer unit 111, and acquires the audio signal DRA The fade execution period fe1 is calculated based on the level value and a reference level that is a reference value for performing the fade process under a predetermined condition.

また、フェード実施期間算出部112は、検出されるレベル値のうち最大値であるピークレベルに基づいてフェード実施期間fe1を算出する。さらに、フェード実施期間算出部112は、ピークレベルが低いほどフェード実施期間を短く算出する。   Further, the fade execution period calculation unit 112 calculates the fade execution period fe1 based on the peak level that is the maximum value among the detected level values. Further, the fade execution period calculation unit 112 calculates the fade execution period as the peak level is lower.

また、フェード実施期間算出部112は、目標時点に応じて決定される所定期間におけるデジタルオーディオ信号DRAのレベル値のうち、基準レベルを超えるレベル値の中から最大値をピークレベルとして検出し、基準レベルを超えるレベル値が存在しない場合、フェード実施期間を0と算出する。   Further, the fade execution period calculation unit 112 detects the maximum value as a peak level from the level values exceeding the reference level among the level values of the digital audio signal DRA in a predetermined period determined according to the target time point, When there is no level value exceeding the level, the fade execution period is calculated as 0.

ステップ幅算出部113は、フェード実施期間fe1に基づいてフェード処理におけるデジタルオーディオ信号DRAの増減係数の更新差分値であるステップ幅Deを算出し、ステップ幅Deをフェード開始信号生成部115へ出力する。   The step width calculation unit 113 calculates a step width De that is an update difference value of the increase / decrease coefficient of the digital audio signal DRA in the fade process based on the fade execution period fe1, and outputs the step width De to the fade start signal generation unit 115. .

開始アドレス算出部114は、フェード実施期間fe1に基づいてフェード処理の開始箇所であるフェード処理開始アドレスA2を算出し、フェード開始信号生成部115へ出力する。   The start address calculation unit 114 calculates a fade process start address A2 that is a start point of the fade process based on the fade execution period fe1, and outputs it to the fade start signal generation unit 115.

フェード開始信号生成部115は、ステップ幅De及びフェード処理開始アドレスA2を受け付け、フェード処理起動命令とステップ幅Deを含んだフェード処理制御信号fcを生成し、フェード信号制御信号fcをフェード処理部116へ出力する。すなわち、フェード開始信号生成部115は、フェード処理制御信号fcに基づいて前記フェード処理を制御し、実行させる。   The fade start signal generation unit 115 receives the step width De and the fade process start address A2, generates a fade process control signal fc including the fade process start command and the step width De, and uses the fade signal control signal fc as the fade processing unit 116. Output to. That is, the fade start signal generator 115 controls and executes the fade process based on the fade process control signal fc.

フェード処理部116は、フェード処理中の出力をコントロールするATTカウンタ118を有し、ステップ幅DeからATTカウンタ118のカウンタAtの値を更新することによりフェード処理を行い、フェード処理後の出力信号DfをD/A変換器117へ出力する。   The fade processing unit 116 has an ATT counter 118 that controls the output during the fade process, performs a fade process by updating the value of the counter At of the ATT counter 118 from the step width De, and outputs the output signal Df after the fade process. Is output to the D / A converter 117.

D/A変換器117は、デジタル信号をアナログ信号に変換する。   The D / A converter 117 converts the digital signal into an analog signal.

また、デジタルオーディオ信号処理装置1におけるフェード実施期間算出部112、及び、開始アドレス算出部114は、言い換えれば、目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じてフェードアウト処理における処理開始タイミングを決定する処理タイミング決定部であると言える。そして、フェード開始信号生成部115は、当該処理開始タイミングに基づいてフェードアウト処理を制御するフェード制御部と言える。   In addition, the fade execution period calculation unit 112 and the start address calculation unit 114 in the digital audio signal processing device 1 detect the level value of the digital audio signal in a predetermined period determined according to the target time point, It can be said that it is a processing timing determination unit that determines the processing start timing in the fade-out processing according to the level value. The fade start signal generator 115 can be said to be a fade controller that controls the fade-out process based on the process start timing.

図1のエラーアドレスA1、フェード開始アドレスA2、及びリードアドレスA3は、バッファ部111に格納しているオーディオ信号DRAの格納しているアドレス値を示している。本発明の実施の形態1では、バッファ部111に格納したオーディオ信号DRAを格納アドレスに従い順次出力する構成になっているため、格納アドレス情報が出力する際の時間情報に対応している。   An error address A1, a fade start address A2, and a read address A3 in FIG. 1 indicate address values stored in the audio signal DRA stored in the buffer unit 111. In the first embodiment of the present invention, the audio signal DRA stored in the buffer unit 111 is sequentially output according to the storage address, so that the storage address information corresponds to the time information when it is output.

以下、図1のデジタルオーディオ信号処理装置1の全体動作を、デコーダ処理部110にオーディオ信号が入力されるところからバッファ部111にオーディオ信号を格納するまでと、バッファ部111からオーディオ信号を取得し、D/A変換器117から外部へオーディオ信号を出力するまでの動作に分けて説明する。   Hereinafter, the entire operation of the digital audio signal processing apparatus 1 of FIG. 1 is acquired from the time when the audio signal is input to the decoder processing unit 110 to the time when the audio signal is stored in the buffer unit 111. The operation until the audio signal is output from the D / A converter 117 to the outside will be described separately.

図2は、データがデコーダ処理部110に入力されバッファ部111にデータを格納するまでの処理、すなわち、本発明の実施の形態1にかかるデジタルオーディオ信号のデコードからバッファ部へデータを格納する処理を示すフローチャート図である。   FIG. 2 shows a process from when data is input to the decoder processing unit 110 until the data is stored in the buffer unit 111, that is, a process of storing data from the decoding of the digital audio signal to the buffer unit according to the first embodiment of the present invention. FIG.

まず、フェード実施期間算出部112に最大フェード期間が設定される(S301)。次に、オーディオ信号DRAがデコーダ処理部110に入力される(S302)。そして、デコーダ処理部110は、オーディオ信号DRAのデコード処理を行う(S303)。   First, the maximum fade period is set in the fade execution period calculation unit 112 (S301). Next, the audio signal DRA is input to the decoder processing unit 110 (S302). Then, the decoder processing unit 110 performs a decoding process on the audio signal DRA (S303).

続いて、デコーダ処理部110は、エラー発生の有無判定を行う(S304)。エラーが発生していない場合は、S308へ進む。エラーが発生した場合は、フェード実施期間算出部112は、フェード実施期間fe1を算出する(S305)。次に、ステップ幅算出部113は、算出されたフェード実施期間fe1から、ステップ幅Deを設定する(S306)。そして、開始アドレス算出部114は、エラー時刻からフェード実施期間を引いた値をフェード開始時刻として設定する(S307)。   Subsequently, the decoder processing unit 110 determines whether an error has occurred (S304). If no error has occurred, the process proceeds to S308. When an error occurs, the fade execution period calculation unit 112 calculates a fade execution period fe1 (S305). Next, the step width calculation unit 113 sets a step width De from the calculated fade execution period fe1 (S306). Then, the start address calculation unit 114 sets a value obtained by subtracting the fade execution period from the error time as the fade start time (S307).

その後、バッファ部111にデコード処理が行われたデータが格納される(S308)。その際、エラー発生時のデータは0埋めして格納される。そして、処理終了の判定が行われる(S309)。処理終了でない場合、ステップS302乃至S309までの処理が繰り返される。   Thereafter, the decoded data is stored in the buffer unit 111 (S308). At that time, data at the time of error occurrence is stored with zero padding. Then, the end of the process is determined (S309). If the processing is not finished, the processing from step S302 to S309 is repeated.

図3は、バッファ部111からオーディオ信号を取得し、D/A変換器117から外部へオーディオ信号を出力するまでの処理、すなわち、本発明の実施の形態1にかかるフェード処理を示すフローチャート図である。   FIG. 3 is a flowchart showing processing for acquiring an audio signal from the buffer unit 111 and outputting the audio signal from the D / A converter 117 to the outside, that is, fading processing according to the first embodiment of the present invention. is there.

まず、初期設定として、フェード状態フラグをOFFに、カウンタAtを1に設定される(S401)。次に、フェード処理部116は、バッファ部111からオーディオ信号DRAを受け取る(S402)。そして、フェード開始信号生成部115は、フェード開始時刻が設定されているか判定を行う(S403)。ここで、フェード開始時刻が設定されていない場合は、S407へ進む。   First, as an initial setting, the fade state flag is set to OFF and the counter At is set to 1 (S401). Next, the fade processing unit 116 receives the audio signal DRA from the buffer unit 111 (S402). Then, the fade start signal generation unit 115 determines whether a fade start time is set (S403). If the fade start time is not set, the process proceeds to S407.

ステップS403において、フェード開始時刻が設定されている場合、フェード開始信号生成部115は、ステップS402でデータを取得した際の出力データ時刻と、設定されているフェード開始時刻を比較する(S404)。ここで、出力データ時刻とフェード開始時刻が一致しない場合、S407へ進む。   When the fade start time is set in step S403, the fade start signal generation unit 115 compares the output data time when data is acquired in step S402 with the set fade start time (S404). If the output data time does not match the fade start time, the process proceeds to S407.

ステップS404において、出力データ時刻とフェード開始時刻が一致した場合、フェード開始信号生成部115は、フェード処理部116へフェード処理制御信号fcを出力する(S405)。そして、フェード開始信号生成部115は、フェード状態フラグをONに設定する(S406)。   In step S404, when the output data time and the fade start time coincide with each other, the fade start signal generation unit 115 outputs a fade process control signal fc to the fade processing unit 116 (S405). Then, the fade start signal generation unit 115 sets the fade state flag to ON (S406).

その後、フェード処理部116は、フェード状態フラグがONか判定する(S407)。フェード状態フラグがONでない場合、S411へ進む。フェード状態フラグがONである場合、フェード処理部116は、カウンタAtをステップ幅Deの値で更新する(S408)。   Thereafter, the fade processing unit 116 determines whether the fade state flag is ON (S407). If the fade state flag is not ON, the process proceeds to S411. When the fade state flag is ON, the fade processing unit 116 updates the counter At with the value of the step width De (S408).

その後、フェード処理部116は、カウンタAtの値を判定する(S409)。カウンタAtが0から1の範囲である場合、S411へ進む。カウンタAtが0から1の範囲でない場合、フェード状態フラグをOFFに、カウンタAtを1にする(S410)。   Thereafter, the fade processing unit 116 determines the value of the counter At (S409). When the counter At is in the range of 0 to 1, the process proceeds to S411. If the counter At is not in the range of 0 to 1, the fade state flag is turned OFF and the counter At is set to 1 (S410).

そして、フェード処理部116は、バッファ部111から得たオーディオ信号DRAにカウンタAtの値を乗算し、D/A変換器117を介して外部へ出力する(S411)。その後、処理終了の判定を行う(S412)。終了でない場合はステップS402乃至S412の処理が繰り返し実行される。   The fade processing unit 116 multiplies the audio signal DRA obtained from the buffer unit 111 by the value of the counter At, and outputs the result to the outside via the D / A converter 117 (S411). Thereafter, the end of the process is determined (S412). If not finished, the processes in steps S402 to S412 are repeatedly executed.

図4は、図2のステップS305のフェード実施期間算出処理の詳細を示すフローチャート図である。まず、フェード実施期間算出部112は、パラメータとして、データ検索位置をエラー位置から最大フェード期間分を引いた位置に、検出レベルの値を0に、基準レベルの値をレベル値の最大値に、データ検索フラグを基準レベル内に設定する(S501)。   FIG. 4 is a flowchart showing details of the fade execution period calculation processing in step S305 of FIG. First, the fade execution period calculation unit 112 uses, as parameters, the data search position as a position obtained by subtracting the maximum fade period from the error position, the detection level value as 0, the reference level value as the maximum level value, The data search flag is set within the reference level (S501).

次に、フェード実施期間算出部112は、データ検索フラグが基準レベル内か判定する(S502)。データ検索範囲が基準レベル内であった場合、フェード実施期間算出部112は、基準レベルの値とデータ検索位置の信号レベル値を比較する(S503)。ここで、基準レベルの値がデータ検索位置の信号レベル値以上の場合、フェード実施期間算出部112は、次のデータ検索位置における信号レベル値を基準レベルの値に設定する(S504)。   Next, the fade execution period calculation unit 112 determines whether the data search flag is within the reference level (S502). When the data search range is within the reference level, the fade execution period calculation unit 112 compares the reference level value with the signal level value at the data search position (S503). If the reference level value is equal to or greater than the signal level value at the data search position, the fade execution period calculation unit 112 sets the signal level value at the next data search position as the reference level value (S504).

また、ステップS503において、データ検索位置の信号レベル値が基準レベルの値より大きい場合、フェード実施期間算出部112は、データ検索フラグを基準レベル外に設定する(S505)。そして、フェード実施期間算出部112は、検出レベルの値をデータ検索位置の信号レベル値に設定する(S506)。   In step S503, if the signal level value at the data search position is greater than the reference level value, the fade execution period calculation unit 112 sets the data search flag outside the reference level (S505). Then, the fade execution period calculation unit 112 sets the detection level value to the signal level value at the data search position (S506).

ステップS502において、データ検索フラグが基準レベル内でない場合、フェード実施期間算出部112は、検出レベルの値とデータ検索位置の信号レベル値を比較する(S507)。ここで、データ検索位置の信号レベルが検出レベルよりも大きい場合、フェード実施期間算出部112は、検出レベルの値をデータ検索位置の信号レベル値に設定する(S506)。   If the data search flag is not within the reference level in step S502, the fade execution period calculation unit 112 compares the detection level value with the signal level value of the data search position (S507). If the signal level at the data search position is greater than the detection level, the fade execution period calculation unit 112 sets the value of the detection level to the signal level value at the data search position (S506).

その後、フェード実施期間算出部112は、データ検索位置を次データ検索の位置に移動させる(S508)。そして、フェード実施期間算出部112は、データ検索位置がエラー位置と等しいか否かを判定する(S509)。ここで、データ検索位置がエラー位置と等しくない場合、ステップS502へ戻る。また、データ検索位置がエラー位置と等しい場合、フェード実施期間算出部112は、フェード実施期間fe1を式(1)により算出する(S510)。
フェード実施期間 = 検出レベル × 最大フェード期間 / 最大信号レベル
Thereafter, the fade execution period calculation unit 112 moves the data search position to the position of the next data search (S508). The fade execution period calculation unit 112 determines whether the data search position is equal to the error position (S509). If the data search position is not equal to the error position, the process returns to step S502. Further, when the data search position is equal to the error position, the fade execution period calculation unit 112 calculates the fade execution period fe1 according to the equation (1) (S510).
Fade execution period = detection level × maximum fade period / maximum signal level

・・・(1)                                                                   ... (1)

図5(a)、(b)、及び(c)は、デジタルオーディオ信号によるフェード実施期間の模式例を示す図である。ここで、波形ANは、フェード処理部116に入力されているオーディオ信号DRAをアナログイメージ化したものである。また、時刻T2はエラー発生位置を示し、時刻T1はエラー位置より最大フェード期間femaxを引いた位置を示す。時刻T1の位置より最大信号レベルMAXと時刻T2の位置の信号レベル0を結ぶ線が基準レベルを示す線であり、データ検索位置での基準レベルの値とは、前記基準レベルの線が示す信号レベル値をいう。   FIGS. 5A, 5 </ b> B, and 5 </ b> C are diagrams illustrating a schematic example of a fade implementation period using a digital audio signal. Here, the waveform AN is an analog image of the audio signal DRA input to the fade processing unit 116. Time T2 indicates an error occurrence position, and time T1 indicates a position obtained by subtracting the maximum fade period femax from the error position. The line connecting the maximum signal level MAX and the signal level 0 at the position of time T2 from the position of time T1 is a line indicating the reference level, and the value of the reference level at the data search position is the signal indicated by the line of reference level This is the level value.

図5(a)では、時刻T1の位置よりデータ検索を時刻T2まで、データ検索位置でのオーディオ信号の信号レベル値と、データ検索位置での基準レベルの値との比較を行い、データ検索位置での基準レベルを超えているオーディオ信号の信号レベルの中で、信号レベル値の最大値である、時刻T3のときの信号レベル値を検出レベルの値とする。   In FIG. 5A, the data search is performed from the position of the time T1 until the time T2, and the signal level value of the audio signal at the data search position is compared with the value of the reference level at the data search position. The signal level value at the time T3, which is the maximum value of the signal level value among the signal levels of the audio signal exceeding the reference level in FIG.

ここで、基準レベルを示す線に対して、時刻T3の時の信号レベル値から水平に線を延ばした際に、基準レベルの線と交差する点の時刻T4がフェード開始時刻となり、時刻T4から時刻T2までの期間fe1aがフェード実施期間となる。   Here, when the line is extended horizontally from the signal level value at the time T3 with respect to the line indicating the reference level, the time T4 at the point where the reference level line intersects becomes the fade start time, and from the time T4 A period fe1a up to time T2 is a fade implementation period.

図5(b)では、図5(a)同様に比較を行い、時刻T5のときの信号レベル値を検出レベルの値とする。ここで、基準レベルを示す線に対して、時刻T5の時の信号レベル値から水平に線を延ばした際に、基準レベルの線と交差する点の時刻T6がフェード開始時刻となり、時刻T6から時刻T2までの期間fe1bがフェード実施期間となる。   In FIG. 5B, the comparison is performed in the same manner as in FIG. 5A, and the signal level value at time T5 is set as the detection level value. Here, when the line is extended horizontally from the signal level value at the time T5 with respect to the line indicating the reference level, the time T6 at the point where the reference level line intersects becomes the fade start time, and from the time T6. A period fe1b until time T2 is a fade execution period.

図5(c)では、時刻T1の位置よりデータ検索を時刻T2まで行い、データ検索位置でのオーディオ信号の信号レベル値と、データ検索位置での基準レベルの値との比較を行い、基準レベルの値を超えている信号レベル値がないため、検出レベルの値は0となる。そのため、時刻T2がフェード開始時刻となり、フェード実施期間は0となる。   In FIG. 5C, the data search is performed from the position of time T1 until time T2, and the signal level value of the audio signal at the data search position is compared with the value of the reference level at the data search position. Since there is no signal level value exceeding the value of, the detection level value is zero. Therefore, time T2 is the fade start time, and the fade execution period is zero.

図6は、本発明のフェード処理結果を説明するための模式図である。特に、図6では、オーディオ信号がMax値の50%一定である場合のオーディオ信号出力を示している。そして、図4のフェード実施期間算出処理を適用することにより、フェード実施期間は、時刻T7からT2の期間となる。   FIG. 6 is a schematic diagram for explaining the result of the fading process of the present invention. In particular, FIG. 6 shows the audio signal output when the audio signal is constant 50% of the Max value. Then, by applying the fade execution period calculation process of FIG. 4, the fade execution period becomes a period from time T7 to T2.

時刻T1から時刻T7までの期間feoは、フェード処理を行わず原音を出力し、時刻T7からフェード処理を開始、時刻T2でフェード処理が完了する。このように、オーディオ信号のレベル値により最適なフェード期間が設定されるため、原音の出力可能期間を増やすことができ、音の再現性が向上する。   During a period feo from time T1 to time T7, the original sound is output without performing the fade process, the fade process is started from time T7, and the fade process is completed at time T2. In this way, since the optimum fade period is set according to the level value of the audio signal, the period during which the original sound can be output can be increased, and the sound reproducibility is improved.

本発明の実施の形態1では、カウンタAtの値をステップ幅Deの値で更新する方法で、減衰量を決定しフェード処理を行っているが、カウンタAtの値を(2)式のように単調減少する任意の関数f(t)を用いて減衰量を求めることにより、様々なフェード処理に対応することもできる。
At = f(t) …(2)
In Embodiment 1 of the present invention, the attenuation value is determined and fade processing is performed by the method of updating the value of the counter At with the value of the step width De. However, the value of the counter At is expressed by the equation (2). By obtaining the attenuation amount using an arbitrary function f (t) that monotonously decreases, various fade processes can be handled.
At = f (t) (2)

このように、本発明の実施の形態1にかかるデジタルオーディオ信号処理装置1は、フェード実施期間算出部112、ステップ幅算出部113、開始アドレス算出部114、及びフェード開始信号生成部115を有してフェード処理を行うことを特徴とする。   As described above, the digital audio signal processing device 1 according to the first exemplary embodiment of the present invention includes the fade execution period calculation unit 112, the step width calculation unit 113, the start address calculation unit 114, and the fade start signal generation unit 115. And fading processing.

また、デジタルオーディオ信号処理装置1は、デジタルAV機器等に適用可能である。その際、フェード実施期間算出部112において、図4のステップS501乃至S509を用いてエラーデータの位置から最大フェード期間中のオーディオ信号ピークレベルを検出し、ステップS510を用いて検出したオーディオ信号ピークレベル値からフェード実施期間を算出する。   The digital audio signal processing apparatus 1 can be applied to a digital AV device or the like. At that time, the fade execution period calculation unit 112 detects the audio signal peak level during the maximum fade period from the position of the error data using steps S501 to S509 in FIG. 4, and the audio signal peak level detected using step S510. The fade execution period is calculated from the value.

次に、ステップ幅算出部113で図2のステップS306を用いてステップ幅を算出し、開始アドレス算出部114でステップS307を用いてフェード開始アドレスを算出する。そして、ステップ幅とフェード開始アドレスからフェード開始信号生成部115で、図3のステップS401乃至S411を用いてバッファ16のATTカウンタ118を制御し、フェード処理を行うことができる。   Next, the step width calculation unit 113 calculates the step width using step S306 in FIG. 2, and the start address calculation unit 114 calculates the fade start address using step S307. Then, the fade start signal generation unit 115 can control the ATT counter 118 of the buffer 16 from the step width and the fade start address using steps S401 to S411 in FIG. 3 to perform the fade process.

また、フェード実施期間算出部112では、図4のステップS502を用いて、オーディオ信号レベルが基準レベル外かを判断し、基準レベル外の場合は、ステップS507を用いて信号レベルをサーチして、オーディオ信号ピークレベルを求めることができる。   Also, the fade execution period calculation unit 112 determines whether the audio signal level is outside the reference level using step S502 in FIG. 4, and if it is outside the reference level, searches for the signal level using step S507, The audio signal peak level can be determined.

以上のことより、発明の実施の形態1では、低信号レベル時におけるフェード期間を短縮することにより、音の聞こえない状態が長くなるという問題を改善することができる。それは、フェード実施期間算出部112で、エラーデータの位置から最大フェード期間中のオーディオ信号ピークレベルを検出し、検出したオーディオ信号ピークレベル値によって、フェード実施期間を算出しているからである。   From the above, the first embodiment of the invention can improve the problem that the state in which sound cannot be heard becomes longer by shortening the fade period at the time of a low signal level. This is because the fade execution period calculation unit 112 detects the audio signal peak level during the maximum fade period from the position of the error data, and calculates the fade execution period based on the detected audio signal peak level value.

発明の実施の形態2.
本発明の実施の形態2では、ミュート処理が行われた後にフェードイン処理の時間を短くすることによって、より早く正常な音量に復旧することができるデジタルオーディオ信号処理装置を説明する。尚、本発明の実施の形態2にかかるデジタルオーディオ信号処理装置は、図1のデジタルオーディオ信号処理装置1と同様の構成であるため、図示及び説明は省略する。
Embodiment 2 of the Invention
In the second embodiment of the present invention, a digital audio signal processing apparatus capable of recovering to a normal volume more quickly by shortening the fade-in process time after the mute process is performed will be described. The digital audio signal processing apparatus according to the second embodiment of the present invention has the same configuration as the digital audio signal processing apparatus 1 in FIG.

図7は、本発明の実施の形態2にかかるフェードイン処理におけるデジタルオーディオ信号のデコードからバッファ部へデータを格納する処理を示すフローチャート図である。尚、図2に示したフローチャートと同じ処理は同じ番号を付加し、説明を省略する。   FIG. 7 is a flowchart showing processing for storing data from the decoding of the digital audio signal to the buffer unit in the fade-in processing according to the second embodiment of the present invention. The same processes as those in the flowchart shown in FIG.

まず、フェード実施期間算出部112に最大フェード期間が設定されるとともに、サンプルカウントの値が0に設定される(S601)。次に、オーディオ信号DRAがデコーダ処理部110に入力される(S302)。そして、デコーダ処理部110は、オーディオ信号DRAのデコード処理を行う(S303)。   First, the maximum fade period is set in the fade execution period calculation unit 112, and the value of the sample count is set to 0 (S601). Next, the audio signal DRA is input to the decoder processing unit 110 (S302). Then, the decoder processing unit 110 performs a decoding process on the audio signal DRA (S303).

続いて、デコーダ処理部110は、デコードした結果、エラーデータから正常データに変化したか判定を行う(S602)。ここで、エラーデータから正常データに変化していない場合、ステップS604へ進む。また、エラーデータから正常データに変化した場合、フェード実施期間算出部112は、サンプルカウントの値に最大フェード期間中の乗算回数を設定する(S603)。   Subsequently, the decoder processing unit 110 determines whether the error data has changed to normal data as a result of decoding (S602). If the error data does not change to normal data, the process proceeds to step S604. When the error data changes to normal data, the fade execution period calculation unit 112 sets the number of multiplications during the maximum fade period as the sample count value (S603).

その後、フェード実施期間算出部112は、サンプルカウントが0より大きいか否かを判定する(S604)。ここで、サンプルカウントが0の場合、ステップS308へ進む。また、サンプルカウントが0より大きい場合、フェード実施期間算出部112は、サンプルカウントを1つ減らす(S605)。   Thereafter, the fade execution period calculation unit 112 determines whether or not the sample count is greater than 0 (S604). If the sample count is 0, the process proceeds to step S308. If the sample count is greater than 0, the fade execution period calculation unit 112 decreases the sample count by 1 (S605).

そして、フェード実施期間算出部112は、ステップS605の結果サンプルカウントが0になったか判定を行う(S606)。ここで、サンプルカウントが0以外の場合、ステップS308へ進む。また、サンプルカウントが0になった場合、フェード実施期間算出部112は、バッファ部111に格納された、エラーから正常に変化してから最大フェード期間までのオーディオ信号からフェード実施期間fe1を算出する(S607)。次に、ステップ幅算出部113は、ステップ幅Deを設定する(S306)。そして、開始アドレス算出部114は、フェード開始時刻設定を行う(S608)。   Then, the fade execution period calculation unit 112 determines whether or not the sample count is 0 as a result of step S605 (S606). If the sample count is other than 0, the process proceeds to step S308. When the sample count becomes 0, the fade execution period calculation unit 112 calculates the fade execution period fe1 from the audio signal stored in the buffer unit 111 from the normal change from the error to the maximum fade period. (S607). Next, the step width calculation unit 113 sets a step width De (S306). Then, the start address calculation unit 114 performs fade start time setting (S608).

その後、バッファ部111にデコード処理が行われたデータが格納される(S308)。その際、エラー発生時のデータは0埋めして格納される。そして、処理終了の判定が行われる(S309)。処理終了でない場合、ステップS302乃至S309までの処理を繰り返される。   Thereafter, the decoded data is stored in the buffer unit 111 (S308). At that time, data at the time of error occurrence is stored with zero padding. Then, the end of the process is determined (S309). If the processing is not finished, the processing from step S302 to S309 is repeated.

図8は、図7のステップS607のフェードイン時におけるフェード実施期間算出処理の詳細を示すフローチャート図である。尚、図4に示したフローチャートと同じ処理は同じ番号を付加し、説明を省略する。   FIG. 8 is a flowchart showing details of the fade execution period calculation process at the time of fading in step S607 of FIG. The same processes as those in the flowchart shown in FIG.

まず、フェード実施期間算出部112は、パラメータとして、データ検索位置をエラーデータから正常データに変化した位置に、検出レベルの値を0に、基準レベルの値を0に、データ検索フラグを基準レベル内に設定する(S701)。   First, the fade execution period calculation unit 112 uses, as parameters, the data search position to a position where error data has changed to normal data, the detection level value is set to 0, the reference level value is set to 0, and the data search flag is set to the reference level. (S701).

次に、フェード実施期間算出部112は、図4と同様にステップS502乃至S508の処理を行う。そして、ステップS508の後、フェード実施期間算出部112は、データ検索位置がデータ出力開始位置+最大フェード期間と等しいか否かを判定する(S702)。ここで、データ検索位置がエラー位置と等しくない場合、ステップS502へ戻る。また、データ検索位置がエラー位置と等しい場合、フェード実施期間算出部112は、ステップS510と同様の処理を行う。   Next, the fade execution period calculation unit 112 performs the processing of steps S502 to S508 as in FIG. After step S508, the fade execution period calculation unit 112 determines whether the data search position is equal to the data output start position + the maximum fade period (S702). If the data search position is not equal to the error position, the process returns to step S502. Further, when the data search position is equal to the error position, the fade execution period calculation unit 112 performs the same process as in step S510.

以上のことより、発明の実施の形態2では、フェード実施期間算出部112で、エラーからの復帰データの位置から最大フェード期間中のオーディオ信号ピークレベルを検出し、検出したオーディオ信号ピークレベル値によって、フェード実施期間を算出する。次に、フェード実施期間からステップ幅算出部113でステップ幅を、開始アドレス算出部114でフェード開始アドレスを算出し、ステップ幅と開始アドレスからフェード開始信号生成部115がフェード処理部116のATTカウンタ19を制御することで、エラーからの復帰時もエラー発生時と同様に低信号レベル時におけるフェード期間を短縮することができる。また、従来よりも早くフェードを完了させることで原音を出力する期間が長くなり音の再現性が向上する。   As described above, in the second embodiment of the present invention, the fade execution period calculation unit 112 detects the audio signal peak level during the maximum fade period from the position of the return data from the error, and uses the detected audio signal peak level value. Calculate the fade implementation period. Next, the step width calculation unit 113 calculates the step width and the start address calculation unit 114 calculates the fade start address from the fade execution period, and the fade start signal generation unit 115 calculates the ATT counter of the fade processing unit 116 from the step width and the start address. By controlling 19, the fade period at the time of low signal level can be shortened at the time of recovery from the error as well as at the time of error occurrence. Also, by completing the fade earlier than before, the period for outputting the original sound becomes longer and the sound reproducibility is improved.

すなわち、発明の実施の形態2では、フェードイン処理においても、フェードアウト処理のフェード実施期間算出処理を適用することで、本発明の実施の形態1と同様の効果を得ることができる。   That is, in the second embodiment of the present invention, the same effect as in the first embodiment of the present invention can be obtained by applying the fade execution period calculation process of the fade-out process in the fade-in process.

発明の実施の形態3.
本発明の実施の形態3では、本発明の実施の形態1にかかるデジタルオーディオ信号処理装置1に改良を加え、デジタルオーディオ信号にエラーフラグfeを付加することで、エラー発生位置とフェード開始位置を算出することを特徴とする。
Embodiment 3 of the Invention
In the third embodiment of the present invention, the digital audio signal processing apparatus 1 according to the first embodiment of the present invention is improved, and an error flag fe is added to the digital audio signal, so that the error occurrence position and the fade start position are set. It is characterized by calculating.

図9は、本発明の実施の形態3にかかるデジタルオーディオ信号処理装置2の構成を示すブロック図である。デジタルオーディオ信号処理装置2は、図1のデコーダ処理部110と、バッファ部111と、フェード実施期間算出部112と、開始アドレス算出部114と、フェード開始信号生成部115とが、デコーダ処理部210と、バッファ部211と、フェード実施期間算出部212と、開始タイミング生成部214と、フェード開始信号生成部215とに置き換わったものである。   FIG. 9 is a block diagram showing a configuration of the digital audio signal processing apparatus 2 according to the third embodiment of the present invention. The digital audio signal processing apparatus 2 includes a decoder processing unit 110, a buffer unit 111, a fade execution period calculation unit 112, a start address calculation unit 114, and a fade start signal generation unit 115 in FIG. And a buffer unit 211, a fade execution period calculation unit 212, a start timing generation unit 214, and a fade start signal generation unit 215.

デコーダ処理部210は、入力されたデジタルオーディオ信号データに対してデコード処理とエラー判定を行い、バッファ部211へオーディオ信号DRAとエラーフラグfeを出力する。   The decoder processing unit 210 performs decoding processing and error determination on the input digital audio signal data, and outputs the audio signal DRA and the error flag fe to the buffer unit 211.

バッファ部211は、記憶領域であり、デコーダ処理部210によりデコードされたオーディオ信号DRAを格納し、フェード実施期間算出部212とフェード処理部116にオーディオ信号DRAを出力する。   The buffer unit 211 is a storage area, stores the audio signal DRA decoded by the decoder processing unit 210, and outputs the audio signal DRA to the fade execution period calculation unit 212 and the fade processing unit 116.

フェード実施期間算出部212は、フェード実施期間fe1の算出を行い、フェード実施期間felをステップ幅算出部113と開始タイミング生成部214へ出力する。   The fade execution period calculation unit 212 calculates the fade execution period fe1, and outputs the fade execution period fel to the step width calculation unit 113 and the start timing generation unit 214.

開始タイミング生成部214は、フェード開始タイミング信号fstを生成し、フェード開始信号生成部A215へ出力する。   The start timing generation unit 214 generates a fade start timing signal fst and outputs it to the fade start signal generation unit A215.

フェード開始信号生成部A215は、ステップ幅算出部113から入力されるステップ幅Deと開始タイミング生成部214より入力されるフェード開始タイミング信号fstを受け付け、フェード処理起動命令とステップ幅Deを含んだフェード処理制御信号fcを生成し、フェード信号制御信号fcをフェード処理部116に出力する。以降の構成は、本発明の実施の形態1と同様のため、説明を省略する。   The fade start signal generation unit A215 receives the step width De input from the step width calculation unit 113 and the fade start timing signal fst input from the start timing generation unit 214, and includes a fade process start command and a fade including the step width De. A processing control signal fc is generated, and the fade signal control signal fc is output to the fade processing unit 116. Since the subsequent configuration is the same as that of the first embodiment of the present invention, description thereof is omitted.

図10は、本発明の実施の形態3にかかるフェード処理のタイミングチャート図である。まず、デコーダ処理部210は、入力されたオーディオ信号をデコードしてオーディオ信号DRAとして出力する。   FIG. 10 is a timing chart of the fade process according to the third embodiment of the present invention. First, the decoder processing unit 210 decodes the input audio signal and outputs it as an audio signal DRA.

ここで、オーディオ信号D0は正常なデータであり、オーディオ信号D1はエラーデータとする。また、時刻T1から時刻T2の期間は、デコーダ処理部210でデコード処理したオーディオ信号DRAがフェード処理により出力されるまでの期間である。また、あらかじめ設定している最大フェード期間も時刻T1から時刻T2の期間である。   Here, the audio signal D0 is normal data, and the audio signal D1 is error data. The period from time T1 to time T2 is a period until the audio signal DRA decoded by the decoder processing unit 210 is output by the fade process. The preset maximum fade period is also the period from time T1 to time T2.

さらに、フェード実施期間算出部212がバッファ部A211に格納されているエラーフラグfeが有効になったことを検知した時刻を時刻T1とする。このとき、フェード終了時刻は、エラーフラグfeが有効になった時刻T1から実際の出力を出すまでの期間を足した時刻T2であるとする。   Furthermore, the time when the fade execution period calculation unit 212 detects that the error flag fe stored in the buffer unit A211 becomes valid is set as time T1. At this time, it is assumed that the fade end time is a time T2 obtained by adding a period from the time T1 when the error flag fe becomes valid to the actual output.

次に、フェード実施期間算出部212は、時刻T2から最大フェード期間を差し引いた時刻T1を設定する。そして、フェード実施期間算出部212は、時刻T1から時刻T2の期間中のフェード処理前オーディオ信号からオーディオ信号レベルの最大値を検出し、検出レベルからフェード実施期間fe1を算出する。尚、この動作は、本発明の実施の形態1と同じなので詳細な説明を省略する。   Next, the fade execution period calculation unit 212 sets time T1 obtained by subtracting the maximum fade period from time T2. Then, the fade execution period calculation unit 212 detects the maximum value of the audio signal level from the pre-fade audio signal during the period from time T1 to time T2, and calculates the fade execution period fe1 from the detected level. Since this operation is the same as that of Embodiment 1 of the present invention, detailed description thereof is omitted.

その後、開始タイミング生成部214は、オーディオ信号をデコードしたときの時刻T1から外部へ出力するときの時刻T2までの期間からフェード実施期間fe1を引いた期間Twを待ち、時刻T8にフェード開始タイミング信号fstを有効にする。   Thereafter, the start timing generation unit 214 waits for a period Tw obtained by subtracting the fade execution period fe1 from the period from time T1 when the audio signal is decoded to time T2 when the audio signal is output to the outside, and at time T8 the fade start timing signal Enable fst.

フェード開始信号生成部A215は、フェード開始タイミング信号fstと算出したステップ幅Deから、フェード処理を実施する。その後、D/A変換器117は、フェード処理後のアナログ出力を出力する。   The fade start signal generation unit A215 performs a fade process from the fade start timing signal fst and the calculated step width De. Thereafter, the D / A converter 117 outputs the analog output after the fade process.

このように、本発明の実施の形態3では、開始タイミング生成部214でフェード開始までの期間Twを待つだけよく、特許文献1及び2のようにオーディオ信号が出力されるたびにタイミングの監視や同期合わせ用比較機能を行う必要がないため、装置の構成が簡単になる。つまり、発明の実施の形態3は、特許文献1及び2に改良を加えることでも適用可能である。   As described above, in the third embodiment of the present invention, the start timing generation unit 214 only has to wait for the period Tw until the fade starts, and each time an audio signal is output as in Patent Documents 1 and 2, Since it is not necessary to perform the comparison function for synchronization, the configuration of the apparatus is simplified. That is, Embodiment 3 of the invention can also be applied by improving Patent Documents 1 and 2.

以上のように、発明の実施の形態3では、オーディオ信号が出力されるたびにタイミングの監視や同期合わせ用比較を行う必要がないため、回路規模を小さくすることができる。それは、アドレスではなく、エラーフラグfeとデコードから出力するまでの遅延値を用いて、エラー発生位置とフェード開始位置を算出するからである。   As described above, in the third embodiment of the present invention, it is not necessary to monitor timing and compare for synchronization every time an audio signal is output, so that the circuit scale can be reduced. This is because the error occurrence position and the fade start position are calculated using not the address but the error flag fe and the delay value from decoding to output.

発明の実施の形態4.
本発明の実施の形態4では、エラー位置情報に代えてフェードアウト処理又はフェードイン処理の開始位置の指定情報をフェード実施期間算出部へ入力し、フェード処理を行うことを特徴とする。
Embodiment 4 of the Invention
Embodiment 4 of the present invention is characterized in that fade-out processing or fade-in processing start position designation information is input to the fade execution period calculation unit in place of error position information, and fade processing is performed.

本発明の実施の形態4は、例えば、図1のデコーダ処理部110において、サンプリング周波数変化時や、AV同期時などオーディオ信号内の情報を元に任意のフェード処理開始位置又はタイミングの指定情報の入力を受け付け、当該指定情報に対応するアドレスをエラーアドレスA1に代えて、フェード実施期間算出部112への入力とすることで、本発明の実施の形態1と同様の構成で実現可能となる。   In the fourth embodiment of the present invention, for example, in the decoder processing unit 110 of FIG. 1, information on designation of arbitrary fade processing start position or timing based on information in the audio signal such as when the sampling frequency is changed or when AV is synchronized. By accepting an input and replacing the error address A1 with the address corresponding to the designation information as an input to the fade execution period calculation unit 112, the same configuration as in the first embodiment of the present invention can be realized.

以上のように、本発明の実施の形態4では、エラー発生以外に、サンプリング周波数変化時や、AV同期時などオーディオ信号の指定位置からのフェードアウト処理又はフェードイン処理においても、フェード期間を最適化できる。それは、エラーアドレスA1に代えてフェードアウト処理又はフェードイン処理を開始したいアドレスをフェード実施期間算出部112へ出力することによりフェード実施期間を算出しているからである。   As described above, according to the fourth embodiment of the present invention, the fade period is optimized in the fade-out process or the fade-in process from the designated position of the audio signal, such as when the sampling frequency is changed or AV synchronization is performed, in addition to the occurrence of an error. it can. This is because the fade execution period is calculated by outputting to the fade execution period calculation unit 112 the address at which the fade-out process or the fade-in process is started instead of the error address A1.

発明の実施の形態5.
本発明の実施の形態5では、本発明の実施の形態1にかかるデジタルオーディオ信号処理装置1に改良を加え、テーブルデータ格納部を追加し、フェード処理時のカウンタAtに代えてテーブルデータを使用してフェード処理を行うことを特徴とする。
Embodiment 5 of the Invention
In the fifth embodiment of the present invention, the digital audio signal processing apparatus 1 according to the first embodiment of the present invention is improved, a table data storage unit is added, and table data is used instead of the counter At at the time of fade processing. Then, a fade process is performed.

図11は、本発明の実施の形態5にかかるデジタルオーディオ信号処理装置3の構成を示すブロック図である。デジタルオーディオ信号処理装置3は、図1のフェード実施期間算出部112と、フェード処理部116と、ATTカウンタ118とが、フェード実施期間算出部312と、フェード処理部316と、テーブルデータ保持部301と、開始タイミング生成部214と、フェード開始信号生成部215とに置き換わり、テーブルデータ格納部300を加えたものである。   FIG. 11 is a block diagram showing a configuration of the digital audio signal processing apparatus 3 according to the fifth embodiment of the present invention. The digital audio signal processing apparatus 3 includes a fade execution period calculation unit 112, a fade processing unit 116, and an ATT counter 118, a fade execution period calculation unit 312, a fade processing unit 316, and a table data holding unit 301 in FIG. And a start timing generation unit 214 and a fade start signal generation unit 215, and a table data storage unit 300 is added.

テーブルデータ格納部300は、フェード処理におけるデジタルオーディオ信号の増減係数値を予め複数の所定期間ごとに格納する。例えば、テーブルデータ格納部300は、図12に示すフェード期間ごとのフェードアウトにおけるカウンタAtの値をテーブルデータとしてあらかじめ格納している。   The table data storage unit 300 stores the increase / decrease coefficient value of the digital audio signal in the fade process for each of a plurality of predetermined periods. For example, the table data storage unit 300 stores in advance the value of the counter At in the fade-out for each fade period shown in FIG. 12 as table data.

フェード実施期間算出部312は、エラーデータの位置から最大フェード期間中のオーディオ信号ピークレベルを検出するときに用いる基準レベルの計算をテーブルデータ格納部300からのテーブルデータTa1を用いる。例えば、最大フェード期間を100msと設定している場合、フェード実施期間算出部312は、テーブルデータ格納部300から図12にある100ms用のテーブルデータTa1を取得して、テーブルデータTa1に基づいて基準レベルを算出し、ステップ幅算出部113及び開始アドレス算出部114に加え、テーブルデータ格納部300へ出力する。また、フェード実施期間算出部312は、フェードイン処理時において、テーブルデータ格納部300からフェード実施期間fe1に応じたテーブルデータTa1を取得し、テーブルデータTa1に基づいてフェードイン処理時の基準レベルを算出し、当該基準レベルを用いてフェード実施期間fe1を算出し、同様に、テーブルデータ格納部300へ出力する。   The fade execution period calculation unit 312 uses the table data Ta1 from the table data storage unit 300 to calculate the reference level used when detecting the audio signal peak level during the maximum fade period from the position of the error data. For example, when the maximum fade period is set to 100 ms, the fade execution period calculation unit 312 acquires the table data Ta1 for 100 ms in FIG. 12 from the table data storage unit 300, and based on the table data Ta1 The level is calculated and output to the table data storage unit 300 in addition to the step width calculation unit 113 and the start address calculation unit 114. Further, the fade execution period calculation unit 312 acquires table data Ta1 corresponding to the fade execution period fe1 from the table data storage unit 300 during the fade-in process, and sets the reference level during the fade-in process based on the table data Ta1. The fade execution period fe1 is calculated using the reference level, and similarly output to the table data storage unit 300.

また、テーブルデータ格納部300は、フェード実施期間算出部312から入力されたフェード実施期間fe1に対応するテーブルデータTa2をフェード処理部316へ出力し、テーブルデータ保持部301へフェード期間毎に格納する。尚、テーブルデータ格納部300は、テーブルデータ格納部300の中に、フェード実施期間fe1に対応するフェード期間がない場合、近いものを選択する。例えば、フェード実施期間fe1が40msの場合は、図12にある50ms用のテーブルデータを選択してフェード処理部316へ送信する。尚、テーブルデータ格納部300に格納されるテーブルデータは、必要に応じて、更新可能である。   Further, the table data storage unit 300 outputs the table data Ta2 corresponding to the fade execution period fe1 input from the fade execution period calculation unit 312 to the fade processing unit 316 and stores it in the table data holding unit 301 for each fade period. . Note that the table data storage unit 300 selects the closest one in the table data storage unit 300 when there is no fade period corresponding to the fade execution period fe1. For example, when the fade execution period fe1 is 40 ms, the table data for 50 ms shown in FIG. 12 is selected and transmitted to the fade processing unit 316. Note that the table data stored in the table data storage unit 300 can be updated as necessary.

フェード処理部116は、フェード処理制御信号fcに基づいてフェード処理を開始する際、カウンタAtの代わりにテーブルデータ保持部301に格納されたテーブルデータTa2を用いる。その他の構成及び処理は、本発明の実施の形態1と同様のため、説明を省略する。   The fade processing unit 116 uses the table data Ta2 stored in the table data holding unit 301 instead of the counter At when starting the fade processing based on the fade processing control signal fc. Other configurations and processes are the same as those of the first embodiment of the present invention, and thus description thereof is omitted.

このように、フェード処理における基準レベルが複雑な式で表される場合、複雑な式を計算することなく、予め算出したおいたテーブルデータを用いることにより、処理を実行できるため処理量を削減することができる。   As described above, when the reference level in the fade process is expressed by a complicated expression, the processing amount can be reduced because the process can be executed by using the previously calculated table data without calculating the complicated expression. be able to.

以上のように、発明の実施の形態5では、カウンタAtの計算量の削減ができることである。それは、テーブルデータ格納部を追加し、フェード処理時のカウンタAtに代えてテーブルデータを予め持ち、カウンタAtの値をテーブルデータより参照するからである。   As described above, in the fifth embodiment of the invention, the calculation amount of the counter At can be reduced. This is because a table data storage unit is added, table data is previously stored instead of the counter At at the time of fade processing, and the value of the counter At is referred to from the table data.

その他の発明の実施の形態.
さらに、本発明は上述した実施の形態のみに限定されるものではなく、既に述べた本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。
Other Embodiments of the Invention
Furthermore, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention described above.

本発明の実施の形態1にかかるデジタルオーディオ信号処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the digital audio signal processing apparatus concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるデジタルオーディオ信号のデコードからバッファ部へデータを格納する処理を示すフローチャート図である。It is a flowchart figure which shows the process which stores data in the buffer part from decoding of the digital audio signal concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるフェード処理を示すフローチャート図である。It is a flowchart figure which shows the fade process concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるフェード実施期間算出処理を示すフローチャート図である。It is a flowchart figure which shows the fade implementation period calculation process concerning Embodiment 1 of this invention. (a)、(b)、及び(c)は、デジタルオーディオ信号によるフェード実施期間の模式例を示す図である。(A), (b) and (c) is a figure which shows the schematic example of the fade implementation period by a digital audio signal. 本発明のフェード処理結果を説明するための模式図である。It is a schematic diagram for demonstrating the fade process result of this invention. 本発明の実施の形態2にかかるデジタルオーディオ信号のデコードからバッファ部へデータを格納する処理を示すフローチャート図である。It is a flowchart figure which shows the process which stores data from the decoding of the digital audio signal concerning Embodiment 2 of this invention to a buffer part. 本発明の実施の形態2にかかるフェード実施期間算出処理を示すフローチャート図である。It is a flowchart figure which shows the fade implementation period calculation process concerning Embodiment 2 of this invention. 本発明の実施の形態3にかかるデジタルオーディオ信号処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the digital audio signal processing apparatus concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかるフェード処理のタイミングチャート図である。It is a timing chart figure of the fade process concerning Embodiment 3 of this invention. 本発明の実施の形態5にかかるデジタルオーディオ信号処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the digital audio signal processing apparatus concerning Embodiment 5 of this invention. 本発明の実施の形態5にかかるテーブルデータ格納部が格納するテーブルデータの例である。It is an example of the table data which the table data storage part concerning Embodiment 5 of this invention stores. 関連する技術のオーディオディスクプレーヤの構成を示すブロック図である。It is a block diagram which shows the structure of the audio disc player of related technology.

符号の説明Explanation of symbols

1 デジタルオーディオ信号処理装置
110 デコーダ処理部
111 バッファ部
112 フェード実施期間算出部
113 ステップ幅算出部
114 開始アドレス算出部
115 フェード開始信号生成部
116 フェード処理部
117 D/A変換器
118 ATTカウンタ
2 デジタルオーディオ信号処理装置
210 デコーダ処理部
211 バッファ部
212 フェード実施期間算出部
214 開始タイミング生成部
215 フェード開始信号生成部
3 デジタルオーディオ信号処理装置
312 フェード実施期間算出部
316 フェード処理部
301 テーブルデータ保持部
300 テーブルデータ格納部
11 光ディスク
12 光学PU
13 RF回路
14 第1信号処理部
15 第2信号処理部
16 バッファ
17 デコーダ
18 フェード処理部
19 ATTカウンタ
20 エラーフラグ判別部
21 フェード制御部
22 1ビットD/A変換器
23 出力端子
24 サーボ回路
25 駆動回路
26 SPM
27 システムコントローラ
28 表示部
29 Key
DRA オーディオ信号
A1 エラーアドレス
A2 フェード開始アドレス
A3 リードアドレス
fe1 フェード実施期間
De ステップ幅
fc フェード処理制御信号
Df 出力信号
AN 波形
T1 時刻 T2 時刻 T3 時刻 T4 時刻 T5 時刻 T6 時刻
T7 時刻
femax 最大フェード期間
fe1a フェード実施期間
fe1b フェード実施期間
fe0 期間
fe エラーフラグ
fst フェード開始タイミング信号
Ta1 テーブルデータ
Ta2 テーブルデータ
DR デジタル信号
Dd データ
D'R デジタル信号
DA オーディオデータ
f'e エラー判断結果
fm ミュートフラグ
fs ステップフラグ
CNT 制御信号
Sub サブコード
DESCRIPTION OF SYMBOLS 1 Digital audio signal processing apparatus 110 Decoder processing part 111 Buffer part 112 Fade execution period calculation part 113 Step width calculation part 114 Start address calculation part 115 Fade start signal generation part 116 Fade processing part 117 D / A converter 118 ATT counter 2 Digital Audio signal processing device 210 Decoder processing unit 211 Buffer unit 212 Fade execution period calculation unit 214 Start timing generation unit 215 Fade start signal generation unit 3 Digital audio signal processing device 312 Fade execution period calculation unit 316 Fade processing unit 301 Table data holding unit 300 Table data storage unit 11 Optical disk 12 Optical PU
DESCRIPTION OF SYMBOLS 13 RF circuit 14 1st signal processing part 15 2nd signal processing part 16 Buffer 17 Decoder 18 Fade processing part 19 ATT counter 20 Error flag discrimination | determination part 21 Fade control part 22 1 bit D / A converter 23 Output terminal 24 Servo circuit 25 Drive circuit 26 SPM
27 System Controller 28 Display Unit 29 Key
DRA audio signal A1 error address A2 fade start address A3 read address fe1 fade execution period De step width fc fade processing control signal Df output signal AN waveform T1 time T2 time T3 time T4 time T5 time T6 time T7 time femax maximum fade period Implementation period fe1b Fade implementation period fe0 period fe Error flag fst Fade start timing signal Ta1 Table data Ta2 Table data DR Digital signal Dd Data D'R Digital signal DA Audio data f'e Error judgment result fm Mute flag fs Step flag CNT Control signal Sub subcode

Claims (22)

デジタルオーディオ信号の目標時点に基づいてフェード処理を行うデジタルオーディオ信号処理装置であって、
前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じてフェード実施期間を算出するフェード実施期間算出部と、
前記フェード実施期間に基づいて前記フェード処理を制御するフェード制御部とを備えるデジタルオーディオ信号処理装置。
A digital audio signal processing apparatus that performs fade processing based on a target time point of a digital audio signal,
A fade execution period calculation unit that detects a level value of the digital audio signal in a predetermined period determined according to the target time point, and calculates a fade execution period according to the level value;
A digital audio signal processing apparatus comprising: a fade control unit that controls the fade process based on the fade execution period.
前記フェード実施期間算出部は、検出されるレベル値のうち最大値であるピークレベルに基づいてフェード実施期間を算出することを特徴とする請求項1に記載のデジタルオーディオ信号処理装置。   The digital audio signal processing apparatus according to claim 1, wherein the fade execution period calculation unit calculates a fade execution period based on a peak level which is a maximum value among detected level values. 前記フェード実施期間算出部は、前記ピークレベルが低いほどフェード実施期間を短く算出することを特徴とする請求項2に記載のデジタルオーディオ信号処理装置。   The digital audio signal processing apparatus according to claim 2, wherein the fade execution period calculation unit calculates the fade execution period as the peak level is lower. 前記フェード実施期間算出部は、前記所定期間における前記デジタルオーディオ信号のレベル値のうち、所定の条件で前記フェード処理を行う際の基準値を超えるレベル値の中から前記ピークレベルを検出することを特徴とする請求項2又は3に記載のデジタルオーディオ信号処理装置。   The fade execution period calculation unit detects the peak level from level values exceeding a reference value when performing the fade process under a predetermined condition among the level values of the digital audio signal in the predetermined period. 4. The digital audio signal processing apparatus according to claim 2, wherein the digital audio signal processing apparatus is a digital audio signal processing apparatus. 前記フェード実施期間算出部は、前記基準値を超えるレベル値が存在しない場合、フェード実施期間を0と算出することを特徴とする請求項4に記載のデジタルオーディオ信号処理装置。   5. The digital audio signal processing apparatus according to claim 4, wherein the fade execution period calculation unit calculates a fade execution period as 0 when there is no level value exceeding the reference value. 前記デジタルオーディオ信号処理装置は、
前記フェード実施期間に基づいて前記フェード処理における前記デジタルオーディオ信号の増減係数の更新差分値であるステップ幅を算出するステップ幅算出部と、
前記フェード実施期間に基づいて前記フェード処理の開始箇所を算出する開始箇所算出部とをさらに備え、
前記フェード制御部は、前記ステップ幅及び前記開始箇所を含めたフェード処理制御信号を生成し、当該フェード処理制御信号に基づいて前記フェード処理を実行させることを特徴とする請求項1乃至5のいずれか1項に記載のデジタルオーディオ信号処理装置。
The digital audio signal processing apparatus includes:
A step width calculation unit that calculates a step width that is an update difference value of an increase / decrease coefficient of the digital audio signal in the fade processing based on the fade execution period;
A start point calculation unit that calculates a start point of the fade process based on the fade execution period;
6. The fade control unit according to claim 1, wherein the fade control unit generates a fade process control signal including the step width and the start position, and causes the fade process to be executed based on the fade process control signal. A digital audio signal processing apparatus according to claim 1.
前記デジタルオーディオ信号処理装置は、
前記フェード処理における前記デジタルオーディオ信号の増減係数値を予め複数の所定期間ごとに格納する格納部をさらに備え、
前記フェード実施期間算出部は、前記格納部から前記所定期間に対応する増減係数値を取得して前記フェード処理における基準レベルを算出し、当該基準レベルを用いて前記ピークレベルを検出し、
前記フェード制御部は、前記格納部に格納された前記フェード実施期間に対応する増減係数値に基づいて前記フェード処理を制御することを特徴とする請求項1乃至6のいずれか1項に記載のデジタルオーディオ信号処理装置。
The digital audio signal processing apparatus includes:
A storage unit that previously stores the increase / decrease coefficient value of the digital audio signal in the fade process for each of a plurality of predetermined periods;
The fade execution period calculation unit obtains an increase / decrease coefficient value corresponding to the predetermined period from the storage unit, calculates a reference level in the fade process, detects the peak level using the reference level,
The said fade control part controls the said fade process based on the increase / decrease coefficient value corresponding to the said fade implementation period stored in the said storage part, The Claim 1 characterized by the above-mentioned. Digital audio signal processing device.
デジタルオーディオ信号の目標時点に基づいてフェードアウト処理又はフェードイン処理を行うデジタルオーディオ信号処理装置であって、
前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じて前記フェードアウト処理における処理開始タイミングあるいは前記フェードイン処理における処理終了タイミングを決定する処理タイミング決定部と、
前記処理開始タイミングに基づいて前記フェードアウト処理あるいは前記処理終了タイミングに基づいて前記フェードイン処理を制御するフェード制御部とを備えるデジタルオーディオ信号処理装置。
A digital audio signal processing apparatus that performs fade-out processing or fade-in processing based on a target time point of a digital audio signal,
A processing timing for detecting a level value of the digital audio signal in a predetermined period determined according to the target time point and determining a processing start timing in the fade-out processing or a processing end timing in the fade-in processing according to the level value A decision unit;
A digital audio signal processing apparatus comprising: a fade control unit that controls the fade-out process based on the process start timing or the fade-in process based on the process end timing.
デジタルオーディオ信号の目標時点に基づいてフェード処理を行うデジタルオーディオ信号処理装置であって、
前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値が所定の条件で前記フェード処理を行う際の基準値を超えない場合、前記フェード処理を行わないことを特徴とするデジタルオーディオ信号処理装置。
A digital audio signal processing apparatus that performs fade processing based on a target time point of a digital audio signal,
The level value of the digital audio signal in a predetermined period determined according to the target time point is detected, and if the level value does not exceed a reference value for performing the fade process under a predetermined condition, the fade process is performed. There is no digital audio signal processing device.
前記目標時点は、前記デジタルオーディオ信号のデコード処理時にエラーが発生した時点とすることを特徴とする請求項1乃至9のいずれか1項に記載のデジタルオーディオ信号処理装置。   10. The digital audio signal processing apparatus according to claim 1, wherein the target time is a time when an error occurs during the decoding process of the digital audio signal. 前記目標時点は、エラーアドレスの通知を受け付け、当該エラーアドレスに該当するデジタルオーディオ信号の時点とすることを特徴とする請求項10に記載のデジタルオーディオ信号処理装置。   11. The digital audio signal processing apparatus according to claim 10, wherein the target time point is a time point of a digital audio signal corresponding to the error address when a notification of an error address is received. デジタルオーディオ信号の目標時点に基づいてフェード処理を行うデジタルオーディオ信号処理方法であって、
前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じてフェード実施期間を算出するフェード実施期間算出ステップと、
前記フェード実施期間に基づいて前記フェード処理を制御するフェード制御ステップとを備えるデジタルオーディオ信号処理方法。
A digital audio signal processing method for performing fade processing based on a target time point of a digital audio signal,
A fade execution period calculating step of detecting a level value of the digital audio signal in a predetermined period determined according to the target time point, and calculating a fade execution period according to the level value;
A digital audio signal processing method comprising: a fade control step of controlling the fade processing based on the fade execution period.
前記フェード実施期間算出ステップは、検出されるレベル値のうち最大値であるピークレベルに基づいてフェード実施期間を算出することを特徴とする請求項12に記載のデジタルオーディオ信号処理方法。   13. The digital audio signal processing method according to claim 12, wherein the fade execution period calculation step calculates a fade execution period based on a peak level which is a maximum value among detected level values. 前記フェード実施期間算出ステップは、前記ピークレベルが低いほどフェード実施期間を短く算出することを特徴とする請求項13に記載のデジタルオーディオ信号処理方法。   14. The digital audio signal processing method according to claim 13, wherein the fade execution period calculation step calculates the fade execution period as the peak level is lower. 前記フェード実施期間算出ステップは、前記所定期間における前記デジタルオーディオ信号のレベル値のうち、所定の条件で前記フェード処理を行う際の基準値を超えるレベル値の中から前記ピークレベルを検出することを特徴とする請求項13又は14に記載のデジタルオーディオ信号処理方法。   The fade execution period calculating step detects the peak level from level values exceeding a reference value when performing the fade process under a predetermined condition among the level values of the digital audio signal in the predetermined period. 15. The digital audio signal processing method according to claim 13, wherein the digital audio signal is processed. 前記フェード実施期間算出ステップは、前記基準値を超えるレベル値が存在しない場合、フェード実施期間を0と算出することを特徴とする請求項15に記載のデジタルオーディオ信号処理方法。   16. The digital audio signal processing method according to claim 15, wherein the fade execution period calculation step calculates the fade execution period as 0 when there is no level value exceeding the reference value. 前記デジタルオーディオ信号処理方法は、
前記フェード実施期間に基づいて前記フェード処理における前記デジタルオーディオ信号の増減係数の更新差分値であるステップ幅を算出するステップ幅算出ステップと、
前記フェード実施期間に基づいて前記フェード処理の開始箇所を算出する開始箇所算出ステップとをさらに備え、
前記フェード制御ステップは、前記ステップ幅及び前記開始箇所を含めたフェード処理制御信号を生成し、当該フェード処理制御信号に基づいて前記フェード処理を実行させることを特徴とする請求項12乃至16のいずれか1項に記載のデジタルオーディオ信号処理方法。
The digital audio signal processing method includes:
A step width calculation step of calculating a step width that is an update difference value of an increase / decrease coefficient of the digital audio signal in the fade processing based on the fade execution period;
A start point calculating step of calculating a start point of the fade process based on the fade execution period;
The fade control step generates a fade process control signal including the step width and the start point, and executes the fade process based on the fade process control signal. 2. A digital audio signal processing method according to claim 1.
前記デジタルオーディオ信号処理方法は、
前記フェード処理における前記デジタルオーディオ信号の増減係数値を予め複数の所定期間ごとに格納する格納部をさらに備え、
前記フェード実施期間算出ステップは、前記格納部から前記所定期間に対応する増減係数値を取得して前記フェード処理における基準レベルを算出し、当該基準レベルを用いて前記ピークレベルを検出し、
前記フェード制御ステップは、前記格納部に格納された前記フェード実施期間に対応する増減係数値に基づいて前記フェード処理を制御することを特徴とする請求項12乃至17のいずれか1項に記載のデジタルオーディオ信号処理方法。
The digital audio signal processing method includes:
A storage unit that previously stores the increase / decrease coefficient value of the digital audio signal in the fade process for each of a plurality of predetermined periods;
The fade execution period calculation step obtains an increase / decrease coefficient value corresponding to the predetermined period from the storage unit, calculates a reference level in the fade process, detects the peak level using the reference level,
18. The fade control step according to claim 12, wherein the fade control step controls the fade process based on an increase / decrease coefficient value corresponding to the fade execution period stored in the storage unit. Digital audio signal processing method.
デジタルオーディオ信号の目標時点に基づいてフェードアウト処理又はフェードイン処理を行うデジタルオーディオ信号処理方法であって、
前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値に応じて前記フェードアウト処理における処理開始タイミングあるいは前記フェードイン処理における処理終了タイミングを決定する処理タイミング決定ステップと、
前記処理開始タイミングに基づいて前記フェードアウト処理あるいは前記処理終了タイミングに基づいて前記フェードイン処理を制御するフェード制御ステップとを備えるデジタルオーディオ信号処理方法。
A digital audio signal processing method for performing fade-out processing or fade-in processing based on a target time point of a digital audio signal,
A processing timing for detecting a level value of the digital audio signal in a predetermined period determined according to the target time point and determining a processing start timing in the fade-out processing or a processing end timing in the fade-in processing according to the level value A decision step;
A digital audio signal processing method comprising: a fade control step of controlling the fade-out process based on the fade-out process based on the process start timing or the process end timing.
デジタルオーディオ信号の目標時点に基づいてフェード処理を行うデジタルオーディオ信号処理方法であって、
前記目標時点に応じて決定される所定期間における前記デジタルオーディオ信号のレベル値を検出し、当該レベル値が所定の条件で前記フェード処理を行う際の基準値を超えない場合、前記フェード処理を行わないことを特徴とするデジタルオーディオ信号処理方法。
A digital audio signal processing method for performing fade processing based on a target time point of a digital audio signal,
The level value of the digital audio signal in a predetermined period determined according to the target time point is detected, and if the level value does not exceed a reference value for performing the fade process under a predetermined condition, the fade process is performed. There is no digital audio signal processing method.
前記目標時点は、前記デジタルオーディオ信号のデコード処理時にエラーが発生した時点とすることを特徴とする請求項12乃至20のいずれか1項に記載のデジタルオーディオ信号処理方法。   21. The digital audio signal processing method according to claim 12, wherein the target time is a time when an error occurs during the decoding process of the digital audio signal. 前記目標時点は、エラーアドレスの通知を受け付け、当該エラーアドレスに該当するデジタルオーディオ信号の時点とすることを特徴とする請求項21に記載のデジタルオーディオ信号処理方法。   The digital audio signal processing method according to claim 21, wherein the target time point is a time point of a digital audio signal corresponding to the error address when an error address notification is received.
JP2008144074A 2008-06-02 2008-06-02 Digital audio signal processing device and method Pending JP2009289385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008144074A JP2009289385A (en) 2008-06-02 2008-06-02 Digital audio signal processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008144074A JP2009289385A (en) 2008-06-02 2008-06-02 Digital audio signal processing device and method

Publications (1)

Publication Number Publication Date
JP2009289385A true JP2009289385A (en) 2009-12-10

Family

ID=41458447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008144074A Pending JP2009289385A (en) 2008-06-02 2008-06-02 Digital audio signal processing device and method

Country Status (1)

Country Link
JP (1) JP2009289385A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011158435A1 (en) * 2010-06-18 2011-12-22 パナソニック株式会社 Audio control device, audio control program, and audio control method
WO2012026092A1 (en) * 2010-08-23 2012-03-01 パナソニック株式会社 Audio signal processing device and audio signal processing method
JPWO2012104952A1 (en) * 2011-02-03 2014-07-03 パナソニック株式会社 Voice reading device, voice output device, voice output system, voice reading method and voice output method
WO2016203866A1 (en) * 2015-06-17 2016-12-22 ソニーセミコンダクタソリューションズ株式会社 Recording device, recording system, and recording method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5643821B2 (en) * 2010-06-18 2014-12-17 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Voice control device and voice control method
US8976973B2 (en) 2010-06-18 2015-03-10 Panasonic Intellectual Property Corporation Of America Sound control device, computer-readable recording medium, and sound control method
CN102473415A (en) * 2010-06-18 2012-05-23 松下电器产业株式会社 Audio control device, audio control program, and audio control method
WO2011158435A1 (en) * 2010-06-18 2011-12-22 パナソニック株式会社 Audio control device, audio control program, and audio control method
CN103003877A (en) * 2010-08-23 2013-03-27 松下电器产业株式会社 Audio signal processing device and audio signal processing method
JPWO2012026092A1 (en) * 2010-08-23 2013-10-28 パナソニック株式会社 Audio signal processing apparatus and audio signal processing method
CN103003877B (en) * 2010-08-23 2014-12-31 松下电器产业株式会社 Audio signal processing device and audio signal processing method
JP5650227B2 (en) * 2010-08-23 2015-01-07 パナソニック株式会社 Audio signal processing apparatus and audio signal processing method
WO2012026092A1 (en) * 2010-08-23 2012-03-01 パナソニック株式会社 Audio signal processing device and audio signal processing method
US9472197B2 (en) 2010-08-23 2016-10-18 Socionext Inc. Audio signal processing apparatus and audio signal processing method
JPWO2012104952A1 (en) * 2011-02-03 2014-07-03 パナソニック株式会社 Voice reading device, voice output device, voice output system, voice reading method and voice output method
JP5677470B2 (en) * 2011-02-03 2015-02-25 パナソニックIpマネジメント株式会社 Voice reading device, voice output device, voice output system, voice reading method and voice output method
WO2016203866A1 (en) * 2015-06-17 2016-12-22 ソニーセミコンダクタソリューションズ株式会社 Recording device, recording system, and recording method
US10244271B2 (en) 2015-06-17 2019-03-26 Sony Semiconductor Solutions Corporation Audio recording device, audio recording system, and audio recording method

Similar Documents

Publication Publication Date Title
JP4466453B2 (en) Acoustic device, time delay calculation method, and time delay calculation program
JP3106774B2 (en) Digital sound field creation device
CN101809999B (en) Audio signal controller
US20050080500A1 (en) Audio device and playback method in audio device
JP2007318604A (en) Digital audio signal processor
JP2009289385A (en) Digital audio signal processing device and method
JP4839605B2 (en) Electronics
JP2006196940A (en) Sound image localization control apparatus
JP6737395B2 (en) Signal processor
JP2009277277A (en) Speech processing unit
US10425731B2 (en) Audio processing apparatus, audio processing method, and program
JP5370701B2 (en) Karaoke equipment
JP6609795B2 (en) VIDEO / AUDIO PROCESSING DEVICE, VIDEO / AUDIO PROCESSING METHOD, AND PROGRAM
KR100447371B1 (en) An installation for language study having a comparative study mode and language study method thereof
JP2005166188A (en) Digital audio signal processor and digital audio signal processing method
US20100030352A1 (en) Signal processing device
JP7373760B2 (en) Audio signal processing device, audio signal processing method, and program
JP2009277278A (en) Speech processing unit
JP2008159252A (en) Method and apparatus for obtaining voice data for selection
JP2006173765A (en) Audio apparatus
JP5115775B2 (en) Video display device and audio reproduction method thereof
JP2018074219A (en) Audio processing device
JP2019161333A (en) Speech processing unit
JP2010004339A (en) Video camera
JP2007265497A (en) Voice data reproducing unit and voice data reproducing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120703