JP4004525B1 - Signal processing method, signal processing apparatus, and computer program - Google Patents

Signal processing method, signal processing apparatus, and computer program Download PDF

Info

Publication number
JP4004525B1
JP4004525B1 JP2006139401A JP2006139401A JP4004525B1 JP 4004525 B1 JP4004525 B1 JP 4004525B1 JP 2006139401 A JP2006139401 A JP 2006139401A JP 2006139401 A JP2006139401 A JP 2006139401A JP 4004525 B1 JP4004525 B1 JP 4004525B1
Authority
JP
Japan
Prior art keywords
coefficient
white noise
acoustic signal
unit
bit rate
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.)
Expired - Fee Related
Application number
JP2006139401A
Other languages
Japanese (ja)
Other versions
JP2007310164A (en
Inventor
修 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2006139401A priority Critical patent/JP4004525B1/en
Priority to US11/702,649 priority patent/US20070270987A1/en
Priority to DE602007013834T priority patent/DE602007013834D1/en
Priority to EP07009175A priority patent/EP1858007B1/en
Application granted granted Critical
Publication of JP4004525B1 publication Critical patent/JP4004525B1/en
Publication of JP2007310164A publication Critical patent/JP2007310164A/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

【課題】復号側において多様な符号化方式に対応することができ、また、適切にエネルギを補間することが可能な信号処理方法を提供する。
【解決手段】指標値算出部27は、逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する。この純音性指標値は例えば、各周波数帯域のスケールファクタに関する値の最大値から平均値を減じることにより求める。出力部は、白色雑音を格納した白色雑音格納部から白色雑音を出力する。純音性判定部28は、指標値算出部27により算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する。そして、純音性判定部28により音響信号が純音と判断されなかった場合に、補正周波数係数算出部は、音響信号の各周波数帯域の係数に、白色雑音格納部から出力した白色雑音に基づき算出される白色雑音に関する値を加算して補正後の係数を算出する。
【選択図】図16
Provided is a signal processing method capable of dealing with various encoding methods on the decoding side and capable of appropriately interpolating energy.
An index value calculation unit calculates a pure tone index value indicating a degree of pure tone of a dequantized acoustic signal. This pure tone index value is obtained, for example, by subtracting the average value from the maximum value related to the scale factor of each frequency band. The output unit outputs white noise from a white noise storage unit that stores white noise. The pure tone determination unit 28 compares the pure tone index value calculated by the index value calculation unit 27 with a reference value stored in advance, and determines whether or not the acoustic signal is a pure tone. Then, when the pure tone determination unit 28 does not determine that the acoustic signal is a pure tone, the correction frequency coefficient calculation unit calculates the coefficient of each frequency band of the acoustic signal based on the white noise output from the white noise storage unit. The corrected coefficient is calculated by adding values related to white noise.
[Selection] Figure 16

Description

本発明は、符号化音響信号を逆量子化した音響信号を処理する信号処理方法、信号処理装置、該信号処理装置をコンピュータとして機能させるためのコンピュータプログラムに関する。   The present invention relates to a signal processing method for processing an acoustic signal obtained by dequantizing an encoded acoustic signal, a signal processing device, and a computer program for causing the signal processing device to function as a computer.

音響信号を符号化する技術としてMP3(MPEG 1 Audio Player 3)、AAC(Advanced Audio Coding)、ATRAC(Adaptive TRansform Acoustic Coding)、WMA(Windows(登録商標) Media Audio)またはAC−3(Audio Code Number 3)等が知られている。例えばMP3方式においては、高能率で圧縮するために、音響信号は複数の周波数帯域に分割され、可変長の時間単位でブロック化される。そして、ブロック化されたデジタルデータは、MDCT(Modified Discrete Cosine Transform)処理によってスペクトル信号に変換され、さらに聴覚心理特性を利用して割り当てられたビット数で各スペクトル信号がそれぞれ符号化される(例えば、特許文献1乃至3参照)。   MP3 (MPEG 1 Audio Player 3), AAC (Advanced Audio Coding), ATRAC (Adaptive TRansform Acoustic Coding), WMA (Windows (registered trademark) Media Audio) or AC-3 (Audio Code Number) 3) etc. are known. For example, in the MP3 system, in order to compress with high efficiency, the acoustic signal is divided into a plurality of frequency bands and is blocked in units of variable length. The blocked digital data is converted into a spectrum signal by MDCT (Modified Discrete Cosine Transform) processing, and each spectrum signal is encoded with the number of bits assigned using the psychoacoustic characteristics (for example, Patent Documents 1 to 3).

このようにして符号化された音響信号は、復号装置にて復号される。図26は従来の復号装置のハードウェア構成を示すブロック図である。図において100は従来の復号装置であり、アンパッキング部101、逆量子化部102、周波数時間変換部103、周波数帯域合成部104及び音響信号出力部105を含んで構成される。符号化音響信号は、アンパッキング部101へ入力され、音響信号のフレーム情報から量子化係数、スケールファクタ、スケールファクタマルチプレクサ、グローバルゲイン、サブブロックゲインがそれぞれアンパッキングされる。そして、逆量子化部102において、この量子化係数、スケールファクタ、スケールファクタマルチプレクサ、グローバルゲイン、サブブロックゲインを用いてIMDCT係数に逆量子化される。   The acoustic signal encoded in this way is decoded by a decoding device. FIG. 26 is a block diagram showing a hardware configuration of a conventional decoding device. In the figure, reference numeral 100 denotes a conventional decoding device, which includes an unpacking unit 101, an inverse quantization unit 102, a frequency time conversion unit 103, a frequency band synthesis unit 104, and an acoustic signal output unit 105. The encoded acoustic signal is input to the unpacking unit 101, and the quantization coefficient, scale factor, scale factor multiplexer, global gain, and sub-block gain are unpacked from the frame information of the acoustic signal. Then, the inverse quantization unit 102 performs inverse quantization on the IMDCT coefficient using the quantization coefficient, the scale factor, the scale factor multiplexer, the global gain, and the sub-block gain.

逆量子化部102で逆量子化されたIMDCT係数(Inverse Modified Discrete Cosine Transform)は、周波数帯域毎に周波数時間変換部103でIMDCT処理が施され、時間軸のデータに変換される。更に、逆変換された周波数帯域は、周波数帯域合成部104において、帯域合成フィルタであるIPFB(Inverse Polyphase Filter Bank)によって帯域合成された後、音響信号出力部105へ出力される(例えば、特許文献3参照)。   An IMDCT coefficient (Inverse Modified Discrete Cosine Transform) inversely quantized by the inverse quantization unit 102 is subjected to IMDCT processing by the frequency time conversion unit 103 for each frequency band, and converted to time-axis data. Further, the inversely converted frequency band is subjected to band synthesis by an IPFB (Inverse Polyphase Filter Bank), which is a band synthesis filter, in the frequency band synthesis unit 104 and then output to the acoustic signal output unit 105 (for example, Patent Literature 1). 3).

また、圧縮に伴うパワー感の欠如を補うために、復号時におけるスペクトルにパワー調整用スペクトルを補う技術が開示されている(例えば、特許文献4参照)。特許文献4に記載された技術では、符号化時に入力オーディオ信号の特性に基づき、補うべきパワー調整情報を、符号化装置内のパワー調整情報決定部において生成する。次に、このパワー調整情報を符号化したオーディオ信号と共に符号化する。そして、復号装置におけるパワー調整情報復号部において符号化されたパワー調整情報を復号し、さらにパワー補正用スペクトル生成合成部においてパワー調整情報を生成して復号されたオーディオ信号に補う。
特開2002−351500号公報 特開2005−195983号公報 特開2005−26940号公報 特開2003−323198号公報
Further, in order to compensate for the lack of power feeling associated with compression, a technique for supplementing a spectrum for power adjustment with a spectrum at the time of decoding is disclosed (for example, see Patent Document 4). In the technique described in Patent Literature 4, power adjustment information to be supplemented is generated in the power adjustment information determination unit in the encoding device based on the characteristics of the input audio signal during encoding. Next, the power adjustment information is encoded together with the encoded audio signal. Then, the power adjustment information encoded in the power adjustment information decoding unit in the decoding apparatus is decoded, and further, the power adjustment information is generated in the power correction spectrum generation / synthesis unit to supplement the decoded audio signal.
JP 2002-351500 A JP-A-2005-195983 JP 2005-26940 A JP 2003-323198 A

しかしながら、符号化の際、音響信号は量子化されるため、量子化による丸めまたは切り捨てにより音響信号のエネルギが失われてしまうという問題があった。そのため復号時においてもエネルギ損失に伴う音響信号の物足りなさが生じていた。特許文献1乃至3にはかかる課題を解決する手段は提示されていない。また、特許文献4に記載の技術はパワーを補うものであるが、符号化時に符号化装置において入力オーディオ信号を分析し、パワー調整情報を生成して符号化する必要がある。しかも復号装置側においても、パワー調整情報復号部を設けて符号化されたパワー調整情報を復号する必要があり、このようなパワー調整情報が記憶されていない音響信号については全くエネルギの補間を行うことができないという問題があった。特に、近年では多様な規格に伴う符号化方式が乱立しており、特許文献4に記載の技術では、様々な方式の符号化音響信号を適切に補間できないという問題があった。   However, since the acoustic signal is quantized during encoding, there is a problem that energy of the acoustic signal is lost due to rounding or truncation by quantization. For this reason, even at the time of decoding, an unsatisfactory acoustic signal is generated due to energy loss. Patent Documents 1 to 3 do not provide means for solving such problems. Moreover, although the technique described in Patent Document 4 supplements power, it is necessary to analyze the input audio signal in the encoding device at the time of encoding, generate power adjustment information, and encode it. In addition, it is necessary to decode the encoded power adjustment information by providing a power adjustment information decoding unit on the decoding device side as well, and the energy signal is completely interpolated for the acoustic signal in which such power adjustment information is not stored. There was a problem that I could not. In particular, in recent years, encoding schemes associated with various standards have become prominent, and the technique described in Patent Document 4 has a problem that encoded acoustic signals of various schemes cannot be appropriately interpolated.

本発明は斯かる事情に鑑みてなされたものであり、その目的は、音響信号が純音と判断されなかった場合に、逆量子化した音響信号の係数に白色雑音に関する値を加算して補正後の係数を算出することにより、復号側において多様な符号化方式に対応することができ、また、適切にエネルギを補間することが可能な信号処理方法、信号処理装置及びコンピュータを信号処理装置として機能させるためのコンピュータプログラムを提供することにある。   The present invention has been made in view of such circumstances, and its object is to add a value related to white noise to a coefficient of an inversely quantized acoustic signal and correct the acoustic signal when the acoustic signal is not determined to be a pure tone. The signal processing method, the signal processing apparatus, and the computer that can cope with various encoding methods on the decoding side and can appropriately interpolate energy function as the signal processing apparatus. It is in providing the computer program for making it do.

本発明の他の目的は、音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断し、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、音響信号の係数に白色雑音に関する値を加算して補正後の係数を算出することにより、復号側において多様な符号化方式に対応することができ、また、適切にエネルギを補間することが可能な信号処理方法等を提供することにある。   Another object of the present invention is to determine whether or not the bit rate of the acoustic signal is smaller than a pre-stored reference bit rate, and when it is determined that the bit rate of the acoustic signal is smaller than the reference bit rate, By calculating the corrected coefficient by adding a value related to white noise to the coefficient of the signal, it is possible to cope with various encoding methods on the decoding side, and signal processing that can appropriately interpolate energy It is to provide a method and the like.

本発明の他の目的は、音響信号のサンプリング周波数に対応する基準ビットレートをテーブルから読み出し、音響信号のビットレートが、前記読み出した基準ビットレートよりも小さいか否かを判断し、小さい場合に係数を補正することにより、異なるサンプリング周波数に係る音響信号が入力された場合でも、最適なエネルギ補間を実行することが可能な信号処理装置を提供することにある。   Another object of the present invention is to read out the reference bit rate corresponding to the sampling frequency of the acoustic signal from the table, and determine whether the bit rate of the acoustic signal is smaller than the read reference bit rate. An object of the present invention is to provide a signal processing apparatus capable of executing optimum energy interpolation even when acoustic signals relating to different sampling frequencies are input by correcting the coefficients.

本発明の他の目的は、逆量子化した音響信号の係数のレベル及び白色雑音格納部から出力される白色雑音に基づき補正係数を算出し、この補正係数を白色雑音に乗じて補正値を算出し、係数へ加算することにより、符号化時に失われたエネルギを補間して、エネルギ不足に伴う物足りなさを解消することが可能な信号処理装置を提供することにある。   Another object of the present invention is to calculate a correction coefficient based on the level of the coefficient of the dequantized acoustic signal and the white noise output from the white noise storage unit, and multiply the white noise to calculate the correction value. Then, it is to provide a signal processing apparatus capable of interpolating energy lost at the time of encoding by adding to a coefficient and eliminating deficiency due to lack of energy.

本発明の他の目的は、係数のレベルを白色雑音格納部に格納された白色雑音のレベルで除すことにより、最適な補正係数を算出することが可能な信号処理装置を提供することにある。   Another object of the present invention is to provide a signal processing apparatus capable of calculating an optimum correction coefficient by dividing the coefficient level by the white noise level stored in the white noise storage unit. .

本発明に係る信号処理方法は、符号化音響信号を逆量子化した音響信号を処理する信号処理方法において、逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する指標値算出ステップと、該指標値算出ステップにより算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する純音性判定ステップと、白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、前記純音性判定ステップにより音響信号が純音と判断されなかった場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップと、逆量子化した音響信号の係数のレベルを検出するレベル検出ステップと、前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出ステップと、前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出ステップとを備え、前記レベル検出ステップは、前記逆量子化した音響信号の係数の零を除く最小値を検出し、前記補正周波数係数算出ステップは、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出することを特徴とする。 The signal processing method according to the present invention is a signal processing method for processing an acoustic signal obtained by dequantizing an encoded acoustic signal, and an index value for calculating a pure tone index value indicating a degree of pure tone of the dequantized acoustic signal. A calculation step, a pure tone determination step for determining whether or not the acoustic signal is a pure tone by comparing the pure tone index value calculated by the index value calculation step with a reference value stored in advance, and a white noise storing white noise When the acoustic signal is not determined to be pure tone by the output step of outputting white noise from the storage unit and the pure tone determination step, a value related to the white noise output by the output step is added to each coefficient of the acoustic signal. a correction frequency coefficient computing step of computing a corrected coefficient Te, a level detecting step of detecting a level of inverse quantization to coefficients of the acoustic signal, the white noise storage A correction coefficient calculating step for calculating a correction coefficient based on the white noise output from the level and the level; a correction value calculating step for calculating a correction value by multiplying the white noise stored in the white noise storage unit by the correction coefficient; The level detection step detects a minimum value excluding zero of the coefficient of the dequantized acoustic signal, and the correction frequency coefficient calculation step includes an acoustic signal obtained by dequantizing the correction value as a value related to white noise. The corrected coefficient is calculated by adding to the coefficient of the signal .

本発明に係る信号処理方法は、符号化音響信号を逆量子化した音響信号を処理する信号処理方法において、音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断するビットレート比較ステップと、白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップとを備え、前記ビットレート比較ステップは、音響信号のサンプリング周波数に対応する基準ビットレートを、サンプリング周波数毎に基準となる基準ビットレートを記憶したテーブルから読み出し、前記音響信号のビットレートが、前記読み出した基準ビットレートよりも小さいか否かを判断し、前記補正周波数係数算出ステップは、前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各周波数帯域の係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出することを特徴とする。 The signal processing method according to the present invention is a signal processing method for processing an acoustic signal obtained by dequantizing an encoded acoustic signal, and a bit for determining whether or not the bit rate of the acoustic signal is smaller than a reference bit rate stored in advance. When it is determined that the bit rate of the acoustic signal is smaller than the reference bit rate by the rate comparison step, the output step of outputting the white noise from the white noise storage unit storing the white noise, and the bit rate comparison step, A correction frequency coefficient calculation step of calculating a corrected coefficient by adding a value related to white noise output in the output step to each coefficient of the acoustic signal, and the bit rate comparison step corresponds to the sampling frequency of the acoustic signal The reference bit rate used as a reference is stored for each sampling frequency. A bit rate of the acoustic signal is determined based on whether the bit rate of the acoustic signal is smaller than the read reference bit rate or not. When it is determined that the coefficient is smaller than the bit rate, a coefficient after correction is calculated by adding a value related to white noise output by the output step to a coefficient of each frequency band of the acoustic signal .

本発明に係る信号処理装置は、符号化音響信号を逆量子化した音響信号を処理する信号処理装置において、逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する指標値算出部と、該指標値算出部により算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する純音性判定部と、白色雑音を格納した白色雑音格納部から白色雑音を出力する出力部と、前記純音性判定部により音響信号が純音と判断されなかった場合に、前記音響信号の各係数に前記出力部から出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出部と、逆量子化した音響信号の係数のレベルを検出するレベル検出部と、前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出部と、前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出部とを備え、前記レベル検出部は、前記逆量子化した音響信号の係数の零を除く最小値を検出するよう構成してあり、前記補正周波数係数算出部は、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出するよう構成してあることを特徴とする。 The signal processing apparatus according to the present invention is an index value for calculating a pure tone index value indicating a degree of pure tone of a dequantized acoustic signal in a signal processing apparatus that processes an acoustic signal obtained by dequantizing an encoded acoustic signal. A calculation unit, a pure tone determination unit that determines whether or not the acoustic signal is a pure tone by comparing the pure tone index value calculated by the index value calculation unit with a reference value stored in advance, and a white noise storing white noise When the acoustic signal is not determined to be pure tone by the output unit that outputs white noise from the storage unit and the pure tone determination unit, a value related to the white noise output from the output unit is added to each coefficient of the acoustic signal. Correction frequency coefficient calculation unit for calculating the corrected coefficient, level detection unit for detecting the level of the coefficient of the dequantized acoustic signal, white noise output from the white noise storage unit and correction based on the level Person in charge And a correction value calculation unit that calculates a correction value by multiplying the correction coefficient by white noise stored in the white noise storage unit, and the level detection unit includes the inverse quantization The corrected frequency coefficient calculation unit corrects the correction value by adding the correction value to the coefficient of the dequantized acoustic signal as a value related to white noise. It is configured to calculate a later coefficient .

本発明に係る信号処理装置は、前記指標値算出部は、各周波数帯域のスケールファクタに関する値の最大値から平均値を減じた値を純音性指標値とするよう構成してあることを特徴とする。   The signal processing device according to the present invention is characterized in that the index value calculation unit is configured so that a value obtained by subtracting an average value from a maximum value related to a scale factor of each frequency band is a pure tone index value. To do.

本発明に係る信号処理装置は、符号化音響信号を逆量子化した音響信号を処理する信号処理装置において、音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断するビットレート比較部と、白色雑音を格納した白色雑音格納部から白色雑音を出力する出力部と、前記ビットレート比較部により、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各係数に前記出力部から出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出部と、サンプリング周波数毎に基準となる基準ビットレートを記憶したテーブルとを備え、前記ビットレート比較部は、音響信号のサンプリング周波数に対応する基準ビットレートを前記テーブルから読み出し、前記音響信号のビットレートが、前記読み出した基準ビットレートよりも小さいか否かを判断するよう構成してあり、前記補正周波数係数算出部は、前記ビットレート比較部により、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各周波数帯域の係数に前記出力部から出力した白色雑音に関する値を加算して補正後の係数を算出するよう構成してあることを特徴とする。 A signal processing device according to the present invention is a signal processing device that processes an acoustic signal obtained by dequantizing an encoded acoustic signal, and determines whether or not the bit rate of the acoustic signal is smaller than a pre-stored reference bit rate. When it is determined by the rate comparison unit, the output unit that outputs white noise from the white noise storage unit that stores white noise, and the bit rate comparison unit that the bit rate of the acoustic signal is smaller than the reference bit rate, A correction frequency coefficient calculation unit that calculates a corrected coefficient by adding a value related to white noise output from the output unit to each coefficient of the acoustic signal, and a table that stores a reference bit rate that is a reference for each sampling frequency The bit rate comparison unit reads a reference bit rate corresponding to the sampling frequency of the acoustic signal from the table, It is configured to determine whether or not the bit rate of the acoustic signal is smaller than the read reference bit rate, and the correction frequency coefficient calculation unit uses the bit rate comparison unit to determine the bit rate of the acoustic signal as a reference. When it is determined that the coefficient is smaller than the bit rate, the corrected coefficient is calculated by adding a value related to white noise output from the output unit to the coefficient of each frequency band of the acoustic signal. And

本発明に係る信号処理装置は、逆量子化した音響信号の係数のレベルを検出するレベル検出部と、前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出部と、前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出部とをさらに備え、前記補正周波数係数算出部は、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出するよう構成してあることを特徴とする。   A signal processing apparatus according to the present invention includes a level detection unit that detects a level of a coefficient of a dequantized acoustic signal, a white noise output from the white noise storage unit, and a correction coefficient that calculates a correction coefficient based on the level A calculation unit; and a correction value calculation unit that calculates a correction value by multiplying the white noise stored in the white noise storage unit by the correction coefficient, and the correction frequency coefficient calculation unit converts the correction value to white noise. The corrected coefficient is calculated by adding to the coefficient of the inversely quantized acoustic signal as a value relating to.

本発明に係る信号処理装置は、前記レベル検出部は、前記逆量子化した音響信号の係数の零を除く最小値を検出するよう構成してあることを特徴とする。   The signal processing apparatus according to the present invention is characterized in that the level detection unit is configured to detect a minimum value excluding zero of a coefficient of the dequantized acoustic signal.

本発明に係る信号処理装置は、前記補正係数算出部は、前記レベル検出部で検出したレベルを前記白色雑音格納部に格納された白色雑音のレベルで除すことにより補正係数を算出するよう構成してあることを特徴とする。   The signal processing apparatus according to the present invention is configured such that the correction coefficient calculation unit calculates a correction coefficient by dividing a level detected by the level detection unit by a level of white noise stored in the white noise storage unit. It is characterized by being.

本発明に係る信号処理装置は、前記白色雑音のレベルは、前記白色雑音格納部に格納された白色雑音の最大値または平均値であることを特徴とする。   The signal processing device according to the present invention is characterized in that the level of the white noise is a maximum value or an average value of the white noise stored in the white noise storage unit.

本発明に係るコンピュータプログラムは、符号化音響信号を逆量子化した音響信号をコンピュータで処理するためのコンピュータプログラムにおいて、コンピュータに、逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する指標値算出ステップと、該指標値算出ステップにより算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する純音性判定ステップと、白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、前記純音性判定ステップにより音響信号が純音と判断されなかった場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップと、逆量子化した音響信号の係数のレベルを検出するレベル検出ステップと、前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出ステップと、前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出ステップとを実行させ、前記レベル検出ステップは、前記逆量子化した音響信号の係数の零を除く最小値を検出し、前記補正周波数係数算出ステップは、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出することを特徴とする。 The computer program according to the present invention is a computer program for processing an acoustic signal obtained by dequantizing an encoded acoustic signal by a computer. The computer program is a pure tone index value indicating the degree of pure tone of the inverse quantized acoustic signal. An index value calculating step for calculating the tone value, a pure tone index value calculated by the index value calculating step, and a reference value stored in advance to determine whether or not the acoustic signal is a pure tone; and a white noise White noise output from the output step to each coefficient of the acoustic signal when the acoustic signal is not determined to be pure tone by the output step of outputting white noise from the white noise storage unit storing a correction frequency coefficient computing step of computing a corrected coefficient by adding a value for, the coefficients of the acoustic signal dequantized A level detection step for detecting a bell; a white noise output from the white noise storage unit; a correction coefficient calculation step for calculating a correction coefficient based on the level; and a white color stored in the white noise storage unit. A correction value calculation step of calculating a correction value by multiplying noise, the level detection step detects a minimum value excluding zero of the coefficient of the dequantized acoustic signal, and the correction frequency coefficient calculation step includes: The correction value is added to the coefficient of the acoustic signal that is inversely quantized as a value related to white noise, and the corrected coefficient is calculated .

本発明に係るコンピュータプログラムは、符号化音響信号を逆量子化した音響信号をコンピュータで処理するためのコンピュータプログラムにおいて、コンピュータに、音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断するビットレート比較ステップと、白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップとを実行させ、前記ビットレート比較ステップは、音響信号のサンプリング周波数に対応する基準ビットレートを、サンプリング周波数毎に基準となる基準ビットレートを記憶したテーブルから読み出し、前記音響信号のビットレートが、前記読み出した基準ビットレートよりも小さいか否かを判断し、前記補正周波数係数算出ステップは、前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各周波数帯域の係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出することを特徴とする。 The computer program according to the present invention is a computer program for processing an acoustic signal obtained by dequantizing an encoded acoustic signal by a computer, and whether or not the bit rate of the acoustic signal is smaller than a reference bit rate stored in advance in the computer. A bit rate comparison step for determining whether or not, a step of outputting white noise from a white noise storage unit storing white noise, and a bit rate comparison step determine that the bit rate of the acoustic signal is smaller than a reference bit rate. A correction frequency coefficient calculation step of calculating a corrected coefficient by adding a value related to white noise output by the output step to each coefficient of the acoustic signal, and the bit rate comparison step includes: Set the reference bit rate corresponding to the sampling frequency of the signal. Reading from a table storing a reference bit rate serving as a reference for each sampling frequency, determining whether the bit rate of the acoustic signal is smaller than the read reference bit rate, and the correction frequency coefficient calculating step includes When the bit rate comparison step determines that the bit rate of the acoustic signal is smaller than the reference bit rate, the corrected value is obtained by adding the value related to the white noise output by the output step to the coefficient of each frequency band of the acoustic signal. The coefficient is calculated .

本発明にあっては、指標値算出部は、逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する。この純音性指標値は例えば、各周波数帯域のスケールファクタに関する値の最大値から平均値を減じることにより求める。出力部は、白色雑音を格納した白色雑音格納部から白色雑音を出力する。純音性判定部は、指標値算出部により算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する。そして、純音性判定部により音響信号が純音と判断されなかった場合に、正周波数係数算出部は、音響信号の係数に、白色雑音格納部から出力した白色雑音に基づき算出される白色雑音に関する値を加算して補正後の係数を算出するので、復号側において独立してエネルギを補間するか否かの判断を実行でき、多様な規格に対してエネルギを適切に補間することが可能となる。   In the present invention, the index value calculation unit calculates a pure tone index value indicating the degree of pure tone of the dequantized acoustic signal. This pure tone index value is obtained, for example, by subtracting the average value from the maximum value related to the scale factor of each frequency band. The output unit outputs white noise from a white noise storage unit that stores white noise. The pure tone determination unit compares the pure tone index value calculated by the index value calculation unit with a reference value stored in advance, and determines whether or not the acoustic signal is a pure tone. Then, when the acoustic signal is not determined to be a pure tone by the pure tone determination unit, the positive frequency coefficient calculation unit calculates a value related to the white noise calculated based on the white noise output from the white noise storage unit as the coefficient of the acoustic signal. Is added to calculate the corrected coefficient, so that it is possible to determine whether or not to interpolate energy independently on the decoding side, and it is possible to appropriately interpolate energy for various standards.

本発明にあっては、ビットレート比較部は、音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断する。補正周波数係数算出部は、ビットレート比較部により、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、係数に白色雑音格納部から出力した白色雑音に関する値を加算して補正後の係数を算出するよう構成したので、復号側において独立してエネルギを補間するか否かの判断を実行でき、多様な規格に対してエネルギを適切に補間することが可能となる。   In the present invention, the bit rate comparison unit determines whether or not the bit rate of the acoustic signal is smaller than a reference bit rate stored in advance. When the bit rate comparison unit determines that the bit rate of the acoustic signal is smaller than the reference bit rate, the correction frequency coefficient calculation unit adds a value related to white noise output from the white noise storage unit to the coefficient and performs correction. Therefore, it is possible to determine whether to interpolate energy independently on the decoding side, and to appropriately interpolate energy for various standards.

本発明にあっては、テーブルには、サンプリング周波数毎に基準となる基準ビットレートが記憶される。ビットレート比較部は、音響信号のサンプリング周波数に対応する基準ビットレートをテーブルから読み出し、音響信号のビットレートが、読み出した基準ビットレートよりも小さいか否かを判断する。そして補正周波数係数算出部は、ビットレート比較部により、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、音響信号の係数に白色雑音格納部から出力した白色雑音に関する値を加算して補正後の係数を算出する。このように、サンプリング周波数毎に基準ビットレートを設け、サンプリング周波数及び基準ビットレートに応じて、白色雑音を加算でき、種類の異なる多様な音響信号を適切に補間することが可能となる。   In the present invention, the table stores a reference bit rate serving as a reference for each sampling frequency. The bit rate comparison unit reads a reference bit rate corresponding to the sampling frequency of the acoustic signal from the table, and determines whether the bit rate of the acoustic signal is smaller than the read reference bit rate. When the bit rate comparison unit determines that the bit rate of the acoustic signal is smaller than the reference bit rate, the correction frequency coefficient calculation unit adds the value related to the white noise output from the white noise storage unit to the coefficient of the acoustic signal. Thus, the corrected coefficient is calculated. Thus, a reference bit rate is provided for each sampling frequency, white noise can be added according to the sampling frequency and the reference bit rate, and various types of different acoustic signals can be appropriately interpolated.

本発明にあっては、本発明にあっては、レベル検出部は符号化音響信号を逆量子化した音響信号の係数のレベルを検出する。補正係数算出部は、白色雑音を格納した白色雑音格納部から出力される白色雑音及びレベルに基づき補正係数を算出する。この処理は例えば、係数の零を除く最小値を白色雑音格納部に格納された白色雑音のレベル(例えば最大値または平均値)で除すことにより補正係数を算出する。補正値算出部は、補正係数算出部で算出された補正係数に白色雑音格納部に格納された白色雑音を乗じて補正値を算出する。このようにして得られた補正値を逆量子化した音響信号の係数に加算して補正後の係数を算出するよう構成したので、帯域内に存在する係数のレベルに応じて帯域毎に最適な量の白色雑音に係る補正値を加算することができる。その結果、量子化時に失われたエネルギが、最適な量で補間される。   In the present invention, in the present invention, the level detection unit detects the level of the coefficient of the acoustic signal obtained by dequantizing the encoded acoustic signal. The correction coefficient calculation unit calculates the correction coefficient based on the white noise and level output from the white noise storage unit that stores the white noise. In this process, for example, the correction coefficient is calculated by dividing the minimum value excluding zero of the coefficient by the level (for example, maximum value or average value) of the white noise stored in the white noise storage unit. The correction value calculation unit calculates a correction value by multiplying the correction coefficient calculated by the correction coefficient calculation unit by the white noise stored in the white noise storage unit. Since the correction value obtained in this manner is added to the coefficient of the inversely quantized acoustic signal to calculate the corrected coefficient, the optimum value for each band is determined according to the level of the coefficient existing in the band. A correction value related to the amount of white noise can be added. As a result, the energy lost during quantization is interpolated by an optimal amount.

本発明にあっては、指標値算出部により、逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出し、純音性判定部は、指標値算出部により算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する。そして、純音と判断されなかった場合に、音響信号の係数に白色雑音格納部から出力した白色雑音に関する値を加算して補正後の係数を算出するので、復号側において独立してエネルギを補間するか否かの判断を実行でき、多様な規格に対してエネルギを適切に補間することが可能となる。また符号化時においてエネルギを補間するか否かの情報を付与する必要がなくなる。また、純音と判定された場合には、白色雑音を加算しないので、ダイナミックレンジ、歪率、周波数特性等を悪化させないと共に、正弦波に近いピアノ等の楽器の音質を損なうことなく再生が可能である。   In the present invention, the index value calculation unit calculates a pure tone index value indicating the degree of pure tone of the dequantized acoustic signal, and the pure tone determination unit calculates the pure tone index calculated by the index value calculation unit. The value is compared with a reference value stored in advance, and it is determined whether or not the acoustic signal is a pure tone. Then, when it is not determined to be a pure tone, the corrected coefficient is calculated by adding the value related to the white noise output from the white noise storage unit to the coefficient of the acoustic signal, so that energy is interpolated independently on the decoding side. Whether or not the energy can be appropriately interpolated with respect to various standards. Further, it is not necessary to give information on whether or not to interpolate energy at the time of encoding. In addition, when it is determined to be a pure tone, white noise is not added, so that dynamic range, distortion, frequency characteristics, etc. are not deteriorated, and reproduction is possible without impairing the sound quality of an instrument such as a piano that is close to a sine wave. is there.

本発明にあっては、ビットレート比較部により、音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断し、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、係数に白色雑音格納部から出力した白色雑音に関する値を加算して補正後の係数を算出するよう構成したので、復号側において独立してエネルギを補間するか否かの判断を実行でき、多様な規格に対してエネルギを適切に補間することが可能となる。また、音響信号のビットレートが基準ビットレートよりも大きい場合には、白色雑音を加算しないので、過度のエネルギを加算することなく再生が可能である。   In the present invention, the bit rate comparison unit determines whether or not the bit rate of the acoustic signal is lower than the reference bit rate stored in advance, and determines that the bit rate of the acoustic signal is lower than the reference bit rate. In this case, since the corrected coefficient is calculated by adding the value related to the white noise output from the white noise storage unit to the coefficient, it is possible to determine whether to interpolate energy independently on the decoding side. It becomes possible to appropriately interpolate energy for various standards. Also, when the bit rate of the acoustic signal is larger than the reference bit rate, white noise is not added, and reproduction is possible without adding excessive energy.

本発明にあっては、音響信号のサンプリング周波数に対応する基準ビットレートをテーブルから読み出し、音響信号のビットレートが、読み出した基準ビットレートよりも小さいか否かを判断する。そして、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、音響信号の係数に白色雑音に関する値を加算して補正後の係数を算出するので、サンプリング周波数及び基準ビットレートに応じて、白色雑音を加算でき、種類の異なる多様な音響信号を適切に補間することが可能となる。   In the present invention, the reference bit rate corresponding to the sampling frequency of the acoustic signal is read from the table, and it is determined whether or not the bit rate of the acoustic signal is smaller than the read reference bit rate. Then, when it is determined that the bit rate of the acoustic signal is smaller than the reference bit rate, the corrected coefficient is calculated by adding a value related to the white noise to the coefficient of the acoustic signal. Therefore, according to the sampling frequency and the reference bit rate Thus, white noise can be added, and various types of acoustic signals can be appropriately interpolated.

本発明にあっては、係数のレベル及び白色雑音に基づき補正係数を算出し、これに白色雑音を乗じて補正値を算出し、係数に加算して補正後の係数を算出するよう構成したので、帯域内に存在する係数のレベルに応じて最適な量の白色雑音に係る補正値を加算することができる。その結果、量子化時に失われたエネルギが、補間され、エネルギ感の物足りなさを防ぐことが可能となりより原音に近い音響信号を再生することが可能となる等、本発明は優れた効果を奏する。   In the present invention, the correction coefficient is calculated based on the coefficient level and white noise, the correction value is calculated by multiplying the correction coefficient by white noise, and the corrected coefficient is calculated by adding to the coefficient. The correction value related to the optimum amount of white noise can be added according to the level of the coefficient existing in the band. As a result, the energy lost at the time of quantization is interpolated, and it is possible to prevent an unsatisfactory sense of energy and to reproduce an acoustic signal closer to the original sound. .

実施の形態1
以下本発明の実施の形態を、図面を参照して説明する。図1は信号処理装置たる復号装置のハードウェア構成を示すブロック図である。図において20は、符号化された音響信号を復号する復号装置であり、音響信号入力部21、アンパッキング部22、逆量子化部23、補間処理部1、周波数時間変換部24、周波数帯域合成部25及び音響信号出力部26を含んで構成される。なお、本実施の形態においては圧縮符号化方式としてMP3を適用した例について説明するが、他の方式についても同様に適用しても良い。
Embodiment 1
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a hardware configuration of a decoding device as a signal processing device. In the figure, reference numeral 20 denotes a decoding device that decodes an encoded acoustic signal, and includes an acoustic signal input unit 21, an unpacking unit 22, an inverse quantization unit 23, an interpolation processing unit 1, a frequency time conversion unit 24, and a frequency band synthesis. The unit 25 and the acoustic signal output unit 26 are included. In the present embodiment, an example in which MP3 is applied as a compression encoding method will be described. However, other methods may be applied in the same manner.

記録媒体から読み出された符号化音響信号またはデジタルチューナにより受信した符号化音響信号等は、音響信号入力部21へ入力され、入力された符号化音響信号はアンパッキング部(デマルチプレクサ)22へ出力される。アンパッキング部22は、音響信号のフレーム情報から量子化係数、スケールファクタ、スケールファクタマルチプレクサ、グローバルゲイン、サブブロックゲインをそれぞれアンパッキングする。アンパッキングされた量子化係数、量子化ビット数、及びスケールファクタ、スケールファクタマルチプレクサ、グローバルゲイン、サブブロックゲインを用いて逆量子化部23においてIMDCT係数に逆量子化される。逆量子化部23からはブロック長(ロングブロックまたはショートブロック)に応じて次の式(1)で示されるIMDCT係数が周波数帯域毎に出力される。   The encoded acoustic signal read from the recording medium or the encoded acoustic signal received by the digital tuner is input to the acoustic signal input unit 21, and the input encoded acoustic signal is input to the unpacking unit (demultiplexer) 22. Is output. The unpacking unit 22 unpacks the quantization coefficient, scale factor, scale factor multiplexer, global gain, and sub-block gain from the frame information of the acoustic signal. Using the unpacked quantization coefficient, the number of quantization bits, the scale factor, the scale factor multiplexer, the global gain, and the sub-block gain, the inverse quantization unit 23 performs inverse quantization on the IMDCT coefficient. From the inverse quantization unit 23, an IMDCT coefficient represented by the following equation (1) is output for each frequency band according to the block length (long block or short block).

Figure 0004004525
Figure 0004004525

式(1)中の変数mはIMDCT係数のインデックス、MK(m)は量子化係数(ハフマン復号化値)、sgn(MK(m))は量子化係数の符号、scalefac_multiplierは1または0.5、grはグラニュールのインデックス、wndはウィンドウの形状のインデックス、sfbはスケールファクタバンドのインデックス、preflag[gr]はプリエンファシスの有無フラグで0または1、pretab[sfb] は所定のプリエンファシステーブルによって得られる値を表している。なお、ATRACにおけるスケールファクタ(例えば各6ビットで表され、約2dB単位で指定することができる)は、MP3におけるスケールファクタに関する値と同様であり、MP3におけるスケールファクタに関する値は、式(1)で示す如く、スケールファクタ、スケールファクタマルチプレクサ、グローバルゲイン及びサブブロックゲイン(式(1)の2の乗数以降の箇所)、プリエンファシスの有無フラグ、プリエンファシステーブルによって得られる値を用いて算出される。以下ではATRACにおけるスケールファクタ及びMP3におけるスケールファクタに関する値をまとめてスケールファクタとして説明する。   In Expression (1), the variable m is an IMDCT coefficient index, MK (m) is a quantized coefficient (Huffman decoded value), sgn (MK (m)) is a sign of the quantized coefficient, scalefac_multiplier is 1 or 0.5, gr Is the index of the granule, wnd is the index of the window shape, sfb is the index of the scale factor band, preflag [gr] is the pre-emphasis flag, 0 or 1, and pretab [sfb] is obtained by a predetermined pre-emphasis table Represents a value. Note that the scale factor in ATRAC (for example, expressed by 6 bits each and can be specified in units of about 2 dB) is the same as the value related to the scale factor in MP3, and the value related to the scale factor in MP3 is expressed by Equation (1). As shown in FIG. 4, the scale factor, the scale factor multiplexer, the global gain, and the sub-block gain (the part after the 2nd multiplier in the equation (1)), the pre-emphasis presence / absence flag, and the value obtained from the pre-emphasis table are used. . Hereinafter, the scale factor in ATRAC and the value related to the scale factor in MP3 are collectively described as a scale factor.

本実施の形態においては図に示すように32の周波数帯域毎block(0)〜block(31)にIMDCT係数I(0)、I(1)、…、I(m)、…、I(575)が出力される。サンプリング周波数が44.1kHzの場合、block(0)の周波数は0Hz〜689.0625Hz、block(1)は689.0625Hz〜1378.125Hz、またblock(31)は21360.9375Hz〜22050Hzである。なお、以下では任意の周波数帯域のブロックをblock(k)とする。ここでkは整数であり、0≦k≦31を満たすものとする。各周波数帯域のIMDCT係数I(0)〜I(575)は補間処理部1へ入力される。   In the present embodiment, as shown in the figure, 32 frequency band block (0) to block (31) include IMDCT coefficients I (0), I (1),..., I (m),. ) Is output. When the sampling frequency is 44.1 kHz, the frequency of block (0) is 0 Hz to 689.0625 Hz, block (1) is 689.0625 Hz to 1378.125 Hz, and block (31) is 21360.9375 Hz to 22050 Hz. In the following, a block of an arbitrary frequency band is assumed to be block (k). Here, k is an integer and satisfies 0 ≦ k ≦ 31. The IMDCT coefficients I (0) to I (575) of each frequency band are input to the interpolation processing unit 1.

各周波数帯域のIMDCT係数はブロック長に応じて複数の係数(スペクトル)から構成される。ロングブロックでは18の係数からなり、ショートブロックでは6の係数からなる。なお、本実施の形態においては、ブロック長はロングブロックであるものとして説明する。また、IMDCT係数の576サンプルが1グラニュールを構成し、グラニュール0とグラニュール1との合計1152の係数サンプルを1フレームとして処理するが、以後、1グラニュールの事を1フレームと称して説明する。   The IMDCT coefficient of each frequency band is composed of a plurality of coefficients (spectrums) according to the block length. The long block consists of 18 coefficients, and the short block consists of 6 coefficients. In the present embodiment, description will be made assuming that the block length is a long block. In addition, 576 samples of IMDCT coefficients constitute one granule, and a total of 1152 coefficient samples of granule 0 and granule 1 are processed as one frame. Hereinafter, one granule is referred to as one frame. explain.

図2は周波数に対するIMDCT係数の変化を示すグラフである。横軸は周波数であり、縦軸は係数を示す。IMDCT係数(以下、係数I(m)で代表する)はロングブロックの場合、一周波数帯域内に18の係数I(18×k)乃至I(18×k+17)を有する。図2のグラフにおいては周波数18×k、18×k+1、…、18×k+17に対応させて、係数I(18×k)、I(18×k+1)、…、I(18×k+17)の変化が示されている。この係数は正、負または零の値を取る。   FIG. 2 is a graph showing changes in the IMDCT coefficient with respect to frequency. The horizontal axis represents frequency, and the vertical axis represents the coefficient. In the case of a long block, an IMDCT coefficient (hereinafter, represented by a coefficient I (m)) has 18 coefficients I (18 × k) to I (18 × k + 17) in one frequency band. In the graph of FIG. 2, changes in coefficients I (18 × k), I (18 × k + 1),..., I (18 × k + 17) corresponding to frequencies 18 × k, 18 × k + 1,. It is shown. This coefficient takes a positive, negative or zero value.

図1において係数I(m)は補間処理部1へ入力され、白色雑音に関する補正値が付加された補正後の係数I(m)が補間処理部1から出力される。周波数時間変換部24ではIMDCT処理が施され、時間軸の音響信号に変換される。更に、逆変換された音響信号は周波数帯域合成部25において、帯域合成フィルタであるIPFB(Inverse Polyphase Filter Bank)によって帯域合成された後、音響信号出力部26へ出力される。   In FIG. 1, the coefficient I (m) is input to the interpolation processing unit 1, and the corrected coefficient I (m) to which the correction value related to white noise is added is output from the interpolation processing unit 1. The frequency time conversion unit 24 performs an IMDCT process and converts it into a time axis acoustic signal. Further, the inversely converted acoustic signal is subjected to band synthesis by an IPFB (Inverse Polyphase Filter Bank) which is a band synthesis filter in the frequency band synthesis unit 25 and then output to the acoustic signal output unit 26.

図3は補間処理部1のハードウェア構成を示すブロック図である。補間処理部1はレベル検出部としての最小値検出部12、補正係数算出部18、補正値算出部13、白色雑音格納部16、出力部14、最大スペクトル検出部15及び補正周波数係数算出部17を含んで構成される。逆量子化部23から出力される各周波数帯域の係数I(m)は最小値検出部12へ入力される。最小値検出部12は一フレームの係数I(0)〜係数I(575)から、零を除く係数(スペクトル)の絶対値の最小値を検出する。図2の例においては、零であるI(18×k+2)ではなく、I(18×k+1)が検出される。検出された絶対値が最小の係数I(m)が最小値として補正係数算出部18へ出力される。なお、本実施の形態においてはレベル検出部として最小値検出部12を用いて、係数I(m)の零を除く係数の絶対値の最小値をレベルとして検出することとしたが、これに限るものではない。例えば、係数I(m)のレベルとしてはこの他に、係数I(m)の2番目に絶対値の小さい値、絶対値の小さいもの3つの平均値または分散値等であっても良い。   FIG. 3 is a block diagram showing a hardware configuration of the interpolation processing unit 1. The interpolation processing unit 1 includes a minimum value detection unit 12 as a level detection unit, a correction coefficient calculation unit 18, a correction value calculation unit 13, a white noise storage unit 16, an output unit 14, a maximum spectrum detection unit 15, and a correction frequency coefficient calculation unit 17. It is comprised including. The coefficient I (m) of each frequency band output from the inverse quantization unit 23 is input to the minimum value detection unit 12. The minimum value detection unit 12 detects the minimum value of the absolute value of the coefficient (spectrum) excluding zero from the coefficients I (0) to I (575) of one frame. In the example of FIG. 2, I (18 × k + 1) is detected instead of zero I (18 × k + 2). The detected coefficient I (m) having the minimum absolute value is output to the correction coefficient calculation unit 18 as the minimum value. In the present embodiment, the minimum value detection unit 12 is used as the level detection unit and the minimum value of the absolute value of the coefficient excluding zero of the coefficient I (m) is detected as the level. It is not a thing. For example, the level of the coefficient I (m) may be the second smallest value of the coefficient I (m), three average values or variance values having the smallest absolute value, and the like.

白色雑音格納部16は、複数の白色雑音(白色雑音の周波数成分源)をブロック単位で格納している。図4は白色雑音格納部16のレコードレイアウトを示す説明図である。白色雑音格納部16は、一フレームに対応する時間の白色雑音を複数の帯域(ブロック)に分割し、帯域毎に直交変換した直交変換係数(スペクトル)により構成されている。白色雑音格納部16はブロックフィールド、番号mフィールド及びスペクトルIwn(m)フィールドを含んで構成される。ブロックフィールドにはロングブロックに対応する白色雑音を構成するブロック数が記憶されており、ブロック0〜ブロック31までの全32ブロックが用意されている。番号mフィールドにはブロック毎に白色雑音のスペクトルを識別するための番号が記憶されている。   The white noise storage unit 16 stores a plurality of white noises (frequency component sources of white noise) in units of blocks. FIG. 4 is an explanatory diagram showing a record layout of the white noise storage unit 16. The white noise storage unit 16 is configured by orthogonal transform coefficients (spectrums) obtained by dividing white noise of a time corresponding to one frame into a plurality of bands (blocks) and performing orthogonal transform for each band. The white noise storage unit 16 includes a block field, a number m field, and a spectrum Iwn (m) field. The block field stores the number of blocks constituting white noise corresponding to the long block, and a total of 32 blocks from block 0 to block 31 are prepared. The number m field stores a number for identifying the white noise spectrum for each block.

また、スペクトルIwn(m)フィールドには、番号mに対応させて白色雑音のスペクトルがそれぞれ記憶されている。本実施の形態においては1ブロックあたり18個のスペクトルが、全32ブロック、計576のスペクトルが記憶される。例えばブロック「0」の番号「1」には白色雑音のスペクトル「0.003125」が格納されている。この白色雑音のスペクトルは全スペクトルを平均した場合に所定値となるよう、例えば約−20dBとなるよう、設定すれば良い。なお、このIwn(m)は、I(m)の最小値の約1/2のレベルの白色雑音を作成するためのテーブルであって、約−20dBという数値には限定する必要はない。白色雑音格納部16には、予め時間信号の白色雑音源を圧縮時に時間周波数変換した変換係数(スペクトル)データが、ブロック長に応じてメモリ等に記憶されて用意されている。つまり一フレームあたりの白色雑音を複数の帯域に分割し、帯域毎に直交変換した直交変換係数により構成されている。ロングブロックの場合は、圧縮時に周波数分割により18個の時間データに分割され、18個の周波数成分データに変換された変換係数がメモリ等に記録され、ショートブロックの場合は、圧縮時に周波数分割により6個の時間データに分割され、6個の周波数成分データに変換された変換係数がメモリ等に記録されている。なお、本実施の形態においては、説明を容易にするために予め用意しておいた白色雑音を用いる形態について説明するが、装置内で図示しない乱数発生器等により、全体の平均スペクトルが所定値以下となる白色雑音を逐次発生させて、白色雑音格納部16に一時的に記憶してから出力するようにしても良い。   Further, the spectrum of white noise is stored in the spectrum Iwn (m) field in association with the number m. In the present embodiment, a total of 576 spectra are stored, with 18 spectra per block for a total of 32 blocks. For example, the white noise spectrum “0.003125” is stored in the number “1” of the block “0”. The white noise spectrum may be set to have a predetermined value when the entire spectrum is averaged, for example, about -20 dB. Note that Iwn (m) is a table for creating white noise at a level of about 1/2 of the minimum value of I (m), and need not be limited to a numerical value of about −20 dB. In the white noise storage unit 16, conversion coefficient (spectrum) data obtained by performing time frequency conversion of a white noise source of a time signal at the time of compression is stored in a memory or the like according to the block length. That is, the white noise per frame is divided into a plurality of bands, and is configured by orthogonal transform coefficients obtained by orthogonal transform for each band. In the case of a long block, it is divided into 18 time data by frequency division at the time of compression, and the conversion coefficient converted into 18 frequency component data is recorded in a memory or the like, and in the case of a short block, by frequency division at the time of compression. A conversion coefficient that is divided into six pieces of time data and converted into six pieces of frequency component data is recorded in a memory or the like. In the present embodiment, an embodiment using white noise prepared in advance for ease of explanation will be described. However, the average spectrum of the whole is set to a predetermined value by a random number generator (not shown) in the apparatus. The following white noise may be sequentially generated and temporarily stored in the white noise storage unit 16 for output.

白色雑音格納部16に接続される出力部14は白色雑音格納部16の複数のブロックを無作為にまたは規則的に選択し、当該選択したブロックの白色雑音に係るスペクトルを最大スペクトル検出部15及び補正値算出部13へ出力する。最大スペクトル検出部15は出力部14から出力されたブロック内のスペクトルの絶対値に係る最大値を検出する。なお、本実施の形態においては、最大スペクトル検出部15はスペクトルの最大値を検出するが、最大スペクトル検出部15に代えて平均スペクトル検出部(図示せず)を設け、ブロック内のスペクトルの平均値を検出するようにしても良い。最大スペクトル検出部15で検出された絶対値が最大値に係る白色雑音のスペクトル(またはスペクトル平均値)は補正係数算出部18へ出力される。なお、本実施の形態においては最大スペクトル検出部15または平均スペクトル検出部を設け白色雑音の最大値または平均値を出力するようにしているが、白色雑音のレベルを検出するものであれば、この形態に限るものではない。例えば、選択されたブロックの白色雑音の値の大きい複数のスペクトルの平均値、または分散値等を検出するものであっても良い。   The output unit 14 connected to the white noise storage unit 16 randomly or regularly selects a plurality of blocks of the white noise storage unit 16, and the spectrum related to the white noise of the selected block is the maximum spectrum detection unit 15 and Output to the correction value calculation unit 13. The maximum spectrum detector 15 detects the maximum value related to the absolute value of the spectrum in the block output from the output unit 14. In the present embodiment, the maximum spectrum detector 15 detects the maximum value of the spectrum, but an average spectrum detector (not shown) is provided in place of the maximum spectrum detector 15, and the average of the spectra in the block is The value may be detected. The spectrum (or spectrum average value) of the white noise whose absolute value detected by the maximum spectrum detection unit 15 is the maximum value is output to the correction coefficient calculation unit 18. In the present embodiment, the maximum spectrum detection unit 15 or the average spectrum detection unit is provided to output the maximum value or average value of white noise. It is not limited to form. For example, an average value or a variance value of a plurality of spectra having a large white noise value of a selected block may be detected.

補正係数算出部18は最小値検出部12から出力された係数I(m)の最小値を、白色雑音のスペクトルの最大値(または平均値)の2倍で除すことにより、補正係数を算出する。補正係数算出部18は算出した補正係数を補正値算出部13へ出力する。なお、本実施の形態においては、係数I(m)の最小値を、白色雑音のスペクトルの最大値(または平均値)の2倍で除すようにしているが、あくまで一例であり、3倍等で除しても良い。補正値算出部13は、補正すべき白色雑音に関する値として、出力部14から出力される一ブロックの白色雑音に係るスペクトルと補正係数算出部18から出力される補正係数とを乗じ、係数I(m)へ補正すべき補正値を算出する。例えば、ブロック「0」の白色雑音のスペクトルIwm(1)〜Iwm(18)が出力された場合、各スペクトルに補正係数が乗じられ、「18」の白色雑音に関する値としての補正値が算出される。補正周波数係数算出部17は、補正値算出部13から出力される補正値と係数I(m)とを加算し補正後の係数I(m)を算出する。補正後の係数I(m)は周波数時間変換部24へ出力される。上記例では、係数I(18×k)〜I(18×k+17)に18個の補正値がそれぞれ加算され補正後の係数I(18×k)〜I(18×k+17)が算出される。ここで、補正係数算出部18で算出した補正係数は周波数帯域間0≦k≦31で、同じ値が使用される。また、出力部14から無作為または規則的に選択され、補正値算出部13へ出力されるブロックに係る白色雑音は周波数帯域間0≦k≦31で、同じブロックに係る白色雑音のスペクトルを使用しても良く、また周波数帯域間0≦k≦31で再び無作為または規則的に選択される異なるブロックに係る白色雑音のスペクトルを使用するようにしても良い。なお、量子化値が非零に係る周波数帯域には補正値を加算しなくても良い。   The correction coefficient calculation unit 18 calculates the correction coefficient by dividing the minimum value of the coefficient I (m) output from the minimum value detection unit 12 by twice the maximum value (or average value) of the white noise spectrum. To do. The correction coefficient calculation unit 18 outputs the calculated correction coefficient to the correction value calculation unit 13. In the present embodiment, the minimum value of the coefficient I (m) is divided by twice the maximum value (or average value) of the spectrum of white noise. You may divide by. The correction value calculation unit 13 multiplies the spectrum relating to one block of white noise output from the output unit 14 and the correction coefficient output from the correction coefficient calculation unit 18 as a value related to the white noise to be corrected, to obtain a coefficient I ( Calculate a correction value to be corrected to m). For example, when the white noise spectrums Iwm (1) to Iwm (18) of the block “0” are output, each spectrum is multiplied by a correction coefficient, and a correction value as a value related to the white noise of “18” is calculated. The The correction frequency coefficient calculation unit 17 calculates the corrected coefficient I (m) by adding the correction value output from the correction value calculation unit 13 and the coefficient I (m). The corrected coefficient I (m) is output to the frequency time conversion unit 24. In the above example, 18 correction values are added to the coefficients I (18 × k) to I (18 × k + 17), respectively, and corrected coefficients I (18 × k) to I (18 × k + 17) are calculated. Here, the correction coefficient calculated by the correction coefficient calculation unit 18 is 0 ≦ k ≦ 31 between frequency bands, and the same value is used. Further, the white noise related to the block selected randomly or regularly from the output unit 14 and output to the correction value calculation unit 13 is 0 ≦ k ≦ 31 between frequency bands, and the white noise spectrum related to the same block is used. Alternatively, the spectrum of white noise related to different blocks that are selected randomly or regularly in a frequency band between 0 ≦ k ≦ 31 may be used. Note that the correction value may not be added to the frequency band where the quantization value is non-zero.

以上の各ハードウェアの処理を、フローチャートを用いて説明する。図5は補正後の係数の算出手順を示すフローチャートである。まず最小値検出部12は係数I(m)の零を除く係数の絶対値の最小値を一フレーム内の係数の中から検出する(ステップS51)。白色雑音格納部16に接続される出力部14は白色雑音格納部16の一のブロックを無作為にまたは規則的に選択し、当該選択されたブロックの白色雑音(スペクトル)を最大スペクトル検出部15及び補正値算出部13へ出力する(ステップS52)。最大スペクトル検出部15は出力部14から出力されたブロック内のスペクトルの絶対値に係る最大値を検出する(ステップS53)。最大スペクトル検出部15で検出された、絶対値が最大値に係る白色雑音のスペクトル(またはスペクトル平均値)は補正係数算出部18へ出力される。   The processing of each hardware described above will be described using a flowchart. FIG. 5 is a flowchart showing the procedure for calculating the corrected coefficient. First, the minimum value detection unit 12 detects the minimum value of the absolute value of the coefficient excluding zero of the coefficient I (m) from the coefficients in one frame (step S51). The output unit 14 connected to the white noise storage unit 16 selects one block of the white noise storage unit 16 randomly or regularly, and the white noise (spectrum) of the selected block is selected as the maximum spectrum detection unit 15. And it outputs to the correction value calculation part 13 (step S52). The maximum spectrum detector 15 detects the maximum value related to the absolute value of the spectrum in the block output from the output unit 14 (step S53). The spectrum (or spectrum average value) of the white noise whose absolute value is maximum detected by the maximum spectrum detector 15 is output to the correction coefficient calculator 18.

補正係数算出部18は最小値検出部12から出力された係数I(m)の最小値を、白色雑音のスペクトルの最大値(または平均値)の2倍で除すことにより、補正係数を算出する(ステップS54)。補正係数算出部18は算出した補正係数を補正値算出部13へ出力する。補正値算出部13は補正係数算出部18から出力される補正係数を、出力部14から無作為または規則的に出力されるブロックの白色雑音に係る各スペクトルに乗じ、係数I(m)へ補正すべき補正値を算出する(ステップS55)。補正周波数係数算出部17は、補正値算出部13から出力される各補正値を係数I(m)に加算して、補正後の係数I(m)を算出する(ステップS56)。例えば、ステップS54で算出した補正係数をJとした場合、図4に示すブロック0内のスペクトルIwn(1)〜Iwn(18)にJを乗算して補正値Iwn’(1)〜Iwn’(18)を算出する。そして、block(0)内の係数I(0)〜係数I(17)に補正値Iwn’(1)〜Iwn’(18)を加算して、補正後の係数I’(0)〜係数I’(17)を得ることができる。これは次のblock(1)の係数I(18)〜係数I(35)についても同様である。すなわち、無作為または規則的に選択された図4に示すブロック1内のスペクトルIwn(19)〜Iwn(36)にJを乗算して補正値Iwn’(19)〜Iwn’(36)を算出する。そして、block(1)内の係数I(18)〜係数I(35)に補正値Iwn’(19)〜Iwn’(36)を加算して、補正後の係数I’(18)〜係数I’(35)を得ることができる。そして係る処理を異なるブロックに繰り返し適用する。以上の如く、IMDCT係数の最小値及び白色雑音に基づき算出される補正値をIMDCT係数に加算するので、音圧に合致した最適量の白色雑音を加算でき、量子化により失われたエネルギを適切に補うことが可能となる。   The correction coefficient calculation unit 18 calculates the correction coefficient by dividing the minimum value of the coefficient I (m) output from the minimum value detection unit 12 by twice the maximum value (or average value) of the white noise spectrum. (Step S54). The correction coefficient calculation unit 18 outputs the calculated correction coefficient to the correction value calculation unit 13. The correction value calculation unit 13 multiplies the correction coefficient output from the correction coefficient calculation unit 18 by each spectrum related to the white noise of the block randomly or regularly output from the output unit 14 and corrects the coefficient to I (m). A correction value to be calculated is calculated (step S55). The correction frequency coefficient calculation unit 17 adds each correction value output from the correction value calculation unit 13 to the coefficient I (m), and calculates the corrected coefficient I (m) (step S56). For example, when the correction coefficient calculated in step S54 is J, the spectra Iwn (1) to Iwn (18) in the block 0 shown in FIG. 4 are multiplied by J and corrected values Iwn ′ (1) to Iwn ′ ( 18) is calculated. Then, correction values Iwn ′ (1) to Iwn ′ (18) are added to the coefficients I (0) to I (17) in block (0), and the corrected coefficients I ′ (0) to I '(17) can be obtained. The same applies to the coefficient I (18) to the coefficient I (35) of the next block (1). That is, correction values Iwn ′ (19) to Iwn ′ (36) are calculated by multiplying the spectrums Iwn (19) to Iwn (36) in the block 1 shown in FIG. 4 selected randomly or regularly by J. To do. Then, the correction values Iwn ′ (19) to Iwn ′ (36) are added to the coefficients I (18) to I (35) in block (1), and the corrected coefficients I ′ (18) to I '(35) can be obtained. Such processing is repeatedly applied to different blocks. As described above, since the correction value calculated based on the minimum value of the IMDCT coefficient and the white noise is added to the IMDCT coefficient, the optimum amount of white noise that matches the sound pressure can be added, and the energy lost by the quantization can be appropriately set. It becomes possible to make up for.

実施の形態2
実施の形態2は最小値検出部12で検出した最小値を補正する形態に関する。図6は実施の形態2に係る補間処理部1のハードウェア構成を示すブロック図である。実施の形態2に係る補間処理部1は実施の形態1の構成に加え、エネルギ算出部121、前フレームエネルギ保存部122、エネルギ変化率算出部123、判断部124、最小値補正部126、最小値変化率算出部125、補正最小値設定部127、最小値設定部128及び前フレーム最小値保存部129を含んで構成される。なお、以下では、符号化(復号化)処理単位の時間間隔を意味するフレームが、現在処理されているフレームより、1フレーム過去の時間に処理されたフレームを前フレームという。
Embodiment 2
The second embodiment relates to a mode in which the minimum value detected by the minimum value detection unit 12 is corrected. FIG. 6 is a block diagram illustrating a hardware configuration of the interpolation processing unit 1 according to the second embodiment. In addition to the configuration of the first embodiment, the interpolation processing unit 1 according to the second embodiment includes an energy calculation unit 121, a previous frame energy storage unit 122, an energy change rate calculation unit 123, a determination unit 124, a minimum value correction unit 126, a minimum A value change rate calculation unit 125, a corrected minimum value setting unit 127, a minimum value setting unit 128, and a previous frame minimum value storage unit 129 are configured. In the following, a frame that means a time interval in units of encoding (decoding) processing is referred to as a previous frame.

周波数帯域の係数I(m)はエネルギ算出部121、最小値検出部12及び補正周波数係数算出部17へ入力される。エネルギ算出部121は係数I(m)を2乗した値、即ちパワースペクトルの総和によりエネルギを算出する。このエネルギは、式(2)で示す如く、フレームの周波数帯域I(0)〜I(575)の係数の2乗総和をとることより算出される。ここではエネルギを用いたが、式(3)で示す如く、スペクトルの数、例えば576で除すことにより算出された平均パワースペクトルを用いてもよい。以下では、エネルギ算出部121はエネルギを算出するものとして説明する。   The frequency band coefficient I (m) is input to the energy calculation unit 121, the minimum value detection unit 12, and the correction frequency coefficient calculation unit 17. The energy calculation unit 121 calculates energy by a value obtained by squaring the coefficient I (m), that is, the sum of power spectra. This energy is calculated by taking the square sum of the coefficients of the frequency bands I (0) to I (575) of the frame, as shown in equation (2). Here, energy is used, but an average power spectrum calculated by dividing by the number of spectra, for example, 576, may be used as shown in Equation (3). Below, the energy calculation part 121 demonstrates as what calculates energy.

Figure 0004004525
Figure 0004004525

Figure 0004004525
Figure 0004004525

ここでEは1フレームのエネルギを示し、またmは自然数であり最大値はMである。図2の例では、I(0)〜I(575)の2乗総和をとることによりエネルギが算出される。前フレームエネルギ保存部122は、エネルギ算出部121で算出した前フレームのエネルギを保存する。エネルギ変化率算出部123へは、前フレームエネルギ保存部122で保存された前フレームのエネルギ及びエネルギ算出部121で算出したエネルギがそれぞれ入力される。エネルギ変化率算出部123は、式(4)で示す如く、エネルギ算出部121で算出したエネルギを、前フレームエネルギ保存部122から出力される前フレームのエネルギで除し、平方根をとることによりエネルギ変化率を算出する。すなわち、エネルギ算出部121で算出された所定時刻における復号化処理単位(フレーム)のエネルギと、前フレームエネルギ保存部122にて保存された前記所定時刻より過去の復号化処理単位(フレーム)のエネルギとの変化率を算出する。   Here, E indicates the energy of one frame, m is a natural number, and the maximum value is M. In the example of FIG. 2, energy is calculated by taking the square sum of I (0) to I (575). The previous frame energy storage unit 122 stores the energy of the previous frame calculated by the energy calculation unit 121. The energy change rate calculation unit 123 receives the energy of the previous frame stored by the previous frame energy storage unit 122 and the energy calculated by the energy calculation unit 121, respectively. The energy change rate calculation unit 123 divides the energy calculated by the energy calculation unit 121 by the energy of the previous frame output from the previous frame energy storage unit 122 as shown by the equation (4), and takes the square root to obtain the energy. Calculate the rate of change. That is, the energy of the decoding processing unit (frame) at the predetermined time calculated by the energy calculation unit 121 and the energy of the decoding processing unit (frame) past the predetermined time stored by the previous frame energy storage unit 122. Calculate the rate of change.

Figure 0004004525
Figure 0004004525

ここで、Epは前フレームのエネルギを示し、ERはエネルギ変化率を示す。なお、本実施の形態2においてはエネルギ変化率としてエネルギを前エネルギで除して平方根をとることにより、算出したが、要はフレーム間のエネルギ変動を算出できるものであればこれに限るものではなく、例えば算出したエネルギから前エネルギを減算し、これを2乗することにより変化率とする他、逆に前エネルギをエネルギ算出部121で算出したエネルギで除し平方根をとっても良い。   Here, Ep indicates the energy of the previous frame, and ER indicates the energy change rate. In the second embodiment, the energy change rate is calculated by dividing the energy by the previous energy and taking the square root. However, the present invention is not limited to this as long as the energy fluctuation between frames can be calculated. Alternatively, for example, the previous energy is subtracted from the calculated energy and squared to obtain the rate of change. Conversely, the previous energy is divided by the energy calculated by the energy calculating unit 121 to obtain a square root.

算出されたエネルギ変化率は判断部124へ出力される。最小値検出部12へ入力された係数I(m)は実施の形態1と同じく周波数帯域内の零を除く絶対値の最小値に係る係数I(m)が検出される。前フレーム最小値保存部129は、最小値検出部12で検出された前フレームの最小値が保存される。最小値変化率算出部125へは、前フレーム最小値保存部129で保存された前フレームの最小値及び最小値検出部12で検出した最小値がそれぞれ入力される。最小値変化率算出部125は、最小値検出部12で検出した最小値を、前フレーム最小値保存部129から出力される前フレームの最小値で除すことにより最小値変化率を算出する。すなわち、最小値検出部12で検出した所定時刻における復号化処理単位(フレーム)の最小値と、前フレーム最小値保存部129に保存された前記所定時刻より過去の復号化処理単位(フレーム)の最小値との変化率を算出する。なお、最小値の変化率も、前フレームの最小値との変動を算出できるのであれば、例えば検出した最小値から前フレームの最小値を減じて2乗したものを変化率として算出する他、逆に前フレームの最小値を検出した最小値で除しても良い。   The calculated energy change rate is output to the determination unit 124. The coefficient I (m) input to the minimum value detection unit 12 is the coefficient I (m) related to the minimum value of the absolute value excluding zero in the frequency band as in the first embodiment. The previous frame minimum value storage unit 129 stores the minimum value of the previous frame detected by the minimum value detection unit 12. The minimum value change rate calculation unit 125 receives the minimum value of the previous frame stored by the previous frame minimum value storage unit 129 and the minimum value detected by the minimum value detection unit 12. The minimum value change rate calculation unit 125 calculates the minimum value change rate by dividing the minimum value detected by the minimum value detection unit 12 by the minimum value of the previous frame output from the previous frame minimum value storage unit 129. That is, the minimum value of the decoding processing unit (frame) at the predetermined time detected by the minimum value detection unit 12 and the decoding processing unit (frame) of the past from the predetermined time stored in the previous frame minimum value storage unit 129. The rate of change from the minimum value is calculated. In addition, if the change rate of the minimum value can also be calculated from the minimum value of the previous frame, for example, a value obtained by subtracting the minimum value of the previous frame from the detected minimum value and squared is calculated as the change rate. Conversely, the minimum value of the previous frame may be divided by the detected minimum value.

判断部124はエネルギ変化率算出部123から出力されるエネルギ変化率と、最小値変化率算出部125から出力される最小値変化率とを比較し、エネルギ変化率が最小値変化率よりも大きいか否かを判断する。これは、最小値の変動がフレーム間で大きい場合に、実施の形態1で述べた最小値を補正するものであり、その判断の閾値としてフレーム間のエネルギ変化率を比較対象としたものである。判断部124は、エネルギ変化率が最小値変化率より大きいと判断した場合、特に補正する必要はないので、最小値検出部12にて検出した最小値を補正係数算出部18及び最小値設定部128へ出力する。最小値設定部128は、当該最小値を前フレームの最小値として前フレーム最小値保存部129にて保存すべく、当該最小値を前フレーム最小値保存部129へ出力する。すなわち、最小値設定部128から出力される最小値は、次のフレームにおける最小値変化率を算出する場合に、前フレーム最小値保存部129から出力される前フレームの最小値として用いられる。   The determination unit 124 compares the energy change rate output from the energy change rate calculation unit 123 with the minimum value change rate output from the minimum value change rate calculation unit 125, and the energy change rate is greater than the minimum value change rate. Determine whether or not. This corrects the minimum value described in the first embodiment when the fluctuation of the minimum value is large between frames, and uses the energy change rate between frames as a comparison target as a threshold for the determination. . If the determination unit 124 determines that the energy change rate is larger than the minimum value change rate, it is not necessary to correct the energy change rate. Output to 128. The minimum value setting unit 128 outputs the minimum value to the previous frame minimum value storage unit 129 so that the minimum value is stored in the previous frame minimum value storage unit 129 as the minimum value of the previous frame. That is, the minimum value output from the minimum value setting unit 128 is used as the minimum value of the previous frame output from the previous frame minimum value storage unit 129 when calculating the minimum value change rate in the next frame.

一方、判断部124はエネルギ変化率が最小値変化率よりも小さいと判断した場合、エネルギ変化率及び前フレームの最小値を最小値補正部126へ出力する。最小値補正部126は最小値変化率とエネルギ変化率とが等しくなるよう最小値を補正する。具体的には式(5)で示す条件式を満たすよう最小値を補正する。   On the other hand, when the determination unit 124 determines that the energy change rate is smaller than the minimum value change rate, the determination unit 124 outputs the energy change rate and the minimum value of the previous frame to the minimum value correction unit 126. The minimum value correction unit 126 corrects the minimum value so that the minimum value change rate and the energy change rate are equal. Specifically, the minimum value is corrected so as to satisfy the conditional expression represented by Expression (5).

Figure 0004004525
Figure 0004004525

ここで、MSRは係数I(m)の最小値を前フレームの最小値で除した最小値変化率を示す。このように式(5)の右辺の最小値変化率は、式(6)に示す如く、|I(m)|の零を除く最小値を前フレームの|I(m)|の零を除く最小値で除したものとして変形できる。そして求めるべき補正後の最小値はエネルギ変化率ERに前フレームの最小値を乗じた値となる。最小値補正部126はこのようにして補正した最小値を補正最小値設定部127及び補正係数算出部18へ出力する。補正最小値設定部127は、最小値設定部128と同じく、補正後の最小値を前フレームの最小値として保存するよう、当該補正後の最小値を前フレーム最小値保存部129へ出力する。   Here, MSR indicates a minimum value change rate obtained by dividing the minimum value of the coefficient I (m) by the minimum value of the previous frame. As described above, the minimum value change rate on the right side of Expression (5) excludes the minimum value of | I (m) | that excludes zero of | I (m) | in the previous frame, as shown in Expression (6). It can be transformed as the one divided by the minimum value. The minimum value after correction to be obtained is a value obtained by multiplying the energy change rate ER by the minimum value of the previous frame. The minimum value correcting unit 126 outputs the minimum value corrected in this way to the corrected minimum value setting unit 127 and the correction coefficient calculating unit 18. Similar to the minimum value setting unit 128, the corrected minimum value setting unit 127 outputs the corrected minimum value to the previous frame minimum value storage unit 129 so as to store the corrected minimum value as the minimum value of the previous frame.

Figure 0004004525
Figure 0004004525

前フレーム最小値保存部129は、補正最小値設定部127または最小値設定部128から出力された最小値を保存する。前フレーム最小値保存部129は補正最小値設定部127または最小値設定部128から出力された最小値を最小値変化率算出部125へ出力する。なお、本実施の形態2においては、最小値変化率がエネルギ変化率と等しくなるよう最小値を補正したが、必ずしも厳密に最小値変化率がエネルギ変化率と等しくなるまで最小値を補正する必要はなく、略等しくなるまで補正すれば良く、多少の誤差を持たせても良い。また最小値補正部126から出力される補正後の最小値は補正係数算出部18へ出力される。   The previous frame minimum value storage unit 129 stores the minimum value output from the corrected minimum value setting unit 127 or the minimum value setting unit 128. The previous frame minimum value storage unit 129 outputs the minimum value output from the corrected minimum value setting unit 127 or the minimum value setting unit 128 to the minimum value change rate calculation unit 125. In the second embodiment, the minimum value is corrected so that the minimum value change rate becomes equal to the energy change rate. However, the minimum value needs to be corrected strictly until the minimum value change rate becomes equal to the energy change rate. However, it is sufficient to correct until substantially equal, and some error may be given. Further, the corrected minimum value output from the minimum value correction unit 126 is output to the correction coefficient calculation unit 18.

以上のハードウェア構成において、補正後の最小値の算出処理手順を、フローチャートを用いて説明する。図7は補正後の最小値の算出処理手順を示すフローチャートである。まず、前フレームエネルギ保存部122及び前フレーム最小値保存部129の保存内容を初期化する(ステップS71)。具体的には前フレームのエネルギ及び前フレームの最小値を1とする。かかる処理は第1番目のフレームに対する補正後の係数を算出する場合に、エネルギ変化率算出部123及び最小値変化率算出部125において、分母に0が代入されて無限大の解が発生することを防止するための処理であり、次フレーム以降の処理は、算出された前フレームのエネルギ及び最小値が保存されて利用される。なお、楽曲の途中に無音のフレームがある場合には、スタートより開始される。   In the above hardware configuration, the corrected minimum value calculation processing procedure will be described with reference to a flowchart. FIG. 7 is a flowchart showing the procedure for calculating the corrected minimum value. First, the storage contents of the previous frame energy storage unit 122 and the previous frame minimum value storage unit 129 are initialized (step S71). Specifically, the energy of the previous frame and the minimum value of the previous frame are set to 1. In this process, when calculating the corrected coefficient for the first frame, the energy change rate calculation unit 123 and the minimum value change rate calculation unit 125 substitute 0 for the denominator to generate an infinite solution. In the process after the next frame, the energy and minimum value of the calculated previous frame are stored and used. If there is a silent frame in the middle of the music, it starts from the start.

周波数帯域の係数I(m)はエネルギ算出部121、最小値検出部12及び補正周波数係数算出部17へ出力される(ステップS72)。エネルギ算出部121は係数I(m)のエネルギを算出する(ステップS73)。エネルギ変化率算出部123へは、前フレームエネルギ保存部122で保存された前フレームのエネルギ及びエネルギ算出部121で算出したエネルギがそれぞれ入力される。エネルギ変化率算出部123は、エネルギ算出部121で算出したエネルギを、前フレームエネルギ保存部122から出力される前フレームのエネルギで除し、平方根をとることによりエネルギ変化率を算出する(ステップS74)。前フレームエネルギ保存部122は、保存した前フレームのエネルギをエネルギ変化率算出部123へ出力した後、エネルギ算出部121から出力されるエネルギを、次フレームの演算で用いる前フレームのエネルギとして保存する。   The frequency band coefficient I (m) is output to the energy calculation unit 121, the minimum value detection unit 12, and the correction frequency coefficient calculation unit 17 (step S72). The energy calculation unit 121 calculates the energy of the coefficient I (m) (step S73). The energy change rate calculation unit 123 receives the energy of the previous frame stored by the previous frame energy storage unit 122 and the energy calculated by the energy calculation unit 121, respectively. The energy change rate calculation unit 123 divides the energy calculated by the energy calculation unit 121 by the energy of the previous frame output from the previous frame energy storage unit 122, and calculates the energy change rate by taking the square root (step S74). ). The previous frame energy storage unit 122 outputs the stored previous frame energy to the energy change rate calculation unit 123, and then stores the energy output from the energy calculation unit 121 as the previous frame energy used in the calculation of the next frame. .

算出されたエネルギ変化率は判断部124へ出力される。最小値検出部12は入力された係数I(m)に基づき、絶対値の最小値に係る係数I(m)を検出する(ステップS75)。最小値変化率算出部125へは、前フレーム最小値保存部129で保存された前フレームの最小値及び最小値検出部12で検出した最小値がそれぞれ入力される。最小値変化率算出部125は、最小値検出部12で検出した最小値を、前フレーム最小値保存部129から出力される前フレームの最小値で除すことにより最小値変化率を算出する(ステップS76)。   The calculated energy change rate is output to the determination unit 124. Based on the input coefficient I (m), the minimum value detection unit 12 detects the coefficient I (m) related to the absolute minimum value (step S75). The minimum value change rate calculation unit 125 receives the minimum value of the previous frame stored by the previous frame minimum value storage unit 129 and the minimum value detected by the minimum value detection unit 12. The minimum value change rate calculation unit 125 calculates the minimum value change rate by dividing the minimum value detected by the minimum value detection unit 12 by the minimum value of the previous frame output from the previous frame minimum value storage unit 129 ( Step S76).

判断部124はエネルギ変化率算出部123から出力されるエネルギ変化率と、最小値変化率算出部125から出力される最小値変化率とを比較し、エネルギ変化率が最小値変化率よりも大きいか否かを判断する(ステップS77)。判断部124は、エネルギ変化率が最小値変化率より大きいと判断した場合(ステップS77でYES)、最小値検出部12にて検出した最小値を補正係数算出部18へ出力する(ステップS78)。また最小値は、最小値設定部128へ出力される。最小値設定部128は、当該最小値を前フレームの最小値として保存すべく、前フレーム最小値保存部129へ最小値を出力し、前フレーム最小値保存部129は、最小値設定部128から出力された最小値を保存する(ステップS79)。   The determination unit 124 compares the energy change rate output from the energy change rate calculation unit 123 with the minimum value change rate output from the minimum value change rate calculation unit 125, and the energy change rate is greater than the minimum value change rate. Whether or not (step S77). If the determination unit 124 determines that the energy change rate is greater than the minimum value change rate (YES in step S77), the determination unit 124 outputs the minimum value detected by the minimum value detection unit 12 to the correction coefficient calculation unit 18 (step S78). . The minimum value is output to the minimum value setting unit 128. The minimum value setting unit 128 outputs the minimum value to the previous frame minimum value storage unit 129 in order to store the minimum value as the minimum value of the previous frame, and the previous frame minimum value storage unit 129 receives the minimum value from the minimum value setting unit 128. The output minimum value is stored (step S79).

一方、判断部124はエネルギ変化率が最小値変化率よりも小さいと判断した場合(ステップS77でNO)、エネルギ変化率及び前フレームの最小値を最小値補正部126へ出力し、最小値補正部126は最小値変化率とエネルギ変化率とが等しくなるよう最小値を補正する(ステップS710)。具体的には上述したように前フレームの最小値をエネルギ変化率に乗ずることにより最小値補正部126は補正後の最小値を算出する。最小値補正部126は算出した補正後の最小値を補正最小値設定部127及び補正係数算出部18へ出力する(ステップS711)。補正最小値設定部127は、最小値設定部128と同じく、補正後の最小値を前フレームの最小値として保存するよう、当該補正後の最小値を前フレーム最小値保存部129へ出力する。   On the other hand, when the determination unit 124 determines that the energy change rate is smaller than the minimum value change rate (NO in step S77), the energy change rate and the minimum value of the previous frame are output to the minimum value correction unit 126 to correct the minimum value. The unit 126 corrects the minimum value so that the minimum value change rate and the energy change rate are equal (step S710). Specifically, as described above, the minimum value correction unit 126 calculates the corrected minimum value by multiplying the energy change rate by the minimum value of the previous frame. The minimum value correction unit 126 outputs the calculated minimum value after correction to the correction minimum value setting unit 127 and the correction coefficient calculation unit 18 (step S711). Similar to the minimum value setting unit 128, the corrected minimum value setting unit 127 outputs the corrected minimum value to the previous frame minimum value storage unit 129 so as to store the corrected minimum value as the minimum value of the previous frame.

前フレーム最小値保存部129は、補正最小値設定部127から出力された最小値を保存する(ステップS712)。ステップS79及びステップS712の処理以降、エネルギ算出部121は、ステップS73で算出したエネルギを前フレームエネルギ保存部122に保存する(ステップS713)。ステップS78で出力された最小値またはステップS711で出力された最小値は、補正係数算出部18へ出力される。以降の処理は図5のステップS52乃至ステップS56と同様であるので詳細な説明は省略する。このように、フレーム間のエネルギ変化率及び最小値変化率に着目し、最小値変化率が顕著な場合、これを低減させることにより、最小値を補正し、ひいては係数I(m)に加算する白色雑音に係る補正値の変動を低減させることができ、その結果フレーム間での不自然な補間処理が防止される。   The previous frame minimum value storage unit 129 stores the minimum value output from the corrected minimum value setting unit 127 (step S712). After the processes of step S79 and step S712, the energy calculation unit 121 stores the energy calculated in step S73 in the previous frame energy storage unit 122 (step S713). The minimum value output in step S78 or the minimum value output in step S711 is output to the correction coefficient calculation unit 18. Subsequent processing is the same as step S52 to step S56 in FIG. In this way, paying attention to the energy change rate and the minimum value change rate between frames, if the minimum value change rate is significant, the minimum value is corrected by reducing this and added to the coefficient I (m). Variations in correction values related to white noise can be reduced, and as a result, unnatural interpolation processing between frames is prevented.

図8は判断部124を用いない場合と、用いた場合との補正係数の比較を示すグラフである。図8(a)は、判断部124における処理、すなわちエネルギ変化率と最小値変化率との比較処理を行わない場合の補正係数の変化を示すグラフである。図8(a)のグラフの横軸はフレームを示し、縦軸は補正係数算出部18にて算出される補正係数(係数I(m)の最小値を白色雑音のスペクトルの最大値で除したもの)である。なお、補正係数「1」を−20dBとしている。図8(a)のグラフは、フレーム毎の補正係数の変化を示しており、数カ所で補正係数が突出している箇所が散見される。   FIG. 8 is a graph showing a comparison of correction coefficients when the determination unit 124 is not used and when it is used. FIG. 8A is a graph showing the change of the correction coefficient when the process in the determination unit 124, that is, the comparison process between the energy change rate and the minimum value change rate is not performed. The horizontal axis of the graph in FIG. 8A indicates the frame, and the vertical axis indicates the correction coefficient calculated by the correction coefficient calculation unit 18 (the minimum value of the coefficient I (m) is divided by the maximum value of the spectrum of white noise. Stuff). The correction coefficient “1” is −20 dB. The graph of FIG. 8A shows the change of the correction coefficient for each frame, and there are some places where the correction coefficient protrudes at several places.

図8(b)は判断部124における処理、すなわちエネルギ変化率と最小値変化率との比較処理を行う場合の補正係数の変化を示すグラフである。図8(a)のグラフと比較すると、突出していた補正係数が減少していることが理解できる。図8に示す如く、フレーム間で、エネルギ変化率及び最小値変化率に鑑み、最小値を適宜補正することにより、係数I(m)へも、変動の少ない補正値が加算され、より自然な原音の再現が可能となる。   FIG. 8B is a graph showing the change in the correction coefficient when the process in the determination unit 124, that is, the comparison process between the energy change rate and the minimum value change rate is performed. Compared with the graph of FIG. 8A, it can be understood that the protruding correction coefficient is reduced. As shown in FIG. 8, in consideration of the energy change rate and the minimum value change rate between frames, the correction value with less variation is added to the coefficient I (m) by appropriately correcting the minimum value, and more natural. The original sound can be reproduced.

図9は従来技術との比較結果を示すグラフである。図9において横軸はエンコードビットレートであり、単位はkbps(bits per second)である。また縦軸はODG(Objective Difference Grade)である。また、実線は本技術を適用したMP3デコーダの各エンコードビットレートに対するODGの変化を示し、点線は従来のMP3デコーダの各エンコードビットレートに対するODGの変化を示す。評価試験はJEITA(Japan Electronics and Information Technology Industries Association)のCPX−2601が規定する測定方法を用い、またLAME社コアのエンコーダを使用した。   FIG. 9 is a graph showing a comparison result with the prior art. In FIG. 9, the horizontal axis represents the encoding bit rate, and the unit is kbps (bits per second). The vertical axis represents ODG (Objective Difference Grade). A solid line indicates a change in ODG with respect to each encoding bit rate of the MP3 decoder to which the present technology is applied, and a dotted line indicates a change in ODG with respect to each encoding bit rate of the conventional MP3 decoder. In the evaluation test, a measurement method defined by CPX-2601 of JEITA (Japan Electronics and Information Technology Industries Association) was used, and a LAME core encoder was used.

評価規格は「ITU−R Rec.BS.1387−1(2001) Basic Version」であり、テストソースはCat No.42204-2(1988) EBU/Sound Quality Assessment Material recordings for subjective tests(SQAM)のTrack No.27(カスタネット)、32(トライアングル)、35(鉄琴)、40(ハープシコード)、65(オーケストラ)、66(木琴アンサンブル)、69(ホップス/ABBA)、及び70(ホップス/E.RABBITT)の以上8曲の加算平均を用いた。   The evaluation standard is “ITU-R Rec. BS. 1387-1 (2001) Basic Version”, and the test source is the track of Cat No. 42204-2 (1988) EBU / Sound Quality Assessment Material recordings for subjective tests (SQAM). No.27 (castanets), 32 (triangles), 35 (iron koto), 40 (harpsichord), 65 (orchestra), 66 (xylophone ensemble), 69 (hops / ABBA), and 70 (hops / E.RABBITT) The average of 8 songs above was used.

ODGは測定の最終結果として得られる客観評価値であり、0〜−4までの負の値をとり、値が大きくなるほど原音からの劣化が小さい。「0.0」は「原音との差が分からない」、「−1.0」は「原音との差が分かるが気にならない」、「−2.0」は「気になるが邪魔にはならない」、「−3.0」は「邪魔になる」及び「−4.0」は「非常に邪魔になる」とそれぞれ定義されている。図9の実線のグラフ及び点線のグラフを比較すると、全域にわたってODGが向上しており、特に64kbbs〜160kbpsにかけては良好な結果が得られることが理解できる。   ODG is an objective evaluation value obtained as a final result of measurement, and takes a negative value from 0 to −4. The larger the value, the smaller the deterioration from the original sound. "0.0" means "I don't know the difference from the original sound", "-1.0" means "I don't care about the difference from the original sound", and "-2.0" "Do not", "-3.0" is defined as "get in the way" and "-4.0" is defined as "very disturbing", respectively. Comparing the solid line graph and the dotted line graph in FIG. 9, it can be understood that the ODG is improved over the entire region, and particularly good results are obtained in the range of 64 kbps to 160 kbps.

本実施の形態2は以上の如き構成としてあり、その他の構成及び作用は実施の形態1と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The second embodiment is configured as described above, and the other configurations and operations are the same as those of the first embodiment. Therefore, corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted.

実施の形態3
図10は実施の形態3に係る信号処理装置20の構成を示すブロック図である。実施の形態3に係る信号処理装置20の各処理はパーソナルコンピュータで実行されるソフトウェアにより実現しても良い。以下では信号処理装置20をパーソナルコンピュータ20であるものとして説明する。パーソナルコンピュータ20は公知のものであり、CPU(Central Processing Unit)61にバス67を介してRAM(Random Access Memory)62、ハードディスク等の記憶部65、入力部63、スピーカ等の出力部64、インターネット等の通信網に接続可能な通信部66を備える。
Embodiment 3
FIG. 10 is a block diagram showing the configuration of the signal processing device 20 according to the third embodiment. Each process of the signal processing device 20 according to the third embodiment may be realized by software executed on a personal computer. Hereinafter, the signal processing device 20 will be described as being a personal computer 20. The personal computer 20 is a publicly known computer, and a CPU (Central Processing Unit) 61 via a bus 67, a RAM (Random Access Memory) 62, a storage unit 65 such as a hard disk, an input unit 63, an output unit 64 such as a speaker, the Internet The communication unit 66 is connectable to a communication network such as the above.

パーソナルコンピュータ20を動作させるためのコンピュータプログラムは、本実施の形態3のように、CD−ROM、MO、またはDVD−ROM等の可搬型記録媒体1Aで提供することも可能である。さらに、コンピュータプログラムを、通信部66を介して図示しないサーバコンピュータからダウンロードすることも可能である。以下に、その内容を説明する。   A computer program for operating the personal computer 20 can also be provided by a portable recording medium 1A such as a CD-ROM, MO, or DVD-ROM as in the third embodiment. Further, the computer program can be downloaded from a server computer (not shown) via the communication unit 66. The contents will be described below.

図10に示すパーソナルコンピュータ20の図示しないリーダ/ライタに、最小値を検出させ、補正係数を算出させ、補正値を算出させ、補正後の係数を算出させるコンピュータプログラムが記録された可搬型記録媒体1A(CD−ROM、MO又はDVD−ROM等)を、挿入して記憶部65の制御プログラム内にこのプログラムをインストールする。または、かかるプログラムを、通信部66を介して外部の図示しないサーバコンピュータからダウンロードし、記憶部65にインストールするようにしても良い。かかるプログラムはRAM62にロードして実行される。これにより、上述のような本発明の信号処理装置20として機能する。   A portable recording medium on which a computer program for causing a reader / writer (not shown) of the personal computer 20 shown in FIG. 10 to detect a minimum value, calculate a correction coefficient, calculate a correction value, and calculate a corrected coefficient is recorded. 1A (CD-ROM, MO, DVD-ROM or the like) is inserted, and this program is installed in the control program of the storage unit 65. Alternatively, such a program may be downloaded from an external server computer (not shown) via the communication unit 66 and installed in the storage unit 65. Such a program is loaded into the RAM 62 and executed. Thereby, it functions as the signal processing apparatus 20 of the present invention as described above.

本実施の形態3は以上の如き構成としてあり、その他の構成及び作用は実施の形態1及び2と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The third embodiment is configured as described above, and the other configurations and operations are the same as those of the first and second embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態4
実施の形態4は複数の白色雑音格納部16を設ける形態に関する。図11は実施の形態4に係る補間処理部1のハードウェア構成を示すブロック図である。実施の形態4に係る補間処理部1は、実施の形態1または実施の形態2の構成に加えて、ブロック長判別部161、選択部162、第1白色雑音格納部16L及び第2白色雑音格納部16Sを含んで構成される。ブロック長判別部161は入力される音響信号のブロック長がロングブロックであるか、ショートブロックであるかを判断する。ブロック長判別部161はビットストリーム中のフレームサイド情報領域内のblocksplit_flag[ch][gr]フラグを参照し、フレーム毎にロングブロックか、ショートブロックかを判別する。なお、1フレームはロングブロックの場合、18サンプル×32ブロックで576サンプル、ショートブロックの場合、6サンプル×32ブロックで192サンプルのサブブロックが3つで構成される。
Embodiment 4
The fourth embodiment relates to a form in which a plurality of white noise storage units 16 are provided. FIG. 11 is a block diagram illustrating a hardware configuration of the interpolation processing unit 1 according to the fourth embodiment. In addition to the configuration of the first or second embodiment, the interpolation processing unit 1 according to the fourth embodiment adds a block length determination unit 161, a selection unit 162, a first white noise storage unit 16L, and a second white noise storage. The unit 16S is configured. The block length determination unit 161 determines whether the block length of the input acoustic signal is a long block or a short block. The block length determination unit 161 refers to the blocksplit_flag [ch] [gr] flag in the frame side information area in the bit stream to determine whether each frame is a long block or a short block. One frame is composed of three sub-blocks of 18 samples × 32 blocks and 576 samples, and in the case of a short block, three sub-blocks of 6 samples × 32 blocks and 192 samples.

ブロック長判別部161は判別したブロック長を選択部162及びエネルギ算出部121へ出力する。エネルギ算出部121は、エネルギとして平均パワースペクトルを算出する場合、係数I(m)の総和の2乗をサンプル数で除すことにより、係数I(m)のエネルギを算出する。このサンプル数を提供すべく、ブロック長判別部161はブロック長をエネルギ算出部121へ出力する。エネルギ算出部121は、ブロック長に応じて、除算用のサンプル数を適宜設定する。   The block length determination unit 161 outputs the determined block length to the selection unit 162 and the energy calculation unit 121. When calculating the average power spectrum as energy, the energy calculation unit 121 calculates the energy of the coefficient I (m) by dividing the square of the sum of the coefficients I (m) by the number of samples. In order to provide the number of samples, the block length determination unit 161 outputs the block length to the energy calculation unit 121. The energy calculation unit 121 appropriately sets the number of samples for division according to the block length.

選択部162はブロック長判別部161で判別されたブロック長に基づき、判別ブロック長に応じて第1白色雑音格納部16Lまたは第2白色雑音格納部16Sのいずれかを選択すると共に、その選択した情報を出力部14へ出力する。実施の形態4においては、2種類の白色雑音格納部が設けられる。第1白色雑音格納部16Lは、実施の形態1(図4参照)で示したものと同様であり、選択部162が、ブロック長はロングブロックであると判断した場合に選択される。一方、第2白色雑音格納部16Sは、選択部162が、ブロック長はショートブロックであると判断した場合に選択される。なお、本実施の形態4にあっては、説明を容易にするためにロングブロック及びショートブロックに対応する2つの第1白色雑音格納部16L及び第2白色雑音格納部16Sを設けたが、3種以上の異なるブロック長が存在する場合は、ブロック長に応じて3種以上の白色雑音格納部を用意しても良い。   Based on the block length determined by the block length determination unit 161, the selection unit 162 selects either the first white noise storage unit 16L or the second white noise storage unit 16S according to the determination block length, and the selected Information is output to the output unit 14. In the fourth embodiment, two types of white noise storage units are provided. The first white noise storage unit 16L is the same as that shown in the first embodiment (see FIG. 4), and is selected when the selection unit 162 determines that the block length is a long block. On the other hand, the second white noise storage unit 16S is selected when the selection unit 162 determines that the block length is a short block. In the fourth embodiment, two first white noise storage units 16L and a second white noise storage unit 16S corresponding to the long block and the short block are provided for ease of explanation. When there are more than one type of different block lengths, three or more types of white noise storage units may be prepared according to the block length.

図12は第2白色雑音格納部16Sのレコードレイアウトを示す説明図である。第2白色雑音格納部16Sはブロックフィールド、番号mフィールド及びスペクトルIwn(m)フィールドを含んで構成される。ブロックフィールドにはショートブロックに対応する白色雑音を構成するブロック数が記憶されており、ブロック0〜ブロック31までの全32ブロックが用意されている。番号mフィールドにはブロック毎に白色雑音のスペクトルを識別するための番号が記憶されている。   FIG. 12 is an explanatory diagram showing a record layout of the second white noise storage unit 16S. The second white noise storage unit 16S includes a block field, a number m field, and a spectrum Iwn (m) field. The block field stores the number of blocks constituting white noise corresponding to the short block, and a total of 32 blocks from block 0 to block 31 are prepared. The number m field stores a number for identifying the white noise spectrum for each block.

また、スペクトルIwn(m)フィールドには、番号mに対応させて白色雑音のスペクトルがそれぞれ記憶されている。本実施の形態4においては1ブロックあたり6個のスペクトルが、全32ブロック、計192のスペクトルが記憶される。例えばブロック「0」の番号「1」には白色雑音のスペクトル「0.007248」が格納されている。この白色雑音のスペクトルはロングブロックと同様に、全スペクトルを平均した場合に、約−20dBとなるよう設定すれば良い。なお、このIwn(m)は、I(m)の最小値の約1/2のレベルの白色雑音を作成するためのテーブルであって、約−20dBという数値には限定する必要はない。   Further, the spectrum of white noise is stored in the spectrum Iwn (m) field in association with the number m. In the fourth embodiment, six spectra per block are stored in a total of 32 blocks, for a total of 192 spectra. For example, the white noise spectrum “0.007248” is stored in the number “1” of the block “0”. Similar to the long block, the white noise spectrum may be set to be about -20 dB when the entire spectrum is averaged. This Iwn (m) is a table for creating white noise at a level of about 1/2 of the minimum value of I (m), and need not be limited to a numerical value of about −20 dB.

出力部14は、選択部162が第1白色雑音格納部16Lを選択した場合、すなわちブロック長がロングブロックである場合、I(m)が零のスペクトルが存在するブロックに対応して、図4に示す第1白色雑音格納部16Lから、無作為に、または、規則的に選択された複数のブロックのスペクトルを最大スペクトル検出部15及び補正値算出部13へ出力する。一方、選択部162が第2白色雑音格納部16Sを選択した場合、すなわちブロック長がショートブロックである場合、図12に示す第2白色雑音格納部16Sから、無作為に、または、規則的に選択された複数のブロックのスペクトルを最大スペクトル検出部15及び補正値算出部13へ出力する。   When the selection unit 162 selects the first white noise storage unit 16L, that is, when the block length is a long block, the output unit 14 corresponds to a block in which a spectrum with zero I (m) exists, as shown in FIG. The spectrum of a plurality of blocks selected randomly or regularly is output to the maximum spectrum detector 15 and the correction value calculator 13 from the first white noise storage unit 16L shown in FIG. On the other hand, when the selection unit 162 selects the second white noise storage unit 16S, that is, when the block length is a short block, the second white noise storage unit 16S illustrated in FIG. 12 randomly or regularly. The spectrums of the selected blocks are output to the maximum spectrum detector 15 and the correction value calculator 13.

このようにして選択された複数のブロックの白色雑音はその複数のブロックに属するスペクトルの最大値が最大スペクトル検出部15で検出され、補正係数算出部18にて係数I(m)の最小値を白色雑音のスペクトルの最大値で除して補正係数を算出し、この補正係数を、ブロックの各スペクトルへ補正値算出部13にて乗ずることにより、補正周波数係数算出部17へ出力される補正値が算出される。   In the white noise of the plurality of blocks selected in this way, the maximum value of the spectrum belonging to the plurality of blocks is detected by the maximum spectrum detection unit 15, and the minimum value of the coefficient I (m) is calculated by the correction coefficient calculation unit 18. A correction coefficient is calculated by dividing by the maximum value of the spectrum of white noise, and the correction value output to the correction frequency coefficient calculation unit 17 is obtained by multiplying each spectrum of the block by the correction value calculation unit 13. Is calculated.

出力部14での複数のブロックの出力は、例えば図示しない乱数発生器により無作為に任意のブロックを出力部14が第1白色雑音格納部16Lまたは第2白色雑音格納部16Sから選択する。または全てのブロックが均等に選択されるよう周期的にブロックを選択するようにしても良い。例えば、第1白色雑音格納部16Lまたは第2白色雑音格納部16Sの全ブロック「0」〜「31」がそれぞれ1回ずつ選択されるよう、出力するようにしても良い。このように、白色雑音のブロックを無作為または規則的に選択することにより、係数I(m)へ加算される補正値が、特定の白色雑音に偏ることなく平坦化され、より自然な補間処理を実現することが可能となる。   As for the output of the plurality of blocks at the output unit 14, the output unit 14 randomly selects an arbitrary block from the first white noise storage unit 16L or the second white noise storage unit 16S by a random number generator (not shown), for example. Or you may make it select a block periodically so that all the blocks may be selected equally. For example, all the blocks “0” to “31” of the first white noise storage unit 16L or the second white noise storage unit 16S may be output so as to be selected once. In this way, by randomly or regularly selecting a block of white noise, the correction value added to the coefficient I (m) is flattened without being biased to specific white noise, and more natural interpolation processing is performed. Can be realized.

図13は第1白色雑音格納部16Lまたは第2白色雑音格納部16Sの選択処理の手順を示すフローチャートである。ブロック長判別部161は入力されるビットストリームのフレームサイド情報を参照して、ブロック長がロングブロックであるか、ショートブロックであるかの判断を行う(ステップS141)。ブロック長判別部161は判別したブロック長をエネルギ算出部121及び選択部162へ出力する(ステップS142)。選択部162はブロック長判別部161で判別されたブロック長がロングブロックか否かを判断する(ステップS143)。選択部162はロングブロックであると判断した場合(ステップS143でYES)、第1白色雑音格納部16Lを選択し(ステップS144)、ロングブロックであることを示す信号を出力部14へ出力する。   FIG. 13 is a flowchart showing the procedure of the selection process of the first white noise storage unit 16L or the second white noise storage unit 16S. The block length determination unit 161 refers to the frame side information of the input bit stream and determines whether the block length is a long block or a short block (step S141). The block length determination unit 161 outputs the determined block length to the energy calculation unit 121 and the selection unit 162 (step S142). The selection unit 162 determines whether the block length determined by the block length determination unit 161 is a long block (step S143). If the selection unit 162 determines that the block is a long block (YES in step S143), the first white noise storage unit 16L is selected (step S144), and a signal indicating that the block is a long block is output to the output unit 14.

一方、選択部162はロングブロックでないと判断した場合(ステップS143でNO)、第2白色雑音格納部16Sを選択し(ステップS145)、ショートブロックであることを示す信号を出力部14へ出力する。出力部14は、選択部162が第1白色雑音格納部16Lを選択した場合、すなわちブロック長がロングブロックである場合、図4に示す第1白色雑音格納部16Lから、無作為に、または、規則的に選択された複数のブロックを選択する(ステップS146)。同様に、出力部14は、選択部162が第2白色雑音格納部16Sを選択した場合、すなわちブロック長がショートブロックである場合、図12に示す第2白色雑音格納部16Sから、無作為に、または、規則的に選択された複数のブロックを選択する(ステップS146)。なお、このブロックの選択処理手順については後述する。   On the other hand, if the selection unit 162 determines that the block is not a long block (NO in step S143), the second white noise storage unit 16S is selected (step S145), and a signal indicating a short block is output to the output unit 14. . When the selection unit 162 selects the first white noise storage unit 16L, that is, when the block length is a long block, the output unit 14 randomly from the first white noise storage unit 16L illustrated in FIG. A plurality of regularly selected blocks are selected (step S146). Similarly, when the selection unit 162 selects the second white noise storage unit 16S, that is, when the block length is a short block, the output unit 14 randomly selects from the second white noise storage unit 16S illustrated in FIG. Alternatively, a plurality of regularly selected blocks are selected (step S146). This block selection processing procedure will be described later.

出力部14は無作為または規則的に選択した複数のブロックの白色雑音を読み出す(ステップS147)。そして出力部14はこの読み出した白色雑音(スペクトル)を最大スペクトル検出部15へ出力する(ステップS148)。最大スペクトル検出部15はこの出力された白色雑音のスペクトルの絶対値の最大値を検出する。また、出力部14は、無作為または規則的に選択したブロックの白色雑音を補正値算出部13へ出力する(ステップS149)。以降の補正係数の算出及び補正値の算出は実施の形態1及び2で詳述したので説明は省略する。   The output unit 14 reads the white noise of a plurality of blocks selected randomly or regularly (step S147). Then, the output unit 14 outputs the read white noise (spectrum) to the maximum spectrum detection unit 15 (step S148). The maximum spectrum detector 15 detects the maximum absolute value of the spectrum of the output white noise. Further, the output unit 14 outputs the white noise of the block selected randomly or regularly to the correction value calculation unit 13 (step S149). Subsequent calculation of the correction coefficient and calculation of the correction value have been described in detail in the first and second embodiments, and a description thereof will be omitted.

図14はブロックの選択処理の手順を示すフローチャートである。出力部14が第1白色雑音格納部16Lまたは第2白色雑音格納部16Sから一のブロックを選択する手順について説明する。なお、以下ではブロック長はロングブロックであるものとし、第1白色雑音格納部16Lから一のブロックに係る白色雑音を出力する形態について説明する。まず出力部14は図4に示す第1白色雑音格納部16Lのブロック0を選択する(ステップS151)。そして出力部14は第1白色雑音格納部16Lのブロック0に属する18個の白色雑音を最大スペクトル検出部15及び補正値算出部13へ出力する。   FIG. 14 is a flowchart showing the procedure of block selection processing. A procedure in which the output unit 14 selects one block from the first white noise storage unit 16L or the second white noise storage unit 16S will be described. In the following, it is assumed that the block length is a long block, and a mode in which white noise related to one block is output from the first white noise storage unit 16L will be described. First, the output unit 14 selects the block 0 of the first white noise storage unit 16L shown in FIG. 4 (step S151). Then, the output unit 14 outputs 18 white noises belonging to the block 0 of the first white noise storage unit 16L to the maximum spectrum detection unit 15 and the correction value calculation unit 13.

続いて出力部14は次のブロックを選択する(ステップS152)。例えば、ブロック0の選択後はブロック1が選択される。   Subsequently, the output unit 14 selects the next block (step S152). For example, after selecting block 0, block 1 is selected.

出力部14は次のブロック内の白色雑音を第1白色雑音格納部16Lから読み出し、最大スペクトル検出部15及び補正値算出部13へ出力する。出力部14はステップS152で選択したブロックが最終ブロック(図4の例ではブロック31)であるか否かを判断する(ステップS153)。出力部14は、選択したブロックが最終ブロックでないと判断した場合(ステップS153でNO)、ステップS152へ移行し、さらに次のブロックを選択する。   The output unit 14 reads the white noise in the next block from the first white noise storage unit 16 </ b> L and outputs it to the maximum spectrum detection unit 15 and the correction value calculation unit 13. The output unit 14 determines whether or not the block selected in step S152 is the last block (block 31 in the example of FIG. 4) (step S153). If the output unit 14 determines that the selected block is not the final block (NO in step S153), the output unit 14 proceeds to step S152 and further selects the next block.

一方、出力部14は、ステップS152にて選択したブロックが最終ブロックであると判断した場合(ステップS153でYES)、上述の例ではブロック31を選択したと判断した場合、ステップS151へ移行し、次に選択するブロックをブロック0とする。このように規則的に白色雑音のブロックを選択し、また1フレーム、576サンプルすべての白色雑音を均等に選択して出力するので、特定の白色雑音に偏ることなく平坦化され、より自然な補間処理を実現することが可能となる。なお、無作為にブロックを選択する場合、図示しない乱数発生器により発生した数値に対応するブロックを選択するようにすればよい。   On the other hand, if the output unit 14 determines that the block selected in step S152 is the final block (YES in step S153), the output unit 14 proceeds to step S151 if it is determined that the block 31 is selected in the above example. The next block to be selected is block 0. In this way, the white noise block is regularly selected, and the white noise of all 576 samples in one frame is selected and output equally, so that it is flattened without biasing to specific white noise, and more natural interpolation is performed. Processing can be realized. When randomly selecting a block, a block corresponding to a numerical value generated by a random number generator (not shown) may be selected.

本実施の形態4は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至3と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The fourth embodiment is configured as described above, and the other configurations and operations are the same as those of the first to third embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態5
実施の形態4に係る処理を図10で示したパーソナルコンピュータを用いてソフトウェア処理として実現するようにしても良い。図15は実施の形態5に係る信号処理装置20の構成を示すブロック図である。信号処理装置たるパーソナルコンピュータ20を動作させるためのコンピュータプログラムは、本実施の形態5のように、CD−ROM、MO、またはDVD−ROM等の可搬型記録媒体1Aで提供することも可能である。さらに、コンピュータプログラムを、通信部66を介して図示しないサーバコンピュータからダウンロードすることも可能である。以下に、その内容を説明する。
Embodiment 5
The processing according to the fourth embodiment may be realized as software processing using the personal computer shown in FIG. FIG. 15 is a block diagram showing a configuration of the signal processing device 20 according to the fifth embodiment. A computer program for operating the personal computer 20 as a signal processing device can be provided by a portable recording medium 1A such as a CD-ROM, MO, or DVD-ROM as in the fifth embodiment. . Further, the computer program can be downloaded from a server computer (not shown) via the communication unit 66. The contents will be described below.

図15に示すパーソナルコンピュータ20の図示しないリーダ/ライタに、ブロック長を判別させ、白色雑音格納部を選択させ、白色雑音を出力させ、補正後の係数を算出させるコンピュータプログラムが記録された可搬型記録媒体1A(CD−ROM、MO又はDVD−ROM等)を、挿入して記憶部65の制御プログラム内にこのプログラムをインストールする。または、かかるプログラムを、通信部66を介して外部の図示しないサーバコンピュータからダウンロードし、記憶部65にインストールするようにしても良い。かかるプログラムはRAM62にロードして実行される。これにより、上述のような本発明の信号処理装置20として機能する。   A portable computer recorded with a computer program for causing a reader / writer (not shown) of the personal computer 20 shown in FIG. 15 to determine a block length, select a white noise storage unit, output white noise, and calculate a corrected coefficient. The recording medium 1A (CD-ROM, MO, DVD-ROM or the like) is inserted, and this program is installed in the control program of the storage unit 65. Alternatively, such a program may be downloaded from an external server computer (not shown) via the communication unit 66 and installed in the storage unit 65. Such a program is loaded into the RAM 62 and executed. Thereby, it functions as the signal processing apparatus 20 of the present invention as described above.

本実施の形態5は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至4と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The fifth embodiment has the above-described configuration, and the other configurations and operations are the same as those of the first to fourth embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態6
実施の形態6は音響信号の純音性に応じて係数を補正するか否かを判断する形態に関する。図16は実施の形態6に係る復号装置20のハードウェア構成を示すブロック図である。図16に示すように指標値算出部27及び純音性判定部28が新たに設けられている。アンパッキング部22はビットストリームのフレームサイド情報から各周波数帯域のスケールファクタを抽出する。
Embodiment 6
The sixth embodiment relates to a mode for determining whether or not to correct a coefficient according to the pure tone of an acoustic signal. FIG. 16 is a block diagram showing a hardware configuration of decoding apparatus 20 according to the sixth embodiment. As shown in FIG. 16, an index value calculation unit 27 and a pure tone determination unit 28 are newly provided. The unpacking unit 22 extracts the scale factor of each frequency band from the frame side information of the bit stream.

指標値算出部27は、各周波数帯域のスケールファクタの最大値から平均値を減じて純音性の度合いを示す純音性指標値を算出する。算出した純音性指標値は純音性判定部28へ出力される。純音性判定部28の内部の図示しないメモリには基準値が記憶されており、純音性判定部28は入力された純音性指標値と基準値とを比較し、純音か否かを判断する。なお、この基準値は、例えばスケールファクタの最大値が120dBの場合、70dBとすれば良い。   The index value calculation unit 27 calculates a pure tone index value indicating the degree of pure tone by subtracting the average value from the maximum value of the scale factor of each frequency band. The calculated pure tone index value is output to the pure tone determination unit 28. A reference value is stored in a memory (not shown) inside the pure tone determination unit 28, and the pure tone determination unit 28 compares the input pure tone index value with the reference value to determine whether the tone is pure. For example, when the maximum value of the scale factor is 120 dB, the reference value may be 70 dB.

純音性判定部28は、純音性指標値が基準値より小さい場合、純音性が低いと判断し、全周波数帯域の係数I(m)を補間処理部1へ出力し、上述した補間処理が行われる。一方、純音性判定部28は、純音性指標値が基準値より大きい場合、純音性が高いと判断し、全周波数帯域の係数I(m)を補間処理部1へ出力することなく直接周波数時間変換部24へ出力する。このように音響信号の特性に応じて補間処理を実行または実行しないことにより、適切な補間処理が可能となると共に、処理の高速化及び消費電力の低減化を図ることが可能となる。   When the pure tone index value is smaller than the reference value, the pure tone determination unit 28 determines that the pure tone is low, and outputs the coefficient I (m) of the entire frequency band to the interpolation processing unit 1 to perform the above-described interpolation processing. Is called. On the other hand, the pure tone determination unit 28 determines that the pure tone property is high when the pure tone index value is larger than the reference value, and directly outputs the frequency frequency coefficient I (m) to the interpolation processing unit 1 without outputting the coefficient I (m). The data is output to the conversion unit 24. As described above, by performing or not performing the interpolation process according to the characteristics of the acoustic signal, it is possible to perform an appropriate interpolation process, and it is possible to increase the processing speed and reduce the power consumption.

図17は純音性判定処理の手順を示すフローチャートである。まず、アンパッキン部22にてビットストリームのフレームサイド情報から、各周波数帯域のスケールファクタを抽出する(ステップS171)。抽出されたスケールファクタは指標値算出部27へ出力される。指標値算出部27は、各周波数帯域のスケールファクタから最大値を抽出する(ステップS172)。また指標値算出部27は、スケールファクタの平均値を算出する(ステップS173)。指標値算出部27はスケールファクタの最大値から平均値を減じて純音性指標値を算出する(ステップS174)。指標値算出部27は、算出した純音性指標値を純音性判定部28へ出力する(ステップS175)。   FIG. 17 is a flowchart showing the procedure of pure tone determination processing. First, the unpacking unit 22 extracts the scale factor of each frequency band from the frame side information of the bit stream (step S171). The extracted scale factor is output to the index value calculation unit 27. The index value calculation unit 27 extracts the maximum value from the scale factor of each frequency band (step S172). The index value calculation unit 27 calculates the average value of scale factors (step S173). The index value calculation unit 27 calculates the pure tone index value by subtracting the average value from the maximum value of the scale factor (step S174). The index value calculation unit 27 outputs the calculated pure tone index value to the pure tone determination unit 28 (step S175).

純音性判定部28は内部の図示しないメモリから基準値を読み出す(ステップS176)。そして、純音性判定部28は入力された純音性指標値と基準値とを比較し、純音性指標値が読み出した基準値より小さいか否かを判断する(ステップS177)。純音性判定部28は、純音性指標値が基準値より小さいと判断した場合(ステップS177でYES)、純音性が低いと判断し、全周波数帯域の係数I(m)を補間処理部1へ出力する(ステップS178)。   The pure tone determination unit 28 reads a reference value from an internal memory (not shown) (step S176). Then, the pure tone determination unit 28 compares the input pure tone index value with the reference value, and determines whether or not the pure tone index value is smaller than the read reference value (step S177). If the pure tone determination unit 28 determines that the pure tone index value is smaller than the reference value (YES in step S177), the pure tone determination unit 28 determines that the pure tone property is low, and sends the coefficient I (m) of the entire frequency band to the interpolation processing unit 1. Output (step S178).

一方、純音性判定部28は、純音性指標値が基準値より大きいと判断した場合(ステップS177でNO)、純音性が高いと判断し、全周波数帯域の係数I(m)を補間処理部1へ出力することなく直接周波数時間変換部24へ出力する(ステップS179)。なお、本実施の形態6においては純音か否かの判断をスケールファクタに基づいて判断したが、各周波数帯域のパワーに基づいて純音か否かを判断しても良い。この場合、指標値算出部27は各周波数帯域の係数I(m)のパワーの最大値から平均値を減じ、これを純音性指標値として純音性判定部28へ出力する。純音性判定部28には基準値として例えば40dBが記憶されている。純音性判定部28は、純音性指標値がこの基準値よりも小さい場合、純音性が低いと判断し、全周波数帯域の係数I(m)を補間処理部1へ出力する。一方、純音性指標値が基準値よりも大きい場合、純音性が高いと判断し、全周波数帯域の係数I(m)を、補間処理部1を経由することなく周波数時間変換部24へ出力する。なお、これら純音性の判断については特開2002−351500号公報または特開2005−195983号公報に開示の技術を適用すればよい。   On the other hand, when the pure tone determination unit 28 determines that the pure tone index value is larger than the reference value (NO in step S177), the pure tone determination unit 28 determines that the pure tone property is high, and calculates the coefficient I (m) of the entire frequency band as an interpolation processing unit. The data is directly output to the frequency time conversion unit 24 without being output to 1 (step S179). In the sixth embodiment, whether or not the tone is pure is determined based on the scale factor. However, whether or not the tone is pure may be determined based on the power of each frequency band. In this case, the index value calculation unit 27 subtracts the average value from the maximum power value of the coefficient I (m) in each frequency band, and outputs this to the pure tone determination unit 28 as a pure tone index value. For example, 40 dB is stored as a reference value in the pure tone determination unit 28. When the pure tone index value is smaller than the reference value, the pure tone determination unit 28 determines that the pure tone property is low, and outputs the coefficient I (m) of the entire frequency band to the interpolation processing unit 1. On the other hand, when the pure tone index value is larger than the reference value, it is determined that the pure tone is high, and the coefficient I (m) of all frequency bands is output to the frequency time conversion unit 24 without going through the interpolation processing unit 1. . Note that the technique disclosed in Japanese Patent Application Laid-Open No. 2002-351500 or Japanese Patent Application Laid-Open No. 2005-195983 may be applied to the determination of the pure tone.

本実施の形態6は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至5と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The sixth embodiment has the above-described configuration, and the other configurations and operations are the same as those of the first to fifth embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態7
実施の形態6に係る処理を図10で示したパーソナルコンピュータを用いてソフトウェア処理として実現するようにしても良い。図18は実施の形態7に係る信号処理装置20の構成を示すブロック図である。信号処理装置たるパーソナルコンピュータ20を動作させるためのコンピュータプログラムは、本実施の形態7のように、CD−ROM、MO、またはDVD−ROM等の可搬型記録媒体1Aで提供することも可能である。さらに、コンピュータプログラムを、通信部66を介して図示しないサーバコンピュータからダウンロードすることも可能である。以下に、その内容を説明する。
Embodiment 7
The processing according to the sixth embodiment may be realized as software processing using the personal computer shown in FIG. FIG. 18 is a block diagram showing the configuration of the signal processing device 20 according to the seventh embodiment. A computer program for operating the personal computer 20 as a signal processing device can be provided by a portable recording medium 1A such as a CD-ROM, MO, or DVD-ROM as in the seventh embodiment. . Further, the computer program can be downloaded from a server computer (not shown) via the communication unit 66. The contents will be described below.

図18に示すパーソナルコンピュータ20の図示しないリーダ/ライタに、純音性指標値を算出させ、純音性か否かを判定させ、白色雑音を出力させ、純音性か否かに応じて補正後の係数を算出させるコンピュータプログラムが記録された可搬型記録媒体1A(CD−ROM、MO又はDVD−ROM等)を、挿入して記憶部65の制御プログラム内にこのプログラムをインストールする。または、かかるプログラムを、通信部66を介して外部の図示しないサーバコンピュータからダウンロードし、記憶部65にインストールするようにしても良い。かかるプログラムはRAM62にロードして実行される。これにより、上述のような本発明の信号処理装置20として機能する。   A reader / writer (not shown) of the personal computer 20 shown in FIG. 18 calculates a pure tone index value, determines whether or not the tone is pure, outputs white noise, and corrects the coefficient according to whether or not the tone is pure. A portable recording medium 1A (CD-ROM, MO, DVD-ROM, or the like) on which a computer program for calculating is recorded is inserted, and this program is installed in the control program of the storage unit 65. Alternatively, such a program may be downloaded from an external server computer (not shown) via the communication unit 66 and installed in the storage unit 65. Such a program is loaded into the RAM 62 and executed. Thereby, it functions as the signal processing apparatus 20 of the present invention as described above.

本実施の形態7は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至6と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The seventh embodiment has the above-described configuration, and the other configurations and operations are the same as those of the first to sixth embodiments. Therefore, corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態8
実施の形態8はビットレートに応じて補間処理を実行するか否かを判断する形態に関する。図19は実施の形態8に係る復号装置20のハードウェア構成を示すブロック図である。図19に示すようにビットレート取得部210、サンプリング周波数取得部211、ビットレート比較部212、及びテーブル213が新たに設けられている。ビットレート取得部210は音響信号に付随するヘッダに記述されたビットレートインデックスから、音響信号のビットレートを取得する。取得したビットレートはサンプリング周波数取得部211を経てビットレート比較部212へ出力される。
Embodiment 8
The eighth embodiment relates to a mode for determining whether or not to execute an interpolation process according to a bit rate. FIG. 19 is a block diagram showing a hardware configuration of decoding apparatus 20 according to the eighth embodiment. As shown in FIG. 19, a bit rate acquisition unit 210, a sampling frequency acquisition unit 211, a bit rate comparison unit 212, and a table 213 are newly provided. The bit rate acquisition unit 210 acquires the bit rate of the acoustic signal from the bit rate index described in the header attached to the acoustic signal. The acquired bit rate is output to the bit rate comparison unit 212 via the sampling frequency acquisition unit 211.

サンプリング周波数取得部211は音響信号に付随するヘッダに記述されたサンプリング周波数を取得する。サンプリング周波数はMP3方式においては、32kHz、44.1kHz及び48kHzのいずれかが取得される。サンプリング周波数取得部211は取得したサンプリング周波数をビットレート比較部212へ出力する。   The sampling frequency acquisition unit 211 acquires the sampling frequency described in the header attached to the acoustic signal. As the sampling frequency, any of 32 kHz, 44.1 kHz, and 48 kHz is acquired in the MP3 system. The sampling frequency acquisition unit 211 outputs the acquired sampling frequency to the bit rate comparison unit 212.

図20はテーブル213のレコードレイアウトを示す説明図である。テーブル213はサンプリング周波数毎に基準となる基準ビットレートが記憶されている。テーブル213には、各サンプリング周波数32kHz、44.1kHz及び48kHzに対応付けて、ビットレートが記憶されている。32kHzの場合、基準ビットレートは160kbpsと記憶されており、図20のハッチングで囲む160kbpsよりも小さいビットレートの場合、上述した純音性の判断及び補間処理が行われる。   FIG. 20 is an explanatory diagram showing a record layout of the table 213. The table 213 stores a reference bit rate serving as a reference for each sampling frequency. The table 213 stores bit rates in association with the sampling frequencies of 32 kHz, 44.1 kHz, and 48 kHz. In the case of 32 kHz, the reference bit rate is stored as 160 kbps, and in the case of a bit rate smaller than 160 kbps surrounded by hatching in FIG. 20, the above-described determination of pure tone and interpolation processing are performed.

また44.1kHzの場合、基準ビットレートは192kbpsと記憶されており、図20のハッチングで囲む192kbpsよりも小さいビットレートの場合、上述した純音性の判断及び補間処理が行われる。さらに、48kHzの場合、基準ビットレートは224kbpsと記憶されており、図20のハッチングで囲む224kbpsよりも小さいビットレートの場合、上述した純音性の判断及び補間処理が行われる。なお、ATRAC3規格のミニディスクの場合、サンプリング周波数は44.1kHzの一つだけであり、この場合基準ビットレートは292kbpsであり、これよりも小さい、132kbps、105kbps及び66kbpsの場合、上述した純音性の判断及び補間処理が行われる。   In the case of 44.1 kHz, the reference bit rate is stored as 192 kbps, and in the case of a bit rate smaller than 192 kbps surrounded by the hatching in FIG. 20, the above-described determination of pure tone and interpolation processing are performed. Further, in the case of 48 kHz, the reference bit rate is stored as 224 kbps, and in the case of a bit rate smaller than 224 kbps surrounded by hatching in FIG. 20, the above-described determination of pure tone and interpolation processing are performed. In the case of the ATRAC3 standard mini-disc, the sampling frequency is only 44.1 kHz. In this case, the reference bit rate is 292 kbps. Are determined and interpolated.

ビットレート比較部212はサンプリング周波数取得部211から出力されたサンプリング周波数を基に、テーブル213から基準ビットレートを読み出す。そしてビットレート比較部212は、ビットレート取得部210から出力されたビットレートが基準ビットレートよりも小さいか否かを判断する。ビットレート比較部212は、ビットレート取得部210から出力されたビットレートが基準ビットレートよりも小さいと判断した場合、全周波数帯域の係数I(m)を補間処理部1へ出力する。例えば、取得したサンプリング周波数が32kHz、取得したビットレートが、32,64,96または128kbpsの場合、全周波数帯域の係数I(m)は補間処理の対象となる。   The bit rate comparison unit 212 reads the reference bit rate from the table 213 based on the sampling frequency output from the sampling frequency acquisition unit 211. The bit rate comparison unit 212 determines whether the bit rate output from the bit rate acquisition unit 210 is smaller than the reference bit rate. When the bit rate comparison unit 212 determines that the bit rate output from the bit rate acquisition unit 210 is smaller than the reference bit rate, the bit rate comparison unit 212 outputs the coefficient I (m) of the entire frequency band to the interpolation processing unit 1. For example, when the acquired sampling frequency is 32 kHz and the acquired bit rate is 32, 64, 96, or 128 kbps, the coefficient I (m) of the entire frequency band is a target of interpolation processing.

一方、ビットレート取得部210から出力されたビットレートが基準ビットレートよりも小さくないと判断した場合、各周波数帯域の係数I(m)を、補間処理部1を経ることなく、周波数時間変換部24へ直接出力する。例えば、取得したサンプリング周波数が32kHz、取得したビットレートが、160,192,224,256,288,320,352,384,416または448kbpsの場合、各周波数帯域の係数I(m)は補間処理の対象とならない。このように、サンプリング周波数及びビットレートに応じて、補間処理を実行または実行しないよう構成したので、音響信号の状態に適合した最適な補間処理が可能となると共に、処理の高速化または消費電力の低減化を図ることが可能となる。   On the other hand, when it is determined that the bit rate output from the bit rate acquisition unit 210 is not smaller than the reference bit rate, the frequency time conversion unit converts the coefficient I (m) of each frequency band without passing through the interpolation processing unit 1. Output directly to 24. For example, when the acquired sampling frequency is 32 kHz and the acquired bit rate is 160, 192, 224, 256, 288, 320, 352, 384, 416 or 448 kbps, the coefficient I (m) of each frequency band is calculated by the interpolation process. Not eligible. As described above, since the interpolation process is configured to be executed or not executed according to the sampling frequency and the bit rate, it is possible to perform an optimal interpolation process suitable for the state of the acoustic signal, and to increase the processing speed or power consumption. Reduction can be achieved.

図21は比較処理の手順を示すフローチャートである。ビットレート取得部210は音響信号に付随するヘッダに記述されたビットレートインデックスから、音響信号のビットレートを取得する(ステップS211)。ビットレート取得部210は取得したビットレートを、サンプリング周波数取得部211を経てビットレート比較部212へ出力する(ステップS212)。サンプリング周波数取得部211は音響信号に付随するヘッダに記述されたサンプリング周波数を取得する(ステップS213)。サンプリング周波数取得部211は取得したサンプリング周波数をビットレート比較部212へ出力する(ステップS214)。   FIG. 21 is a flowchart showing the comparison process. The bit rate acquisition unit 210 acquires the bit rate of the acoustic signal from the bit rate index described in the header attached to the acoustic signal (step S211). The bit rate acquisition unit 210 outputs the acquired bit rate to the bit rate comparison unit 212 via the sampling frequency acquisition unit 211 (step S212). The sampling frequency acquisition unit 211 acquires the sampling frequency described in the header attached to the acoustic signal (step S213). The sampling frequency acquisition unit 211 outputs the acquired sampling frequency to the bit rate comparison unit 212 (step S214).

ビットレート比較部212はサンプリング周波数取得部211から出力されたサンプリング周波数に対応する、基準ビットレートをテーブル213から読み出す(ステップS215)。そしてビットレート比較部212は、ビットレート取得部210において取得したビットレートが、読み出した基準ビットレートよりも小さいか否かを判断する(ステップS216)。ビットレート取得部210は、取得したビットレートが基準ビットレートよりも小さいと判断した場合(ステップS216でYES)、全周波数帯域の係数I(m)を補間処理部1へ出力する(ステップS217)。   The bit rate comparison unit 212 reads the reference bit rate corresponding to the sampling frequency output from the sampling frequency acquisition unit 211 from the table 213 (step S215). Then, the bit rate comparison unit 212 determines whether or not the bit rate acquired by the bit rate acquisition unit 210 is smaller than the read reference bit rate (step S216). When the bit rate acquisition unit 210 determines that the acquired bit rate is smaller than the reference bit rate (YES in step S216), the bit rate acquisition unit 210 outputs the coefficient I (m) of the entire frequency band to the interpolation processing unit 1 (step S217). .

一方、取得したビットレートが基準ビットレートよりも小さくないと判断した場合(ステップS216でNO)、全周波数帯域の係数I(m)を、補間処理部1を経ることなく、周波数時間変換部24へ直接出力する(ステップS218)。   On the other hand, when it is determined that the acquired bit rate is not smaller than the reference bit rate (NO in step S216), the frequency time conversion unit 24 converts the coefficient I (m) of the entire frequency band without passing through the interpolation processing unit 1. (Step S218).

本実施の形態8は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至7と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The eighth embodiment is configured as described above, and the other configurations and operations are the same as those of the first to seventh embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態9
実施の形態8に係る処理を図10で示したパーソナルコンピュータを用いてソフトウェア処理として実現するようにしても良い。図22は実施の形態9に係る信号処理装置20の構成を示すブロック図である。信号処理装置たるパーソナルコンピュータ20を動作させるためのコンピュータプログラムは、本実施の形態9のように、CD−ROM、MO、またはDVD−ROM等の可搬型記録媒体1Aで提供することも可能である。さらに、コンピュータプログラムを、通信部66を介して図示しないサーバコンピュータからダウンロードすることも可能である。以下に、その内容を説明する。
Embodiment 9
The processing according to the eighth embodiment may be realized as software processing using the personal computer shown in FIG. FIG. 22 is a block diagram showing a configuration of the signal processing device 20 according to the ninth embodiment. A computer program for operating the personal computer 20 as a signal processing device can be provided by a portable recording medium 1A such as a CD-ROM, MO, or DVD-ROM as in the ninth embodiment. . Further, the computer program can be downloaded from a server computer (not shown) via the communication unit 66. The contents will be described below.

図22に示すパーソナルコンピュータ20の図示しないリーダ/ライタに、ビットレートを比較させ、白色雑音を出力させ、ビットレートに応じて補正後の係数を算出させるコンピュータプログラムが記録された可搬型記録媒体1A(CD−ROM、MO又はDVD−ROM等)を、挿入して記憶部65の制御プログラム内にこのプログラムをインストールする。または、かかるプログラムを、通信部66を介して外部の図示しないサーバコンピュータからダウンロードし、記憶部65にインストールするようにしても良い。かかるプログラムはRAM62にロードして実行される。これにより、上述のような本発明の信号処理装置20として機能する。   A portable recording medium 1A on which a computer program for causing a reader / writer (not shown) of the personal computer 20 shown in FIG. 22 to compare bit rates, output white noise, and calculate a corrected coefficient according to the bit rate is recorded. (CD-ROM, MO, DVD-ROM or the like) is inserted and this program is installed in the control program of the storage unit 65. Alternatively, such a program may be downloaded from an external server computer (not shown) via the communication unit 66 and installed in the storage unit 65. Such a program is loaded into the RAM 62 and executed. Thereby, it functions as the signal processing apparatus 20 of the present invention as described above.

本実施の形態9は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至8と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The ninth embodiment is configured as described above, and the other configurations and operations are the same as those of the first to eighth embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態10
実施の形態10は、符号化音響信号または符号化映像信号の周波数帯域内に零の直交変換係数が存在するか否かを判断し、存在する場合に当該周波数帯域に白色雑音源に係る直交変換係数を付加する形態に関する。図23は実施の形態10に係る補間処理部1のハードウェア構成を示すブロック図である。図における補間処理部1を備える復号装置20は、所定時間のフレーム単位毎に直交変換された音響信号または映像信号を符号化した符号化音響信号または符号化映像信号を逆量子化して処理する。本実施の形態においては符号化音響信号を処理する形態について説明し、また直交変換の方式としてMDCTを用いた例について説明するが、これに限るものではなく符号化映像信号を用い、また直交変換の方式としてDCTまたはFFT(Fast Fourier Transform)等を用いても良い。
Embodiment 10
In the tenth embodiment, it is determined whether or not a zero orthogonal transform coefficient is present in the frequency band of the encoded audio signal or the encoded video signal, and if present, the orthogonal transform related to the white noise source is present in the frequency band. The present invention relates to a form of adding a coefficient. FIG. 23 is a block diagram illustrating a hardware configuration of the interpolation processing unit 1 according to the tenth embodiment. The decoding device 20 including the interpolation processing unit 1 in the figure performs inverse quantization on the encoded audio signal or encoded video signal obtained by encoding the audio signal or video signal orthogonally transformed for each frame unit for a predetermined time and processes it. In the present embodiment, a mode for processing an encoded audio signal will be described, and an example in which MDCT is used as a method of orthogonal transform will be described. However, the present invention is not limited to this, and an encoded video signal is used and orthogonal transform is performed. DCT or FFT (Fast Fourier Transform) may be used as the method.

実施の形態10に係る補間処理部1は、係数判断部30、付加部31、補正係数算出部18、補正値算出部13、出力部14及び白色雑音格納部16を含んで構成される。なお、補正係数算出部18、補正値算出部13、出力部14及び白色雑音格納部16は実施の形態1乃至9で述べたものと同じであるので詳細な説明は省略する。逆量子化された係数I(m)は係数判断部30に入力される。係数判断部30は、周波数帯域毎にスペクトル(直交変換係数)が零の係数I(m)が存在するか否かを判断する。   The interpolation processing unit 1 according to the tenth embodiment includes a coefficient determination unit 30, an addition unit 31, a correction coefficient calculation unit 18, a correction value calculation unit 13, an output unit 14, and a white noise storage unit 16. Since the correction coefficient calculation unit 18, the correction value calculation unit 13, the output unit 14, and the white noise storage unit 16 are the same as those described in the first to ninth embodiments, detailed description thereof is omitted. The inversely quantized coefficient I (m) is input to the coefficient determining unit 30. The coefficient determination unit 30 determines whether or not there is a coefficient I (m) having a zero spectrum (orthogonal transform coefficient) for each frequency band.

係数判断部30は、周波数帯域内にスペクトル零の係数I(m)が存在すると判断した場合、当該周波数帯域にフラグを設定した上で係数I(m)を付加部31へ出力する。一方、係数判断部30は、周波数帯域内にスペクトル零の係数I(m)が存在しないと判断した場合、当該周波数帯域内にフラグを設定することなく、係数I(m)を付加部31へ出力する。白色雑音源である白色雑音格納部16には、上述したフレームに対応する時間の白色雑音を複数の帯域(ブロック)に分割し、帯域毎に直交変換した直交変換係数(白色雑音のスペクトル)により構成されている。なお、本実施の形態においては図4に示すロングブロックに係る白色雑音を適用した例について説明する。   When the coefficient determination unit 30 determines that the spectrum zero coefficient I (m) exists in the frequency band, the coefficient determination unit 30 sets the flag in the frequency band and outputs the coefficient I (m) to the addition unit 31. On the other hand, when the coefficient determination unit 30 determines that the spectrum zero coefficient I (m) does not exist in the frequency band, the coefficient I (m) is sent to the addition unit 31 without setting a flag in the frequency band. Output. The white noise storage unit 16 as the white noise source divides the white noise of the time corresponding to the above-described frame into a plurality of bands (blocks), and performs orthogonal transform coefficients (white noise spectrum) obtained by orthogonal transform for each band. It is configured. In the present embodiment, an example in which white noise according to the long block shown in FIG.

出力部14は白色雑音格納部16から実施の形態4で述べた如く所定の帯域、すなわち無作為または規則的に選択されたブロックに係る白色雑音のスペクトル(直交変換係数)を読み出し、この読み出した白色雑音のスペクトルを補正値算出部13へ出力する。一方、実施の形態1及び2で述べた補正係数算出部18からは、算出された補正係数が補正値算出部13へ出力される。補正値算出部13は出力された補正係数を出力部14から出力されたブロックに係る白色雑音のスペクトルに乗じ、補正値を算出する。補正値算出部13は算出した補正値を付加部31へ出力する。付加部31は、係数判断部30から出力された周波数帯域に係る係数I(m)のうち、フラグが設定された周波数帯域に係る係数I(m)に、補正値算出部13から出力された補正値、すなわち白色雑音源から読み出した所定の帯域に係る直交変換係数に関する値を付加する。なお、白色雑音のスペクトルの付加は、スペクトルが0の係数I(m)に対してのみ行っても良い。また、本実施の形態においては、白色雑音格納部16に格納された所定帯域の白色雑音のスペクトルに補正係数算出部18で算出した補正値を補正値算出部13で乗じる演算を行うよう構成したが、この乗算処理を行うことなく、そのまま所定帯域の白色雑音のスペクトルを付加部31へ出力するようにしても良い。   The output unit 14 reads the white noise spectrum (orthogonal transform coefficient) associated with a predetermined band, that is, a randomly or regularly selected block, from the white noise storage unit 16 as described in the fourth embodiment. The spectrum of white noise is output to the correction value calculation unit 13. On the other hand, from the correction coefficient calculation unit 18 described in the first and second embodiments, the calculated correction coefficient is output to the correction value calculation unit 13. The correction value calculation unit 13 multiplies the output correction coefficient by the white noise spectrum related to the block output from the output unit 14 to calculate a correction value. The correction value calculation unit 13 outputs the calculated correction value to the addition unit 31. The adding unit 31 outputs the coefficient I (m) related to the frequency band for which the flag is set out of the coefficient I (m) related to the frequency band output from the coefficient determining unit 30 to the coefficient I (m) output from the correction value calculating unit 13. A correction value, that is, a value related to an orthogonal transform coefficient related to a predetermined band read from the white noise source is added. The white noise spectrum may be added only to the coefficient I (m) having a spectrum of zero. In the present embodiment, the correction value calculation unit 13 performs an operation of multiplying the correction value calculated by the correction coefficient calculation unit 18 by the white noise spectrum of the predetermined band stored in the white noise storage unit 16. However, the white noise spectrum of the predetermined band may be output to the adding unit 31 as it is without performing this multiplication processing.

図24は白色雑音の付加処理の手順を示すフローチャートである。係数判断部30は周波数帯域内にスペクトル0の係数が存在するか否かを判断する(ステップS251)。係数判断部30は少なくとも一つスペクトル0の係数が存在すると判断した場合(ステップS251でYES)、当該周波数帯域にフラグを設定する(ステップS252)。なお、ステップS251においては少なくとも一つスペクトル0の係数が存在した場合にフラグを設定するよう構成したが、スペクトルが0の係数が所定数存在する場合に、フラグを設定するようにしても良い。一方、係数判断部30は周波数帯域内にスペクトル0の係数が存在しないと判断した場合(ステップS251でNO)、ステップS252の処理をスキップする。そして、係数判断部30は全ての周波数帯域に対してステップS251の処理を行ったか否かを判断する(ステップS253)。   FIG. 24 is a flowchart showing a procedure of white noise addition processing. The coefficient determination unit 30 determines whether there is a coefficient of spectrum 0 in the frequency band (step S251). If it is determined that there is at least one spectrum 0 coefficient (YES in step S251), the coefficient determination unit 30 sets a flag in the frequency band (step S252). In step S251, the flag is set when at least one coefficient of spectrum 0 exists. However, the flag may be set when a predetermined number of coefficients of spectrum 0 exist. On the other hand, when the coefficient determination unit 30 determines that there is no spectrum 0 coefficient in the frequency band (NO in step S251), the process of step S252 is skipped. Then, the coefficient determining unit 30 determines whether or not the process of step S251 has been performed for all frequency bands (step S253).

係数判断部30は全ての周波数帯域に対する処理を行っていないと判断した場合(ステップS253でNO)、ステップS251へ移行し、以上の処理を繰り返す。一方、係数判断部30は全ての周波数帯域に対して処理を終了したと判断した場合(ステップS253でYES)、各周波数帯域の係数及びフラグ設定の有無を示す情報を付加部31へ出力する。出力部14は白色雑音格納部16から実施の形態4で述べた如く無作為または規則的に選択されたブロックに係る白色雑音のスペクトルを読み出し、この読み出した白色雑音のスペクトルを補正値算出部13へ出力する。補正係数算出部18からは、算出された補正係数が補正値算出部13へ出力される。補正値算出部13は出力された補正係数を出力部14から出力されたブロックに係る白色雑音のスペクトルに乗じ、補正値を算出する。補正値算出部13は算出した補正値を付加部31へ出力する。付加部31は、フラグが設定された周波数帯域に白色雑音格納部16から読み出された補正値を付加する(ステップS254)。付加部31は、フラグが設定された他の周波数帯域の係数に対しても同様に、無作為または規則的に選択されたブロックに係る白色雑音のスペクトルに基づく補正値を付加する。付加部31は付加した後の周波数帯域の係数を周波数時間変換部24へ出力する一方で、フラグが設定されていない周波数帯域に係る係数を、白色雑音のスペクトルに基づく補正値を付加することなく周波数時間変換部24へ出力する。   If the coefficient determination unit 30 determines that processing for all frequency bands has not been performed (NO in step S253), the process proceeds to step S251, and the above processing is repeated. On the other hand, when the coefficient determination unit 30 determines that the processing has been completed for all frequency bands (YES in step S253), the coefficient determination unit 30 outputs information indicating the coefficient of each frequency band and the presence / absence of flag setting to the addition unit 31. As described in the fourth embodiment, the output unit 14 reads the spectrum of the white noise related to the block selected randomly or regularly as described in the fourth embodiment, and the correction value calculation unit 13 reads the spectrum of the read white noise. Output to. From the correction coefficient calculation unit 18, the calculated correction coefficient is output to the correction value calculation unit 13. The correction value calculation unit 13 multiplies the output correction coefficient by the white noise spectrum related to the block output from the output unit 14 to calculate a correction value. The correction value calculation unit 13 outputs the calculated correction value to the addition unit 31. The adding unit 31 adds the correction value read from the white noise storage unit 16 to the frequency band for which the flag is set (step S254). Similarly, the adding unit 31 adds a correction value based on the spectrum of white noise related to a block selected randomly or regularly to the coefficient of another frequency band in which the flag is set. The addition unit 31 outputs the added frequency band coefficient to the frequency time conversion unit 24, while adding the correction value based on the spectrum of white noise to the coefficient related to the frequency band for which the flag is not set. It outputs to the frequency time conversion part 24.

本実施の形態10は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至9と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The tenth embodiment has the above-described configuration, and the other configurations and operations are the same as those of the first to ninth embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態11
実施の形態10に係る処理を図10で示したパーソナルコンピュータを用いてソフトウェア処理として実現するようにしても良い。図25は実施の形態11に係る信号処理装置20の構成を示すブロック図である。信号処理装置たるパーソナルコンピュータ20を動作させるためのコンピュータプログラムは、本実施の形態11のように、CD−ROM、MO、またはDVD−ROM等の可搬型記録媒体1Aで提供することも可能である。さらに、コンピュータプログラムを、通信部66を介して図示しないサーバコンピュータからダウンロードすることも可能である。以下に、その内容を説明する。
Embodiment 11
The processing according to the tenth embodiment may be realized as software processing using the personal computer shown in FIG. FIG. 25 is a block diagram showing a configuration of the signal processing device 20 according to the eleventh embodiment. A computer program for operating the personal computer 20 as a signal processing device can be provided on a portable recording medium 1A such as a CD-ROM, MO, or DVD-ROM as in the eleventh embodiment. . Further, the computer program can be downloaded from a server computer (not shown) via the communication unit 66. The contents will be described below.

図25に示すパーソナルコンピュータ20の図示しないリーダ/ライタに、係数の存否を判断させ、係数を付加させるコンピュータプログラムが記録された可搬型記録媒体1A(CD−ROM、MO又はDVD−ROM等)を、挿入して記憶部65の制御プログラム内にこのプログラムをインストールする。または、かかるプログラムを、通信部66を介して外部の図示しないサーバコンピュータからダウンロードし、記憶部65にインストールするようにしても良い。かかるプログラムはRAM62にロードして実行される。これにより、上述のような本発明の信号処理装置20として機能する。   A portable recording medium 1A (CD-ROM, MO, DVD-ROM or the like) on which a computer program for causing a reader / writer (not shown) of the personal computer 20 shown in FIG. And insert this program into the control program of the storage unit 65. Alternatively, such a program may be downloaded from an external server computer (not shown) via the communication unit 66 and installed in the storage unit 65. Such a program is loaded into the RAM 62 and executed. Thereby, it functions as the signal processing apparatus 20 of the present invention as described above.

本実施の形態11は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至10と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The eleventh embodiment is configured as described above, and the other configurations and operations are the same as those of the first to tenth embodiments. Accordingly, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

信号処理装置たる復号装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the decoding apparatus which is a signal processing apparatus. 周波数に対するIMDCT係数の変化を示すグラフである。It is a graph which shows the change of the IMDCT coefficient with respect to a frequency. 補間処理部のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of an interpolation process part. 白色雑音格納部のレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a white noise storage part. 補正後の係数の算出手順を示すフローチャートである。It is a flowchart which shows the calculation procedure of the coefficient after correction | amendment. 実施の形態2に係る補間処理部のハードウェア構成を示すブロック図である。6 is a block diagram illustrating a hardware configuration of an interpolation processing unit according to Embodiment 2. FIG. 補正後の最小値の算出処理手順を示すフローチャートである。It is a flowchart which shows the calculation process procedure of the minimum value after correction | amendment. 判断部を用いない場合と、用いた場合との補正係数の比較を示すグラフである。It is a graph which shows the comparison of the correction coefficient with the case where a judgment part is not used, and the case where it uses. 従来技術との比較結果を示すグラフである。It is a graph which shows the comparison result with a prior art. 実施の形態3に係る信号処理装置の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a signal processing device according to a third embodiment. 実施の形態4に係る補間処理部のハードウェア構成を示すブロック図である。FIG. 10 is a block diagram illustrating a hardware configuration of an interpolation processing unit according to a fourth embodiment. 第2白色雑音格納部のレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a 2nd white noise storage part. 第1白色雑音格納部または第2白色雑音格納部の選択処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the selection process of a 1st white noise storage part or a 2nd white noise storage part. ブロックの選択処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the selection process of a block. 実施の形態5に係る信号処理装置の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a signal processing device according to a fifth embodiment. 実施の形態6に係る復号装置のハードウェア構成を示すブロック図である。FIG. 20 is a block diagram showing a hardware configuration of a decoding apparatus according to a sixth embodiment. 純音性判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a pure tone determination process. 実施の形態7に係る信号処理装置の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a signal processing device according to a seventh embodiment. 実施の形態8に係る復号装置のハードウェア構成を示すブロック図である。FIG. 20 is a block diagram illustrating a hardware configuration of a decoding device according to an eighth embodiment. テーブルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a table. 比較処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a comparison process. 実施の形態9に係る信号処理装置の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a signal processing device according to a ninth embodiment. 実施の形態10に係る補間処理部のハードウェア構成を示すブロック図である。FIG. 22 is a block diagram illustrating a hardware configuration of an interpolation processing unit according to the tenth embodiment. 白色雑音の付加処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the white noise addition process. 実施の形態11に係る信号処理装置の構成を示すブロック図である。FIG. 20 is a block diagram showing a configuration of a signal processing device according to Embodiment 11. 従来の復号装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the conventional decoder.

符号の説明Explanation of symbols

1 補間処理部
12 最小値検出部
13 補正値算出部
14 出力部
15 最大スペクトル検出部
16 白色雑音格納部
17 補正周波数係数算出部
18 補正係数算出部
20 復号装置(信号処理装置、パーソナルコンピュータ)
21 音響信号入力部
22 アンパッキング部
23 逆量子化部
24 周波数時間変換部
25 周波数帯域合成部
26 音響信号出力部
27 指標値算出部
28 純音性判定部
30 係数判断部
31 付加部
121 エネルギ算出部
122 前フレームエネルギ保存部
123 エネルギ変化率算出部
124 判断部
125 最小値変化率算出部
126 最小値補正部
127 補正最小値設定部
128 最小値設定部
129 前フレーム最小値保存部
161 ブロック長判別部
162 選択部
210 ビットレート取得部
211 サンプリング周波数取得部
212 ビットレート比較部
213 テーブル
1A 可搬型記録媒体
16L 第1白色雑音格納部
16S 第2白色雑音格納部
DESCRIPTION OF SYMBOLS 1 Interpolation processing part 12 Minimum value detection part 13 Correction value calculation part 14 Output part 15 Maximum spectrum detection part 16 White noise storage part 17 Correction frequency coefficient calculation part 18 Correction coefficient calculation part 20 Decoding apparatus (signal processing apparatus, personal computer)
DESCRIPTION OF SYMBOLS 21 Acoustic signal input part 22 Unpacking part 23 Inverse quantization part 24 Frequency time conversion part 25 Frequency band synthetic | combination part 26 Acoustic signal output part 27 Index value calculation part 28 Pure tone determination part 30 Coefficient judgment part 31 Addition part 121 Energy calculation part 122 previous frame energy storage unit 123 energy change rate calculation unit 124 determination unit 125 minimum value change rate calculation unit 126 minimum value correction unit 127 corrected minimum value setting unit 128 minimum value setting unit 129 previous frame minimum value storage unit 161 block length determination unit 162 selection unit 210 bit rate acquisition unit 211 sampling frequency acquisition unit 212 bit rate comparison unit 213 table 1A portable recording medium 16L first white noise storage unit 16S second white noise storage unit

Claims (11)

符号化音響信号を逆量子化した音響信号を処理する信号処理方法において、
逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する指標値算出ステップと、
該指標値算出ステップにより算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する純音性判定ステップと、
白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、
前記純音性判定ステップにより音響信号が純音と判断されなかった場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップと
逆量子化した音響信号の係数のレベルを検出するレベル検出ステップと、
前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出ステップと、
前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出ステップとを備え、
前記レベル検出ステップは、前記逆量子化した音響信号の係数の零を除く最小値を検出し、
前記補正周波数係数算出ステップは、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出する
ことを特徴とする信号処理方法。
In a signal processing method for processing an acoustic signal obtained by dequantizing an encoded acoustic signal,
An index value calculating step for calculating a pure tone index value indicating a degree of pure tone of the dequantized acoustic signal;
A pure tone determination step of determining whether the acoustic signal is a pure tone by comparing the pure tone index value calculated by the index value calculation step with a reference value stored in advance;
An output step of outputting white noise from a white noise storage unit storing white noise;
Correction frequency coefficient calculation for calculating a corrected coefficient by adding a value related to white noise output by the output step to each coefficient of the acoustic signal when the sound signal is not determined to be pure sound by the pure tone determination step Steps ,
A level detection step for detecting the level of the coefficient of the dequantized acoustic signal;
A correction coefficient calculation step of calculating a correction coefficient based on the white noise output from the white noise storage unit and the level;
A correction value calculating step of calculating a correction value by multiplying the white noise stored in the white noise storage unit by the correction coefficient,
The level detection step detects a minimum value excluding zero of the coefficient of the dequantized acoustic signal,
The correction frequency coefficient calculation step includes calculating a corrected coefficient by adding the correction value to a coefficient of an acoustic signal obtained by inverse quantization as a value related to white noise .
符号化音響信号を逆量子化した音響信号を処理する信号処理方法において、
音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断するビットレート比較ステップと、
白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、
前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップとを備え、
前記ビットレート比較ステップは、音響信号のサンプリング周波数に対応する基準ビットレートを、サンプリング周波数毎に基準となる基準ビットレートを記憶したテーブルから読み出し、前記音響信号のビットレートが、前記読み出した基準ビットレートよりも小さいか否かを判断し、
前記補正周波数係数算出ステップは、前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各周波数帯域の係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する
ことを特徴とする信号処理方法。
In a signal processing method for processing an acoustic signal obtained by dequantizing an encoded acoustic signal,
A bit rate comparison step for determining whether the bit rate of the acoustic signal is smaller than a pre-stored reference bit rate;
An output step of outputting white noise from a white noise storage unit storing white noise;
When the bit rate comparison step determines that the bit rate of the acoustic signal is smaller than a reference bit rate, the coefficient after correction is performed by adding a value relating to the white noise output by the output step to each coefficient of the acoustic signal. a correction frequency coefficient computing step of calculating,
The bit rate comparison step reads a reference bit rate corresponding to a sampling frequency of the acoustic signal from a table storing a reference bit rate serving as a reference for each sampling frequency, and the bit rate of the acoustic signal is the read reference bit. Determine if it is less than the rate,
In the correction frequency coefficient calculation step, when it is determined by the bit rate comparison step that the bit rate of the acoustic signal is smaller than a reference bit rate, the white color output by the output step to the coefficient of each frequency band of the acoustic signal A signal processing method, wherein a coefficient after correction is calculated by adding a value related to noise .
符号化音響信号を逆量子化した音響信号を処理する信号処理装置において、
逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する指標値算出部と、
該指標値算出部により算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する純音性判定部と、
白色雑音を格納した白色雑音格納部から白色雑音を出力する出力部と、
前記純音性判定部により音響信号が純音と判断されなかった場合に、前記音響信号の各係数に前記出力部から出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出部と
逆量子化した音響信号の係数のレベルを検出するレベル検出部と、
前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出部と、
前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出部とを備え、
前記レベル検出部は、前記逆量子化した音響信号の係数の零を除く最小値を検出するよう構成してあり、
前記補正周波数係数算出部は、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出するよう構成してある
ことを特徴とする信号処理装置。
In a signal processing apparatus that processes an acoustic signal obtained by dequantizing an encoded acoustic signal,
An index value calculation unit that calculates a pure tone index value indicating a degree of pure tone of the dequantized acoustic signal;
A pure tone determination unit that determines whether the acoustic signal is a pure tone by comparing the pure tone index value calculated by the index value calculation unit with a reference value stored in advance;
An output unit for outputting white noise from a white noise storage unit storing white noise;
Corrected frequency coefficient calculation that calculates a corrected coefficient by adding a value related to white noise output from the output unit to each coefficient of the acoustic signal when the pure tone determination unit does not determine that the acoustic signal is pure tone and parts,
A level detector for detecting the level of the coefficient of the dequantized acoustic signal;
A correction coefficient calculation unit that calculates a correction coefficient based on the white noise output from the white noise storage unit and the level; and
A correction value calculation unit that calculates a correction value by multiplying the white noise stored in the white noise storage unit by the correction coefficient,
The level detection unit is configured to detect a minimum value excluding zero of the coefficient of the dequantized acoustic signal,
The signal processing apparatus, wherein the correction frequency coefficient calculation unit is configured to add the correction value to a coefficient of an acoustic signal that has been dequantized as a value related to white noise to calculate a corrected coefficient .
前記指標値算出部は、各周波数帯域のスケールファクタに関する値の最大値から平均値を減じた値を純音性指標値とするよう構成してあることを特徴とする請求項3に記載の信号処理装置。   4. The signal processing according to claim 3, wherein the index value calculation unit is configured to use a value obtained by subtracting an average value from a maximum value related to a scale factor of each frequency band as a pure tone index value. apparatus. 符号化音響信号を逆量子化した音響信号を処理する信号処理装置において、
音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断するビットレート比較部と、
白色雑音を格納した白色雑音格納部から白色雑音を出力する出力部と、
前記ビットレート比較部により、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各係数に前記出力部から出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出部と
サンプリング周波数毎に基準となる基準ビットレートを記憶したテーブルとを備え、
前記ビットレート比較部は、音響信号のサンプリング周波数に対応する基準ビットレートを前記テーブルから読み出し、前記音響信号のビットレートが、前記読み出した基準ビットレートよりも小さいか否かを判断するよう構成してあり、
前記補正周波数係数算出部は、前記ビットレート比較部により、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各周波数帯域の係数に前記出力部から出力した白色雑音に関する値を加算して補正後の係数を算出するよう構成してある
ことを特徴とする信号処理装置。
In a signal processing apparatus that processes an acoustic signal obtained by dequantizing an encoded acoustic signal,
A bit rate comparison unit for determining whether the bit rate of the acoustic signal is smaller than a reference bit rate stored in advance;
An output unit for outputting white noise from a white noise storage unit storing white noise;
When the bit rate comparison unit determines that the bit rate of the acoustic signal is smaller than the reference bit rate, the coefficient after correction by adding a value related to white noise output from the output unit to each coefficient of the acoustic signal a correction frequency coefficient calculation unit for calculating a,
A table storing a reference bit rate that is a reference for each sampling frequency, and
The bit rate comparison unit is configured to read a reference bit rate corresponding to a sampling frequency of an acoustic signal from the table and determine whether the bit rate of the acoustic signal is smaller than the read reference bit rate. And
When the bit rate comparison unit determines that the bit rate of the acoustic signal is smaller than a reference bit rate by the bit rate comparison unit, the corrected frequency coefficient calculation unit outputs the white color output from the output unit to the coefficient of each frequency band of the acoustic signal A signal processing apparatus configured to calculate a corrected coefficient by adding a value related to noise .
逆量子化した音響信号の係数のレベルを検出するレベル検出部と、
前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出部と、
前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出部とをさらに備え、
前記補正周波数係数算出部は、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出するよう構成してあることを特徴とする請求項に記載の信号処理装置。
A level detector for detecting the level of the coefficient of the dequantized acoustic signal;
A correction coefficient calculation unit that calculates a correction coefficient based on the white noise output from the white noise storage unit and the level; and
A correction value calculation unit that calculates a correction value by multiplying the white noise stored in the white noise storage unit by the correction coefficient;
It said correction frequency coefficient computing unit, to claim 5, characterized in that the correction value are configured to calculate a corrected coefficient by adding the coefficients of the acoustic signal dequantized as a value relating to white noise The signal processing apparatus as described.
前記レベル検出部は、前記逆量子化した音響信号の係数の零を除く最小値を検出するよう構成してあることを特徴とする請求項に記載の信号処理装置。 The signal processing apparatus according to claim 6 , wherein the level detection unit is configured to detect a minimum value excluding zero of a coefficient of the dequantized acoustic signal. 前記補正係数算出部は、前記レベル検出部で検出したレベルを前記白色雑音格納部に格納された白色雑音のレベルで除すことにより補正係数を算出するよう構成してあることを特徴とする請求項3または6に記載の信号処理装置。 The correction coefficient calculation unit is configured to calculate a correction coefficient by dividing a level detected by the level detection unit by a level of white noise stored in the white noise storage unit. Item 7. The signal processing device according to Item 3 or 6 . 前記白色雑音のレベルは、前記白色雑音格納部に格納された白色雑音の最大値または平均値であることを特徴とする請求項に記載の信号処理装置。 The signal processing apparatus according to claim 8 , wherein the level of the white noise is a maximum value or an average value of the white noise stored in the white noise storage unit. 符号化音響信号を逆量子化した音響信号をコンピュータで処理するためのコンピュータプログラムにおいて、
コンピュータに、
逆量子化した音響信号の純音性の度合いを示す純音性指標値を算出する指標値算出ステップと、
該指標値算出ステップにより算出した純音性指標値を予め記憶した基準値と比較して、音響信号が純音か否かを判断する純音性判定ステップと、
白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、
前記純音性判定ステップにより音響信号が純音と判断されなかった場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップと
逆量子化した音響信号の係数のレベルを検出するレベル検出ステップと、
前記白色雑音格納部から出力される白色雑音及び前記レベルに基づき補正係数を算出する補正係数算出ステップと、
前記補正係数を前記白色雑音格納部に格納された白色雑音に乗じて補正値を算出する補正値算出ステップとを実行させ、
前記レベル検出ステップは、前記逆量子化した音響信号の係数の零を除く最小値を検出し、
前記補正周波数係数算出ステップは、前記補正値を白色雑音に関する値として逆量子化した音響信号の係数に加算して補正後の係数を算出する
ことを特徴とするコンピュータプログラム。
In a computer program for processing an acoustic signal obtained by dequantizing an encoded acoustic signal by a computer,
On the computer,
An index value calculating step for calculating a pure tone index value indicating a degree of pure tone of the dequantized acoustic signal;
A pure tone determination step of determining whether the acoustic signal is a pure tone by comparing the pure tone index value calculated by the index value calculation step with a reference value stored in advance;
An output step of outputting white noise from a white noise storage unit storing white noise;
Correction frequency coefficient calculation for calculating a corrected coefficient by adding a value related to white noise output by the output step to each coefficient of the acoustic signal when the sound signal is not determined to be pure sound by the pure tone determination step Steps ,
A level detection step for detecting the level of the coefficient of the dequantized acoustic signal;
A correction coefficient calculation step of calculating a correction coefficient based on the white noise output from the white noise storage unit and the level;
A correction value calculation step of calculating a correction value by multiplying the white noise stored in the white noise storage unit by the correction coefficient;
The level detection step detects a minimum value excluding zero of the coefficient of the dequantized acoustic signal,
The corrected frequency coefficient calculating step calculates the corrected coefficient by adding the correction value to the coefficient of the acoustic signal obtained by inverse quantization as a value related to white noise.
A computer program characterized by the above .
符号化音響信号を逆量子化した音響信号をコンピュータで処理するためのコンピュータプログラムにおいて、
コンピュータに、
音響信号のビットレートが予め記憶した基準ビットレートよりも小さいか否かを判断するビットレート比較ステップと、
白色雑音を格納した白色雑音格納部から白色雑音を出力する出力ステップと、
前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する補正周波数係数算出ステップとを実行させ、
前記ビットレート比較ステップは、音響信号のサンプリング周波数に対応する基準ビットレートを、サンプリング周波数毎に基準となる基準ビットレートを記憶したテーブルから読み出し、前記音響信号のビットレートが、前記読み出した基準ビットレートよりも小さいか否かを判断し、
前記補正周波数係数算出ステップは、前記ビットレート比較ステップにより、音響信号のビットレートが基準ビットレートよりも小さいと判断した場合に、前記音響信号の各周波数帯域の係数に前記出力ステップにより出力した白色雑音に関する値を加算して補正後の係数を算出する
ことを特徴とするコンピュータプログラム。
In a computer program for processing an acoustic signal obtained by dequantizing an encoded acoustic signal by a computer,
On the computer,
A bit rate comparison step for determining whether the bit rate of the acoustic signal is smaller than a pre-stored reference bit rate;
An output step of outputting white noise from a white noise storage unit storing white noise;
When the bit rate comparison step determines that the bit rate of the acoustic signal is smaller than a reference bit rate, the coefficient after correction is performed by adding a value relating to the white noise output by the output step to each coefficient of the acoustic signal. to execute the correction frequency coefficient computing step of calculating,
The bit rate comparison step reads a reference bit rate corresponding to a sampling frequency of the acoustic signal from a table storing a reference bit rate serving as a reference for each sampling frequency, and the bit rate of the acoustic signal is the read reference bit. Determine if it is less than the rate,
In the correction frequency coefficient calculation step, when it is determined by the bit rate comparison step that the bit rate of the acoustic signal is smaller than a reference bit rate, the white color output by the output step to the coefficient of each frequency band of the acoustic signal Calculate the corrected coefficient by adding noise values
A computer program characterized by the above .
JP2006139401A 2006-05-18 2006-05-18 Signal processing method, signal processing apparatus, and computer program Expired - Fee Related JP4004525B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2006139401A JP4004525B1 (en) 2006-05-18 2006-05-18 Signal processing method, signal processing apparatus, and computer program
US11/702,649 US20070270987A1 (en) 2006-05-18 2007-02-06 Signal processing method, signal processing apparatus and recording medium
DE602007013834T DE602007013834D1 (en) 2006-05-18 2007-05-07 Signal processing method, signal processing device and recording medium
EP07009175A EP1858007B1 (en) 2006-05-18 2007-05-07 Signal processing method, signal processing apparatus and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006139401A JP4004525B1 (en) 2006-05-18 2006-05-18 Signal processing method, signal processing apparatus, and computer program

Publications (2)

Publication Number Publication Date
JP4004525B1 true JP4004525B1 (en) 2007-11-07
JP2007310164A JP2007310164A (en) 2007-11-29

Family

ID=38769824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006139401A Expired - Fee Related JP4004525B1 (en) 2006-05-18 2006-05-18 Signal processing method, signal processing apparatus, and computer program

Country Status (1)

Country Link
JP (1) JP4004525B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5189760B2 (en) * 2006-12-15 2013-04-24 シャープ株式会社 Signal processing method, signal processing apparatus, and program
JP2010060989A (en) * 2008-09-05 2010-03-18 Sony Corp Operating device and method, quantization device and method, audio encoding device and method, and program

Also Published As

Publication number Publication date
JP2007310164A (en) 2007-11-29

Similar Documents

Publication Publication Date Title
US9659573B2 (en) Signal processing apparatus and signal processing method, encoder and encoding method, decoder and decoding method, and program
RU2439720C1 (en) Method and device for sound signal processing
AU2002318813B2 (en) Audio signal decoding device and audio signal encoding device
US7328161B2 (en) Audio decoding method and apparatus which recover high frequency component with small computation
US20090192789A1 (en) Method and apparatus for encoding/decoding audio signals
JP2005202248A (en) Audio encoding device and frame region allocating circuit of audio encoding device
JP5326465B2 (en) Audio decoding method, apparatus, and program
JP2004198485A (en) Device and program for decoding sound encoded signal
JP4022504B2 (en) Audio decoding method and apparatus for restoring high frequency components with a small amount of calculation
JP4004525B1 (en) Signal processing method, signal processing apparatus, and computer program
JP4004526B1 (en) Signal processing method, signal processing apparatus, and computer program
EP1858007B1 (en) Signal processing method, signal processing apparatus and recording medium
JP4454603B2 (en) Signal processing method, signal processing apparatus, and program
JP4454604B2 (en) Signal processing method, signal processing apparatus, and program
JP4004524B1 (en) Signal processing method, signal processing apparatus, and computer program
JP4134262B2 (en) Signal processing method, signal processing apparatus, and program
JP5189760B2 (en) Signal processing method, signal processing apparatus, and program
JP4767289B2 (en) Signal processing method, signal processing apparatus, and program
JP4767290B2 (en) Signal processing method, signal processing apparatus, and program
JP4963955B2 (en) Signal processing method, signal processing apparatus, and program
JP4556866B2 (en) High efficiency encoding program and high efficiency encoding apparatus
KR101567665B1 (en) Pesrsonal audio studio system
KR101536855B1 (en) Encoding apparatus apparatus for residual coding and method thereof
Annadana et al. A Novel Audio Post-Processing Toolkit for the Enhancement of Audio Signals Coded at Low Bit Rates
JP4993992B2 (en) Signal processing method, signal processing apparatus, and program

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070821

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070821

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4004525

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120831

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120831

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130831

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees