JP4800285B2 - Speech decoding method and speech decoding apparatus - Google Patents

Speech decoding method and speech decoding apparatus Download PDF

Info

Publication number
JP4800285B2
JP4800285B2 JP2007265301A JP2007265301A JP4800285B2 JP 4800285 B2 JP4800285 B2 JP 4800285B2 JP 2007265301 A JP2007265301 A JP 2007265301A JP 2007265301 A JP2007265301 A JP 2007265301A JP 4800285 B2 JP4800285 B2 JP 4800285B2
Authority
JP
Japan
Prior art keywords
code
speech
drive
linear prediction
adaptive
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 - Lifetime
Application number
JP2007265301A
Other languages
Japanese (ja)
Other versions
JP2008090311A5 (en
JP2008090311A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007265301A priority Critical patent/JP4800285B2/en
Publication of JP2008090311A publication Critical patent/JP2008090311A/en
Publication of JP2008090311A5 publication Critical patent/JP2008090311A5/ja
Application granted granted Critical
Publication of JP4800285B2 publication Critical patent/JP4800285B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

この発明は音声信号をディジタル信号に圧縮符号化して復号化する際に使用する音声復号化方法及び音声復号化装置に関し、特に低ビットレートで品質の高い音声を再生するための音声復号化方法及び音声復号化装置に関する。 This invention relates to a sound Koefuku Goka methods and sound Koefuku Goka device used when decoding compressed and encoded into a digital signal an audio signal, for reproducing a high quality speech, especially at low bit rates audio decoding how Ho及 beauty relates to an audio decoding apparatus.

従来、高能率音声符号化方法としては、符号駆動線形予測(Code-Excited Linear Prediction:CELP)符号化が代表的であり、その技術については、「Code-excited linear prediction(CELP):High-quality speech at very low bit rates」(M.R.Shroeder and B.S.Atal著、ICASSP '85, pp.937-940, 1985)に述べられている。   Conventionally, Code-Excited Linear Prediction (CELP) coding has been a typical high-efficiency speech coding method. For the technique, “Code-excited linear prediction (CELP): High-quality speech at very low bit rates "(MRShroeder and BSAtal, ICASSP '85, pp.937-940, 1985).

図6は、CELP音声符号化復号化方法の全体構成の一例を示すもので、図中101は符号化部、102は復号化部、103は多重化手段、104は分離手段である。符号化部101は線形予測パラメータ分析手段105、線形予測パラメータ符号化手段106、合成フィルタ107、適応符号帳108、駆動符号帳109、ゲイン符号化手段110、距離計算手段111、重み付け加算手段138より構成されている。また、復号化部102は線形予測パラメータ復号化手段112、合成フィルタ113、適応符号帳114、駆動符号帳115、ゲイン復号化手段116、重み付け加算手段139より構成されている。   FIG. 6 shows an example of the overall configuration of the CELP speech encoding / decoding method. In FIG. 6, 101 is an encoding unit, 102 is a decoding unit, 103 is multiplexing means, and 104 is separation means. The encoding unit 101 includes a linear prediction parameter analysis unit 105, a linear prediction parameter encoding unit 106, a synthesis filter 107, an adaptive codebook 108, a drive codebook 109, a gain encoding unit 110, a distance calculation unit 111, and a weighted addition unit 138. It is configured. The decoding unit 102 includes a linear prediction parameter decoding unit 112, a synthesis filter 113, an adaptive codebook 114, a driving codebook 115, a gain decoding unit 116, and a weighted addition unit 139.

CELP音声符号化では、5〜50ms程度を1フレームとして、そのフレームの音声をスペクトル情報と音源情報に分けて符号化する。まず、CELP音声符号化方法の動作について説明する。符号化部101において、線形予測パラメータ分析手段105は入力音声S101を分析し、音声のスペクトル情報である線形予測パラメータを抽出する。線形予測パラメータ符号化手段106はその線形予測パラメータを符号化し、符号化した線形予測パラメータを合成フィルタ107の係数として設定する。   In CELP speech coding, about 5 to 50 ms is defined as one frame, and the speech of the frame is divided into spectrum information and sound source information and coded. First, the operation of the CELP speech encoding method will be described. In the encoding unit 101, the linear prediction parameter analysis means 105 analyzes the input speech S101 and extracts linear prediction parameters that are speech spectrum information. The linear prediction parameter encoding means 106 encodes the linear prediction parameter and sets the encoded linear prediction parameter as a coefficient of the synthesis filter 107.

次に音源情報の符号化について説明する。適応符号帳108には、過去の駆動音源信号が記憶されており、距離計算手段111から入力される適応符号に対応して過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力する。駆動符号帳109には、例えば学習用音声とその符号化音声との歪みが小さくなるように学習して構成された複数の時系列ベクトルが記憶されており、距離計算手段111から入力される駆動符号に対応した時系列ベクトルを出力する。   Next, encoding of sound source information will be described. The adaptive codebook 108 stores past drive excitation signals, and outputs a time-series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code input from the distance calculation means 111. The drive codebook 109 stores, for example, a plurality of time series vectors configured by learning so as to reduce the distortion between the learning speech and the encoded speech, and the drive input from the distance calculation unit 111. A time series vector corresponding to the code is output.

適応符号帳108、駆動符号帳109からの各時系列ベクトルはゲイン符号化手段110から与えられるそれぞれのゲインに応じて重み付け加算手段138で重み付けして加算され、その加算結果を駆動音源信号として合成フィルタ107へ供給し符号化音声を得る。距離計算手段111は符号化音声と入力音声S101との距離を求め、距離が最小となる適応符号、駆動符号、ゲインを探索する。上記符号化が終了した後、線形予測パラメータの符号、入力音声と符号化音声との歪みを最小にする適応符号、駆動符号、ゲインの符号を符号化結果として出力する。   The time series vectors from the adaptive codebook 108 and the drive codebook 109 are weighted and added by the weighting addition means 138 according to the respective gains given from the gain encoding means 110, and the addition result is synthesized as a drive excitation signal. Supplied to the filter 107 to obtain encoded speech. The distance calculation unit 111 obtains the distance between the encoded speech and the input speech S101, and searches for an adaptive code, a drive code, and a gain that minimize the distance. After the encoding is completed, the code of the linear prediction parameter, the adaptive code that minimizes the distortion between the input speech and the encoded speech, the drive code, and the gain code are output as the encoding result.

次にCPEL音声復号化方法の動作について説明する。   Next, the operation of the CPEL speech decoding method will be described.

一方復号化部102において、線形予測パラメータ復号化手段112は線形予測パラメータの符号から線形予測パラメータを復号化し、合成フィルタ113の係数として設定する。次に、適応符号帳114は、適応符号に対応して、過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力し、また駆動符号帳115は駆動符号に対応した時系列ベクトルを出力する。これらの時系列ベクトルは、ゲイン復号化手段116でゲインの符号から復号化したそれぞれのゲインに応じて重み付け加算手段139で重み付けして加算され、その加算結果が駆動音源信号として合成フィルタ113へ供給され出力音声S103が得られる。   On the other hand, in the decoding unit 102, the linear prediction parameter decoding unit 112 decodes the linear prediction parameter from the code of the linear prediction parameter and sets it as a coefficient of the synthesis filter 113. Next, adaptive codebook 114 outputs a time series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code, and drive codebook 115 outputs a time series vector corresponding to the drive code. To do. These time series vectors are weighted and added by weighting and adding means 139 according to the respective gains decoded from the gain code by the gain decoding means 116, and the addition result is supplied to the synthesis filter 113 as a driving sound source signal. The output voice S103 is obtained.

またCELP音声符号化復号化方法で再生音声品質の向上を目的として改良された従来の音声符号化復号化方法として、「Phonetically-based vector excitation coding of speech at 3.6kbps」(S.Wang and A.Gersho著、ICASSP '89, pp.49-52, 1989)に示されたものがある。図6との対応手段分に同一符号を付けた図7は、この従来の音声符号化復号化方法の全体構成の一例を示し、図中符号化部101において117は音声状態判定手段、118駆動符号帳切替手段、119は第1の駆動符号帳、120は第2の駆動符号帳である。また図中復号化手段102において121は駆動符号帳切替手段、122は第1の駆動符号帳、123は第2の駆動符号帳である。このような構成による符号化復号化方法の動作を説明する。まず符号化手段101において、音声状態判定手段117は入力音声S101を分析し、音声の状態を例えば有声/無声の2つの状態のうちどちらであるかを判定する。駆動符号帳切替手段118はその音声状態判定結果に応じて、例えば有声であれば第1の駆動符号帳119を、無声であれば第2の駆動符号帳120を用いるとして符号化に用いる駆動符号帳を切り替え、また、どちらの駆動符号帳を用いたかを符号化する。   As a conventional speech coding / decoding method improved for the purpose of improving playback speech quality by the CELP speech coding / decoding method, “Phonetically-based vector excitation coding of speech at 3.6 kbps” (S. Wang and A. Gersho, ICASSP '89, pp.49-52, 1989). FIG. 7 in which the same reference numerals are assigned to the means corresponding to FIG. 6 shows an example of the overall configuration of this conventional speech coding / decoding method. In FIG. The code book switching means, 119 is a first drive code book, and 120 is a second drive code book. In the decoding means 102 in the figure, 121 is a drive codebook switching means, 122 is a first drive codebook, and 123 is a second drive codebook. The operation of the encoding / decoding method having such a configuration will be described. First, in the encoding unit 101, the voice state determination unit 117 analyzes the input voice S101 and determines whether the voice state is one of two states, voiced / unvoiced, for example. The drive codebook switching means 118 uses the first drive codebook 119 for coding, for example, if voiced, and the second drive codebook 120 for coding, if it is unvoiced, according to the voice state determination result. The book is switched, and which drive codebook is used is encoded.

次に復号化手段102において、駆動符号帳切替手段121は符号化手段101でどちらの駆動符号帳を用いたかの符号に応じて、符号化手段101で用いたのと同じ駆動符号帳を用いるとして第1の駆動符号帳122と第2の駆動符号帳123とを切り替える。このように構成することにより、音声の各状態毎に符号化に適した駆動符号帳を用意し、入力された音声の状態に応じて駆動符号帳を切り替えて用いることで再生音声の品質を向上することができる。   Next, in the decoding means 102, the drive codebook switching means 121 is assumed to use the same drive codebook used in the encoding means 101 according to the code of which drive codebook was used in the encoding means 101. The first drive codebook 122 and the second drive codebook 123 are switched. By configuring in this way, a drive codebook suitable for encoding is prepared for each state of speech, and the quality of reproduced speech is improved by switching the drive codebook according to the state of input speech can do.

また送出ビット数を増加することなく、複数の駆動符号帳を切り替える従来の音声符号化復号化方法として特開平8−185198号公報に開示されたものがある。これは、適応符号帳で選択したピッチ周期に応じて、複数個の駆動符号帳を切り替えて用いるものである。これにより、伝送情報を増やさずに入力音声の特徴に適応した駆動符号帳を用いることができる。
「Code-excited linear prediction(CELP):High-quality speech at very low bit rates」(M.R.Shroeder and B.S.Atal著、ICASSP '85, pp.937-940, 1985) 「Phonetically-based vector excitation coding of speech at 3.6kbps」(S.Wang and A.Gersho著、ICASSP '89, pp.49-52, 1989) 特開平8−185198号公報
Japanese Patent Laid-Open No. 8-185198 discloses a conventional speech coding / decoding method for switching a plurality of driving codebooks without increasing the number of transmission bits. In this method, a plurality of drive codebooks are switched and used in accordance with the pitch period selected in the adaptive codebook. As a result, it is possible to use a drive codebook adapted to the characteristics of the input speech without increasing transmission information.
"Code-excited linear prediction (CELP): High-quality speech at very low bit rates" (MRShroeder and BSAtal, ICASSP '85, pp.937-940, 1985) “Phonetically-based vector excitation coding of speech at 3.6kbps” (S.Wang and A.Gersho, ICASSP '89, pp.49-52, 1989) JP-A-8-185198

上述したように図6に示す従来の音声符号化復号化方法では、単一の駆動符号帳を用いて合成音声を生成している。低ビットレートでも品質の高い符号化音声を得るためには、駆動符号帳に格納する時系列ベクトルはパルスを多く含む非雑音的なものとなる。このため、背景雑音や摩擦性子音など雑音的な音声を符号化、合成した場合、符号化音声はジリジリ、チリチリといった不自然な音を発するという問題があった。駆動符号帳を雑音的な時系列ベクトルからのみ構成すればこの問題は解決するが、符号化音声全体としての品質が劣化する。   As described above, in the conventional speech coding / decoding method shown in FIG. 6, synthesized speech is generated using a single drive codebook. In order to obtain high-quality encoded speech even at a low bit rate, the time-series vectors stored in the drive codebook are non-noise including many pulses. For this reason, when noisy speech such as background noise or frictional consonants is encoded and synthesized, the encoded speech has a problem of generating unnatural sounds such as harshness and dust. This problem can be solved if the driving codebook is composed only of noisy time-series vectors, but the quality of the entire encoded speech deteriorates.

また改良された図7に示す従来の音声符号化復号化方法では、入力音声の状態に応じて複数の駆動符号帳を切り替えて符号化音声を生成している。これにより例えば入力音声が雑音的な無声部分では雑音的な時系列ベクトルから構成された駆動符号帳を、またそれ以外の有声部分では非雑音的な時系列ベクトルから構成された駆動符号帳を用いることができ、雑音的な音声を符号化、合成しても不自然なジリジリした音を発することはなくなる。しかし、復号化側でも符号化側と同じ駆動符号帳を用いるために、新たにどの駆動符号帳を使用したかの情報を符号化、伝送する必要が生じ、これが低ビットレート化の妨げになるという問題があった。   In the improved conventional speech encoding / decoding method shown in FIG. 7, a plurality of driving codebooks are switched according to the state of input speech to generate encoded speech. Thus, for example, when the input speech is noisy unvoiced parts, a driving codebook composed of noisy time series vectors is used, and for other voiced parts, a driving codebook composed of non-noisy time series vectors is used. Therefore, even if a noisy voice is encoded and synthesized, an unnatural grim sound is not emitted. However, since the same driving codebook is used on the decoding side as that on the encoding side, it is necessary to newly encode and transmit which driving codebook is used, which hinders the reduction of the bit rate. There was a problem.

また送出ビット数を増加することなく、複数の駆動符号帳を切り替える従来の音声符号化復号化方法では、適応符号帳で選択されるピッチ周期に応じて駆動符号帳を切り替えている。しかし、適応符号帳で選択されるピッチ周期は実際の音声のピッチ周期とは異なり、その値からだけでは入力音声の状態が雑音的か非雑音的かを判定できないので、音声の雑音的な部分の符号化音声が不自然であるという課題は解決されない。   In the conventional speech coding / decoding method for switching a plurality of driving codebooks without increasing the number of transmission bits, the driving codebook is switched according to the pitch period selected in the adaptive codebook. However, the pitch period selected in the adaptive codebook is different from the pitch period of the actual speech, and it is not possible to determine whether the state of the input speech is noisy or non-noisy from its value alone. The problem that the encoded speech is unnatural is not solved.

この発明はかかる課題を解決するためになされたものであり、低ビットレートでも品質の高い音声を再生する音声復号化方法及び装置を提供するものである。 This invention has been made to solve such problems, there is provided a sound Koefuku Goka method and apparatus for reproducing audio high quality even at low bit rates.

この発明に係る音声復号化方法は、符号駆動線形予測(Code−Excited Linear Prediction:CELP)によって、線形予測パラメータ符号、適応符号およびゲイン符号を含む音声符号を復号する音声復号化方法において、The speech decoding method according to the present invention is a speech decoding method for decoding speech codes including a linear prediction parameter code, an adaptive code, and a gain code by code-driven linear prediction (CELP).
前記線形予測パラメータ符号を復号して線形予測パラメータを得るステップと、Decoding the linear prediction parameter code to obtain a linear prediction parameter;
適応符号帳から前記適応符号に対応する適応符号ベクトルを復号区間について得るステップと、Obtaining an adaptive code vector corresponding to the adaptive code from the adaptive codebook for a decoding interval;
前記ゲイン符号を復号して、前記適応符号ベクトルおよび駆動符号ベクトルのゲインを得るステップと、Decoding the gain code to obtain gains of the adaptive code vector and the drive code vector;
前記適応符号ベクトルのゲインに基づいて、前記復号区間について前記音声符号に関する雑音の度合いを評価するステップと、Evaluating the degree of noise related to the speech code for the decoding interval based on the gain of the adaptive code vector;
当該評価された雑音の度合いと駆動符号帳とに基づいて駆動符号ベクトルを得るステップと、Obtaining a driving code vector based on the evaluated degree of noise and the driving codebook;
前記適応符号ベクトルと前記駆動符号ベクトルとを前記復号された適応符号ベクトルのゲイン及び駆動符号ベクトルのゲインを用いてそれぞれ重みづけるステップと、Weighting the adaptive code vector and the driving code vector with the decoded adaptive code vector gain and the driving code vector gain, respectively;
前記重み付けられた適応符号ベクトルと駆動符号ベクトルとを加算して駆動音源信号を得るステップと、Adding the weighted adaptive code vector and the drive code vector to obtain a drive excitation signal;
前記駆動音源信号と前記線形予測パラメータとを用いて音声を合成するステップとSynthesizing speech using the driving sound source signal and the linear prediction parameter;
を有することを特徴とする。It is characterized by having.

この発明に係る音声復号化装置は、符号駆動線形予測(Code−Excited Linear Prediction:CELP)によって、線形予測パラメータ符号、適応符号およびゲイン符号を含む音声符号を復号する音声復号化装置において、A speech decoding apparatus according to the present invention is a speech decoding apparatus that decodes speech codes including linear prediction parameter codes, adaptive codes, and gain codes by code-driven linear prediction (CELP).
前記線形予測パラメータ符号を復号して線形予測パラメータを得る手段と、Means for decoding the linear prediction parameter code to obtain a linear prediction parameter;
適応符号帳から前記適応符号に対応する適応符号ベクトルを復号区間について得る手段と、Means for obtaining an adaptive code vector corresponding to the adaptive code from the adaptive codebook for a decoding interval;
前記ゲイン符号を復号して、前記適応符号ベクトルおよび駆動符号ベクトルのゲインを得る手段と、Means for decoding the gain code to obtain gains of the adaptive code vector and the drive code vector;
前記適応符号ベクトルのゲインに基づいて、前記復号区間について前記音声符号に関する雑音の度合いを評価する手段と、Means for evaluating the degree of noise related to the speech code for the decoding interval based on the gain of the adaptive code vector;
当該評価された雑音の度合いと駆動符号帳とに基づいて駆動符号ベクトルを得る手段と、Means for obtaining a drive code vector based on the evaluated noise level and the drive codebook;
前記適応符号ベクトルと前記駆動符号ベクトルとを前記復号された適応符号ベクトルのゲイン及び駆動符号ベクトルのゲインを用いてそれぞれ重みづける手段と、Means for respectively weighting the adaptive code vector and the driving code vector using the decoded adaptive code vector gain and the driving code vector gain;
前記重み付けられた適応符号ベクトルと駆動符号ベクトルとを加算して駆動音源信号を得る手段と、Means for adding the weighted adaptive code vector and the drive code vector to obtain a drive excitation signal;
前記駆動音源信号と前記線形予測パラメータとを用いて音声を合成する手段とMeans for synthesizing speech using the driving sound source signal and the linear prediction parameter;
を有することを特徴とする。It is characterized by having.

本発明に係る音声復号化方法及び音声復号化装置によれば、少ない情報量で品質の高い音声を再生することができる。 According to engagement Ruoto voice decoding side Ho及 beauty speech decoding apparatus in the present invention, it is possible to reproduce the sound of high quality not small amount of information.

以下図面を参照しながら、この発明の実施の形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

実施の形態1.
図1は、この発明による音声符号化方法及び音声復号化方法の実施の形態1の全体構成を示す。図中、1は符号化部、2は復号化部、3は多重化部、4は分離部である。符号化部1は、線形予測パラメータ分析部5、線形予測パラメータ符号化部6、合成フィルタ7、適応符号帳8、ゲイン符号化部10、距離計算部11、第1の駆動符号帳19、第2の駆動符号帳20、雑音度評価部24、駆動符号帳切替部25、重み付け加算部38より構成されている。また、復号化部2は線形予測パラメータ復号化部12、合成フィルタ13、適応符号帳14、第1の駆動符号帳22、第2の駆動符号帳23、雑音度評価部26、駆動符号帳切替部27、ゲイン復号化部16、重み付け加算部39より構成されている。図1中5は入力音声S1を分析し、音声のスペクトル情報である線形予測パラメータを抽出するスペクトル情報分析部としての線形予測パラメータ分析部、6はスペクトル情報であるその線形予測パラメータを符号化し、符号化した線形予測パラメータを合成フィルタ7の係数として設定するスペクトル情報符号化部としての線形予測パラメータ符号化部、19、22は非雑音的な複数の時系列ベクトルが記憶された第1の駆動符号帳、20、23は雑音的な複数の時系列ベクトルが記憶された第2の駆動符号帳、24、26は雑音の度合いを評価する雑音度評価部、25、27は雑音の度合いにより駆動符号帳を切り替える駆動符号帳切替部である。
Embodiment 1 FIG.
FIG. 1 shows the overall configuration of Embodiment 1 of a speech encoding method and speech decoding method according to the present invention. In the figure, 1 is an encoding unit, 2 is a decoding unit, 3 is a multiplexing unit, and 4 is a separation unit. The encoding unit 1 includes a linear prediction parameter analysis unit 5, a linear prediction parameter encoding unit 6, a synthesis filter 7, an adaptive codebook 8, a gain encoding unit 10, a distance calculation unit 11, a first drive codebook 19, 2 driving code book 20, noise level evaluation unit 24, driving code book switching unit 25, and weighting addition unit 38. The decoding unit 2 includes a linear prediction parameter decoding unit 12, a synthesis filter 13, an adaptive codebook 14, a first driving codebook 22, a second driving codebook 23, a noise level evaluation unit 26, and a driving codebook switching. Section 27, gain decoding section 16, and weighted addition section 39. In FIG. 1, 5 is a linear prediction parameter analysis unit as a spectrum information analysis unit that analyzes the input speech S1 and extracts a linear prediction parameter that is spectral information of speech, and 6 is that encoding the linear prediction parameter that is spectral information. A linear prediction parameter encoding unit as a spectrum information encoding unit that sets the encoded linear prediction parameter as a coefficient of the synthesis filter 7, and 19 and 22 are a first drive in which a plurality of non-noise time-series vectors are stored. Codebooks 20 and 23 are second drive codebooks in which a plurality of noisy time series vectors are stored, 24 and 26 are noise level evaluation units for evaluating the noise level, and 25 and 27 are driven by the noise level. It is a drive codebook switch part which switches a codebook.

以下、動作を説明する。まず、符号化部1において、線形予測パラメータ分析部5は入力音声S1を分析し、音声のスペクトル情報である線形予測パラメータを抽出する。線形予測パラメータ符号化部6はその線形予測パラメータを符号化し、符号化した線形予測パラメータを合成フィルタ7の係数として設定するとともに、雑音度評価部24へ出力する。次に、音源情報の符号化について説明する。適応符号帳8には、過去の駆動音源信号が記憶されており、距離計算部11から入力される適応符号に対応して過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力する。雑音度評価部24は、前記線形予測パラメータ符号化部6から入力された符号化した線形予測パラメータと適応符号とから、例えば図2に示すようにスペクトルの傾斜、短期予測利得、ピッチ変動から該符号化区間の雑音の度合いを評価し、評価結果を駆動符号帳切替部25に出力する。駆動符号帳切替部25は前記雑音度の評価結果に応じて、例えば雑音度が低ければ第1の駆動符号帳19を、雑音度が高ければ第2の駆動符号帳20を用いるとして符号化に用いる駆動符号帳を切り替える。   The operation will be described below. First, in the encoding unit 1, the linear prediction parameter analysis unit 5 analyzes the input speech S1 and extracts linear prediction parameters that are speech spectrum information. The linear prediction parameter encoding unit 6 encodes the linear prediction parameter, sets the encoded linear prediction parameter as a coefficient of the synthesis filter 7, and outputs it to the noise level evaluation unit 24. Next, encoding of sound source information will be described. The adaptive codebook 8 stores past drive excitation signals, and outputs a time-series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code input from the distance calculation unit 11. The noise level evaluation unit 24 uses the encoded linear prediction parameter and the adaptive code input from the linear prediction parameter encoding unit 6 to detect the spectrum inclination, short-term prediction gain, and pitch variation as shown in FIG. The degree of noise in the coding section is evaluated, and the evaluation result is output to the drive codebook switching unit 25. The driving codebook switching unit 25 performs encoding according to the evaluation result of the noise level, for example, using the first driving codebook 19 if the noise level is low and using the second driving codebook 20 if the noise level is high. Switch the driving codebook to be used.

第1の駆動符号帳19には、非雑音的な複数の時系列ベクトル、例えば学習用音声とその符号化音声との歪みが小さくなるように学習して構成された複数の時系列ベクトルが記憶されている。また、第2の駆動符号帳20には、雑音的な複数の時系列ベクトル、例えばランダム雑音から生成した複数の時系列ベクトルが記憶されており、距離計算部11から入力されるそれぞれ駆動符号に対応した時系列ベクトルを出力する。適応符号帳8、第1の駆動音源符号帳19または第2の駆動符号帳20からの各時系列ベクトルは、ゲイン符号化部10から与えられるそれぞれのゲインに応じて重み付け加算部38で重み付けして加算され、その加算結果を駆動音源信号として合成フィルタ7へ供給され符号化音声を得る。距離計算部11は符号化音声と入力音声S1との距離を求め、距離が最小となる適応符号、駆動符号、ゲインを探索する。以上符号化が終了した後、線形予測パラメータの符号、入力音声と符号化音声との歪みを最小にする適応符号、駆動符号,ゲインの符号を符号化結果S2として出力する。以上がこの実施の形態1の音声符号化方法に特徴的な動作である。   The first drive codebook 19 stores a plurality of non-noisy time series vectors, for example, a plurality of time series vectors constructed by learning so as to reduce the distortion between the learning speech and the encoded speech. Has been. The second drive codebook 20 stores a plurality of noisy time series vectors, for example, a plurality of time series vectors generated from random noise, and each drive code input from the distance calculation unit 11 is stored in each drive code. Output the corresponding time series vector. Each time series vector from the adaptive codebook 8, the first driving excitation codebook 19 or the second driving codebook 20 is weighted by the weighting addition unit 38 in accordance with the respective gains supplied from the gain encoding unit 10. And the result of the addition is supplied to the synthesis filter 7 as a driving sound source signal to obtain encoded speech. The distance calculation unit 11 obtains the distance between the encoded speech and the input speech S1, and searches for an adaptive code, drive code, and gain that minimize the distance. After the encoding is completed, the code of the linear prediction parameter, the adaptive code that minimizes the distortion between the input speech and the encoded speech, the drive code, and the gain code are output as the encoding result S2. The above is the characteristic operation of the speech coding method according to the first embodiment.

次に復号化部2について説明する。復号化部2では、線形予測パラメータ復号化部12は線形予測パラメータの符号から線形予測パラメータを復号化し、合成フィルタ13の係数として設定するとともに、雑音度評価部26へ出力する。次に、音源情報の復号化について説明する。適応符号帳14は、適応符号に対応して、過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力する。雑音度評価部26は、前記線形予測パラメータ復号化部12から入力された復号化した線形予測パラメータと適応符号とから符号化部1の雑音度評価部24と同様の方法で雑音の度合いを評価し、評価結果を駆動符号帳切替部27に出力する。駆動符号帳切替部27は前記雑音度の評価結果に応じて、符号化部1の駆動符号帳切替部25と同様に第1の駆動符号帳22と第2の駆動符号帳23とを切り替える。   Next, the decoding unit 2 will be described. In the decoding unit 2, the linear prediction parameter decoding unit 12 decodes the linear prediction parameter from the code of the linear prediction parameter, sets it as a coefficient of the synthesis filter 13, and outputs it to the noise level evaluation unit 26. Next, decoding of sound source information will be described. The adaptive codebook 14 outputs a time series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code. The noise level evaluation unit 26 evaluates the degree of noise in the same manner as the noise level evaluation unit 24 of the encoding unit 1 from the decoded linear prediction parameter and the adaptive code input from the linear prediction parameter decoding unit 12. Then, the evaluation result is output to the drive codebook switching unit 27. The drive codebook switching unit 27 switches between the first drive codebook 22 and the second drive codebook 23 in the same manner as the drive codebook switching unit 25 of the encoding unit 1 according to the evaluation result of the noise level.

第1の駆動符号帳22には非雑音的な複数の時系列ベクトル、例えば学習用音声とその符号化音声との歪みが小さくなるように学習して構成された複数の時系列ベクトルが、第2の駆動符号帳23には雑音的な複数の時系列ベクトル、例えばランダム雑音から生成した複数の時系列ベクトルが記憶されており、それぞれ駆動符号に対応した時系列ベクトルを出力する。適応符号帳14と第1の駆動符号帳22または第2の駆動符号帳23からの時系列ベクトルは、ゲイン復号化部16でゲインの符号から復号化したそれぞれのゲインに応じて重み付け加算部39で重み付けして加算され、その加算結果を駆動音源信号として合成フィルタ13へ供給され出力音声S3が得られる。以上がこの実施の形態1の音声復号化方法に特徴的な動作である。   The first drive codebook 22 includes a plurality of non-noisy time series vectors, for example, a plurality of time series vectors configured by learning so as to reduce the distortion between the learning speech and the encoded speech. The second driving codebook 23 stores a plurality of noisy time series vectors, for example, a plurality of time series vectors generated from random noise, and outputs a time series vector corresponding to each driving code. The time series vectors from the adaptive codebook 14 and the first drive codebook 22 or the second drive codebook 23 are weighted and added 39 according to the respective gains decoded from the gain code by the gain decoder 16. And the result of the addition is supplied as a driving sound source signal to the synthesis filter 13 to obtain an output sound S3. The above is the characteristic operation of the speech decoding method according to the first embodiment.

この実施の形態1によれば、入力音声の雑音の度合いを符号および符号化結果から評価し、評価結果に応じて異なる駆動符号帳を用いることにより、少ない情報量で、品質の高い音声を再生することができる。   According to the first embodiment, the degree of noise of the input speech is evaluated from the code and the encoding result, and a high quality speech is reproduced with a small amount of information by using a different driving codebook according to the evaluation result. can do.

また、上記実施の形態では、駆動符号帳19,20,22,23には、複数の時系列ベクトルが記憶されている場合を説明したが、少なくとも1つの時系列ベクトルが記憶されていれば、実施可能である。   In the above embodiment, the case where a plurality of time series vectors are stored in the drive codebooks 19, 20, 22, and 23 has been described. However, if at least one time series vector is stored, It can be implemented.

実施の形態2.
上述の実施の形態1では、2つの駆動符号帳を切り替えて用いているが、これに代え、3つ以上の駆動符号帳を備え、雑音の度合いに応じて切り替えて用いるとしても良い。この実施の形態2によれば、音声を雑音/非雑音の2通りだけでなく、やや雑音的であるなどの中間的な音声に対してもそれに適した駆動符号帳を用いることができるので、品質の高い音声を再生することができる。
Embodiment 2. FIG.
In the first embodiment described above, two drive codebooks are switched and used, but instead of this, three or more drive codebooks may be provided and switched according to the degree of noise. According to the second embodiment, it is possible to use a driving codebook suitable not only for noise / non-noise but also for intermediate sounds such as slightly noisy. High quality sound can be played.

実施の形態3.
図1との対応部分に同一符号を付けた図3は、この発明の音声符号化方法及び音声復号化方法の実施の形態3の全体構成を示し、図中28、30は雑音的な時系列ベクトルを格納した駆動符号帳、29、31は時系列ベクトルの低振幅なサンプルの振幅値を零にするサンプル間引き部である。
Embodiment 3 FIG.
FIG. 3 in which the same reference numerals are assigned to the parts corresponding to those in FIG. 1 shows the overall configuration of Embodiment 3 of the speech encoding method and speech decoding method of the present invention. The drive codebooks 29 and 31 storing the vectors are sample thinning sections that make the amplitude value of the low-amplitude samples of the time series vector zero.

以下、動作を説明する。まず、符号化部1において、線形予測パラメータ分析部5は入力音声S1を分析し、音声のスペクトル情報である線形予測パラメータを抽出する。線形予測パラメータ符号化部6はその線形予測パラメータを符号化し、符号化した線形予測パラメータを合成フィルタ7の係数として設定するとともに、雑音度評価部24へ出力する。次に、音源情報の符号化について説明する。適応符号帳8には、過去の駆動音源信号が記憶されており、距離計算部11から入力される適応符号に対応して過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力する。雑音度評価部24は、前記線形予測パラメータ符号化部6から入力された符号化した線形予測パラメータと適応符号とから、例えばスペクトルの傾斜、短期予測利得、ピッチ変動から該符号化区間の雑音の度合いを評価し、評価結果をサンプル間引き部29に出力する。   The operation will be described below. First, in the encoding unit 1, the linear prediction parameter analysis unit 5 analyzes the input speech S1 and extracts linear prediction parameters that are speech spectrum information. The linear prediction parameter encoding unit 6 encodes the linear prediction parameter, sets the encoded linear prediction parameter as a coefficient of the synthesis filter 7, and outputs it to the noise level evaluation unit 24. Next, encoding of sound source information will be described. The adaptive codebook 8 stores past drive excitation signals, and outputs a time-series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code input from the distance calculation unit 11. The noise level evaluation unit 24 uses the encoded linear prediction parameter and the adaptive code input from the linear prediction parameter encoding unit 6 to calculate, for example, the noise of the coding section from the spectrum slope, short-term prediction gain, and pitch variation. The degree is evaluated, and the evaluation result is output to the sample thinning unit 29.

駆動符号帳28には、例えばランダム雑音から生成した複数の時系列ベクトルが記憶されており、距離計算部11から入力される駆動符号に対応した時系列ベクトルを出力する。サンプル間引き部29は、前記雑音度の評価結果に応じて、雑音度が低ければ前記駆動符号帳28から入力された時系列ベクトルに対して、例えば所定の振幅値に満たないサンプルの振幅値を零にした時系列ベクトルを出力し、また、雑音度が高ければ前記駆動符号帳28から入力された時系列ベクトルをそのまま出力する。適応符号帳8、サンプル間引き部29からの各時系列ベクトルは、ゲイン符号化部10から与えられるそれぞれのゲインに応じて重み付け加算部38で重み付けして加算され、その加算結果を駆動音源信号として合成フィルタ7へ供給され符号化音声を得る。距離計算部11は符号化音声と入力音声S1との距離を求め、距離が最小となる適応符号、駆動符号、ゲインを探索する。以上符号化が終了した後、線形予測パラメータの符号、入力音声と符号化音声との歪みを最小にする適応符号、駆動符号,ゲインの符号を符号化結果S2として出力する。以上がこの実施の形態3の音声符号化方法に特徴的な動作である。   The drive codebook 28 stores a plurality of time series vectors generated from, for example, random noise, and outputs a time series vector corresponding to the drive code input from the distance calculation unit 11. In accordance with the evaluation result of the noise level, the sample thinning unit 29 calculates, for example, the amplitude value of the sample that does not satisfy a predetermined amplitude value with respect to the time series vector input from the drive codebook 28 if the noise level is low. A time series vector set to zero is output, and if the noise level is high, the time series vector input from the drive codebook 28 is output as it is. Each time series vector from the adaptive codebook 8 and the sample thinning unit 29 is weighted and added by the weighting addition unit 38 in accordance with each gain given from the gain encoding unit 10, and the addition result is used as a driving excitation signal. The encoded speech is supplied to the synthesis filter 7. The distance calculation unit 11 obtains the distance between the encoded speech and the input speech S1, and searches for an adaptive code, drive code, and gain that minimize the distance. After the encoding is completed, the code of the linear prediction parameter, the adaptive code that minimizes the distortion between the input speech and the encoded speech, the drive code, and the gain code are output as the encoding result S2. The above is the characteristic operation of the speech coding method according to the third embodiment.

次に復号化部2について説明する。復号化部2では、線形予測パラメータ復号化部12は線形予測パラメータの符号から線形予測パラメータを復号化し、合成フィルタ13の係数として設定するとともに、雑音度評価部26へ出力する。次に、音源情報の復号化について説明する。適応符号帳14は、適応符号に対応して、過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力する。雑音度評価部26は、前記線形予測パラメータ復号化部12から入力された復号化した線形予測パラメータと適応符号とから符号化部1の雑音度評価部24と同様の方法で雑音の度合いを評価し、評価結果をサンプル間引き部31に出力する。   Next, the decoding unit 2 will be described. In the decoding unit 2, the linear prediction parameter decoding unit 12 decodes the linear prediction parameter from the code of the linear prediction parameter, sets it as a coefficient of the synthesis filter 13, and outputs it to the noise level evaluation unit 26. Next, decoding of sound source information will be described. The adaptive codebook 14 outputs a time series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code. The noise level evaluation unit 26 evaluates the degree of noise in the same manner as the noise level evaluation unit 24 of the encoding unit 1 from the decoded linear prediction parameter and the adaptive code input from the linear prediction parameter decoding unit 12. Then, the evaluation result is output to the sample thinning unit 31.

駆動符号帳30は駆動符号に対応した時系列ベクトルを出力する。サンプル間引き部31は、前記雑音度評価結果に応じて、前記符号化部1のサンプル間引き部29と同様の処理により時系列ベクトルを出力する。適応符号帳14、サンプル間引き部31からの各時系列ベクトルは、ゲイン復号化部16から与えられるそれぞれのゲインに応じて重み付け加算部39で重み付けして加算され、その加算結果を駆動音源信号として合成フィルタ13へ供給され出力音声S3が得られる。   The drive codebook 30 outputs a time series vector corresponding to the drive code. The sample decimation unit 31 outputs a time series vector by the same processing as the sample decimation unit 29 of the encoding unit 1 according to the noise level evaluation result. The time series vectors from the adaptive codebook 14 and the sample thinning unit 31 are weighted and added by the weighting addition unit 39 according to the respective gains supplied from the gain decoding unit 16, and the addition result is used as a driving excitation signal. The output sound S3 is obtained by being supplied to the synthesis filter 13.

この実施の形態3によれば、雑音的な時系列ベクトルを格納している駆動符号帳を備え、音声の雑音性の度合いの評価結果に応じて、駆動音源の信号サンプルを間引くことにより雑音性の度合いが低い駆動音源を生成することにより、少ない情報量で、品質の高い音声を再生することができる。また、複数の駆動符号帳を備える必要がないので、駆動符号帳の記憶に要するメモリ量を少なくする効果もある。   According to the third embodiment, a drive codebook storing noisy time series vectors is provided, and noise characteristics are obtained by thinning out signal samples of drive sound sources in accordance with the evaluation result of the degree of speech noise. By generating a driving sound source with a low degree of sound, it is possible to reproduce high-quality sound with a small amount of information. In addition, since it is not necessary to provide a plurality of driving codebooks, there is an effect of reducing the amount of memory required for storing the driving codebooks.

実施の形態4.
上述の実施の形態3では、時系列ベクトルのサンプルを間引く/間引かないの2通りとしているが、これに代え、雑音の度合いに応じてサンプルを間引く際の振幅閾値を変更するとしても良い。この実施の形態4によれば、音声を雑音/非雑音の2通りだけでなく、やや雑音的であるなどの中間的な音声に対してもそれに適した時系列ベクトルを生成し、用いることができるので、品質の高い音声を再生することができる。
Embodiment 4 FIG.
In the above-described third embodiment, the time series vector samples are thinned out / not thinned out, but instead of this, the amplitude threshold at the time of thinning out the samples may be changed according to the degree of noise. According to the fourth embodiment, it is possible to generate and use a time series vector suitable not only for noise / non-noise but also for intermediate sounds such as slightly noisy. Therefore, it is possible to reproduce high quality sound.

実施の形態5.
図1との対応部分に同一符号を付けた図4は、この発明の音声符号化方法及び音声復号化方法の実施の形態5の全体構成を示し、図中32、35は雑音的な時系列ベクトルを記憶している第1の駆動符号帳、33、36は非雑音的な時系列ベクトルを記憶している第2の駆動符号帳、34、37は重み決定部である。
Embodiment 5 FIG.
FIG. 4 in which the same reference numerals are assigned to corresponding parts as in FIG. 1 shows the overall configuration of the speech encoding method and speech decoding method according to Embodiment 5 of the present invention, and 32 and 35 in FIG. First drive codebooks 33 and 36 storing vectors, second drive codebooks 33 and 37 storing non-noise time-series vectors, and weight determination units.

以下、動作を説明する。まず、符号化部1において、線形予測パラメータ分析部5は入力音声S1を分析し、音声のスペクトル情報である線形予測パラメータを抽出する。線形予測パラメータ符号化部6はその線形予測パラメータを符号化し、符号化した線形予測パラメータを合成フィルタ7の係数として設定するとともに、雑音度評価部24へ出力する。次に、音源情報の符号化について説明する。適応符号帳8には、過去の駆動音源信号が記憶されており、距離計算部11から入力される適応符号に対応して過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力する。雑音度評価部24は、前記線形予測パラメータ符号化部6から入力された符号化した線形予測パラメータと適応符号とから、例えばスペクトルの傾斜、短期予測利得、ピッチ変動から該符号化区間の雑音の度合いを評価し、評価結果を重み決定部34に出力する。   The operation will be described below. First, in the encoding unit 1, the linear prediction parameter analysis unit 5 analyzes the input speech S1 and extracts linear prediction parameters that are speech spectrum information. The linear prediction parameter encoding unit 6 encodes the linear prediction parameter, sets the encoded linear prediction parameter as a coefficient of the synthesis filter 7, and outputs it to the noise level evaluation unit 24. Next, encoding of sound source information will be described. The adaptive codebook 8 stores past drive excitation signals, and outputs a time-series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code input from the distance calculation unit 11. The noise level evaluation unit 24 uses the encoded linear prediction parameter and the adaptive code input from the linear prediction parameter encoding unit 6 to calculate, for example, the noise of the coding section from the spectrum slope, short-term prediction gain, and pitch variation. The degree is evaluated, and the evaluation result is output to the weight determination unit 34.

第1の駆動符号帳32には、例えばランダム雑音から生成した複数の雑音的な時系列ベクトルが記憶されており、駆動符号に対応した時系列ベクトルを出力する。第2の駆動符号帳33には、例えば学習用音声とその符号化音声との歪みが小さくなるように学習して構成された複数の時系列ベクトルが記憶されており、距離計算部11から入力される駆動符号に対応した時系列ベクトルを出力する。重み決定部34は前記雑音度評価部24から入力された雑音度の評価結果に応じて、例えば図5に従って、第1の駆動符号帳32からの時系列ベクトルと第2の駆動符号帳33からの時系列ベクトルに与える重みを決定する。第1の駆動符号帳32、第2の駆動符号帳33からの各時系列ベクトルは上記重み決定部34から与えられる重みに応じて重み付けして加算される。適応符号帳8から出力された時系列ベクトルと、前記重み付け加算して生成された時系列ベクトルはゲイン符号化部10から与えられるそれぞれのゲインに応じて重み付け加算部38で重み付けして加算され、その加算結果を駆動音源信号として合成フィルタ7へ供給し符号化音声を得る。距離計算部11は符号化音声と入力音声S1との距離を求め、距離が最小となる適応符号、駆動符号、ゲインを探索する。この符号化が終了した後、線形予測パラメータの符号、入力音声と符号化音声との歪みを最小にする適応符号、駆動符号、ゲインの符号を符号化結果として出力する。   The first drive codebook 32 stores, for example, a plurality of noisy time series vectors generated from random noise, and outputs time series vectors corresponding to the drive codes. The second drive codebook 33 stores, for example, a plurality of time series vectors configured by learning so as to reduce the distortion between the learning speech and the encoded speech, and is input from the distance calculation unit 11. A time series vector corresponding to the drive code is output. In accordance with the noise level evaluation result input from the noise level evaluation unit 24, the weight determination unit 34 calculates the time series vector from the first drive codebook 32 and the second drive codebook 33, for example, according to FIG. The weight to be given to the time series vector of is determined. The time series vectors from the first drive codebook 32 and the second drive codebook 33 are weighted according to the weight given from the weight determining unit 34 and added. The time series vector output from the adaptive codebook 8 and the time series vector generated by the weighted addition are weighted and added by the weighting addition unit 38 according to each gain given from the gain encoding unit 10, The addition result is supplied as a driving sound source signal to the synthesis filter 7 to obtain encoded speech. The distance calculation unit 11 obtains the distance between the encoded speech and the input speech S1, and searches for an adaptive code, drive code, and gain that minimize the distance. After this encoding is completed, the code of the linear prediction parameter, the adaptive code that minimizes the distortion between the input speech and the encoded speech, the drive code, and the gain code are output as the encoding result.

次に復号化部2について説明する。復号化部2では、線形予測パラメータ復号化部12は線形予測パラメータの符号から線形予測パラメータを復号化し、合成フィルタ13の係数として設定するとともに、雑音度評価部26へ出力する。次に、音源情報の復号化について説明する。適応符号帳14は、適応符号に対応して、過去の駆動音源信号を周期的に繰り返した時系列ベクトルを出力する。雑音度評価部26は、前記線形予測パラメータ復号化部12から入力された復号化した線形予測パラメータと適応符号とから符号化部1の雑音度評価部24と同様の方法で雑音の度合いを評価し、評価結果を重み決定部37に出力する。   Next, the decoding unit 2 will be described. In the decoding unit 2, the linear prediction parameter decoding unit 12 decodes the linear prediction parameter from the code of the linear prediction parameter, sets it as a coefficient of the synthesis filter 13, and outputs it to the noise level evaluation unit 26. Next, decoding of sound source information will be described. The adaptive codebook 14 outputs a time series vector in which past drive excitation signals are periodically repeated corresponding to the adaptive code. The noise level evaluation unit 26 evaluates the degree of noise in the same manner as the noise level evaluation unit 24 of the encoding unit 1 from the decoded linear prediction parameter and the adaptive code input from the linear prediction parameter decoding unit 12. Then, the evaluation result is output to the weight determination unit 37.

第1の駆動符号帳35および第2の駆動符号帳36は駆動符号に対応した時系列ベクトルを出力する。重み決定部37は前記雑音度評価部26から入力された雑音度評価結果に応じて、符号化部1の重み決定部34と同様に重みを与えるとする。第1の駆動符号帳35、第2の駆動符号帳36からの各時系列ベクトルは上記重み決定部37から与えれるそれぞれの重みに応じて重み付けして加算される。適応符号帳14から出力された時系列ベクトルと、前記重み付け加算して生成された時系列ベクトルは、ゲイン復号化部16でゲインの符号から復号化したそれぞれのゲインに応じて重み付け加算部39で重み付けして加算され、その加算結果が駆動音源信号として合成フィルタ13へ供給され出力音声S3が得られる。   The first drive codebook 35 and the second drive codebook 36 output a time series vector corresponding to the drive code. It is assumed that the weight determination unit 37 gives weights in the same manner as the weight determination unit 34 of the encoding unit 1 according to the noise level evaluation result input from the noise level evaluation unit 26. The time series vectors from the first drive codebook 35 and the second drive codebook 36 are weighted according to the respective weights given from the weight determination unit 37 and added. The time series vector output from the adaptive codebook 14 and the time series vector generated by the weighted addition are weighted by the weighting addition section 39 according to the respective gains decoded from the gain code by the gain decoding section 16. The weighted addition is performed, and the addition result is supplied as a driving sound source signal to the synthesis filter 13 to obtain the output sound S3.

この実施の形態5によれば、音声の雑音の度合いを符号および符号化結果から評価し、評価結果に応じて雑音的な時系列ベクトルと非雑音的な時系列ベクトルを重み付き加算して用いることにより、少ない情報量で、品質の高い音声を再生することができる。   According to the fifth embodiment, the degree of speech noise is evaluated from the code and the encoding result, and a noisy time series vector and a non-noisy time series vector are weighted and added according to the evaluation result. As a result, high-quality sound can be reproduced with a small amount of information.

実施の形態6.
上述の実施の形態1〜5でさらに、雑音の度合いの評価結果に応じてゲインの符号帳を変更するとしても良い。この実施の形態6によれば、駆動符号帳に応じて最適なゲインの符号帳を用いることができるので、品質の高い音声を再生することができる。
Embodiment 6 FIG.
In the first to fifth embodiments described above, the gain codebook may be changed according to the evaluation result of the degree of noise. According to the sixth embodiment, since a code book having an optimum gain can be used according to the driving code book, high-quality sound can be reproduced.

実施の形態7.
上述の実施の形態1〜6では、音声の雑音の度合いを評価し、その評価結果に応じて駆動符号帳を切り替えているが、有声の立ち上がりや破裂性の子音などをそれぞれ判定、評価し、その評価結果に応じて駆動符号帳を切り替えても良い。この実施の形態7によれば、音声の雑音的な状態だけでなく、有声の立ち上がりや破裂性子音などさらに細かく分類し、それぞれに適した駆動符号帳を用いることができるので、品質の高い音声を再生することができる。
Embodiment 7 FIG.
In the first to sixth embodiments described above, the degree of noise in the speech is evaluated, and the drive codebook is switched according to the evaluation result, but the voiced rise or bursting consonant is determined and evaluated, The drive codebook may be switched according to the evaluation result. According to the seventh embodiment, not only the noise state of speech but also the voiced rising and bursting consonants can be further classified and the driving codebook suitable for each can be used. Can be played.

実施の形態8.
上述の実施の形態1〜6では、図2に示すスペクトル傾斜、短期予測利得、ピッチ変動から、符号化区間の雑音の度合いを評価しているが、適応符号帳出力に対するゲイン値の大小を用いて評価しても良い。
Embodiment 8 FIG.
In the first to sixth embodiments described above, the degree of noise in the coding section is evaluated from the spectral tilt, the short-term prediction gain, and the pitch variation shown in FIG. 2, but the magnitude of the gain value for the adaptive codebook output is used. May be evaluated.

この発明による音声符号化及び音声復号化装置の実施の形態1の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of Embodiment 1 of the audio | voice encoding and audio | voice decoding apparatus by this invention. 図1の実施の形態1における雑音の度合い評価の説明に供する表である。It is a table | surface with which it uses for description of the noise degree evaluation in Embodiment 1 of FIG. この発明による音声符号化及び音声復号化装置の実施の形態3の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of Embodiment 3 of the audio | voice encoding and audio | voice decoding apparatus by this invention. この発明による音声符号化及び音声復号化装置の実施の形態5の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of Embodiment 5 of the audio | voice encoding and audio | voice decoding apparatus by this invention. 図4の実施の形態5における重み付け決定処理の説明に供する略線図である。It is a basic diagram with which it uses for description of the weight determination process in Embodiment 5 of FIG. 従来のCELP音声符号化復号化装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the conventional CELP audio | voice encoding decoding apparatus. 従来の改良されたCELP音声符号化復号化装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the conventional improved CELP audio | voice encoding / decoding apparatus.

Claims (2)

符号駆動線形予測(Code−Excited Linear Prediction:CELP)によって、線形予測パラメータ符号、適応符号およびゲイン符号を含む音声符号を復号する音声復号化方法において、
前記線形予測パラメータ符号を復号して線形予測パラメータを得るステップと、
適応符号帳から前記適応符号に対応する適応符号ベクトルを復号区間について得るステップと、
前記ゲイン符号を復号して、前記適応符号ベクトルおよび駆動符号ベクトルのゲインを得るステップと、
前記適応符号ベクトルのゲインに基づいて、前記復号区間について前記音声符号に関する雑音の度合いを評価するステップと、
当該評価された雑音の度合いと駆動符号帳とに基づいて駆動符号ベクトルを得るステップと、
前記適応符号ベクトルと前記駆動符号ベクトルとを前記復号された適応符号ベクトルのゲイン及び駆動符号ベクトルのゲインを用いてそれぞれ重みづけるステップと、
前記重み付けられた適応符号ベクトルと駆動符号ベクトルとを加算して駆動音源信号を得るステップと、
前記駆動音源信号と前記線形予測パラメータとを用いて音声を合成するステップと
を有することを特徴とする音声復号化方法。
In a speech decoding method for decoding a speech code including a linear prediction parameter code, an adaptive code, and a gain code by code-driven linear prediction (CELP),
Decoding the linear prediction parameter code to obtain a linear prediction parameter;
Obtaining an adaptive code vector corresponding to the adaptive code from the adaptive codebook for a decoding interval;
Decoding the gain code to obtain gains of the adaptive code vector and the drive code vector;
Evaluating the degree of noise related to the speech code for the decoding interval based on the gain of the adaptive code vector;
Obtaining a driving code vector based on the evaluated degree of noise and the driving codebook;
Weighting the adaptive code vector and the driving code vector with the decoded adaptive code vector gain and the driving code vector gain, respectively;
Adding the weighted adaptive code vector and the drive code vector to obtain a drive excitation signal;
A speech decoding method comprising: synthesizing speech using the driving excitation signal and the linear prediction parameter.
符号駆動線形予測(Code−Excited Linear Prediction:CELP)によって、線形予測パラメータ符号、適応符号およびゲイン符号を含む音声符号を復号する音声復号化装置において、
前記線形予測パラメータ符号を復号して線形予測パラメータを得る手段と、
適応符号帳から前記適応符号に対応する適応符号ベクトルを復号区間について得る手段と、
前記ゲイン符号を復号して、前記適応符号ベクトルおよび駆動符号ベクトルのゲインを得る手段と、
前記適応符号ベクトルのゲインに基づいて、前記復号区間について前記音声符号に関する雑音の度合いを評価する手段と、
当該評価された雑音の度合いと駆動符号帳とに基づいて駆動符号ベクトルを得る手段と、
前記適応符号ベクトルと前記駆動符号ベクトルとを前記復号された適応符号ベクトルのゲイン及び駆動符号ベクトルのゲインを用いてそれぞれ重みづける手段と、
前記重み付けられた適応符号ベクトルと駆動符号ベクトルとを加算して駆動音源信号を得る手段と、
前記駆動音源信号と前記線形予測パラメータとを用いて音声を合成する手段と
を有することを特徴とする音声復号化装置。
In a speech decoding apparatus that decodes speech codes including a linear prediction parameter code, an adaptive code, and a gain code by code-driven linear prediction (CELP),
Means for decoding the linear prediction parameter code to obtain a linear prediction parameter;
Means for obtaining an adaptive code vector corresponding to the adaptive code from the adaptive codebook for a decoding interval;
Means for decoding the gain code to obtain gains of the adaptive code vector and the drive code vector;
Means for evaluating the degree of noise related to the speech code for the decoding interval based on the gain of the adaptive code vector;
Means for obtaining a drive code vector based on the evaluated noise level and the drive codebook;
Means for respectively weighting the adaptive code vector and the driving code vector using the decoded adaptive code vector gain and the driving code vector gain;
Means for adding the weighted adaptive code vector and the drive code vector to obtain a drive excitation signal;
A speech decoding apparatus, comprising: means for synthesizing speech using the driving excitation signal and the linear prediction parameter.
JP2007265301A 1997-12-24 2007-10-11 Speech decoding method and speech decoding apparatus Expired - Lifetime JP4800285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007265301A JP4800285B2 (en) 1997-12-24 2007-10-11 Speech decoding method and speech decoding apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP35475497 1997-12-24
JP1997354754 1997-12-24
JP2007265301A JP4800285B2 (en) 1997-12-24 2007-10-11 Speech decoding method and speech decoding apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004372545A Division JP4170288B2 (en) 1997-12-24 2004-12-24 Speech coding method and speech coding apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009018916A Division JP4916521B2 (en) 1997-12-24 2009-01-30 Speech decoding method, speech encoding method, speech decoding apparatus, and speech encoding apparatus

Publications (3)

Publication Number Publication Date
JP2008090311A JP2008090311A (en) 2008-04-17
JP2008090311A5 JP2008090311A5 (en) 2009-03-05
JP4800285B2 true JP4800285B2 (en) 2011-10-26

Family

ID=39374450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007265301A Expired - Lifetime JP4800285B2 (en) 1997-12-24 2007-10-11 Speech decoding method and speech decoding apparatus

Country Status (1)

Country Link
JP (1) JP4800285B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101610765B1 (en) 2008-10-31 2016-04-11 삼성전자주식회사 Method and apparatus for encoding/decoding speech signal
JP5376635B2 (en) * 2009-01-07 2013-12-25 国立大学法人 奈良先端科学技術大学院大学 Noise suppression processing selection device, noise suppression device, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2906596B2 (en) * 1990-06-28 1999-06-21 松下電器産業株式会社 Audio coding device
JP2776050B2 (en) * 1991-02-26 1998-07-16 日本電気株式会社 Audio coding method
JPH05265496A (en) * 1992-03-18 1993-10-15 Hitachi Ltd Speech encoding method with plural code books
JPH0869298A (en) * 1994-08-29 1996-03-12 Olympus Optical Co Ltd Reproducing device

Also Published As

Publication number Publication date
JP2008090311A (en) 2008-04-17

Similar Documents

Publication Publication Date Title
JP4916521B2 (en) Speech decoding method, speech encoding method, speech decoding apparatus, and speech encoding apparatus
JP3746067B2 (en) Speech decoding method and speech decoding apparatus
JPH11327597A (en) Voice coding device and voice decoding device
JP4800285B2 (en) Speech decoding method and speech decoding apparatus
JP2001075600A (en) Voice encoding device and voice decoding device
JP4170288B2 (en) Speech coding method and speech coding apparatus
JP3736801B2 (en) Speech decoding method and speech decoding apparatus
JP4510977B2 (en) Speech encoding method and speech decoding method and apparatus
JP3563400B2 (en) Audio decoding device and audio decoding method
JP3144284B2 (en) Audio coding device
JPH0519795A (en) Excitation signal encoding and decoding method for voice
JPH10105200A (en) Voice coding/decoding method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101019

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101214

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110803

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term