JPH08146997A - Device and system for code conversion - Google Patents

Device and system for code conversion

Info

Publication number
JPH08146997A
JPH08146997A JP6286694A JP28669494A JPH08146997A JP H08146997 A JPH08146997 A JP H08146997A JP 6286694 A JP6286694 A JP 6286694A JP 28669494 A JP28669494 A JP 28669494A JP H08146997 A JPH08146997 A JP H08146997A
Authority
JP
Japan
Prior art keywords
code
speech
coding method
encoding
long
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6286694A
Other languages
Japanese (ja)
Inventor
Toshiyuki Matsuda
俊幸 松田
Ryujiro Muramatsu
隆二郎 村松
Ayumi Koide
歩 小出
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6286694A priority Critical patent/JPH08146997A/en
Publication of JPH08146997A publication Critical patent/JPH08146997A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To provide the code conversion system which allows a telephone conversation without reconverting a speech into a reproduced speech temporarily as to a telephone conversation between speech encoding systems that are different in quantized value or quantizing method. CONSTITUTION: When there are a 1st speech encoding method and a 2nd speech encoding method which perform encoding processes differing in quantized value or quantizing method as code excitation linear predictive encoding methods, the code converting device converts multiplexed codes of the 1st speech encoding method into multiplexed codes of the 2nd speech encoding method. A code separation part 510 inputs the multiplexed codes encoded by the 1st speech encoding method and separates them into individual codes, and a conversion part 500 converts the individual separated codes into respective codes of the 2nd speech encoding method according to the correspondence relation between the codes of the 1st speech encoding method and the codes of the 2nd speech encoding method. A multiplexing part 570 multiplexes the respective codes of the 2nd speech encoding method which are converted by the conversion part 500.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動車電話装置、携帯
電話装置および通信機器等に利用される符号化された音
声を変換する音声符号変換手段を備えた符号変換システ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code conversion system equipped with voice code conversion means for converting coded voice used in automobile telephone devices, portable telephone devices, communication equipment and the like.

【0002】[0002]

【従来の技術】現在のディジタルセルラ通信システム
は、伝送周波数帯域の有効利用を行うために高度な音声
符号化技術を取り入れている。このディジタルセルラ通
信システムに使用している音声符号化方法としては、例
えば、ベクトル和励起線形予測符号化方法(以下、VS
ELP(Vector-Sum Excited Linear Predictive Codin
g)方法とする)がある。
2. Description of the Related Art Today's digital cellular communication systems incorporate advanced voice coding techniques to make effective use of the transmission frequency band. As a speech coding method used in this digital cellular communication system, for example, a vector sum excitation linear predictive coding method (hereinafter referred to as VS
ELP (Vector-Sum Excited Linear Predictive Codin
g) There is a method).

【0003】このシステムの簡易構成と動作とを図21
を参照して説明する。
FIG. 21 shows the simple configuration and operation of this system.
Will be described with reference to.

【0004】図21において、このVSELP方法を使
用したセルラ通信システムは、無線で通信を行なう携帯
端末A100および携帯端末B160と、携帯端末と無
線で通信を行なう無線基地局A110および無線基地局
B150と、呼を交換する交換機A120および交換機
B140と、交換機間を接続させるための伝送路130
と、交換機に接続される電話機170とを有する。
In FIG. 21, a cellular communication system using this VSELP method includes a mobile terminal A100 and a mobile terminal B160 which wirelessly communicate with each other, and a radio base station A110 and a radio base station B150 which wirelessly communicate with the mobile terminal. , A switch A120 and a switch B140 for exchanging calls, and a transmission line 130 for connecting the switches.
And a telephone 170 connected to the exchange.

【0005】携帯端末A100および無線基地局A11
0には、VSELP方法を用いている符号化装置A10
1、符号化装置A111を各々搭載し、携帯端末B16
0および無線基地局B150も同じ方法の符号化装置B
161、符号化装置B151を各々搭載している。
The mobile terminal A100 and the radio base station A11
0 is an encoding device A10 using the VSELP method.
1. The mobile terminal B16 is equipped with the encoding device A111.
0 and the radio base station B150 have the same method as the coding device B.
161 and an encoding device B 151 are mounted respectively.

【0006】携帯端末A100と電話機170の通話時
の動作を説明する。携帯端末A100に入力された音声
信号は、その端末内の符号化装置Aで符号化され、1
1.2kbpsの伝送符号が生成され、無線基地局A1
10へ出力される。無線基地局A110では、受信した
11.2kbpsの伝送符号を符号化装置A111にお
いてその符号から復号化を行い音声信号を再生する。再
生された音声信号は交換機A120、伝送路130およ
び交換機B140を介し、電話機170に伝送される。
この場合、VSELP方法により符号化−復号化するの
を1リンクとすると、携帯端末A100と携帯端末B1
60との通話は、2リンク構成となり、符号化時の量子
化誤差および信号処理遅延の増大により音声品質の劣化
を招く原因となる。
The operation of the mobile terminal A100 and the telephone 170 during a call will be described. The audio signal input to the mobile terminal A100 is coded by the coding device A in the terminal, and 1
A transmission code of 1.2 kbps is generated, and the wireless base station A1
It is output to 10. In the wireless base station A110, the received transmission code of 11.2 kbps is decoded from the code in the encoding device A111, and the voice signal is reproduced. The reproduced voice signal is transmitted to the telephone set 170 via the exchange A120, the transmission path 130 and the exchange B140.
In this case, assuming that the encoding / decoding by the VSELP method is one link, the mobile terminal A100 and the mobile terminal B1 are
The call with 60 has a two-link structure, and causes a deterioration in voice quality due to an increase in quantization error and a signal processing delay during encoding.

【0007】この対策として、無線基地局の符号化装置
をスルー接続して、端末間をディジタル1リンクとし音
声品質の劣化を防止する技術である「移動機間音声通信
品質向上のための網制御」(1991年春季電子情報通
信学会B−349)が提案されている。この従来技術で
は、無線基地局で復号化を行なわないで、網内をVSE
LP符号のまま転送することにより、通信品質の向上を
図っている。
[0007] As a countermeasure against this, there is a technique of "network control for improving voice communication quality between mobile units" which is a technique for preventing the deterioration of voice quality by connecting the coding device of a radio base station through to establish a digital 1 link between terminals. (Spring 1991 IEICE B-349) is proposed. According to this conventional technique, VSE is transmitted in the network without performing decoding in the radio base station.
By transferring the LP code as it is, the communication quality is improved.

【0008】つぎに、VSELP方法の概要を、「VECT
OR SUM EXCITED LINEAR PREDICTION(VSELP) SPEECH COD
ING FOR JAPAN DIGITAL CELLULAR 」(電子情報通信学
会無線通信システム研究会信学技報RCS90-26)に基づき
説明する。
Next, an outline of the VSELP method is described in "VECT
OR SUM EXCITED LINEAR PREDICTION (VSELP) SPEECH COD
ING FOR JAPAN DIGITAL CELLULAR "(The Institute of Electronics, Information and Communication Engineers Radio Communication Systems Research Group, IEICE Technical Report RCS90-26).

【0009】この符号化方法は、2つの基本処理から構
成される。一方は音声符号化処理、他方は伝送路符号化
処理である。この符号化方法では、まず、入力された音
声信号を音声符号化処理で6.7kbpsの音声符号を
生成し、さらに、電波伝送区間の誤り耐性を持たせるた
めに伝送路符号化処理として畳み込み符号化を施して1
1.2kbpsの伝送符号を生成し出力する。
This encoding method is composed of two basic processes. One is a voice coding process, and the other is a transmission line coding process. In this encoding method, first, an input voice signal is subjected to a voice encoding process to generate a voice code of 6.7 kbps, and further, a convolutional code is used as a transmission line encoding process in order to provide error resistance in a radio wave transmission section. Apply 1
It generates and outputs a transmission code of 1.2 kbps.

【0010】また、復号器では受信した11.2kbp
sの伝送符号を電波伝送区間で生じたビット誤りを訂正
するため伝送路復号化処理であるビタビ復号化を施し、
6.7kbpsの音声符号を生成し、さらにこの符号に
基づき音声復号化処理で音声信号を生成する。
Further, the decoder receives 11.2 kbp.
The transmission code of s is subjected to Viterbi decoding which is a transmission path decoding process in order to correct the bit error generated in the radio wave transmission section,
A voice code of 6.7 kbps is generated, and a voice signal is generated by a voice decoding process based on this code.

【0011】このVSELP方法の音声符号化処理は2
つの励振源を有し、その一方は適応コードブック、他方
はVSELP方法の特徴であるベクトルの線形和で構成
される固定コードブックである。音声符号化処理の動作
は、2つの励振源の加算信号である励起信号を合成フィ
ルタに通して生成される合成音声波形と入力音声波形と
を比較し、それらの誤差が最小となる適応コードブック
および固定コードブックと、両者のゲインを調節するゲ
インコードブックとの符号を選出する。そしてそれらの
符号(適応コードブックおよび固定コードブックとゲイ
ンコードブックとの符号)を、合成フィルタのフィルタ
係数を量子化した符号と音声信号の電力値を量子化した
符号と共に伝送する仕組みとなっている。合成フィルタ
のフィルタ係数と電力値とは20ms毎に更新され、適
応コードブックおよび固定コードブックとゲインコード
ブックとの符号は5ms毎に更新される。また、音声復
号化処理は、符号化処理の音声合成過程を使用し、各符
号に基づき音声を再生する仕組みである。
The voice encoding process of this VSELP method is 2
It has two excitation sources, one of which is an adaptive codebook and the other is a fixed codebook composed of linear sums of vectors, which is a feature of the VSELP method. The operation of the speech coding process compares an input speech waveform with a synthesized speech waveform generated by passing an excitation signal, which is an addition signal of two excitation sources, through a synthesis filter, and an adaptive codebook that minimizes the error between them. And a code of a fixed codebook and a gain codebook for adjusting the gains of the two are selected. Then, it becomes a mechanism to transmit these codes (codes of adaptive codebook and fixed codebook and gain codebook) together with a code obtained by quantizing the filter coefficient of the synthesis filter and a code obtained by quantizing the power value of the audio signal. There is. The filter coefficient and power value of the synthesis filter are updated every 20 ms, and the codes of the adaptive codebook, fixed codebook, and gain codebook are updated every 5 ms. The voice decoding process is a mechanism that reproduces voice based on each code by using the voice synthesis process of the encoding process.

【0012】また、伝送周波数帯域の有効利用を行うた
めVSELP方法の半分である5.6kbpsの伝送速
度を実現するピッチ同期型符号励起線形予測符号化方法
(以下PSI−CELP方法とする)が、「Pitch Sync
hronous Innovation CELP(PSI-CELP) 」(電子情報通信
学会無線通信システム研究会 信学技報RCS93-78)にお
いて提案されている。このPSI−CELP方法は、音
声符号化処理と伝送路符号化処理とに先立ち、入力音声
に対しノイズキャンセラおよび低音量抑圧の処理を行な
い、実使用環境下での特性向上を図っている。
Further, a pitch-synchronized code excitation linear predictive coding method (hereinafter referred to as PSI-CELP method) which realizes a transmission rate of 5.6 kbps which is half of the VSELP method in order to effectively use the transmission frequency band, is 「Pitch Sync
hronous Innovation CELP (PSI-CELP) ”(IEICE RCS93-78). In this PSI-CELP method, a noise canceller and a low sound volume suppression process are performed on an input voice prior to the voice coding process and the transmission line coding process to improve characteristics in an actual use environment.

【0013】このPSI−CELP方法における音声符
号化処理の励振源は2つの部分から構成され、一方は適
応コードブックと固定コードブックとを切替えて行なう
部分、他方は2チャネル構造を持つ雑音コードブックか
ら構成されている。主な特徴としては、それぞれの雑音
コードブックの出力を適応コードブックの出力に対応す
る周期に同期させて周期化し、符号を加算することであ
る。また、それぞれの励振源はゲインを乗じた後、合成
フィルタを駆動し、合成音声を生成する。音声符号化処
理は、この合成音声と、ノイズキャンセラおよび低音量
抑圧を通った入力音声とを比較し、誤差が最小となる各
コードブックの符号を選択する。また、それらの符号、
合成フィルタのフィルタ係数を量子化した符号と電力値
とを量子化した符号を伝送する仕組みである。合成フィ
ルタのフィルタ係数と電力値とは40ms毎に更新され
適応コードブックおよび固定コードブックとゲインコー
ドブックとの符号は10ms毎に更新される。音声符号
化処理で生成された3.45kbpsの音声符号を、さ
らに電波伝送区間の誤り耐性を持たせるために伝送路符
号化処理として畳み込み符号化を施して5.6kbps
の伝送符号を生成し出力する。また、復号器では、受信
した5.6kbpsの伝送符号を電波伝送区間で生じた
ビット誤りを訂正するため伝送路復号化処理であるビタ
ビ復号化を施して3.45kbpsの音声符号を生成す
る。そして音声復号化処理は、符号化処理の音声合成過
程を使用し、各符号に基づき音声を再生する仕組みであ
る。
The excitation source of the voice coding process in the PSI-CELP method is composed of two parts, one part for switching between the adaptive codebook and the fixed codebook, and the other part for the noise codebook having a two-channel structure. It consists of The main feature is that the output of each noise codebook is synchronized with the cycle corresponding to the output of the adaptive codebook, is cycled, and the codes are added. Further, each excitation source multiplies the gain and then drives the synthesis filter to generate synthetic speech. In the voice encoding process, the synthesized voice is compared with the input voice that has passed through the noise canceller and the low volume suppression, and the code of each codebook having the smallest error is selected. Also, their sign,
This is a mechanism for transmitting a code in which the filter coefficient of the synthesis filter is quantized and a code in which the power value is quantized. The filter coefficient and power value of the synthesis filter are updated every 40 ms, and the codes of the adaptive codebook, fixed codebook, and gain codebook are updated every 10 ms. The 3.45 kbps voice code generated by the voice coding process is subjected to convolutional coding as a transmission line coding process to further provide error resistance in the radio wave transmission section, and then 5.6 kbps.
The transmission code of is generated and output. In the decoder, the received 5.6 kbps transmission code is subjected to Viterbi decoding, which is a channel decoding process, in order to correct the bit error generated in the radio wave transmission section, and a 3.45 kbps voice code is generated. The voice decoding process is a mechanism for reproducing voice based on each code by using the voice synthesis process of the encoding process.

【0014】[0014]

【発明が解決しようとする課題】今後のディジタルセル
ラ通信システムでは、上記説明したVSELP方法とP
SI−CELP方法との音声符号化装置が規格化されて
いるため、両方の音声符号化装置混在することが予想さ
れる。前述したように、VSELP方法とPSIーCE
LP方法とは、基本的構成は符号励起線形予測符号化方
法であるが、符号伝送速度が異なり、また各ベクトル量
子化に際し量子化値または量子化方法が異なる。このた
めVSELP方法で符号化された符号をPSI−CEL
P方法では復号することはできない。このためVSEL
P方法を搭載する携帯端末とPSI−CELP方法を搭
載する携帯端末間の通話では、一方の方法で符号化され
た符号を一度復号化し再生音声に戻した後、他方の方法
で再度符号化復号化を行わざるを得ない。これにより、
前述したような2リンク構成となり、符号化時の量子化
誤差および信号処理遅延の増大により音声品質の劣化を
招く。
In future digital cellular communication systems, the VSELP method and P
Since the speech coding apparatus with the SI-CELP method is standardized, it is expected that both speech coding apparatuses will coexist. As mentioned above, VSELP method and PSI-CE
The LP method is a code-excited linear predictive coding method with a basic configuration, but the code transmission rate is different, and the quantization value or the quantization method is different in each vector quantization. Therefore, a code encoded by the VSELP method is used as a PSI-CEL.
It cannot be decrypted by the P method. Therefore VSEL
In a call between a mobile terminal equipped with the P method and a mobile terminal equipped with the PSI-CELP method, a code coded by one method is once decoded and returned to reproduced voice, and then coded and decoded again by the other method. There is no choice but to convert. This allows
The two-link configuration as described above results in deterioration of voice quality due to increase in quantization error and signal processing delay during encoding.

【0015】このように、従来の技術では、VSELP
方法を搭載する携帯端末とPSI−CELP方法の携帯
端末間の通話においてディジタル1リンクは不可能であ
る。このため量子化値または量子化方法が異なる音声符
号化方法間はディジタル2リンクを行うことで通話可能
となるが、一度音声信号に復号化し、再度音声符号化を
行うため量子化誤差による音声品質の劣化を招き、また
信号処理遅延の増大を招くという問題を引き起こす。
As described above, according to the conventional technique, VSELP is used.
Digital 1 link is not possible in a call between a mobile terminal equipped with the method and a mobile terminal of the PSI-CELP method. For this reason, it is possible to talk by performing digital 2 link between voice coding methods having different quantized values or quantization methods, but voice quality due to quantization error is generated because voice signals are decoded once and voice coded again. And the signal processing delay is increased.

【0016】本発明の目的は、符号励起線形予測符号化
方法であって、量子化値もしくは量子化方法が異なる第
1と第2との音声符号化方法間の通話において、通信品
質の劣化を防ぐ符号変換装置および符号変換システムを
提供することにある。
An object of the present invention is a code-excited linear predictive coding method, which causes deterioration of communication quality in a call between first and second speech coding methods having different quantized values or different quantized methods. It is to provide a code conversion device and a code conversion system which prevent the conversion.

【0017】また、符号励起線形予測符号化方法であっ
て、量子化値もしくは量子化方法が異なる第1と第2と
の音声符号化方法間の通話において、一度再生音声に戻
すことなしに通話が行なえる符号変換装置および符号変
換システムを提供することを他の目的とする。
Further, in the code-excited linear predictive coding method, in a call between the first and second voice coding methods having different quantized values or quantization methods, the call is made without returning to the reproduced voice once. It is another object to provide a code conversion device and a code conversion system that can

【0018】[0018]

【課題を解決するための手段】上記目的を達成するた
め、音声信号を予め定められた分析時間間隔毎に符号励
起線形予測により分析を行い、スペクトル包絡情報とス
ペクトル微細構造とに分離し、前記スペクトル包絡情報
を量子化して符号化した短時間分析符号と、音声信号の
電力を量子化して符号化した電力符号と、前記スペクト
ル微細構造を表し、長期予測ラグフィルタのあらかじめ
定められた予測ラグ範囲にしたがって、前記長期予測ラ
グフィルタのフィルタ係数を量子化して符号化した長期
予測ラグ符号と、前記スペクトル微細構造の振幅を量子
化して符号化したゲイン符号とを多重化することにより
前記音声信号を符号化する第1の音声符号化方法により
符号化された多重化符号を、符号励起線形予測符号化方
法であって、当該第1の音声符号化方法と量子化値が異
なる符号化を行なう第2の音声符号化方法による多重化
符号に変換する符号変換装置であって、前記第1の音声
符号化方法により符号化された多重化符号を入力し、前
記各々の符号毎に分離する符号分離部と、前記符号分離
部により分離された各々の符号を、前記第1の音声符号
化方法による符号と前記第2の音声符号化方法による符
号との対応関係にしたがって、前記第2の音声符号化方
法による各々の符号に変換する変換部と、前記変換部に
より変換された前記第2の音声符号化方法による各々の
符号を多重化する多重化部とを有する。
In order to achieve the above object, a speech signal is analyzed by code excitation linear prediction at predetermined analysis time intervals and separated into spectral envelope information and spectral fine structure. A short-time analysis code obtained by quantizing and encoding spectral envelope information, a power code obtained by quantizing and encoding the power of a voice signal, and the spectrum fine structure, and a predetermined prediction lag range of a long-term prediction lag filter. Accordingly, the long-term prediction lag code obtained by quantizing and encoding the filter coefficient of the long-term prediction lag filter and the gain code obtained by quantizing and encoding the amplitude of the spectrum fine structure A multiplex code encoded by a first speech encoding method for encoding is a code excitation linear predictive encoding method, Is a code conversion device for converting into a multiplex code according to a second voice encoding method for performing encoding with a different quantized value from the voice encoding method according to the first voice encoding method. A code separation unit that inputs a coded code and separates each code, and each code separated by the code separation unit is coded by the first speech coding method and the second speech coding. A conversion unit for converting each code according to the second speech coding method into each code according to the correspondence with the code according to the method, and each code according to the second speech coding method converted by the conversion unit. And a multiplexing unit for converting the data.

【0019】また、第1の音声符号化方法により符号化
を行なう第1の符号器と、前記第1の音声符号化方法と
分析の方法が異なる符号化を行なう第2の音声符号化方
法により復号化を行なう第2の復号器と、前記第1の符
号器によりされた多重化符号を、前記第2の音声符号化
方法による多重化符号に変換して前記第2の復号器に対
して出力する符号変換装置とを有する符号変換システム
においては、前記符号変換装置は、接続先の符号化方法
が、前記第1の音声符号化方法であるか前記第2の音声
符号化方法であるかの情報を予め記憶する接続先情報記
憶手段と、前記接続先情報記憶手段を参照し、接続先の
符号化方法が前記第2の音声符号化方法である場合に、
当該符号変換装置において符号の変換を行なうように制
御する制御手段とをさらに有するようにしてもよい。
Further, a first coder for coding by the first speech coding method and a second speech coding method for coding different analysis method from the first speech coding method. A second decoder for decoding and a multiplex code obtained by the first encoder are converted into a multiplex code obtained by the second speech encoding method, and then the second decoder is provided. In a transcoding system having a transcoding device for outputting, whether the coding method of the connection destination of the transcoding device is the first speech coding method or the second speech coding method. Connection destination information storage means for storing the information in advance and the connection destination information storage means, and when the connection destination encoding method is the second speech encoding method,
The code conversion apparatus may further include control means for controlling the code conversion.

【0020】さらに、このような符号変換装置を備える
第1の通信装置と、前記第2の音声符号化方法による符
号化を行なう第2の通信装置とを有する通信システムで
は、第1の通信装置は、通信先である通信装置の符号化
方法を問い合わせる問い合わせ手段と、前記問い合わせ
手段による問い合わせに対する通信先の通信装置からの
応答を受信し、当該応答により前記通信先の通信装置の
符号化方法が前記第2の符号化方法である場合に、前記
符号変換装置により前記第1の符号化方法により符号化
された多重化符号を、前記第2の音声符号化方法による
多重化符号に変換させるように制御し、前記通信先の通
信装置に対して前記第2の符号化方法により符号化を行
なわない旨の通知を行なう第1の制御手段とを有し、前
記第2の通信装置は、前記問い合わせ手段により符号化
方法の問い合わせがあったときに、当該第2の通信装置
における符号化方法が前記第2の符号化方法であるとし
て応答する応答手段と、前記際1の制御手段から前記第
2の符号化方法により符号化を行なわない旨の通知があ
ったときに、前記第2の符号化方法により符号化を行な
わないで、前記第1の通信装置で変換された前記第2の
音声符号化方法による多重化符号の信号を端末に対して
送出するように制御する第2の制御手段とを有すること
ができる。
Further, in the communication system having the first communication device having such a code conversion device and the second communication device for performing the encoding by the second speech encoding method, the first communication device is provided. Is an inquiring means for inquiring an encoding method of a communication device which is a communication destination, and a response from the communication device of the communication destination to the inquiry by the inquiring means, and the encoding method of the communication device of the communication destination is received by the response. In the case of the second encoding method, the code conversion device converts the multiplex code encoded by the first encoding method into a multiplex code by the second speech encoding method. And a first control means for notifying the communication device of the communication destination that the encoding is not performed by the second encoding method, and the second communication device. A response unit that responds when the inquiry unit inquires about the encoding method by saying that the encoding method in the second communication device is the second encoding method; When the notification that the encoding is not performed by the second encoding method is received, the second communication method is performed by the first communication device without performing the encoding by the second encoding method. Second control means for controlling the signal of the multiplex code by the voice coding method of 1) to be sent to the terminal.

【0021】また、第1の音声符号化方法により前記音
声信号を符号化を行なう通信装置において、前述した符
号変換装置を備えるようにしてもよい。
Further, the communication device for encoding the voice signal by the first voice encoding method may include the above-mentioned code conversion device.

【0022】[0022]

【作用】符号変換装置では、符号分離部は、第1の音声
符号化方法により符号化された多重化符号を入力し、前
記各々の符号毎に分離し、変換部は、前記符号分離部に
より分離された各々の符号を、前記第1の音声符号化方
法による符号と前記第2の音声符号化方法による符号と
の対応関係にしたがって、前記第2の音声符号化方法に
よる各々の符号に変換する。多重化部は、前記変換部に
より変換された前記第2の音声符号化方法による各々の
符号を多重化して出力することにより、第1の音声符号
化方法により符号化された符号出力を第2の音声符号化
方法の符号出力に直接変換することができ1度再生音声
に戻すことなく第1の音声符号化方法による符号出力を
第2の音声符号化方法の復号器により音声を再生するこ
とができる。このためディジタル2リンク時に発生する
符号化歪を押さえ良好な通信品質を提供することができ
る。
In the code conversion device, the code separation unit inputs the multiplexed code encoded by the first speech encoding method, separates each code, and the conversion unit uses the code separation unit. Each separated code is converted into each code by the second speech coding method according to the correspondence relationship between the code by the first speech coding method and the code by the second speech coding method. To do. The multiplexing unit multiplexes and outputs each code converted by the conversion unit by the second audio encoding method to output a second code output encoded by the first audio encoding method. Can be directly converted into the code output of the voice encoding method of No. 1, and the code output of the first voice encoding method can be reproduced by the decoder of the second voice encoding method without returning to the reproduced voice once. You can For this reason, it is possible to suppress coding distortion that occurs during digital two-link and provide good communication quality.

【0023】例えば、変換部には、前記第1の音声符号
化方法による符号と前記第2の音声符号化方法による符
号との前記対応関係を示すテーブルを備え、当該テーブ
ルを参照することにより、前記変換を行なうようにして
もよい。
For example, the conversion unit is provided with a table showing the correspondence relationship between the code according to the first speech coding method and the code according to the second speech coding method, and by referring to the table, The conversion may be performed.

【0024】例えば、第1と第2との音声符号化方法の
うち、一方が、前述したベクトル和励起線形予測符号化
方法(VSELP)であって、他方をピッチ同期型符号
励起線形予測符号化方法(PSI−CELP)とするこ
とができる。また、VSELPとして、日本において規
格化されているVSELPと、米国において規格化され
ているVSELPとがある場合には、これらを第1と第
2との音声符号化方法とすることができる。
For example, of the first and second speech coding methods, one is the above-described vector sum excitation linear predictive encoding method (VSELP), and the other is the pitch-synchronous code excitation linear predictive encoding. Method (PSI-CELP). If there are VSELP standardized in Japan and VSELP standardized in the United States as VSELP, these can be used as the first and second voice encoding methods.

【0025】また、前記変換部は、前記第1の音声符号
化方法により符号化された短時間分析符号を、前記第1
の音声符号化方法による短時間分析符号と前記第2の音
声符号化方法による短時間分析符号との対応関係にした
がって、前記第2の音声符号化方法による短時間分析符
号に変換する短時間予測分析符号変換手段と、前記第1
の音声符号化方法により符号化された電力符号を、前記
第1の音声符号化方法による電力符号と前記第2の音声
符号化方法による電力符号との対応関係にしたがって、
前記第2の音声符号化方法による電力符号に変換する電
力符号変換手段と、前記第1の音声符号化方法により符
号化された長期予測ラグ符号を、前記第1の音声符号化
方法による長期予測ラグ符号と前記第2の音声符号化方
法による長期予測ラグ符号との対応関係にしたがって、
前記第2の音声符号化方法による長期予測ラグ符号に変
換する長期予測ラグ符号変換手段と、前記第1の音声符
号化方法により符号化された長期予測ラグ符号、ゲイン
符号および雑音音源符号変換符号に従い、前記第1の音
声符号化方法における励起信号を生成し、前記長期予測
ラグ符号変換手段により変換された前記第2の音声符号
化方法による長期予測ラグ符号に従って、前記第2の音
声符号化方法における励起信号を生成し、前記第1の音
声符号化方法における励起信号と前記第2の音声符号化
方法における励起信号との誤差が最小となる、前記第2
の音声符号化方法によるゲイン符号および雑音音源符号
変換符号を出力するゲイン符号および雑音音源符号変換
手段とを有するようにして、それぞれの変換手段におい
て、それぞれの符号についての変換を行なうようにでき
る。
Further, the conversion section converts the short time analysis code encoded by the first speech encoding method into the first speech analysis code.
Short-term prediction that is converted into the short-time analytic code by the second speech coding method according to the correspondence relationship between the short-time analytic code by the second speech coding method and the short-time analytic code by the second speech coding method. Analysis code conversion means, and the first
The power code encoded by the voice encoding method according to the above method, according to the correspondence relationship between the power code according to the first voice encoding method and the power code according to the second voice encoding method,
A power code conversion means for converting into a power code by the second speech coding method, and a long-term prediction lag code coded by the first speech coding method, a long-term prediction by the first speech coding method. According to the correspondence between the lag code and the long-term predicted lag code by the second speech coding method,
Long-term prediction lag code conversion means for converting into a long-term prediction lag code by the second speech coding method, and long-term prediction lag code, gain code and noise excitation code conversion code coded by the first speech coding method. According to the first speech coding method, the excitation signal is generated, and the second speech coding is performed according to the long-term prediction lag code by the second speech coding method converted by the long-term prediction lag code conversion means. Generating the excitation signal in the method and minimizing the error between the excitation signal in the first speech encoding method and the excitation signal in the second speech encoding method;
With the gain code and the noise excitation code conversion means for outputting the gain code and the noise excitation code conversion code according to the speech encoding method, the conversion means can perform conversion for each code.

【0026】[0026]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0027】図1に、符号変換システムの第1の実施例
の構成図を示す。図1において、この符号変換システム
は、特定の音声符号化方式Aにより音声を符号化する符
号器A200と、特定の音声符号化方式Aにより符号化
された符号を、特定の音声符号化方式Aとは異なる音声
符号化方式Bの符号に変換する符号変換装置220と、
符号器A200と符号変換装置220とを接続させるた
めの伝送路A210と、音声符号化方式Bにより符号化
された符号を復号する復号器B240と、復号器B24
0と符号変換装置220とを接続させるための伝送路2
30とを有する。
FIG. 1 shows a block diagram of a first embodiment of the code conversion system. In FIG. 1, the code conversion system includes a coder A200 for coding a voice according to a specific voice coding system A, and a coded code according to a specific voice coding system A for a specific voice coding system A. A code conversion device 220 for converting into a code of a voice encoding method B different from
A transmission path A210 for connecting the encoder A200 and the code converter 220, a decoder B240 for decoding a code coded by the voice coding method B, and a decoder B24.
Transmission line 2 for connecting 0 and the code converter 220
30 and 30.

【0028】符号器A200と復号器B240とは、基
本的には符号励起線形予測符号化方式を基本構成として
いる音声符号化方式であり、各パラメータを量子化する
際に使用する量子化値または量子化方法の異なる音声符
号化方式を用いているものである。本実施例において、
異なる音声符号化方式とは、基本構成は両方共に符号励
起予測符号化方式であり、各パラメータを量子化する際
に使用する量子化値または量子化方法が異なる音声符号
化方式を用いているものとする。例えば、国内ディジタ
ルセルラ携帯電話のフルレート音声符号化方式使用して
いるVSELP方式と、ハーフレート音声符号化方式で
使用するPSI−CELP方式とがあり、本実施例にお
いてはこれらを例にして説明する。
The encoder A200 and the decoder B240 are basically speech coding systems having a code excitation linear predictive coding system as a basic structure, and quantizer values used when quantizing each parameter or It uses a voice coding method with different quantization methods. In this example,
The different speech coding schemes are code excitation predictive coding schemes that both have the same basic configuration, and use speech coding schemes with different quantization values or quantization methods used when quantizing each parameter. And For example, there are a VSELP system used in the full rate voice encoding system of domestic digital cellular mobile phones and a PSI-CELP system used in the half rate voice encoding system. In the present embodiment, these will be described as examples. .

【0029】図1において、Sinから入力されたディ
ジタル音声信号は、符号器A200に入力され音声符号
化される。この符号は、伝送路A210を経て符号変換
装置220に入力される。この符号変換装置220で
は、受信した符号器A200の符号を符号器A200で
使用している音声符号化方式Aとは異なる音声符号化方
式Bを使用している復号器B240が使用できる符号に
直接変換している。符号変換装置220で変換された符
号は、伝送路B230を経て復号器B240に入力され
る。この符号を基に復号器B240はディジタル音声信
号を復号化する。このようにして、一度音声信号に戻さ
ずに符号を直接変換することで音声品質の劣化を押さ
え、ハ−ドウェアの規模も、2リンクにする場合に比べ
て少なくすることが可能となる。
In FIG. 1, the digital voice signal input from Sin is input to the encoder A200 and voice encoded. This code is input to the code conversion device 220 via the transmission path A210. In this code conversion device 220, the received code of the encoder A200 is directly converted into a code that can be used by a decoder B240 that uses a voice encoding method B different from the voice encoding method A used by the encoder A200. Converting. The code converted by the code conversion device 220 is input to the decoder B240 via the transmission path B230. Based on this code, the decoder B240 decodes the digital audio signal. In this way, it is possible to suppress the deterioration of the voice quality by directly converting the code without returning to the voice signal once, and to reduce the scale of the hardware as compared with the case of using two links.

【0030】つぎに、図1に示す符号変換装置220の
具体的な構成を説明する。図2に、本実施例に係る符号
変換装置の機能ブロック図を示す。図2において、実際
の通信システムの伝送路では、2つの符号変換装置を使
用し双方向の通信を実現する。ここでは説明を簡単にす
るため、片方向の符号変換装置を説明する。
Next, a specific configuration of the code conversion device 220 shown in FIG. 1 will be described. FIG. 2 shows a functional block diagram of the code conversion apparatus according to the present embodiment. In FIG. 2, two transcoding devices are used in a transmission line of an actual communication system to realize bidirectional communication. In order to simplify the description, a one-way code conversion device will be described here.

【0031】図2において、符号変換装置220は、特
定の音声符号化方式Aにより符号化された符号を、特定
の音声符号化方式Aとは異なる音声符号化方式Bの符号
に変換する音声符号変換部500、ビット誤りを訂正す
るためにビタビ復号化を施す伝送路復号化部580およ
び電波伝送区間の誤り耐性を持たせるために畳み込み符
号化を施す伝送路符号化部590を有する。ここで伝送
路符号化部590と伝送路復号化部580とは、ディジ
タル携帯電話の無線通信システムで符号変換装置を使用
する場合に必要となるが、後述する有線通信システム内
で符号変換装置を使用する場合この伝送路符号化部59
0と伝送路復号化部580との部分は、未使用とする
か、もしくは、備えないようにすることができる。
In FIG. 2, the code conversion device 220 converts a code coded by a specific audio coding method A into a code of a audio coding method B different from the specific audio coding method A. The conversion unit 500, a transmission line decoding unit 580 that performs Viterbi decoding to correct a bit error, and a transmission line encoding unit 590 that performs convolutional coding to provide error resistance of a radio wave transmission section are included. Here, the transmission line coding unit 590 and the transmission line decoding unit 580 are necessary when the code conversion device is used in the wireless communication system of the digital mobile phone. When used, this transmission line coding unit 59
The portion of 0 and the transmission path decoding unit 580 can be unused or not provided.

【0032】音声符号変換部500では、VSELP方
式とPSI−CELP方式との双方が、符号励起線形予
測符号化方式であることに着目し、それぞれのパラメー
タの符号(適応コードブック、固定コードブック、ゲイ
ンコードブックのそれぞれの符号と、合成フィルタのフ
ィルタ係数を量子化した符号と電力値を量子化した符号
とがある)について、あらかじめ対応する符号を求めて
おき、この符号の対応関係を変換表としてそれぞれ記憶
しておく。
In the speech code conversion unit 500, noting that both the VSELP system and the PSI-CELP system are code excitation linear predictive coding systems, the codes of the respective parameters (adaptive codebook, fixed codebook, There is a code corresponding to each code of the gain codebook, a code obtained by quantizing the filter coefficient of the synthesizing filter, and a code obtained by quantizing the power value), and a conversion table of the corresponding relationship between the codes is obtained. And memorize each.

【0033】音声符号変換部500では、各符号に分離
する符号分離部510、ゲイン符号および固定コードブ
ック符号(雑音音源符号)変換を行なうゲイン符号固定
コードブック符号変換部520、短期予測分析パラメー
タ符号を変換する短期予測分析パラメータ符号変換部5
40、電力値を量子化した符号を変換する電力符号変換
部550、長期予測ラグ符号を変換する長期予測ラグ符
号変換部560、各変換部を制御する符号変換制御部5
30、および、各々の符号を多重化する符号多重部57
0を有する。
In the speech code conversion section 500, a code separation section 510 for separating each code, a gain code fixed codebook code conversion section 520 for performing gain code and fixed codebook code (noise excitation code) conversion, and a short-term prediction analysis parameter code. -Term prediction analysis parameter code conversion unit 5 for converting
40, a power code conversion unit 550 that converts a code obtained by quantizing a power value, a long-term prediction lag code conversion unit 560 that converts a long-term prediction lag code, and a code conversion control unit 5 that controls each conversion unit
30 and a code multiplexing unit 57 for multiplexing each code
Has zero.

【0034】以下、この符号変換装置について説明す
る。
The code conversion device will be described below.

【0035】図2において、符号分離部510は、Ci
nから伝送路復号化部580を通り伝送路復号化され音
声符号変換部500に入力される多重化された符号を、
各変換部の入力に対応できる符号の、ゲイン符号固定コ
ードブック符号、短期予測分析パラメータ符号、電力符
号、および、長期予測ラグ符号に分離する。符号分離部
510は、ゲイン符号固定コードブック符号はゲイン符
号固定コードブック符号変換部520、短期予測分析パ
ラメータ符号は短期予測分析パラメータ符号変換器54
0、電力符号は電力符号変換部550、長期予測ラグ符
号は長期予測ラグ符号変換部560へそれぞれ送出す
る。
In FIG. 2, the code separation unit 510 has a Ci
From n, the multiplexed code that is channel-decoded through the channel decoding unit 580 and is input to the voice code conversion unit 500 is
The code that can be input to each conversion unit is separated into a gain code fixed codebook code, a short-term prediction analysis parameter code, a power code, and a long-term prediction lag code. The code separation unit 510 includes a gain code fixed codebook code conversion unit 520 for the gain code fixed codebook code and a short-term prediction analysis parameter code converter 54 for the short-term prediction analysis parameter code.
0, the power code is sent to the power code conversion unit 550, and the long-term prediction lag code is sent to the long-term prediction lag code conversion unit 560.

【0036】短期予測分析パラメータ符号変換部540
は、受信した短期予測分析パラメータ符号を短期予測分
析パラメータ符号変換規則に従い変換する。電力符号変
換部550は、受信した電力符号を電力符号変換規則に
従い変換する。長期予測ラグ符号変換部560は、受信
した長期予測ラグ符号を長期予測ラグ符号変換規則に従
い変換する。符号変換制御部530は、変換前後の長期
予測ラグ符号を受信し、量子化値である長期予測ラグ値
に変換し、ゲイン符号固定コードブック符号変換部52
0へ出力する。ゲイン符号固定コードブック符号変換部
520は、受信したゲイン符号固定コードブック符号を
符号変換制御部530から受信した変換前後の長期予測
ラグ値に基づき変換する。各変換部で変換された符号
は、符号多重部570に集約し再び多重化され、さらに
その符号は伝送路符号化部590を通り伝送路符号化を
施しCoutに出力される。これにより音声符号化アル
ゴリズムの異なる符号をディジタル音声信号に戻さずに
直接符号を変換することを可能としている。
Short-term prediction analysis parameter code conversion unit 540
Converts the received short-term prediction analysis parameter code according to the short-term prediction analysis parameter code conversion rule. The power code conversion unit 550 converts the received power code according to the power code conversion rule. The long-term prediction lag code conversion unit 560 converts the received long-term prediction lag code according to the long-term prediction lag code conversion rule. The code conversion control unit 530 receives the long-term predicted lag code before and after the conversion, converts the long-term predicted lag code into a quantized value, and converts the long-term predicted lag code into a gain code fixed codebook code conversion unit 52.
Output to 0. The gain code fixed codebook code conversion unit 520 converts the received gain code fixed codebook code based on the long-term predicted lag values before and after conversion received from the code conversion control unit 530. The code converted by each conversion unit is aggregated in the code multiplexing unit 570 and multiplexed again, and the code passes through the transmission line encoding unit 590 and is subjected to transmission line encoding and output to Cout. As a result, it is possible to directly convert the code without converting the code having a different voice encoding algorithm into the digital voice signal.

【0037】たとえば、VSELP方式の音声符号とP
SI−CELP方式との音声符号を変換する場合、VS
ELP方式の短期予測分析の反射係数パラメータのベク
トル量子化符号とPSI−CELP方式の短期予測係数
パラメータを変換した線スペクトル対パラメータのベク
トル量子化符号とを変換し、VSELP方式の電力符号
とPSI−CELP方式の電力符号とを変換し、VSE
LP方式の適応コードブックの長期予測ラグ符号とPS
I−CELP方式の適応コードブックの長期予測ラグ符
号とを予め定められた変換規則により変換する。また、
PSI−CELP方式においては、雑音コードブック符
号をさらに備えることから、VSELP方式の固定コー
ドブック符号およびゲインコードブック符号とから励起
信号を生成し、また、PSI−CELP方式の固定コー
ドブックと雑音コードブックとゲインコードブックとに
基づいて励起信号を生成し、それらの励起信号の誤差を
最小にするように、PSI−CELP方式における雑音
コードブック符号とゲインコードブック符号とを決定す
る。
For example, a VSELP system voice code and P
When converting a voice code with the SI-CELP system, VS is used.
The vector quantization code of the reflection coefficient parameter of the short-term prediction analysis of the ELP method and the vector quantization code of the line spectrum pair parameter obtained by converting the short-term prediction coefficient parameter of the PLP-CELP method are converted, and the power code of the VSELP method and the PSI- Converts with the CELP system power code to obtain VSE
Long-term predictive lag code and PS of adaptive codebook of LP system
The long-term prediction lag code of the adaptive codebook of the I-CELP method is converted according to a predetermined conversion rule. Also,
Since the PSI-CELP system is further provided with a noise codebook code, an excitation signal is generated from the fixed codebook code and the gain codebook code of the VSELP system, and the fixed codebook and the noise code of the PSI-CELP system are also provided. The excitation signal is generated based on the book and the gain codebook, and the noise codebook code and the gain codebook code in the PSI-CELP method are determined so as to minimize the error of these excitation signals.

【0038】つぎに、変換規則の詳細について、各変換
部のブロック図を参照して説明する。
Next, details of the conversion rule will be described with reference to the block diagram of each conversion unit.

【0039】図3に、本実施例に係る短期予測分析パラ
メータ符号変換部540の機能ブロック図を示す。図3
において、短期予測分析パラメータ符号変換部540
は、符号伝送速度の調整を行うために短期予測分析パラ
メータ符号を補間する短期予測分析パラメータ補間部6
10、短期予測分析パラメータ変換を制御する短期予測
分析パラメータ変換制御部620、および、変換表を格
納し、この変換表を参照して符号変換を行なう短期予測
分析パラメータ符号対応部630を有する。
FIG. 3 shows a functional block diagram of the short-term prediction analysis parameter code conversion unit 540 according to this embodiment. FIG.
In the short-term prediction analysis parameter code conversion unit 540
Is a short-term prediction analysis parameter interpolator 6 for interpolating the short-term prediction analysis parameter code in order to adjust the code transmission rate.
10, a short-term prediction analysis parameter conversion control unit 620 that controls the short-term prediction analysis parameter conversion, and a short-term prediction analysis parameter code corresponding unit 630 that stores a conversion table and performs code conversion with reference to the conversion table.

【0040】短期予測分析パラメータ符号対応部630
の変換表は、変換対象となる入力側と出力側との双方の
短期予測分析パラメータ符号が示す量子化値を比較し、
その誤差が最小となるように双方の符号を対応させるこ
とにより作成することができる。また、短期予測分析パ
ラメータ符号が示す分析パラメータの生成方法が双方で
異なる場合、一方の分析パラメータを他方のパラメータ
生成方法にあわせた分析パラメータに変換し、この分析
パラメータを用い双方の分析パラメータのユ−クリッド
距離が最小となるよう符号を対応させ変換規則を作成す
る。また双方の短期予測分析パラメータの分析次数が異
なる場合、双方の分析パラメータ符号が示すパラメータ
を異なる次数に変換可能なケプストラムパラメータに変
換することで分析次数を揃え、変換前後のケプストラム
パラメータのユ−クリッド距離が最小となるよう符号を
対応させ変換規則を作成する。
Short-term prediction analysis parameter code correspondence unit 630
The conversion table of is to compare the quantized values indicated by the short-term prediction analysis parameter codes on both the input side and the output side to be converted,
It can be created by associating both codes so that the error is minimized. In addition, when the method of generating the analysis parameter indicated by the short-term prediction analysis parameter code is different between the two, one analysis parameter is converted into an analysis parameter suitable for the other parameter generation method, and this analysis parameter is used to convert the analysis parameter -Create a conversion rule by associating the codes so that the Crid distance is minimized. When the analysis orders of both short-term prediction analysis parameters are different, the analysis orders are aligned by converting the parameters indicated by both analysis parameter codes into cepstral parameters that can be converted into different orders, and the cepstrum parameters before and after conversion A conversion rule is created by associating the codes so that the distance is minimized.

【0041】例えば、VSELP方式とPSI−CEL
P方式との短期予測分析パラメータ符号の変換規則の作
成方法を、以下説明する。
For example, VSELP system and PSI-CEL
A method of creating a conversion rule of the short-term prediction analysis parameter code with the P method will be described below.

【0042】VSELP方式音声符号化における短期予
測分析パラメータは、10次の反射係数もしくはPAR
COR係数により量子化を行なうことにより求め、PS
I−CELP方式音声符号化では、10次のLSPパラ
メータ(短期予測分析パラメータを変換した線スペクト
ル対パラメータ)により量子化を行なって求めている。
このため、分析パラメータを共通にするためVSELP
方式の反射係数パラメータを短期予測分析パラメータに
変換し、さらに線スペクトル対パラメータに変換する。
短期予測分析パラメータと線スペクトル対パラメータと
の双方の分析パラメータを比較し、ユ−クリッド距離が
最小となるように双方の符号を対応させていくことによ
り符号の変換規則を作成する。このように、あらかじめ
対応する符号を計算により求めておき、対応する符号の
変換表を作成し、図3に示す短期予測分析パラメータ符
号対応部630に格納しておく。
The short-term predictive analysis parameter in the VSELP system speech coding is a 10th-order reflection coefficient or PAR.
PS is obtained by performing quantization with the COR coefficient, and
In the I-CELP method speech coding, quantization is performed by using a 10th-order LSP parameter (line spectrum pair parameter obtained by converting a short-term prediction analysis parameter).
Therefore, in order to make the analysis parameters common, VSELP
The scheme's reflection coefficient parameters are converted to short-term predictive analysis parameters and then to line spectrum pair parameters.
A code conversion rule is created by comparing the analysis parameters of both the short-term prediction analysis parameter and the line spectrum pair parameter, and making the codes correspond to each other so that the Euclidean distance is minimized. In this way, the corresponding code is obtained in advance by calculation, a conversion table of the corresponding code is created, and stored in the short-term prediction analysis parameter code corresponding unit 630 shown in FIG.

【0043】つぎに、図3に示す短期予測分析パラメー
タ符号変換部540における動作を説明する。
Next, the operation of the short-term prediction analysis parameter code conversion section 540 shown in FIG. 3 will be described.

【0044】図2に示す符号分離部510において分離
された短期予測分析パラメータ符号を、図3に示すDi
nから入力し、短期予測分析パラメータ符号変換制御部
620で受信する。さらに、この符号を短期予測分析パ
ラメータ符号対応部630に送信する。短期予測分析パ
ラメータ符号対応部630では、受信した符号を対応部
内の変換表に従って符号変換を行い、変換後の符号を短
期予測分析パラメータ符号変換制御部620へ送信す
る。短期予測分析パラメータ符号変換制御部620で
は、変換後の短期予測分析パラメータ符号を短期予測分
析パラメータに逆変換し、その変換後の符号と変換後の
パラメータとを短期予測分析パラメータ補間部610に
送信する。短期予測分析パラメータ補間部610では、
DinとDoutの符号伝送速度が異なる場合、変換さ
れる速度に合うよう符号を生成して追加または符号の削
除を行い、符号伝送速度の調整を行う。
The short-term prediction analysis parameter code separated by the code separation unit 510 shown in FIG. 2 is converted into Di shown in FIG.
It is input from n and received by the short-term prediction analysis parameter code conversion control unit 620. Further, this code is transmitted to the short-term prediction analysis parameter code corresponding section 630. The short-term prediction analysis parameter code corresponding unit 630 performs code conversion on the received code according to the conversion table in the corresponding unit, and transmits the converted code to the short-term prediction analysis parameter code conversion control unit 620. The short-term prediction analysis parameter code conversion control unit 620 inversely converts the converted short-term prediction analysis parameter code into a short-term prediction analysis parameter, and transmits the converted code and the converted parameter to the short-term prediction analysis parameter interpolation unit 610. To do. In the short-term prediction analysis parameter interpolation unit 610,
When the code transmission rates of Din and Dout are different, a code is generated and added or deleted to match the converted rate, and the code transmission rate is adjusted.

【0045】つぎに、この符号の補間方法を説明する。
例えば、PSI−CELP方式音声符号化で得られた短
期予測分式パラメータ符号をVSELP方式音声符号化
の短期予測パラメータ符号に変換する場合、PSI−C
ELP方式音声符号化は40ms毎に符号が伝送される
が、VSELP方式音声符号化では20ms毎に符号が
伝送される。このため、40ms毎に伝送される符号か
ら20ms毎に伝送できる符号を生成して符号の追加を
行なう。短期予測分析パラメータ符号変換制御部620
が、短期予測分析パラメータ符号としてDinから受信
し、短期予測分析パラメータ符号対応部630で変換さ
れた符号をCrn-1とCrn(nは自然数であり、Crn-
1は、Crnの一つ前(40ms前)の符号を示す)と
し、その符号が示す短期予測分析パラメータをα(mは
自然数であり、αmは、m次のベクトル要素を示し、ま
た、α0 n〜αm nは、Crnのベクトル要素を示す)のベ
クトルで表す。この符号とパラメータのベクトルを次式
で与えたとする。
Next, the interpolation method of this code will be described.
For example, when converting a short-term prediction partial parameter code obtained by PSI-CELP speech coding into a short-term prediction parameter code of VSELP speech coding, PSI-C
In ELP system voice encoding, a code is transmitted every 40 ms, whereas in VSELP system voice encoding, a code is transmitted every 20 ms. Therefore, a code that can be transmitted every 20 ms is generated from a code that is transmitted every 40 ms, and the code is added. Short-term prediction analysis parameter code conversion control unit 620
However, the codes received from Din as the short-term prediction analysis parameter code and converted by the short-term prediction analysis parameter code corresponding unit 630 are Crn-1 and Crn (n is a natural number, Crn-
1 denotes a code immediately before Crn (40 ms before), and a short-term prediction analysis parameter indicated by the code is α (m is a natural number, α m is a vector element of m-th order, and α 0 n to α m n represent vector elements of Crn). It is assumed that the vector of this code and parameter is given by the following equation.

【0046】[0046]

【数1】 [Equation 1]

【0047】[0047]

【数2】 [Equation 2]

【0048】この符号を基に、Crn-1とCrn間の生成
符号をCrn-0.5(Crn-0.5は、Crnの20ms前の
符号を示す)とし、この符号Crn-0.5を生成する。こ
の符号の生成は、Crn-1とCrnとのパラメータのベク
トルを用い、Crn-1とCrnとのパラメータの平均を求
める次式により求められる。
Based on this code, the code generated between Cr n-1 and Crn is set to Cr n-0.5 (Cr n-0.5 indicates a code 20 ms before Crn), and this code Cr n-0.5 is generated. To do. The generation of the code, using the vectors of parameters of the Cr n-1 and Cr n, is obtained by the following equation for obtaining an average of parameters between Cr n-1 and Cr n.

【0049】[0049]

【数3】 (Equation 3)

【0050】以上により、符号Crn-0.5を生成し、数
4から数6に示す、Crn-1とCrn-0.5とCrnとのそ
れぞれのベクトルを得ることができる。
As described above, the code Cr n -0.5 can be generated and the respective vectors of Cr n -1 , Cr n -0.5, and Cr n shown in Expressions 4 to 6 can be obtained.

【0051】[0051]

【数4】 [Equation 4]

【0052】[0052]

【数5】 (Equation 5)

【0053】[0053]

【数6】 (Equation 6)

【0054】また、逆に、VSELP方式音声符号化の
符号からPSI−CELP方式音声符号化の符号に変換
する場合、符号CPn-0.5を削除して伝送する。付加さ
れた符号と変換された符号とは、短期予測分析パラメー
タ符号変換制御部820に送信し、さらにDoutへ出
力される。
On the contrary, when converting the code of the VSELP system voice coding to the code of the PSI-CELP system voice coding, the code CP n -0.5 is deleted and transmitted. The added code and the converted code are transmitted to the short-term prediction analysis parameter code conversion control unit 820 and further output to Dout.

【0055】このように、符号の伝送速度が異なる場合
には、符号を追加するかもしくは削除することにより変
換後の伝送速度にあうように符号の補完を行なうことが
できる。
As described above, when the transmission rates of the codes are different, the codes can be supplemented by adding or deleting the codes so as to match the transmission rate after conversion.

【0056】つぎに、電力符号変換部550の説明をす
る。図4は、本実施例に係る電力符号変換部550の機
能ブロック図を示している。図4において、電力符号変
換部750は、符号伝送速度の調整を行うために電力値
を補間する電力値補間部710、電力符号の変換を制御
する電力符号変換制御部720、および、変換表を格納
し、この変換表を参照して符号変換を行なう電力符号対
応部730を有する。
Next, the power code converter 550 will be described. FIG. 4 is a functional block diagram of the power code conversion unit 550 according to this embodiment. In FIG. 4, the power code conversion unit 750 includes a power value interpolation unit 710 that interpolates power values in order to adjust the code transmission rate, a power code conversion control unit 720 that controls conversion of power codes, and a conversion table. It has a power code corresponding unit 730 that stores and performs code conversion with reference to this conversion table.

【0057】電力符号対応部730の変換規則は変換対
象となる入力側と出力側との双方の電力値符号が示す量
子化値を比較し、その誤差が最小となるように双方の符
号を対応させることで作成する。この場合、電力値の計
算に使用する元データが、図5に示すように異なるの
で、以下に示すような変換を行なう。図5において、V
SELP方式における電力値は、Rg0、Rg1、Rg
2、Rg3によりそれぞれ示されるサブフレーム内の入
力信号の平均信号パワーに対して、量子化され符号化さ
れるのは、Rg3のスカラ値である。Rg0、Rg1、
Rg2の値は、符号化されていないので、このRg3を
サブフレーム内の入力信号の平均信号パワーに変換し、
この平均信号パワーから求めておくことができる。ま
た、PSI−CELP方式において、R0、R1、R
2、R3によりそれぞれ示されるサブフレーム内の入力
信号の平均信号パワーに対して、量子化され符号化され
るのは、R0、R1、R2、R3のベクトル量子化であ
る。図5に示すように、VSELP方式における1サブ
フレームと2サブフレームとは、PSI−CELP方式
においては、3サブフレームに対応している。このた
め、VSELP方式からPSI−CELP方式に変換す
る場合には、以下に示すように変換をすることができ
る。
The conversion rule of the power code corresponding unit 730 compares the quantized values indicated by the power value codes on both the input side and the output side to be converted, and applies both codes so as to minimize the error. To create. In this case, since the original data used to calculate the power value is different as shown in FIG. 5, the following conversion is performed. In FIG. 5, V
The power values in the SELP method are Rg0, Rg1, and Rg.
It is the scalar value of Rg3 that is quantized and coded with respect to the average signal power of the input signal in the subframe indicated by 2 and Rg3, respectively. Rg0, Rg1,
Since the value of Rg2 is not coded, convert this Rg3 to the average signal power of the input signal in the subframe,
It can be obtained from this average signal power. In addition, in the PSI-CELP system, R0, R1, R
It is the vector quantization of R0, R1, R2, R3 that is quantized and coded for the average signal power of the input signal in the sub-frames denoted by 2 and R3 respectively. As shown in FIG. 5, 1 subframe and 2 subframes in the VSELP system correspond to 3 subframes in the PSI-CELP system. Therefore, when converting from the VSELP method to the PSI-CELP method, the conversion can be performed as shown below.

【0058】R2=(Rg0+Rg1)/2 R3=(Rg2+Rg3)/2 また、R0、R1は、VSELP方式のN−1フレーム
を利用することができる。また、その逆は、以下に示す
ように変換することができる。
R2 = (Rg0 + Rg1) / 2 R3 = (Rg2 + Rg3) / 2 Further, R0 and R1 can use N-1 frames of the VSELP system. Also, the reverse can be converted as shown below.

【0059】Rg0=Rg1=R2/2 Rg2=Rg3=R3/2 このように、電力符号対応部730で計算により変換す
るようにしてもよいし、あらかじめ計算して求めた対応
を、変換表に記憶させておいてもよい。
Rg0 = Rg1 = R2 / 2 Rg2 = Rg3 = R3 / 2 In this way, the power code corresponding unit 730 may perform conversion by calculation, or the correspondence obtained by calculation in advance may be converted into a conversion table. You may memorize it.

【0060】図2に示す符号分離部510において分離
された電力符号を、図4に示すDinから入力し、電力
符号変換制御部920で受信する。さらに、この符号を
電力符号対応部730に送信する。電力符号対応部73
0では、受信した符号を対応部内の変換表に従って符号
変換を行い、変換後の符号を電力符号変換制御部720
へ送信する。電力符号変換制御部720では、変換後の
電力符号を電力値に変換し、その変換後の符号と電力値
とを電力値補間部710に送信する。電力値補間部71
0では、電力値補間部710のDinとDoutの符号
伝送速度が異なる場合、変換される速度に合うよう符号
を生成して追加または符号の削除を行い、符号伝送速度
の調整を行う。
The power code separated by code separation section 510 shown in FIG. 2 is input from Din shown in FIG. 4 and received by power code conversion control section 920. Further, this code is transmitted to the power code corresponding unit 730. Power code corresponding unit 73
In 0, the received code is code-converted according to the conversion table in the corresponding unit, and the converted code is converted into the power code conversion control unit 720.
Send to. The power code conversion control unit 720 converts the converted power code into a power value, and transmits the converted code and power value to the power value interpolation unit 710. Power value interpolation unit 71
At 0, when the code transmission rates of Din and Dout of the power value interpolation unit 710 are different, a code is generated and added or deleted to match the conversion rate, and the code transmission rate is adjusted.

【0061】例えば、PSI−CELP方式音声符号化
で得られた電力符号をVSELP方式音声符号化の電力
符号に変換する場合、PSI−CELP方式音声符号化
は40ms毎に符号が伝送されるが、VSELP方式音
声符号化では20ms毎に符号が伝送される。このた
め、40ms毎に伝送される符号から20ms毎に伝送
できる符号を生成して符号の追加を行なう。前述した電
力値の変換方法によれば、図5に示すように、符号の伝
送速度を考慮して変換しているので、電力値補間部71
0では新たに符号を生成することなく、出力側の伝送速
度にあわせて符号を送出するようにすればよい。
For example, when converting a power code obtained by PSI-CELP speech coding into a power code for VSELP speech coding, the code is transmitted every 40 ms in PSI-CELP speech coding. In VSELP audio coding, a code is transmitted every 20 ms. Therefore, a code that can be transmitted every 20 ms is generated from a code that is transmitted every 40 ms, and the code is added. According to the above-mentioned power value conversion method, as shown in FIG. 5, the conversion is performed in consideration of the transmission rate of the code.
In the case of 0, the code may be transmitted according to the transmission rate on the output side without newly generating the code.

【0062】符号の伝送速度を考慮せずに、符号の変換
をした場合には、電力値補間部710において、以下に
示すように、符号を生成して伝送速度の調整を行なうよ
うにしてもよい。
When the code is converted without considering the transmission rate of the code, the power value interpolating unit 710 may generate the code and adjust the transmission rate as shown below. Good.

【0063】電力符号変換制御部720が、電力符号と
してDinから受信し電力符号対応部730で変換され
た符号をCPn-1とCPn(nは自然数であり、CPn-1
は、CPnの一つ前(40ms前)の符号を示す)と
し、その符号が示す電力値をP(Pnは、CPnのときの
スカラ値を示す)のスカラで表す。この符号とスカラ値
を次式で与えたとする。
The power code conversion control unit 720 receives the codes received from Din as the power code and converted by the power code corresponding unit 730 as CP n-1 and CP n (n is a natural number, CP n-1.
Denotes a code one bit before CP n (40 ms before), and the power value indicated by the code is represented by a scalar of P (P n represents a scalar value when CP n ). It is assumed that the sign and the scalar value are given by the following expressions.

【0064】[0064]

【数7】 (Equation 7)

【0065】[0065]

【数8】 (Equation 8)

【0066】この符号を基に、CPn-1とCPn間の生成
符号をCPn-0.5(CPn-0.5は、CPnの20ms前の
符号を示す)とし、この符号CPn-0.5を生成する。こ
の符号の生成は、CPn-1とCPnとのスカラ値を用い、
CPn-1とCPnとのパラメータの平均を求める次式によ
り求められる。
Based on this code, the generated code between CP n-1 and CP n is set to CP n-0.5 (CP n-0.5 indicates a code 20 ms before CP n ) and this code CP n-0.5 To generate. The generation of this code uses the scalar values of CP n-1 and CP n ,
It is obtained by the following formula for averaging the parameters of CP n-1 and CP n .

【0067】[0067]

【数9】 [Equation 9]

【0068】以上により、符号を生成し、数10から数
12に示すCPn-1とCPnとCPn-0.5とのそれぞれの
スカラ値を得ることができる。
As described above, it is possible to generate a code and obtain the scalar values of CP n-1 , CP n and CP n-0.5 shown in equations 10 to 12.

【0069】[0069]

【数10】 [Equation 10]

【0070】[0070]

【数11】 [Equation 11]

【0071】[0071]

【数12】 (Equation 12)

【0072】また、逆に、VSELP方式音声符号化の
符号からPSI−CELP方式音声符号化の符号に変換
する場合、符号CPn-0.5を削除して伝送する。付加さ
れた符号と変換された符号とは電力符号変換制御部72
0に送信し、Doutへ出力される。
On the contrary, when converting the code of the VSELP system voice coding to the code of the PSI-CELP system voice coding, the code CP n -0.5 is deleted and transmitted. The added code and the converted code are the power code conversion control unit 72.
It is transmitted to 0 and output to Dout.

【0073】つぎに、長期予測ラグ符号変換部560に
ついて図6を参照して説明する。図6は、本実施例に係
る長期予測ラグ符号変換部560の機能ブロック図を示
している。図6において、長期予測ラグ符号変換部56
0は、符号伝送速度の調整を行うために長期予測ラグを
補間する長期予測ラグ補間部810、長期予測ラグ符号
の変換を制御する長期予測ラグ符号変換制御部820、
および、変換表を格納し、この変換表を参照して符号変
換を行なう長期予測ラグ符号対応部830を有する。
Next, the long-term prediction lag code conversion section 560 will be described with reference to FIG. FIG. 6 is a functional block diagram of the long-term prediction lag code conversion unit 560 according to this embodiment. In FIG. 6, the long-term prediction lag code conversion unit 56
0 is a long-term prediction lag interpolation unit 810 that interpolates a long-term prediction lag to adjust the code transmission rate, a long-term prediction lag code conversion control unit 820 that controls conversion of the long-term prediction lag code,
Further, it has a long-term prediction lag code corresponding unit 830 which stores a conversion table and performs code conversion with reference to this conversion table.

【0074】まず、長期予測ラグ符号対応部830につ
いて説明する。長期予測ラグ符号の範囲は、VSELP
方式とPSI−CELP方式とにおいて、異なる場合
と、同じ場合とがあるので、それぞれの場合を考慮して
長期予測ラグ符号の変換を行なう。図7に示すように、
長期予測ラグにより制御される長期フィルタは、Z-n
n(長期予測ラグ)が可変であることが特徴である。本
実施例においては、VSELP方式である図1に示す音
声符号器A200の長期予測ラグ符号の範囲がLami
nからLamaxとし、その長期予測ラグ符号をLaと
し、PSI−CELP方式である音声復号器B240の
長期予測ラグの範囲はLbminからLbmaxとし、
その長期予測ラグ符号をLbとする。また、Lamin
とLbmin、もしくはLamaxとLbmaxの関係
が、次式で示すような関係があるものとする。ここで、
Nは2以上の整数であり、任意に決定される値である。
First, the long-term predicted lag code corresponding section 830 will be described. The range of long-term predicted lag code is VSELP
Since the system and the PSI-CELP system have different cases and same cases, the long-term prediction lag code conversion is performed in consideration of each case. As shown in FIG.
The long-term filter controlled by the long-term prediction lag is characterized in that n of Z −n (long-term prediction lag) is variable. In this embodiment, the range of the long-term prediction lag code of the voice encoder A200 shown in FIG. 1 which is the VSELP system is Lami.
From n to Lamax, the long-term prediction lag code is La, and the range of the long-term prediction lag of the PSI-CELP speech decoder B240 is from Lbmin to Lbmax,
Let the long-term predicted lag code be Lb. Also, Lamin
And Lbmin, or the relationship between Lamax and Lbmax has the relationship shown by the following equation. here,
N is an integer of 2 or more, and is a value that is arbitrarily determined.

【0075】[0075]

【数13】 (Equation 13)

【0076】[0076]

【数14】 [Equation 14]

【0077】[0077]

【数15】 (Equation 15)

【0078】[0078]

【数16】 [Equation 16]

【0079】上記条件で、VSELP方式の音声符号器
A200の長期予測ラグ符号LaからPSI−CELP
方式の音声復号器B240の長期予測ラグ,符号Lbn
へ変換する場合、次に説明する対応規則に基づき長期予
測ラグ符号対応部830を作成する。もしくは、同等な
計算を行い符号変換を行う。
Under the above conditions, the long-term prediction lag code La of the VSELP type speech coder A200 is changed to PSI-CELP.
Long-term prediction lag, code Lb n of the B-system speech decoder B240
In the case of converting to, the long-term prediction lag code corresponding unit 830 is created based on the correspondence rule described below. Alternatively, an equivalent calculation is performed to perform code conversion.

【0080】つぎに、本実施例における対応規則のアル
ゴリズムを図8を参照して説明する。図8に、対応規則
のアルゴリズムを示す。ここでLbn-1は、Lbnの1サ
ンプル前の長期予測ラグ符号を示している。
Next, the algorithm of the correspondence rule in this embodiment will be described with reference to FIG. FIG. 8 shows an algorithm of the correspondence rule. Here, Lb n-1 indicates the long-term prediction lag code one sample before Lb n .

【0081】まず、LaをLbminと比較し(ステッ
プ910)、La<Lbminであればステップ950
に移行し、Lbnの値をLaのN倍と決定する(ステッ
プ950)。ここで、Nは、数13に示すNで固定値で
あり、実験により最適な値を求めておく。また、ステッ
プ910において、La<Lbminでない場合、すな
わちLa≧Lbminであれば、La>Lbmaxであ
るかの比較をさらに行なう(ステップ920)。La>
Lbmaxのとき、Lbnの値は、一つ前のLbn-1の値
とする(ステップ930)。また、La>Lbmaxで
はないときは、Lbnの値をLaの値と決定する(ステ
ップ940)。各条件で処理を行い、Lbnの値を決定
した後、決定されたLbnを、つぎのサンプル値の変換
の処理におけるLbn-1とし、遅延バッファに蓄積して
おく。前述したステップ930におけるLbn-1は、こ
の遅延バッファから値を取りだすことができる。
First, La is compared with Lbmin (step 910), and if La <Lbmin, step 950.
Then, the value of Lb n is determined to be N times La (step 950). Here, N is a fixed value of N shown in Expression 13, and an optimum value is obtained by an experiment. If La <Lbmin is not satisfied in step 910, that is, if La ≧ Lbmin, then La> Lbmax is further compared (step 920). La>
In the case of Lbmax, the value of Lb n is set to the value of Lb n-1 immediately before (step 930). If La> Lbmax is not satisfied, the value of Lb n is determined as the value of La (step 940). Performs processing in each condition, after determining the value of Lb n, the determined Lb n, and Lb n-1 in the process of conversion of the next sample value, previously stored in the delay buffer. Lb n-1 in step 930 described above can fetch a value from this delay buffer.

【0082】例えば、Lbmin=20,Lbmax=
146で、Laが14である場合に、N=2とすると、
ステップ910において、La<Lbminであるとし
てステップ950に移行し、Lbnの値をLaの2倍の
28と決定する。Nは、変換後の最小値Lbminの条
件をクリアさせるための値であり、ここで、N=2とし
たのは、図9に示すように音声信号の音声ピッチの周期
性による。このため、Nは、2以上の整数であればよ
い。図9においては、音声波形のピッチ周期を示し、N
ポイントごとにほぼ同じ波形が繰り返されているので、
繰返し周期を2Nポイントにしても問題がないことがわ
かる。
For example, Lbmin = 20, Lbmax =
If La = 14 and N = 2 at 146,
In step 910, it is determined that La <Lbmin, and the process proceeds to step 950 to determine the value of Lb n to be 28, which is twice La. N is a value for clearing the condition of the converted minimum value Lbmin. Here, N = 2 is due to the periodicity of the voice pitch of the voice signal as shown in FIG. Therefore, N may be an integer of 2 or more. In FIG. 9, the pitch period of the voice waveform is shown, where N
Since the same waveform is repeated for each point,
It can be seen that there is no problem even if the repetition period is 2N points.

【0083】図8に示すように、変換後の長期予測ラグ
符号の範囲内に収まるように、長期予測ラグ符号を決定
し、長期予測ラグ符号の符号化にしたがって対応する符
号に変換される。
As shown in FIG. 8, the long-term prediction lag code is determined so that it falls within the range of the long-term prediction lag code after conversion, and is converted into a corresponding code according to the encoding of the long-term prediction lag code.

【0084】つぎに、図6に示す長期予測ラグ符号変換
部560の動作を説明する。
Next, the operation of the long-term prediction lag code conversion section 560 shown in FIG. 6 will be described.

【0085】図2に示す符号分離部510において分離
された長期予測ラグ符号をDinから入力し、長期予測
ラグ符号変換制御部820で受信する。さらに、この符
号を長期予測ラグ符号対応部830に送信する。長期予
測ラグ符号対応部830では、受信した符号を対応部内
の変換表に従って符号変換を行い、変換後の符号を長期
予測ラグ符号変換制御部820へ送信する。長期予測ラ
グ符号変換制御部820では、変換後の長期予測ラグ符
号を長期予測ラグ値に変換し、その変換後の長期予測ラ
グ符号と変換後の長期予測ラグ値を長期予測ラグ補間部
810に送信する。長期予測ラグ補間部810では、D
inとDoutとの符号伝送速度が異なる場合、変換さ
れる速度に合うよう符号を生成して追加または符号の削
除を行い、符号伝送速度の調整を行う。
The long-term prediction lag code separated by the code separation unit 510 shown in FIG. 2 is input from Din and received by the long-term prediction lag code conversion control unit 820. Furthermore, this code is transmitted to the long-term prediction lag code corresponding unit 830. The long-term prediction lag code corresponding unit 830 performs code conversion on the received code according to the conversion table in the corresponding unit, and transmits the converted code to the long-term prediction lag code conversion control unit 820. The long-term predicted lag code conversion control unit 820 converts the converted long-term predicted lag code into a long-term predicted lag value, and the converted long-term predicted lag code and the converted long-term predicted lag value in a long-term predicted lag interpolating unit 810. Send. In the long-term prediction lag interpolation unit 810, D
When the code transmission rates of in and Dout are different from each other, the code is generated and added or deleted to match the conversion rate, and the code transmission rate is adjusted.

【0086】つぎに、長期予測ラグ補間部810におけ
る補間方法を説明する。例えば、PSI−CELP方式
音声符号化で得られた長期予測ラグ符号をVSELP方
式音声符号化の長期予測ラグ符号に変換する場合、PS
I−CELP方式音声符号化は40ms毎に符号が伝送
されるが、VSELP方式音声符号化では20ms毎に
符号が伝送される。このため、40ms毎に伝送される
符号から20ms毎に伝送できる符号を生成して符号の
追加を行なう。図10に、VSELP方式における長期
予測ラグ符号とPSI−CELP方式における長期予測
ラグ符号とを示す。VSELP方式における長期予測ラ
グ符号は、それぞれのサブフレーム内においてLa0
La1、La2、La3によりそれぞれ示される。また、
PSI−CELP方式においても、Lb0、Lb1、Lb
2、Lb3によりそれぞれ示されるが、前述したように符
号の伝送速度がVSELP方式と異なる。長期予測ラグ
符号変換制御部820が、PSI−CELP方式におけ
る長期予測ラグ符号としてDinから受信され、長期予
測ラグ符号対応部830でVSELP方式に変換された
符号をCLan,CLan-1(nは自然数であり、CLa
n-1は、CLanの一つ前(40ms前)の符号を示す)
とし、その符号が示す長期予測ラグをLa(Lanは、
ベクトル要素を示す)のベクトルで表す。この符号とベ
クトルとを次式で与えたとする。
Next, the interpolation method in the long-term predicted lag interpolation section 810 will be described. For example, when converting a long-term predicted lag code obtained by PSI-CELP speech coding into a long-term predicted lag code for VSELP speech coding, PS
In the I-CELP system voice encoding, the code is transmitted every 40 ms, whereas in the VSELP system voice encoding, the code is transmitted every 20 ms. Therefore, a code that can be transmitted every 20 ms is generated from a code that is transmitted every 40 ms, and the code is added. FIG. 10 shows a long-term predicted lag code in the VSELP system and a long-term predicted lag code in the PSI-CELP system. The long-term prediction lag code in the VSELP scheme is La 0 , in each subframe,
Represented by La 1 , La 2 and La 3 , respectively. Also,
Also in the PSI-CELP system, Lb 0 , Lb 1 , Lb
2 and Lb 3 , respectively, but the code transmission rate is different from that of the VSELP system as described above. The long-term prediction lag code conversion control unit 820 receives the codes received from Din as the long-term prediction lag code in the PSI-CELP system and converted into the VSELP system by the long-term prediction lag code corresponding unit 830 as CLa n , CLa n-1 (n Is a natural number, CLa
(n-1 indicates the code immediately before CLa n (40 ms before))
And the long-term prediction lag indicated by the code is La (La n is
The vector element is shown). It is assumed that this code and vector are given by the following equation.

【0087】[0087]

【数17】 [Equation 17]

【0088】[0088]

【数18】 (Equation 18)

【0089】この符号を基に、CLan-1とCLan間の
生成符号をCLan-0.5(CLan-0.5は、CLanの2
0ms前の符号を示す)とし、この符号CLan-0.5
生成する。この符号の生成は次式により求められる。
Based on this code, the generated code between CLa n-1 and CLa n is CLa n-0.5 (CLa n-0.5 is 2 of CLa n ).
The code CLa n-0.5 is generated. The generation of this code is obtained by the following equation.

【0090】[0090]

【数19】 [Formula 19]

【0091】[0091]

【数20】 (Equation 20)

【0092】ここでは、VSELP方式とPSI−CE
LP方式とにおいて図10に示すように長期予測ラグ符
号の伝送速度が異なるので、変換後の符号(数19およ
び数20において、右辺の値)から符号CLa
n-0.5(数19に示す左辺)を生成し、さらに、CLan
の補間(数20に示す左辺)を行なっている。以上によ
り符号CLan-0.5と符号CLanとを数21および数2
2に示すように得ることができる。
Here, VSELP system and PSI-CE are used.
Since the transmission rate of the long-term prediction lag code is different from that of the LP system as shown in FIG. 10, the code CLa is converted from the code after conversion (the value on the right side in Expressions 19 and 20).
n-0.5 (left side shown in Expression 19) is generated, and CLa n is further generated.
Is interpolated (left side shown in Expression 20). From the above, the code CLa n-0.5 and the code CLa n are expressed by the equations 21 and 2.
2 can be obtained.

【0093】[0093]

【数21】 [Equation 21]

【0094】[0094]

【数22】 [Equation 22]

【0095】また、VSELP方式音声符号化の符号か
らPSI−CELP方式音声符号化の符号に変換する場
合、まずDinから入力された符号は、VSELP方式
における長期予測ラグ符号としてDinから受信され、
長期予測ラグ符号対応部830でPSI−CELPP方
式に変換された符号をCLbn,CLbn-1(nは自然数
であり、CLbn-1は、CLbnの一つ前(40ms前)
の符号を示す)とし、その符号が示す長期予測ラグをL
b(Lbnは、ベクトル要素を示す)のベクトルで表
す。
Further, in the case of converting the code of the VSELP system speech coding into the code of the PSI-CELP system speech coding, the code inputted from Din is first received from Din as the long-term prediction lag code in the VSELP system,
The codes converted into the PSI-CELPP method by the long-term prediction lag code corresponding unit 830 are CLb n and CLb n-1 (n is a natural number, CLb n-1 is one before CLb n (40 ms before).
, And the long-term prediction lag indicated by the code is L
It is represented by a vector of b (Lb n represents a vector element).

【0096】[0096]

【数23】 (Equation 23)

【0097】[0097]

【数24】 [Equation 24]

【0098】この符号に基づき次式に表す規則により符
号の削除を行う。
Based on this code, the code is deleted according to the rule shown in the following equation.

【0099】[0099]

【数25】 (Equation 25)

【0100】ここで、b,cは、比較対象のベクトル要
素を示し、この数25式は、bとcを比較し大きい方を
aに代入し、aに代入された値を残して、他を削除する
ことを示している。または、数26に示すように、bと
cを比較し小さい方を代入する次式で与える規則を用い
てもよい。
Here, b and c represent vector elements to be compared. In this equation 25, b and c are compared, the larger one is substituted for a, and the value substituted for a is left and other Is to be deleted. Alternatively, as shown in Expression 26, a rule given by the following equation for comparing b and c and substituting the smaller one may be used.

【0101】[0101]

【数26】 (Equation 26)

【0102】この式を用いて数23と数24により、補
間後の新たなベクトルの要素Lnを数27から数30に
示すように求める。
Using this equation, the elements L n of the new vector after interpolation are obtained by the equations 23 and 24 as shown in the equations 27 to 30.

【0103】[0103]

【数27】 [Equation 27]

【0104】[0104]

【数28】 [Equation 28]

【0105】[0105]

【数29】 [Equation 29]

【0106】[0106]

【数30】 [Equation 30]

【0107】[0107]

【数31】 [Equation 31]

【0108】生成されたベクトルから、数31に示すよ
うにCLbnを更新し、CLbn-0.5を削除する。変換さ
れた符号は長期予測ラグ符号変換制御部820に送信
し、Doutへ出力される。
CLb n is updated and CLb n-0.5 is deleted from the generated vector as shown in Expression 31. The converted code is transmitted to the long-term prediction lag code conversion control unit 820 and output to Dout.

【0109】このように、符号の伝送速度が異なる場合
には、符号を追加するかもしくは削除することにより変
換後の伝送速度にあうように符号の補間を行なうことが
できる。
As described above, when the transmission rates of the codes are different, it is possible to interpolate the codes so as to match the transmission rate after conversion by adding or deleting the codes.

【0110】つぎに、ゲイン符号固定コードブック符号
変換部520について図11を参照して説明する。図1
1は、本実施例に係るゲイン符号固定コードブック符号
変換部520の機能ブロック図を示している。ゲイン符
号固定コードブック符号変換では、VSELP方式およ
びPSI−CELP方式の各々の方式における適応コー
ドブックおよび固定コードブックにより、励起信号を生
成し、各々の方式におけいて生成された励起信号の誤差
が最小となるような、変換後のゲイン符号固定コードブ
ック符号を決定する。ここでは、演算量を軽減するため
に、励起信号を生成することにより変換を行なっている
が、短期予測分析パラメータを利用して音声信号を合成
して変換を行なうようにしてもよい。
Next, the gain code fixed codebook code conversion unit 520 will be described with reference to FIG. FIG.
1 shows a functional block diagram of the gain code fixed codebook code conversion unit 520 according to the present embodiment. In the gain code fixed codebook code conversion, an excitation signal is generated by the adaptive codebook and the fixed codebook in each of the VSELP method and the PSI-CELP method, and the error of the excitation signal generated in each method is reduced. The gain code fixed codebook code after conversion is determined so as to be the minimum. Here, in order to reduce the calculation amount, the conversion is performed by generating the excitation signal, but the short-term predictive analysis parameter may be used to synthesize the voice signal to perform the conversion.

【0111】図11において、ゲイン符号固定コードブ
ック符号変換部520は、入力された符号化方法により
生成される入力励起信号生成部1000、変換後の符号
化方法により生成される出力側励起信号生成部101
0、入力励起信号生成部1000と出力側励起信号生成
部1010とでそれぞれ生成された信号の誤差を計算す
る誤差計算部1030、および、誤差計算部1030で
計算された誤差が最小となるように、変換後の符号化方
法によるゲイン符号固定コードブック符号を選択する誤
差最小符号選択部1020有する。
In FIG. 11, a gain code fixed codebook code conversion unit 520 includes an input excitation signal generation unit 1000 generated by an input encoding method and an output side excitation signal generation generated by the converted encoding method. Part 101
0, an error calculation unit 1030 that calculates an error between signals generated by the input excitation signal generation unit 1000 and the output side excitation signal generation unit 1010, and an error calculated by the error calculation unit 1030 is minimized. , A minimum error code selection unit 1020 for selecting a fixed gain code fixed codebook code according to the coding method after conversion.

【0112】図11において、入力側励起信号生成部1
000は、入力された符号化方法による適応コードブッ
クA1001および固定コードブックA1002と、信
号を増幅する増幅器A1003および増幅器B1004
と、増幅器A1003および増幅器B1004における
増幅率を制御するためのゲインコードブックA1005
とを有する。また、出力側励起信号生成部1010は、
変換後の符号化方法による適応コードブックB1011
および固定コードブックB1012と、信号を増幅する
増幅器C1013および増幅器D1014と、増幅器C
1013および増幅器D1014における増幅率を制御
するためのゲインコードブックA1005とを有する。
例えば、VSELP方式からPSI−CELP方式に変
換する場合には、入力側励起信号生成部1000では、
VSELP方式により励起信号を生成し、出力側励起信
号生成部1010では、PSI−CELP方式により励
起信号を生成する。PSI−CELP方式により励起信
号を生成する場合には、さらに、雑音音源コードブック
をさらに有し、この雑音音源コードブックに基づいて、
入力側と出力側との励起信号の誤差が最小となるように
雑音音源符号が決定される。
In FIG. 11, the input side excitation signal generator 1
000 is an adaptive codebook A1001 and a fixed codebook A1002 according to the input encoding method, an amplifier A1003 and an amplifier B1004 that amplify a signal.
And a gain codebook A1005 for controlling the amplification factors in the amplifier A1003 and the amplifier B1004.
Have and. Further, the output side excitation signal generation unit 1010 is
Adaptive codebook B1011 according to the coding method after conversion
And fixed codebook B1012, amplifier C1013 and amplifier D1014 for amplifying signals, and amplifier C
1013 and a gain codebook A1005 for controlling the amplification factor in the amplifier D1014.
For example, when converting from the VSELP system to the PSI-CELP system, the input side excitation signal generation unit 1000
An excitation signal is generated by the VSELP method, and the output side excitation signal generation unit 1010 generates the excitation signal by the PSI-CELP method. When the excitation signal is generated by the PSI-CELP method, it further has a noise source codebook, and based on this noise source codebook,
The noise excitation code is determined so that the error between the excitation signals on the input side and the output side is minimized.

【0113】図11に示す構成の動作を説明する。図1
1において、図2に示す符号分離部510で分離された
長期予測ラグ符号は、D1inに入力され適応コードブ
ックA1001で受信される。適応コードブックA10
01では、入力した長期予測ラグ符号に対応した励起信
号を出力する。また、図2に示す符号分離部510で分
離された固定コードブック符号は、D2inに入力され
固定コードブックA1002で受信され、固定コードブ
ックA1002では、その固定コードブック符号に対応
した励起信号を出力する。また、図2に示す符号分離部
510で分離されたゲイン符号は、D3inに入力さ
れ、ゲインコードブックA1005において受信され、
ゲインコードブックA1005では、適応コードブック
A1001からの励起信号と固定コードブックA100
2からの励起信号との増幅の制御を用いてそれぞれ行
う。その後、増幅器A1003と増幅器B1004との
双方の励起信号を加算し、励起信号EXAを生成する。
The operation of the configuration shown in FIG. 11 will be described. FIG.
1, the long-term prediction lag code separated by the code separation unit 510 shown in FIG. 2 is input to D1in and received by the adaptive codebook A1001. Adaptive codebook A10
At 01, an excitation signal corresponding to the input long-term predicted lag code is output. The fixed codebook code separated by the code separation unit 510 shown in FIG. 2 is input to D2in and received by the fixed codebook A1002, and the fixed codebook A1002 outputs an excitation signal corresponding to the fixed codebook code. To do. The gain code separated by the code separation unit 510 shown in FIG. 2 is input to D3in and received by the gain codebook A1005.
In the gain codebook A1005, the excitation signal from the adaptive codebook A1001 and the fixed codebook A100 are used.
2 is performed using the control of amplification with the excitation signal from 2. Then, the excitation signals of both the amplifier A1003 and the amplifier B1004 are added to generate the excitation signal EXA.

【0114】一方、出力側励起信号生成部1011で
は、図2に示す長期予測ラグ符号変換部560において
変換された長期予測ラグ符号が、変換符号変換制御部5
30を介してD4inに入力され、適応コードブックB
1011で受信される。適応コードブックB1011で
は、変換された長期予測ラグ符号に対応した励起信号を
出力する。固定コードブックB1014は、誤差最小符
号選択部1020により選択された値にしたがって励起
信号を出力し、またゲインコードブックB1015は、
誤差最小符号選択部1020により選択された値にした
がって増幅器C1013と増幅器D1014との増幅率
を制御する。その後、増幅器C1013と増幅器D10
14との双方の励起信号を加算し、励起信号EXBを生
成する。
On the other hand, in the output side excitation signal generation section 1011 the long-term prediction lag code converted in the long-term prediction lag code conversion section 560 shown in FIG.
Input to D4in via 30, adaptive codebook B
It is received at 1011. Adaptive codebook B1011 outputs an excitation signal corresponding to the converted long-term prediction lag code. The fixed codebook B1014 outputs the excitation signal according to the value selected by the minimum error code selection unit 1020, and the gain codebook B1015 is
The amplification factors of the amplifier C1013 and the amplifier D1014 are controlled according to the value selected by the minimum error code selection unit 1020. After that, amplifier C1013 and amplifier D10
The excitation signals EXB and 14 are added to generate the excitation signal EXB.

【0115】また、入力側励起信号生成部で生成された
励起信号EXAと出力側励起信号生成部1010で生成
される励起信号EXBとを比較し、誤差計算部1030
でそれらの誤差を計算する。誤差最小符号選択部102
0では、誤差が最小になるように固定コードブックB1
014とゲインコードブックB1015との符号を選択
し、D1outへ変換後の固定コードブック符号を、ま
た、D2outへゲイン符号とをそれぞれ出力する。誤
差が最小となる最適なゲイン符号と固定コードブック符
号との選択方法は、従来技術による入力音声と励起信号
との比較により誤差が最小となるように制御する場合と
同様に、入力音声と励起信号との比較の代わりに、励起
信号EXAと励起信号EXBとを比較することにより求
めることができる。
Further, the excitation signal EXA generated by the input side excitation signal generation section and the excitation signal EXB generated by the output side excitation signal generation section 1010 are compared, and the error calculation section 1030 is compared.
Calculate those errors with. Minimum error code selection unit 102
At 0, the fixed codebook B1 is set so that the error is minimized.
014 and the gain codebook B1015 are selected, and the fixed codebook code after conversion to D1out and the gain code to D2out are output. The method of selecting the optimum gain code and fixed codebook code that minimize the error is similar to the case of controlling the input speech and the excitation signal according to the prior art so as to minimize the error, and Instead of comparing with the signal, it can be obtained by comparing the excitation signal EXA and the excitation signal EXB.

【0116】これにより、変換後の固定コードブック符
号とゲイン符号とを出力することができる。
By this means, it is possible to output the fixed codebook code and the gain code after conversion.

【0117】図2に示す符号多重部570では、ゲイン
符号固定コードブック符号変換部520で変換された固
定コードブック符号およびゲイン符号と、短期予測分析
パラメータ符号変換部540で変換された短期予測分析
パラメータ符号と、電力符号変換部550で変換された
電力値と、長期予測ラグ符号変換部560で変換された
長期予測ラグ符号とを、変換後の符号化方式の多重化方
法により多重化し、伝送路符号化部590により、電波
伝送区間の誤り耐性を持たせるために畳み込み符号化が
施される。このように処理することにより、特定の音声
符号化方式Aにより符号化された符号を、特定の音声符
号化方式Aとは異なる音声符号化方式Bの符号に変換す
ることができる。
In the code multiplexing unit 570 shown in FIG. 2, the fixed codebook code and the gain code converted by the gain code fixed codebook code conversion unit 520 and the short-term prediction analysis converted by the short-term prediction analysis parameter code conversion unit 540. The parameter code, the power value converted by the power code conversion unit 550, and the long-term prediction lag code converted by the long-term prediction lag code conversion unit 560 are multiplexed by the multiplexing method of the coding system after conversion and transmitted. The path coding unit 590 performs convolutional coding in order to provide error resistance in the radio wave transmission section. By processing in this way, the code encoded by the specific audio encoding method A can be converted into the code of the audio encoding method B different from the specific audio encoding method A.

【0118】図12に、前述した符号変換システムを実
現するためのハードウエア構成の一例を示す。図12に
おいて、符号変換専用ハードウエア1500は、前述し
た符号変換システムにおける音声符号変換部による変換
の処理を行なうDSP(ディジタルシグナルプロセッ
サ)1510と、DSP1510における処理プログラ
ム、入力データおよび処理結果等を記憶するメモリ15
20とを搭載し、さらに必要な場合には上位制御部との
インターフェイスを有することができる。図12におい
て、Cinから入力された符号は、前述した実施例に示
す処理をDSP1510で行って符号を変換し、Cou
tへ出力することができる。また、このDSP1500
は、上位制御部から制御されるようにしてもよい。
FIG. 12 shows an example of a hardware configuration for realizing the above-mentioned code conversion system. In FIG. 12, code conversion dedicated hardware 1500 stores a DSP (digital signal processor) 1510 that performs conversion processing by the voice code conversion unit in the code conversion system described above, a processing program, input data, processing results, and the like in DSP 1510. Memory 15
20 and can have an interface with a host controller if necessary. In FIG. 12, the code input from Cin is subjected to the processing shown in the above-described embodiment by the DSP 1510 to convert the code.
can be output to t. Also, this DSP 1500
May be controlled by the host controller.

【0119】このようにすることにより、ハードウエア
規模をより小さくすることができる。
By doing so, the hardware scale can be further reduced.

【0120】以上、符号変換装置の詳細機能を説明して
きた。
The detailed functions of the code conversion apparatus have been described above.

【0121】つぎに、符号変換装置を利用したディジタ
ル無線システムについて、第2の実施例として説明す
る。本実施例においては、符号変換装置において符号変
換を行ない、復号により音声信号に戻すことなく符号を
伝送するので、ディジタルリンクであることを相手側に
通知し、相手側では通知があると符号化を行なわないよ
うにしている。
Next, a digital radio system using the code converter will be described as a second embodiment. In this embodiment, code conversion is performed in the code conversion device, and the code is transmitted without returning to a voice signal by decoding. Therefore, the other side is notified that the link is a digital link, and the other side encodes the code. I try not to do it.

【0122】図13に、異なる音声符号化方式を有する
ディジタル無線システムの構成図を示す。図13におい
て、このディジタル無線システムは、無線で通信を行な
う携帯端末A300および携帯端末B340と、携帯端
末と無線で通信を行なう無線基地局A310および無線
基地局B330と、呼を交換する交換機320とを有す
る。
FIG. 13 shows a block diagram of a digital radio system having different voice coding systems. 13, this digital wireless system includes a mobile terminal A300 and a mobile terminal B340 that wirelessly communicate with each other, a wireless base station A310 and a wireless base station B330 that wirelessly communicate with the mobile terminal, and a switch 320 that exchanges a call. Have.

【0123】携帯端末A300は、符号化装置A301
を有する。無線基地局A310は符号変換装置311と
符号化装置A312を有する。無線基地局B330は符
号化装置B331を有する。携帯端末B340は符号化
装置B341を有する。ここで携帯端末A300の符号
化装置301と無線基地局A310の符号化装置312
は同じ音声符号化方式を用いた音声符号化装置であり、
例えばPSI−CELP方式音声符号化を搭載した符号
化装置またはVSELP方式音声符号化を搭載した符号
化装置でもよい。無線基地局B330の符号化装置33
1と携帯端末B340の符号化装置341は同じ音声符
号化方式を用いた音声符号化装置であり、携帯端末A3
00と無線基地局Aに搭載する符号化装置の音声符号化
方式と異なる音声符号化方式を搭載した符号化装置であ
る。例えば携帯端末A300の符号化装置A301の音
声符号化方式にPSI−CELP方式音声符号化を搭載
し携帯端末B340の符号化装置B341の音声符号化
方式にVSELP方式音声符号化を搭載すれば異なる音
声符号化方式間の通信システムになる。または携帯端末
A300にVSELP方式音声符号化、携帯端末B34
0にPSI−CELP方式音声符号化が搭載してもよ
い。
The mobile terminal A300 is an encoding device A301.
Have. The radio base station A310 includes a code conversion device 311 and a coding device A312. The radio base station B330 has an encoding device B331. The mobile terminal B340 has an encoding device B341. Here, the encoding device 301 of the mobile terminal A300 and the encoding device 312 of the wireless base station A310.
Is a voice encoding device using the same voice encoding method,
For example, an encoding device equipped with PSI-CELP system audio encoding or an encoding device equipped with VSELP system audio encoding may be used. Encoding device 33 of radio base station B330
1 and the encoding device 341 of the mobile terminal B340 are speech encoding devices using the same audio encoding method, and the portable terminal A3
00 and a speech coding method different from the speech coding method of the coding apparatus mounted in the radio base station A. For example, if the PSI-CELP system voice coding is installed in the voice coding system of the coding device A301 of the mobile terminal A300 and the VSELP system voice coding is installed in the voice coding system of the coding device B341 of the mobile terminal B340, different voices will be produced. It becomes a communication system between encoding systems. Alternatively, the mobile terminal A300 may use VSELP audio encoding and the mobile terminal B34
0 may be equipped with PSI-CELP audio coding.

【0124】図14は、図13におけるシステムの通話
開始前の手続きの手順を示す。図14においては、携帯
端末A300から携帯端末B340に接続する手順を示
す。携帯端末B340から携帯端末A300に接続する
手順も同様に行なえる。
FIG. 14 shows the procedure of the procedure before the call start of the system in FIG. In FIG. 14, a procedure for connecting from the mobile terminal A300 to the mobile terminal B340 is shown. The procedure for connecting from the mobile terminal B340 to the mobile terminal A300 can be performed in the same manner.

【0125】図14において、無線基地局A310は、
携帯端末A300からの発呼要求があると、交換機32
0を通して無線基地局B330に対し、無線基地局B符
号化方式の問い合わせを行なうための無線基地局B符号
化方式要求401を発する(ステップ401)。無線基
地局B330では、無線基地局B符号化方式要求401
を受信すると、携帯端末B340の音声符号化方式を確
認後、その音声符号化方式を通知するために、無線基地
局A310に対して携帯端末B340の音声符号化方式
の識別情報を付加した無線基地局B符号化方式応答40
2を送出する(ステップ402)。無線基地局A310
は、無線基地局B符号化方式応答402を受信後、携帯
端末B340の音声符号化方式が、携帯端末A300の
音声符号化方式と異なることを検出し、符号化装置Aに
よる復号化を抑止し、符号変換装置311により符号変
換を行なわせるように切替え指示を行なう(ステップ4
03)。さらに、無線基地局A310は、携帯端末B3
40の音声符号化方式が、携帯端末A300の音声符号
化方式と異なるので、無線基地局B330に対し無線基
地局B330に搭載されている符号化装置331による
符号化を使用禁止するモードを設定するために、符号化
装置B使用禁止要求404を送出する(ステップ40
4)。無線基地局B303は、符号化装置B使用禁止要
求を受信した場合には、符号化装置B311による符号
化を行なわないように抑止して交換機320からの符号
をそのまま携帯端末B340へ伝送するモードであるデ
ィジタルスルーモードの設定を行う(ステップ40
5)。さらに、無線基地局B303は、無線基地局A3
10に対し、符号化装置B使用禁止要求404に対して
ディジタルスルーモードを設定したことを示す信号であ
るディジタルスルーモード設定を送出し(ステップ40
6)、携帯端末B340に使用許可408を送出する
(ステップ408)。一方、無線基地局A310は、無
線基地局B330からのディジタルスルーモード設定を
受信後、携帯端末A300に対し使用許可を送出する
(ステップ407)。
In FIG. 14, the radio base station A310 is
When there is a call request from the mobile terminal A300, the exchange 32
Through 0, the wireless base station B 330 issues a wireless base station B encoding method request 401 for inquiring about the wireless base station B encoding method (step 401). In the wireless base station B 330, the wireless base station B encoding method request 401
When the mobile terminal B 340 receives the voice coding method, after confirming the voice coding method of the mobile terminal B 340, in order to notify the voice coding method, the radio base station A 310 is added with the identification information of the voice coding method of the mobile terminal B 340. Station B coding system response 40
2 is transmitted (step 402). Radio base station A310
After receiving the wireless base station B encoding method response 402, detects that the voice encoding method of the mobile terminal B 340 is different from the voice encoding method of the mobile terminal A 300, and suppresses decoding by the encoding device A. , A conversion instruction is issued by the code conversion device 311 so as to perform code conversion (step 4).
03). Furthermore, the wireless base station A310 is connected to the mobile terminal B3.
Since the voice coding system of 40 is different from the voice coding system of the mobile terminal A300, a mode for prohibiting the coding by the coding device 331 mounted in the radio base station B330 is set for the radio base station B330. In order to do so, an encoding device B use prohibition request 404 is transmitted (step 40).
4). When the wireless base station B303 receives the use prohibition request for the encoding device B, the wireless base station B303 suppresses the encoding by the encoding device B311 and transmits the code from the exchange 320 to the mobile terminal B340 as it is. Set a certain digital through mode (step 40
5). Furthermore, the wireless base station B303 is connected to the wireless base station A3.
The digital through mode setting, which is a signal indicating that the digital through mode has been set in response to the use prohibition request 404 of the encoding apparatus B, is sent to the terminal 10 (step 40).
6) The usage permission 408 is sent to the mobile terminal B340 (step 408). On the other hand, the radio base station A310, after receiving the digital through mode setting from the radio base station B330, sends the use permission to the mobile terminal A300 (step 407).

【0126】このようにして、無線基地局間において、
符号化方式の確認を行ない、符号変換をする必要がある
場合にはその符号変換を行なうように設定し、復号化を
行なわないように設定しておくことができる。このよう
な確認をすることにより、異なる音声符号化方式を有す
る携帯端末間でもディジタル2リンクにすることなく伝
送することができる。
Thus, between the radio base stations,
It is possible to confirm the encoding method, and if it is necessary to perform code conversion, the code conversion can be set to be performed, and the decoding can be set not to be performed. By making such a confirmation, it is possible to transmit even between mobile terminals having different audio encoding methods without forming a digital 2 link.

【0127】つぎに、第3の実施例を説明する。第3の
実施例のおいては、音声符号化方式として、日本規格の
VSELP方式と米国規格のVSELP方式とを備える
ディジタルセルラ通信システムで、双方のVSELP方
式に変換する符号変換装置について説明する。
Next, a third embodiment will be described. In the third embodiment, a code conversion device for converting to both VSELP systems in a digital cellular communication system having a Japanese standard VSELP system and an American standard VSELP system as a voice encoding system will be described.

【0128】図15に、符号変換装置を備え、日本と米
国間を双方のディジタルセルラ端末で通話できるシステ
ムを示す。また、図16に、日本規格のVSELP方式
と米国規格のVSELP方式とのフレームのビット配分
の比較例を示す。図16に示すように、日本規格と米国
規格とでは各符号のフレームに対するビット配分が異な
り、また、米国規格の方がコードブックが1つ多い。こ
のため、フレームに対するビット配分は伝送路上の伝送
ビットレートによるので、前述した第1の実施例におけ
る各変換部の補間部によりビットレートを変換後のビッ
トレートにあわせるように調整することにより行なえ
る。また、米国規格ではコードブックが1つ多いので、
図11に示すゲイン符号固定コードブック符号変換部5
20と同様に、図17に示すように、入力側の励起信号
と出力側の励起信号とを、日本規格のコードブック17
00と米国規格のコードブック1710および1720
とを利用して生成し、最小誤差選択部1730において
両者の励起信号を比較することによりその差が最小とな
るようにコードブックの符号を選択するようにすればよ
い。
FIG. 15 shows a system provided with a code conversion device and capable of communicating between Japan and the United States by both digital cellular terminals. Further, FIG. 16 shows an example of comparison of frame bit allocation between the Japanese standard VSELP system and the American standard VSELP system. As shown in FIG. 16, the Japanese standard and the American standard have different bit allocations for each code frame, and the American standard has one more codebook. Therefore, since the bit allocation to the frame depends on the transmission bit rate on the transmission path, it can be performed by adjusting the bit rate by the interpolation section of each conversion section in the first embodiment so as to match the converted bit rate. . Also, since there is one more codebook in the American standard,
Gain code fixed codebook code conversion unit 5 shown in FIG.
As in FIG. 20, as shown in FIG. 17, the excitation signal on the input side and the excitation signal on the output side are codebook 17 of the Japanese standard.
00 and American Standard Codebooks 1710 and 1720
And the code of the codebook is selected so that the difference between the two excitation signals is minimized in the minimum error selection unit 1730.

【0129】図15において、このシステムは、無線で
通信を行なう携帯端末A1100および携帯端末B11
90と、携帯端末と無線で通信を行なう無線基地局A1
120および無線基地局B1180と、呼を交換する交
換機A1130および交換機B1170と、データを多
重化しまたは分離する多重化装置A1140および多重
化装置B1160と、多重化装置間を接続させる伝送路
1150とを有する。
In FIG. 15, this system has a mobile terminal A1100 and a mobile terminal B11 which communicate wirelessly.
90 and a wireless base station A1 that wirelessly communicates with a mobile terminal.
120 and a radio base station B1180, a switch A1130 and a switch B1170 for exchanging calls, a multiplexer A1140 and a multiplexer B1160 for multiplexing or separating data, and a transmission line 1150 for connecting the multiplexers. .

【0130】携帯端末A1100は、日本規格のVSE
LP方式により符号化/復号化を行なう符号化装置A1
101を有し、無線基地局A1120は、日本規格のV
SELP方式により符号化/復号化を行なう符号化装置
A1121と、日本規格のVSELP方式と米国規格の
VSELP方式との符号変換を行なう符号変換装置11
22とを有する。また、携帯端末B1190は、米国規
格のVSELP方式により符号化/復号化を行なう符号
化装置B1101を有し、無線基地局B1180は、米
国規格のVSELP方式により符号化/復号化を行なう
符号化装置B1181を有する。
The mobile terminal A1100 is a Japanese standard VSE.
Encoding device A1 for encoding / decoding by the LP system
101, and the wireless base station A1120 is a Japanese standard V
Encoding device A1121 for encoding / decoding by SELP system, and code conversion device 11 for performing code conversion between Japanese standard VSELP system and American standard VSELP system.
22. Further, the mobile terminal B1190 has an encoding device B1101 that performs encoding / decoding according to the American standard VSELP system, and the wireless base station B1180 has an encoding device that performs encoding / decoding according to the American standard VSELP system. It has B1181.

【0131】図15において、携帯端末A1100の符
号化装置A1101で日本規格のVSELP方式により
符号化された符号は、無線基地局A1121の符号変換
装置1122において、米国規格のVSELP方式で使
用できる符号に変換され、交換機A1130、多重化装
置A1140、伝送路1150、多重化装置B1160
および交換機B1170を介して無線基地局B1180
に伝送される。無線基地局B1180では、符号化装置
B1181を使用せず交換機B1170から受信した符
号をそのまま携帯端末B1190へ伝送する。携帯端末
B1190は受信した符号から米国規格のVSELP方
式に従って音声信号を再生する。
In FIG. 15, the code coded by the coding device A1101 of the portable terminal A1100 by the Japanese standard VSELP system is converted into a code that can be used by the US standard VSELP system by the code conversion device 1122 of the radio base station A1121. After being converted, the exchange A1130, the multiplexer A1140, the transmission line 1150, and the multiplexer B1160.
And the radio base station B1180 via the exchange B1170.
Be transmitted to. The radio base station B1180 directly transmits the code received from the exchange B1170 to the mobile terminal B1190 without using the encoding device B1181. The mobile terminal B1190 reproduces an audio signal from the received code according to the American standard VSELP system.

【0132】本実施例によれば、音声符号化が異なる日
本規格のVSELP方式と米国規格のVSELP方式と
を備えるディジタルセルラ通信システムにおいて、符号
の変換を実現することができ、通信を行なうことができ
る。
According to the present embodiment, code conversion can be realized and communication can be performed in a digital cellular communication system provided with the Japanese standard VSELP system and the American standard VSELP system which are different in voice coding. it can.

【0133】つぎに、第4の実施例について説明する。
図18に、符号変換装置を有線通信システムに適用した
場合の構成図を示す。
Next, a fourth embodiment will be described.
FIG. 18 shows a configuration diagram when the code conversion device is applied to a wired communication system.

【0134】図18において、有線通信システムは、呼
を交換する交換機A1200、交換機B1210、交換
機C1220および交換機D1260と、通信端末の電
話機A1230および電話機B1240とを有する。
In FIG. 18, the wired communication system has an exchange A1200 for exchanging calls, an exchange B1210, an exchange C1220 and an exchange D1260, and telephones A1230 and B1240 as communication terminals.

【0135】また、交換機A1200は符号化装置A1
211を有し、交換機C1220は符号化装置B122
1を有し、交換機D1260は符号化装置A1251を
有する。交換機B1210は符号変換装置1211と、
経路情報および接続先の符号化方式を記憶する接続先情
報1212を有する。交換機A1200内の符号化装置
A1201と、交換機D1250内の符号化装置B12
51とは、音声符号化方式Aを搭載している。交換機C
1220内の符号化装置B1221は、音声符号化方式
Aと異なる音声符号化方式Bを搭載する。各交換機に搭
載されている音声符号化方式の種類は、接続先情報12
12にあらかじめ登録されている。
Further, the exchange A1200 is the encoding device A1.
211, and the exchange C1220 has an encoding device B122.
1 and the exchange D1260 has an encoding device A1251. The exchange B1210 includes a code conversion device 1211,
It has connection destination information 1212 that stores the route information and the encoding system of the connection destination. Encoding device A1201 in exchange A1200 and encoding device B12 in exchange D1250
51 is equipped with the audio encoding system A. Switch C
The coding device B 1221 in 1220 is equipped with a speech coding system B different from the speech coding system A. The type of voice coding system installed in each exchange is the connection destination information 12
It is registered in advance in 12.

【0136】図18において、電話機A1230と電話
機B1240間で通話する場合、電話機A1230から
入力された音声は交換機A1200内の符号化装置A1
201で音声符号化され、交換機B1210へ符号が送
出される。交換機B1210は、接続先の交換機C12
20の符号化方式を接続先情報1212を参照し、符号
化方式が異なることを検出し、符号変換装置1211を
使用して符号化方式を変換することを決定する。交換機
A1200からの符号は、交換機B内の符号変換装置1
211で交換機C1220内の符号化装置B1221で
使用可能な符号化方式Bの符号に変換され、交換機C1
220へ送出される。交換機C1220内の符号化装置
B1221では、受信した符号を用い音声信号に復号
し、電話機Bへ送出する。
In FIG. 18, when a telephone call is made between the telephone set A1230 and the telephone set B1240, the voice inputted from the telephone set A1230 is encoded by the encoding apparatus A1 in the exchange A1200.
The voice is encoded in 201, and the code is transmitted to the exchange B1210. The exchange B1210 is a connection destination exchange C12.
For the 20 coding systems, the connection destination information 1212 is referred to, it is detected that the coding systems are different, and it is decided to convert the coding system using the code conversion device 1211. The code from the exchange A1200 is the code conversion device 1 in the exchange B.
At 211, the code is converted into the code of the coding method B that can be used by the coding device B1221 in the exchange C1220.
To 220. The encoding device B1221 in the exchange C1220 decodes the received code into a voice signal and sends it to the telephone set B.

【0137】一方、電話機A1230と電話機C126
0間で通話する場合、交換機B1210は、接続先情報
1212を参照することにより音声符号化方式が同じで
あることを検出し、符号化方式が同じであるので符号変
換装置1211を用いないで交換機A1200からの符
号をそのまま交換機D1250へ送出する。交換機D1
250内の符号化装置A1251は、受信した符号を音
声信号に復号し電話機C1260へ送出する。
On the other hand, telephone A1230 and telephone C126
When making a call between 0s, the exchange B 1210 detects that the voice encoding method is the same by referring to the connection destination information 1212, and since the encoding method is the same, the exchange B 1210 does not use the code converter 1211. The code from A1200 is sent to the exchange D1250 as it is. Exchange D1
Encoding device A1251 in 250 decodes the received code into a voice signal and sends it to telephone C1260.

【0138】本実施例によれば、符号変換装置を有線通
信システムに適用することができる。
According to this embodiment, the code conversion device can be applied to a wired communication system.

【0139】つぎに、符号変換装置および多重化装置を
用いた有線通信システムの第5の実施例を説明する。本
実施例においては、第4の実施例にさらに多重化装置を
備え、多重化装置に符号変換装置を備える場合を例にす
る。
Next, a fifth embodiment of the wired communication system using the code conversion device and the multiplexing device will be described. In the present embodiment, the case where the fourth embodiment is further provided with a multiplexer and the multiplexer is provided with a code conversion device will be described as an example.

【0140】図19に、本実施例における有線通信シス
テムの構成図を示す。図19において、この有線通信シ
ステムは、通信端末である電話機A1300、電話機B
1370および電話機C1380と、呼を交換する交換
機A1310、交換機B1360および交換機C134
0と、データを多重化しまたは分離する多重化装置A1
320、多重化装置B1330および多重化装置C13
50とを有する。
FIG. 19 shows a block diagram of the wired communication system in this embodiment. In FIG. 19, the wired communication system includes a telephone A 1300 and a telephone B which are communication terminals.
1370 and telephone C1380, and exchange A1310, exchange B1360 and exchange C134 for exchanging calls.
0 and a multiplexer A1 for multiplexing or separating data
320, multiplexer B1330 and multiplexer C13
50 and.

【0141】また、多重化装置A1320は符号化装置
A1321を有し、多重化装置B1330は符号変換装
置1331を有し、多重化装置C1350は符号化装置
B1351を有する。多重化装置A1320内の符号化
装置A1321は、音声符号化方式Aを搭載している。
多重化装置C1350内の符号化装置B1351は、音
声符号化方式Aと異なる音声符号化方式Bを搭載する。
多重化装置間の通信においては、接続経路が固定されて
いるので、接続先の符号化方式にあわせて符号化方式を
変換する場合と、そのまま伝送する場合とがあらかじめ
規定されている。図19に示す例では、電話機A130
0と電話機B1370間で通話する場合、交換機A13
10、多重化装置A1320、多重化装置B1330、
多重化装置C1350および交換機B1360を介して
通信を行なうように接続経路が規定されているものとす
る。
The multiplexer A1320 has an encoder A1321, the multiplexer B1330 has a code converter 1331, and the multiplexer C1350 has an encoder B1351. The encoding device A1321 in the multiplexing device A1320 is equipped with the audio encoding method A.
The coding device B1351 in the multiplexing device C1350 is equipped with a voice coding system B different from the voice coding system A.
In the communication between the multiplexers, since the connection path is fixed, it is prescribed in advance whether to convert the encoding method according to the encoding method of the connection destination or to transmit it as it is. In the example shown in FIG. 19, telephone A130
0 and telephone B1370, the exchange A13
10, multiplexer A 1320, multiplexer B 1330,
It is assumed that the connection path is defined so as to communicate via the multiplexer C1350 and the exchange B1360.

【0142】図19において、電話機A1300と電話
機B1370間で通話する場合、電話機A1300から
入力された音声信号は、交換機A1310を通り多重化
装置A1320に伝送される。伝送された音声信号は、
多重化装置A1320内の符号化装置A1321で音声
符号化される。その符号は、多重化装置B1330の符
号変換装置1331において、多重化装置C1350内
の符号化装置B1351で使用できる符号化方式Bの符
号に変換され、その符号を多重化装置C1350に送出
する。多重化装置C1350では、受信した符号を符号
化装置B1351で音声信号に復号し、交換機B136
0を介して電話機B1370に伝送する。
In FIG. 19, when a telephone call is made between the telephone set A1300 and the telephone set B1370, the voice signal input from the telephone set A1300 is transmitted to the multiplexer A1320 through the exchange A1310. The transmitted audio signal is
Speech coding is performed by a coding device A1321 in the multiplexing device A1320. The code is converted in the code converter 1331 of the multiplexer B1330 into a code of the coding method B that can be used by the encoder B1351 in the multiplexer C1350, and the code is sent to the multiplexer C1350. In the multiplexer C1350, the received code is decoded into a voice signal by the encoder B1351 and the exchange B136 is used.
0 to the telephone set B1370.

【0143】また、電話機A1300と電話機B137
0間で通話する場合、交換機A1310、多重化装置A
1320、多重化装置B1330、交換機C1340、
多重化装置B1330、多重化装置C1350および交
換機B1360を介して通信を行なうように接続経路が
規定されていてもよい。この場合、図19において、電
話機A1300と電話機B1370間で通話する場合、
電話機A1300から入力された音声信号は、交換機A
1310を通り多重化装置A1320に伝送される。伝
送された音声信号は、交換機C1340に伝送され、再
び多重化装置B1330に入力される。多重化装置B1
330の符号変換装置1331では、入力された符号
を、多重化装置C1350内の符号化装置B1351で
使用できる符号化方式Bの符号に変換し、その符号を多
重化装置C1350に送出する。多重化装置C1350
では受信した符号を符号化装置B1351で音声信号に
復号し交換機B1360を通し電話機B1370に伝送
する。
Further, the telephone set A1300 and the telephone set B137
When making a call between 0s, the exchange A 1310, the multiplexer A
1320, multiplexer B1330, exchange C1340,
A connection path may be defined so that communication is performed via the multiplexer B1330, the multiplexer C1350, and the exchange B1360. In this case, in FIG. 19, when a call is made between the telephone A1300 and the telephone B1370,
The voice signal input from the telephone A1300 is the same as that of the exchange A.
It is transmitted to the multiplexer A 1320 through 1310. The transmitted voice signal is transmitted to the exchange C1340 and input again to the multiplexer B1330. Multiplexer B1
The code conversion device 1331 of 330 converts the input code into a code of the coding method B that can be used by the coding device B1351 in the multiplexing device C1350, and sends the code to the multiplexing device C1350. Multiplexer C1350
Then, the received code is decoded into a voice signal by the encoding device B1351 and transmitted to the telephone set B1370 through the exchange B1360.

【0144】このような経路が規定されている場合に
も、符号変換装置を利用して出力先の符号化方式に変換
するようにできる。
Even when such a route is defined, it is possible to use the code conversion device to convert to the encoding system of the output destination.

【0145】つぎに、携帯端末にアダプタとして符号変
換装置を適用した場合の第6の実施例を説明する。図2
0に、本実施例における構成図を示す。
Next, a sixth embodiment in which a code conversion device is applied as an adapter to a portable terminal will be described. Figure 2
0 is a block diagram of this embodiment.

【0146】図20において、このシステムは、無線で
通信を行なう携帯端末A1400と、携帯端末と無線で
通信を行なう無線基地機局A1420と、呼を交換する
交換機1430とを有する。携帯端末A1400は、符
号化装置A1401を有し、アダプタ1410は符号変
換装置1411を有し、無線基地局A1420は符号化
装置B1421を有する。携帯端末A1400内の符号
化装置A1401は、音声符号化方式Aを搭載し、無線
基地局A1420内の符号化装置B1421は、音声符
号化方式Aと異なる音声符号化方式Bを搭載する。例え
ば、無線基地局A1420内の符号化装置B1421
に、PSI−CELP方式音声符号化が搭載され、携帯
端末A1400内の符号化装置A1401にVSELP
方式音声符号化が搭載された場合、アダプタ1410内
の符号変換装置1411では、PSI−CELP方式音
声符号化の符号とVSELP方式音声符号化の符号間の
符号変換を行う。符号変換を行なうか否かは、前述した
図14に示すような問い合わせを行なうことにより確認
するようにしてもよい。
In FIG. 20, this system has a mobile terminal A1400 that wirelessly communicates, a radio base station A1420 that wirelessly communicates with the mobile terminal, and an exchange 1430 that exchanges a call. The mobile terminal A1400 has an encoding device A1401, the adapter 1410 has a transcoding device 1411, and the radio base station A1420 has an encoding device B1421. The coding device A1401 in the mobile terminal A1400 is equipped with a speech coding system A, and the coding device B1421 in the radio base station A1420 is equipped with a speech coding system B different from the speech coding system A. For example, the encoding device B1421 in the radio base station A1420.
PSI-CELP audio coding is installed in the mobile terminal A1400, and VSELP is applied to the coding device A1401 in the mobile terminal A1400.
When the system voice coding is installed, the code converter 1411 in the adapter 1410 performs code conversion between the PSI-CELP system voice coding code and the VSELP system voice coding code. Whether or not the code conversion is performed may be confirmed by making an inquiry as shown in FIG.

【0147】本実施例によれば、このアダプタ1410
を使用することでPSI−CELP方式音声符号化の圏
内でもVSELP方式音声符号化を搭載した携帯端末が
使用できる。
According to this embodiment, this adapter 1410
By using, a mobile terminal equipped with VSELP audio coding can be used even within the PSI-CELP audio coding range.

【0148】上記各実施例によれば、量子化値または量
子化方法が異なる音声符号化方式間の符号を一度音声信
号に戻すことなく、予め用意された符号変換規則に基づ
き直接双方の符号を変換する符号変換システムを構築で
きる。この符号変換システムによれば、ハードウェア規
模として符号変換部は追加されるが、短期予測分析、電
力計算、音声合成の部分の簡略化が図られ、装置規模の
増大を防ぎ、これらの処理を削減しているため信号処理
の遅延を改善でき、さらに量子化誤差による音声品質の
劣化を押さえることができる。
According to each of the above-described embodiments, both codes are directly converted based on a code conversion rule prepared in advance without returning the code between the audio coding methods having different quantized values or quantizing methods to the audio signal once. A code conversion system for conversion can be constructed. According to this code conversion system, a code conversion unit is added as a hardware scale, but the short-term prediction analysis, power calculation, and voice synthesis can be simplified to prevent an increase in device size and to perform these processes. Since it is reduced, the delay of the signal processing can be improved and the deterioration of the voice quality due to the quantization error can be suppressed.

【0149】[0149]

【発明の効果】本発明によれば、量子化値または量子化
方法が異なる音声符号化方式間の通話において、一度再
生音声に戻すことなしに通話が行なえる符号変換システ
ムを実現できる。また、短期予測分析、電力計算、音声
合成の部分の簡略化が図られ、装置規模の増大を防ぎ、
これらの処理を削減しているため信号処理の遅延を改善
でき、さらに量子化誤差による音声品質の劣化を押さえ
ることができる。
As described above, according to the present invention, it is possible to realize a code conversion system capable of performing a call without returning to the reproduced voice once in a call between voice coding systems having different quantized values or quantization methods. In addition, the short-term prediction analysis, power calculation, and voice synthesis have been simplified, preventing an increase in device scale,
Since these processes are reduced, the delay of signal processing can be improved and the deterioration of the voice quality due to the quantization error can be suppressed.

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

【図1】本発明の第1の実施例のシステム図である。FIG. 1 is a system diagram of a first embodiment of the present invention.

【図2】本発明の第1の実施例の符号変換装置のブロッ
ク図である。
FIG. 2 is a block diagram of a code conversion device according to a first embodiment of the present invention.

【図3】第1の実施例に係る短期予測分析パラメータ符
号変換部の機能ブロック図である。
FIG. 3 is a functional block diagram of a short-term prediction analysis parameter code conversion unit according to the first example.

【図4】第1の実施例に係る電力符号変換部の機能ブロ
ック図である。
FIG. 4 is a functional block diagram of a power code conversion unit according to the first example.

【図5】第1の実施例に係る電力符号変換における説明
図である。
FIG. 5 is an explanatory diagram of power code conversion according to the first embodiment.

【図6】第1の実施例に係る長期予測ラグ符号変換部の
機能ブロック図である。
FIG. 6 is a functional block diagram of a long-term prediction lag code conversion unit according to the first example.

【図7】第1の実施例に係る適応フィルタの機能ブロッ
ク図である。
FIG. 7 is a functional block diagram of an adaptive filter according to the first embodiment.

【図8】第1の実施例に係る長期予測ラグ符号変換にお
けるフロー図である。
FIG. 8 is a flowchart of long-term prediction lag code conversion according to the first embodiment.

【図9】第1の実施例に係る音声信号の波形図である。FIG. 9 is a waveform diagram of an audio signal according to the first embodiment.

【図10】第1の実施例に係る長期予測ラグ符号変換に
おける説明図である。
FIG. 10 is an explanatory diagram of long-term prediction lag code conversion according to the first embodiment.

【図11】第1の実施例に係るゲイン符号固定コードブ
ック符号変換部の機能ブロック図である。
FIG. 11 is a functional block diagram of a gain code fixed codebook code conversion unit according to the first embodiment.

【図12】第1の実施例に係る符号変換システムのハー
ドウェアブロック図である。
FIG. 12 is a hardware block diagram of a code conversion system according to the first embodiment.

【図13】第2の実施例に係る符号変換システムの応用
システムの説明図である。
FIG. 13 is an explanatory diagram of an application system of the code conversion system according to the second embodiment.

【図14】第1の実施例に係る符号変換システムを用い
た無線通信システムの動作開始のシ−ケンス図である。
FIG. 14 is a sequence diagram of an operation start of a wireless communication system using the code conversion system according to the first example.

【図15】第3の実施例に係る符号変換システムの応用
システムの説明図である。
FIG. 15 is an explanatory diagram of an application system of the code conversion system according to the third embodiment.

【図16】第3の実施例に係る日本と米国とのVSEL
Pの符号の説明図である。
FIG. 16 is a VSEL between Japan and the US according to the third embodiment.
It is explanatory drawing of the code | symbol of P.

【図17】第3の実施例に係るゲイン符号固定コードブ
ック符号変換部の機能ブロック図である。
FIG. 17 is a functional block diagram of a gain code fixed codebook code conversion unit according to the third embodiment.

【図18】第4の実施例に係る符号変換システムの応用
システムの説明図である。
FIG. 18 is an explanatory diagram of an application system of the code conversion system according to the fourth embodiment.

【図19】第5の実施例に係る符号変換システムの応用
システムの説明図である。
FIG. 19 is an explanatory diagram of an application system of the code conversion system according to the fifth example.

【図20】第6の実施例に係る符号変換システムの応用
システムの説明図である。
FIG. 20 is an explanatory diagram of an application system of the code conversion system according to the sixth embodiment.

【図21】従来のディジタルセルラ通信システムの説明
図である。
FIG. 21 is an explanatory diagram of a conventional digital cellular communication system.

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

100・300・1100…携帯端末A、101・11
1・301・312・1101・1121・1201・
1321・1401…符号化装置A、110・310・
1120…無線基地局A、120・1130・1200
・1310…交換機A、130・1150…伝送路、1
40・1170・1210・1360…交換機B、15
0・330・1180…無線基地局B、160・340
・1190…携帯端末B、161・151・331・3
41・1181・1191・1221・1251・13
51・1421…符号化装置B、200…符号器A、2
10…伝送路A、220・311・1122・1211
・1331・1411…符号変換システム、230…伝
送路B、240…復号器B、320・1430…交換
機、401…無線基地局B符号化方式要求、402…無
線基地局B符号化方式応答、403…符号変換システム
と符号化装置Aとの切替え、404…符号化装置B使用
禁止要求、405・406…ディジタルスル−モ−ド設
定、407・408…使用許可、500…音声符号変換
部、510…符号分離部、520…ゲイン符号固定コー
ドブック符号変換部、530…符号変換制御部、540
…短期予測分析パラメ−タ符号変換部、550…電力値
符号変換部、560…長期予測ラグ符号変換部、570
…符号多重部、580…伝送路復号化部、590…伝送
路符号化部、610…短期予測分析パラメ−タ補間部、
620…短期予測分析パラメ−タ符号変換制御部、63
0…短期予測分析パラメ−タ符号対応部、710…電力
値補間部、720…電力符号変換制御部、730…電力
符号対応部、810…長期予測ラグ補間部、820…長
期予測ラグ符号変換制御部、830…長期予測ラグ符号
対応部、1000…入力側励起信号生成部、1001…
適応コ−ドブックA、1002…固定コ−ドブックA、
1003…増幅器A、1004…増幅器B、1005…
ゲインコ−ドブックA、1010…出力側励起信号生成
部、1011…適応コ−ドブックB、1012…固定コ
−ドブックB、1013…増幅器C、1014…増幅器
D、1015…ゲインコ−ドブックB、1020…誤差
最小符号選択部、1030…誤差計算部、1140・1
320…多重化装置A、1150・1330…多重化装
置B、1212…接続先情報、1230・1300…電
話機A、1240・1370…電話機B、1260・1
380…電話機C、1220・1340…交換機C、1
350…多重化装置C、1400…携帯端末、1410
…アダプタ、1500…符号変換専用ハ−ドウェア、1
510…DSP、1520…メモリ。
100/300/1100 ... Mobile terminal A, 101/11
1 ・ 301 ・ 312 ・ 1101 ・ 1121 ・ 1201 ・
1321, 1401 ... Encoding device A, 110, 310.
1120 ... Radio base station A, 120/1130/1200
1310 ... Switch A, 130/1150 ... Transmission line, 1
40/1170/1210/1360 ... Exchange B, 15
0 ・ 330 ・ 1180 ... Radio base station B, 160 ・ 340
1190 ... Mobile terminal B, 161.151.331.3.
41/1181/1191/1221/1251/13
51.1421 ... Encoding device B, 200 ... Encoder A, 2
10 ... Transmission line A, 220, 311, 1122, 1211
1331 1411 ... Code conversion system, 230 ... Transmission line B, 240 ... Decoder B, 320/1430 ... Exchange, 401 ... Radio base station B encoding method request, 402 ... Radio base station B encoding method response, 403 ... Switching between the code conversion system and the coding apparatus A, 404 ... Request for prohibiting the use of the coding apparatus B, 405 and 406 ... Setting of digital through mode, 407 and 408 ... Permission of use, 500 ... Voice code conversion unit, 510 ... code separation unit, 520 ... gain code fixed codebook code conversion unit, 530 ... code conversion control unit, 540
... Short-term prediction analysis parameter code conversion unit, 550 ... Power value code conversion unit, 560 ... Long-term prediction lag code conversion unit, 570
... code multiplexing unit, 580 ... transmission channel decoding unit, 590 ... transmission channel coding unit, 610 ... short-term prediction analysis parameter interpolation unit,
620 ... Short-term prediction analysis parameter code conversion control unit, 63
0 ... Short-term prediction analysis parameter code corresponding unit, 710 ... Power value interpolation unit, 720 ... Power code conversion control unit, 730 ... Power code corresponding unit, 810 ... Long-term prediction lag interpolation unit, 820 ... Long-term prediction lag code conversion control Unit, 830 ... Long-term predicted lag code corresponding unit, 1000 ... Input side excitation signal generation unit, 1001 ...
Adaptive codebook A, 1002 ... Fixed codebook A,
1003 ... Amplifier A, 1004 ... Amplifier B, 1005 ...
Gain codebook A, 1010 ... Output side excitation signal generation unit, 1011 ... Adaptive codebook B, 1012 ... Fixed codebook B, 1013 ... Amplifier C, 1014 ... Amplifier D, 1015 ... Gain codebook B, 1020 ... Error Minimum code selection unit, 1030 ... Error calculation unit, 1140.1
320 ... Multiplexing device A, 1150/1330 ... Multiplexing device B, 1212 ... Connection destination information, 1230/1300 ... Telephone A, 1240/1370 ... Telephone B, 1260/1
380 ... Telephone C, 1220/1340 ... Exchange C, 1
350 ... Multiplexing device C, 1400 ... Mobile terminal, 1410
… Adapter, 1500… Code conversion hardware, 1
510 ... DSP, 1520 ... Memory.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】音声信号を予め定められた分析時間間隔毎
に符号励起線形予測により分析を行い、スペクトル包絡
情報とスペクトル微細構造とに分離し、前記スペクトル
包絡情報を量子化して符号化した短時間分析符号と、音
声信号の電力を量子化して符号化した電力符号と、前記
スペクトル微細構造を表し、長期予測ラグフィルタのあ
らかじめ定められた予測ラグ範囲にしたがって、前記長
期予測ラグフィルタのフィルタ係数を量子化して符号化
した長期予測ラグ符号と、前記スペクトル微細構造の振
幅を量子化して符号化したゲイン符号とを多重化するこ
とにより前記音声信号を符号化する第1の音声符号化方
法により符号化された多重化符号を、符号励起線形予測
符号化方法であって、当該第1の音声符号化方法と量子
化値が異なる符号化を行なう第2の音声符号化方法によ
る多重化符号に変換する符号変換装置であって、 前記第1の音声符号化方法により符号化された多重化符
号を入力し、前記各々の符号毎に分離する符号分離部
と、 前記符号分離部により分離された各々の符号を、前記第
1の音声符号化方法による符号と前記第2の音声符号化
方法による符号との対応関係にしたがって、前記第2の
音声符号化方法による各々の符号に変換する変換部と、 前記変換部により変換された前記第2の音声符号化方法
による各々の符号を多重化する多重化部とを有すること
を特徴とする符号変換装置。
1. A short code obtained by analyzing a voice signal by code excitation linear prediction at predetermined analysis time intervals, separating the spectrum envelope information and a spectrum fine structure, and quantizing and encoding the spectrum envelope information. A temporal analysis code, a power code obtained by quantizing and encoding the power of a voice signal, and the spectrum fine structure, and according to a predetermined prediction lag range of a long-term prediction lag filter, a filter coefficient of the long-term prediction lag filter. By the first speech coding method for coding the speech signal by multiplexing the long-term prediction lag code obtained by quantizing and coding the A coded linear predictive coding method, in which the coded multiplexed code is different from the first speech coding method in quantization value. Is a code conversion device for converting into a multiplex code according to a second audio encoding method, wherein the multiplex code encoded according to the first audio encoding method is input and separated for each code. And a code separating unit that separates the codes separated by the code separating unit according to the correspondence relationship between the code according to the first speech encoding method and the code according to the second speech encoding method. And a multiplexing unit that multiplexes each code by the second audio coding method converted by the conversion unit. Code converter.
【請求項2】請求項1において、前記変換部は、前記第
1の音声符号化方法による符号と前記第2の音声符号化
方法による符号との前記対応関係を示すテーブルを備
え、当該テーブルを参照することにより、前記変換を行
なうことを特徴とする符号変換装置。
2. The conversion unit according to claim 1, further comprising: a table showing the correspondence relationship between the code according to the first speech coding method and the code according to the second speech coding method. A code conversion device which performs the conversion by referring to the code conversion device.
【請求項3】請求項1において、前記第1の音声符号化
方法を、ベクトル和励起線形予測符号化方法(VSEL
P:Vector-Sum Excited Linear Predictive Coding)
とし、前記第2の音声符号化方法をピッチ同期型符号励
起線形予測符号化方法(PSI−CELP:Pitch Sync
hronous Innovation CELP)とするときに、PSI−C
ELPは、前記スペクトル微細構造において、雑音音源
成分を量子化して符号化する雑音音源符号をさらに有
し、 前記変換部は、 前記第1の音声符号化方法により符号化された短時間分
析符号を、前記第1の音声符号化方法による短時間分析
符号と前記第2の音声符号化方法による短時間分析符号
との対応関係にしたがって、前記第2の音声符号化方法
による短時間分析符号に変換する短時間予測分析符号変
換手段と、 前記第1の音声符号化方法により符号化された電力符号
を、前記第1の音声符号化方法による電力符号と前記第
2の音声符号化方法による電力符号との対応関係にした
がって、前記第2の音声符号化方法による電力符号に変
換する電力符号変換手段と、 前記第1の音声符号化方法により符号化された長期予測
ラグ符号を、前記第1の音声符号化方法による長期予測
ラグ符号と前記第2の音声符号化方法による長期予測ラ
グ符号との対応関係にしたがって、前記第2の音声符号
化方法による長期予測ラグ符号に変換する長期予測ラグ
符号変換手段と、 前記第1の音声符号化方法により符号化された長期予測
ラグ符号およびゲイン符号に従い、前記第1の音声符号
化方法における励起信号を生成し、前記長期予測ラグ符
号変換手段により変換された前記第2の音声符号化方法
による長期予測ラグ符号に従って、前記第2の音声符号
化方法における励起信号を生成し、前記第1の音声符号
化方法における励起信号と前記第2の音声符号化方法に
おける励起信号との誤差が最小となる、前記第2の音声
符号化方法によるゲイン符号および前記雑音音源符号を
出力するゲイン符号および雑音音源符号変換手段とを有
することを特徴とする符号変換装置。
3. The vector sum excitation linear predictive coding method (VSEL) according to claim 1, wherein the first speech coding method is
P: Vector-Sum Excited Linear Predictive Coding)
In the second speech coding method, the pitch-synchronous code excitation linear predictive coding method (PSI-CELP: Pitch Sync) is used.
hronous Innovation CELP), PSI-C
The ELP further includes a noise excitation code that quantizes and encodes a noise excitation component in the spectral fine structure, and the conversion unit converts the short-time analysis code encoded by the first speech encoding method. , A short-time analytic code according to the second speech coding method is converted into a short-time analytic code according to the second speech coding method according to a correspondence relationship between the short-time analytic code according to the first speech coding method and the short-time analytic code according to the second speech coding method. A short-term predictive analysis code conversion unit, a power code encoded by the first speech encoding method, a power code obtained by the first speech encoding method, and a power code obtained by the second speech encoding method. Power code conversion means for converting into a power code according to the second speech coding method, and a long-term prediction lag code coded according to the first speech coding method, According to the correspondence relationship between the long-term predicted lag code according to the first speech coding method and the long-term predicted lag code according to the second speech coding method, the long-term predicted lag code is converted into the long-term predicted lag code according to the second speech coding method. A long-term prediction lag code conversion means, and a long-term prediction lag code and a gain code encoded by the first speech coding method to generate an excitation signal in the first speech coding method, and the long-term prediction lag code. The excitation signal in the second speech encoding method is generated according to the long-term prediction lag code converted by the second speech encoding method by the conversion means, and the excitation signal in the first speech encoding method and the excitation signal in the first speech encoding method are generated. The gain code and the noise source code according to the second speech coding method that minimize the error from the excitation signal in the second speech coding method are output. And a noise excitation code conversion means.
【請求項4】請求項3において、前記長期予測ラグ符号
変換手段は、前記第1の音声符号化方法と前記第2の音
声符号化方法との長期予測ラグ符号の前記予測ラグ範囲
が異なる場合に、前記第1の音声符号化方法による長期
予測ラグ符号が前記第2の音声符号化方法の予測ラグ範
囲内であるか否かを判定し、前記第1の音声符号化方法
による長期予測ラグ符号が前記第2の音声符号化方法の
予測ラグ範囲内でないと判定された場合には、前記第2
の音声符号化方法の長期予測ラグ符号を第2の音声符号
化方法の予測ラグ範囲内に収まるように変換し、前記第
1の音声符号化方法による長期予測ラグ符号が前記第2
の音声符号化方法の予測ラグ範囲内であると判定された
場合には、前記第1の音声符号化方法による長期予測ラ
グ符号を、変換後の前記第2の音声符号化方法の長期予
測ラグ符号とすることを特徴とする符号変換装置。
4. The long-term prediction lag code converting means according to claim 3, wherein the long-term prediction lag codes of the first speech coding method and the second speech coding method are different from each other in the prediction lag range. To determine whether the long-term prediction lag code by the first speech coding method is within the prediction lag range of the second speech coding method, and determine the long-term prediction lag by the first speech coding method. If it is determined that the code is not within the prediction lag range of the second speech encoding method, then the second
The long-term predicted lag code of the second speech coding method is converted so as to be within the prediction lag range of the second speech coding method, and the long-term predicted lag code of the first speech coding method is converted into the second long-term predicted lag code.
If it is determined to be within the prediction lag range of the second speech coding method, the long-term prediction lag code of the first speech coding method is converted to the long-term prediction lag of the second speech coding method after conversion. A code conversion device having a code.
【請求項5】請求項4において、前記長期予測ラグ符号
変換手段は、前記第1の音声符号化方法による長期予測
ラグ符号が前記第2の音声符号化方法の予測ラグ範囲内
でないと判定された場合であって、前記第1の音声符号
化方法による長期予測ラグ符号が前記第2の音声符号化
方法の予測ラグ範囲の最小値より小さい場合には、前記
第2の音声符号化方法の予測ラグ範囲の最小値より大き
い値の前記第2の音声符号化方法の長期予測ラグ符号で
あって、かつ、前記第1の音声符号化方法による長期予
測ラグ符号をN倍(ただし、Nは2以上の自然数)した
値を変換後の前記第2の音声符号化方法による長期予測
ラグ符号とし、 また、前記第1の音声符号化方法による長期予測ラグ符
号が前記第2の音声符号化方法の予測ラグ範囲内でない
と判定された場合であって、前記第1の音声符号化方法
による長期予測ラグ符号が前記第2の音声符号化方法の
予測ラグ範囲の最大値より大きい場合には、直前に変換
された前記第2の音声符号化方法の長期予測ラグ符号を
変換後の前記第2の音声符号化方法による長期予測ラグ
符号とすることを特徴とする符号変換装置。
5. The long-term prediction lag code conversion means according to claim 4, wherein the long-term prediction lag code by the first speech coding method is determined not to be within the prediction lag range of the second speech coding method. If the long-term prediction lag code by the first speech coding method is smaller than the minimum value of the prediction lag range of the second speech coding method, the second speech coding method The long-term prediction lag code of the second speech coding method having a value larger than the minimum value of the prediction lag range and being N times the long-term prediction lag code of the first speech coding method (where N is A natural number of 2 or more) is used as the long-term predicted lag code by the second speech coding method after conversion, and the long-term predicted lag code by the first speech coding method is the second speech coding method. Must be within the predicted lag range of If it is determined that the long-term prediction lag code by the first speech coding method is larger than the maximum value of the prediction lag range of the second speech coding method, the immediately preceding converted first A code conversion device, wherein the long-term predicted lag code of the second speech coding method is used as a long-term predicted lag code after the conversion by the second speech coding method.
【請求項6】請求項1において、前記変換部は、前記第
1の音声符号化方法と前記第2の音声符号化方法との前
記分析時間間隔が異なる場合に、前記第2の音声符号化
方法の前記分析時間間隔ごとに、前記第2の音声符号化
により符号を出力するように前記第2の音声符号化によ
る符号の補間を行なう補間手段を備えることを特徴とす
る符号変換装置。
6. The second speech coding according to claim 1, wherein the conversion unit is configured to perform the second speech coding when the analysis time intervals of the first speech coding method and the second speech coding method are different from each other. A code conversion device, comprising: an interpolating means for interpolating a code by the second speech coding so as to output a code by the second speech coding at each analysis time interval of the method.
【請求項7】請求項3において、前記短時間予測分析符
号変換手段は、前記第1の音声符号化方法と前記第2の
音声符号化方法との短時間分析符号の分析時間間隔が異
なる場合であって、前記第1の音声符号化方法の短時間
分析符号の分析時間間隔が前記第2の音声符号化方法の
短時間分析符号の分析時間間隔より短い場合には、前記
第2の音声符号化方法の短時間分析符号の分析時間間隔
に合わせて、変換後の前記第2の音声符号化方法の短時
間分析符号を間引いて出力し、前記第1の音声符号化方
法の短時間分析符号の分析時間間隔が前記第2の音声符
号化方法の短時間分析符号の分析時間間隔より長い場合
には、分析時間的に隣あう、前記第1の音声符号化方法
の短時間分析符号をそれぞれ変換した前記第2の音声符
号化方法の短時間分析符号から、前記第2の音声符号化
方法の短時間分析符号の分析時間間隔に合わせて線形的
に前記第2の音声符号化方法の短時間分析符号を求め、
当該求めた前記第2の音声符号化方法の短時間分析符号
を前記第2の音声符号化方法の短時間分析符号の分析時
間間隔に合わせて出力する補間手段を備えることを特徴
とする符号変換装置。
7. The short time prediction analysis code conversion means according to claim 3, wherein the first speech coding method and the second speech coding method have different short time analysis code analysis time intervals. When the analysis time interval of the short time analysis code of the first speech encoding method is shorter than the analysis time interval of the short time analysis code of the second speech encoding method, the second speech The short time analysis code of the second speech coding method after conversion is thinned out and output in accordance with the analysis time interval of the short time analysis code of the coding method, and the short time analysis of the first speech coding method is performed. When the code analysis time interval is longer than the analysis time interval of the short time analysis code of the second speech coding method, the short time analysis codes of the first speech coding method which are adjacent to each other in terms of analysis time are selected. Short time of the second speech coding method converted respectively From No. 析符, linearly seeking short analysis code of the second speech encoding method in accordance with the analysis time interval short analysis code of the second speech encoding method,
A code conversion comprising an interpolating means for outputting the obtained short time analysis code of the second speech encoding method in accordance with an analysis time interval of the short time analysis code of the second speech encoding method. apparatus.
【請求項8】音声信号を予め定められた分析時間間隔毎
に符号励起線形予測により分析を行い、スペクトル包絡
情報とスペクトル微細構造とに分離し、前記スペクトル
包絡情報を量子化して符号化した短時間分析符号と、音
声信号の電力を量子化して符号化した電力符号と、前記
スペクトル微細構造を表し、長期予測ラグフィルタのあ
らかじめ定められた予測ラグ範囲にしたがって、前記長
期予測ラグフィルタのフィルタ係数を量子化して符号化
した長期予測ラグ符号と、前記スペクトル微細構造の振
幅を量子化して符号化したゲイン符号とを多重化するこ
とにより前記音声信号を符号化する第1の音声符号化方
法により符号化を行なう第1の符号器と、 符号励起線形予測符号化方法であって、当該第1の音声
符号化方法と量子化値が異なる符号化を行なう第2の音
声符号化方法により復号化を行なう第2の復号器と、 前記第1の符号器によりされた多重化符号を、前記第2
の音声符号化方法による多重化符号に変換して前記第2
の復号器に対して出力する符号変換装置とを有する符号
変換システムであって、 前記符号変換装置は、 前記第1の音声符号化方法により符号化された多重化符
号を入力し、前記各々の符号毎に分離する符号分離部
と、 前記符号分離部により分離された各々の符号を、前記第
1の音声符号化方法による符号と前記第2の音声符号化
方法による符号との対応関係にしたがって、前記第2の
音声符号化方法による各々の符号に変換する変換部と、 前記変換部により変換された前記第2の音声符号化方法
による各々の符号を多重化する多重化部とを有すること
を特徴とする符号変換システム。
8. A short code obtained by analyzing a voice signal by code excitation linear prediction at predetermined analysis time intervals, separating into spectral envelope information and spectral fine structure, and quantizing and encoding the spectral envelope information. A temporal analysis code, a power code obtained by quantizing and encoding the power of a voice signal, and the spectrum fine structure, and according to a predetermined prediction lag range of a long-term prediction lag filter, a filter coefficient of the long-term prediction lag filter. By the first speech coding method for coding the speech signal by multiplexing the long-term prediction lag code obtained by quantizing and coding the A first encoder for encoding, and a code excitation linear predictive coding method, wherein the quantization value is different from that of the first speech coding method A second decoder that performs decoding by a second speech encoding method that performs encoding, and a multiplexing code that is performed by the first encoder
The second code is converted into a multiplex code by the voice coding method of
And a code conversion device for outputting to the decoder, wherein the code conversion device inputs a multiplex code encoded by the first speech encoding method, A code separation unit that separates each code and each code separated by the code separation unit according to the correspondence relationship between the code according to the first speech coding method and the code according to the second speech coding method. A conversion unit for converting each code according to the second speech encoding method, and a multiplexing unit for multiplexing each code according to the second speech encoding method converted by the conversion unit. A code conversion system characterized by.
【請求項9】請求項8において、前記符号変換装置は、
接続先の符号化方法が、前記第1の音声符号化方法であ
るか前記第2の音声符号化方法であるかの情報を予め記
憶する接続先情報記憶手段と、前記接続先情報記憶手段
を参照し、接続先の符号化方法が前記第2の音声符号化
方法である場合に、当該符号変換装置において符号の変
換を行なうように制御する制御手段とをさらに有するこ
とを特徴とする符号変換システム。
9. The code conversion device according to claim 8,
A connection destination information storage unit that stores in advance information indicating whether the connection destination encoding method is the first voice encoding method or the second voice encoding method, and the connection destination information storage unit. With reference to the above, when the encoding method of the connection destination is the second speech encoding method, the code conversion apparatus further comprises control means for controlling the code conversion apparatus to perform code conversion. system.
【請求項10】音声信号を予め定められた分析時間間隔
毎に符号励起線形予測により分析を行い、スペクトル包
絡情報とスペクトル微細構造とに分離し、前記スペクト
ル包絡情報を量子化して符号化した短時間分析符号と、
音声信号の電力を量子化して符号化した電力符号と、前
記スペクトル微細構造を表し、長期予測ラグフィルタの
あらかじめ定められた予測ラグ範囲にしたがって、前記
長期予測ラグフィルタのフィルタ係数を量子化して符号
化した長期予測ラグ符号と、前記スペクトル微細構造の
振幅を量子化して符号化したゲイン符号とを多重化する
ことにより前記音声信号を符号化する第1の音声符号化
方法により符号化された、端末から出力された信号を受
信する第1の通信装置と、 符号励起線形予測符号化方法であって、当該第1の音声
符号化方法と量子化値もしくは量子化方法が異なる符号
化を行なう第2の音声符号化方法により符号化を行な
い、端末に対して当該符号化された信号を送出する第2
の通信装置と、 前記第1の音声符号化方法により符号化を行なう第3の
通信装置とを有する通信システムにおいて、 前記第1の通信装置は、 前記第1の音声符号化方法により符号化された多重化符
号を入力し、前記各々の符号毎に分離する符号分離部
と、前記符号分離部により分離された各々の符号を、前
記第1の音声符号化方法による符号と前記第2の音声符
号化方法による符号との対応関係にしたがって、前記第
2の音声符号化方法による各々の符号に変換する変換部
と、前記変換部により変換された前記第2の音声符号化
方法による各々の符号を多重化する多重化部とを備える
符号変換装置と、 通信先である通信装置の符号化方法を問い合わせる問い
合わせ手段と、 前記問い合わせ手段による問い合わせに対する通信先の
通信装置からの応答を受信し、当該応答により前記通信
先の通信装置の符号化方法が前記第2の符号化方法であ
る場合に、前記符号変換装置により前記第1の符号化方
法により符号化された多重化符号を、前記第2の音声符
号化方法による多重化符号に変換させるように制御し、
前記通信先の通信装置に対して前記第2の符号化方法に
より符号化を行なわない旨の通知を行なう第1の制御手
段とを有し、 前記第2の通信装置は、前記問い合わせ手段により符号
化方法の問い合わせがあったときに、当該第2の通信装
置における符号化方法が前記第2の符号化方法であると
して応答する応答手段と、前記際1の制御手段から前記
第2の符号化方法により符号化を行なわない旨の通知が
あったときに、前記第2の符号化方法により符号化を行
なわないで、前記第1の通信装置で変換された前記第2
の音声符号化方法による多重化符号の信号を端末に対し
て送出するように制御する第2の制御手段とを有するこ
とを特徴とする通信システム。
10. A short code obtained by analyzing a voice signal by code excitation linear prediction at each predetermined analysis time interval, separating the spectrum envelope information and a spectrum fine structure, and quantizing and encoding the spectrum envelope information. Time analysis code,
A power code obtained by quantizing and coding the power of a voice signal, and representing the spectral fine structure, according to a predetermined prediction lag range of the long-term prediction lag filter, the filter coefficient of the long-term prediction lag filter is quantized and coded. Encoded by the first speech encoding method for encoding the speech signal by multiplexing the encoded long-term prediction lag code and the gain code obtained by quantizing and encoding the amplitude of the spectral fine structure, A first communication device for receiving a signal output from a terminal; and a code excitation linear predictive coding method, wherein a coding value or a quantization method different from that of the first speech coding method is used. The second encoding is performed by the second audio encoding method, and the encoded signal is transmitted to the terminal.
And a third communication device that performs encoding by the first voice encoding method, the first communication device is encoded by the first voice encoding method. A code separation unit for inputting the multiplexed code and separating each code, and each code separated by the code separation unit, a code by the first speech encoding method and a second speech. A conversion unit that converts each code according to the second speech coding method into each code according to the correspondence with the code according to the coding method, and each code according to the second speech coding method converted by the conversion unit. A code conversion device including a multiplexing unit that multiplexes the communication device, an inquiry unit that inquires about an encoding method of a communication device that is a communication destination, and a communication device that is a communication destination in response to the inquiry by the inquiry unit When the encoding method of the communication apparatus of the communication destination is the second encoding method according to the response, the response is encoded by the first encoding method by the code conversion apparatus. Controlling the multiplex code to be converted into the multiplex code by the second speech coding method,
First communication means for notifying the communication apparatus of the communication destination that the second encoding method does not perform the encoding, and the second communication apparatus uses the inquiry means for encoding. When there is an inquiry about the encoding method, the second communication apparatus responds by saying that the encoding method in the second communication device is the second encoding method, and the control means of the case 1 from the second encoding. When there is a notification that encoding will not be performed by the method, the second information converted by the first communication device is not encoded by the second encoding method.
And a second control means for controlling the signal of the multiplex code by the voice coding method of (1) to be transmitted to the terminal.
【請求項11】音声信号を予め定められた分析時間間隔
毎に符号励起線形予測により分析を行い、スペクトル包
絡情報とスペクトル微細構造とに分離し、前記スペクト
ル包絡情報を量子化して符号化した短時間分析符号と、
音声信号の電力を量子化して符号化した電力符号と、前
記スペクトル微細構造を表し、長期予測ラグフィルタの
あらかじめ定められた予測ラグ範囲にしたがって、前記
長期予測ラグフィルタのフィルタ係数を量子化して符号
化した長期予測ラグ符号と、前記スペクトル微細構造の
振幅を量子化して符号化したゲイン符号とを多重化する
ことにより第1の音声符号化方法により前記音声信号を
符号化を行なう通信装置において、 符号励起線形予測符号化方法であって、当該第1の音声
符号化方法と量子化値もしくは量子化方法が異なる符号
化を行なう第2の音声符号化方法による多重化符号に変
換する符号変換装置を有し、 前記符号化装置は、 前記第1の音声符号化方法により符号化された多重化符
号を、前記各々の符号毎に分離する符号分離部と、 前記符号分離部により分離された各々の符号を、前記第
1の音声符号化方法による符号と前記第2の音声符号化
方法による符号との対応関係にしたがって、前記第2の
音声符号化方法による各々の符号に変換する変換部と、 前記変換部により変換された前記第2の音声符号化方法
による各々の符号を多重化する多重化部とを備えること
を特徴とする通信装置。
11. A speech signal is analyzed by code excitation linear prediction at predetermined analysis time intervals, separated into spectral envelope information and spectral fine structure, and the spectral envelope information is quantized and encoded. Time analysis code,
A power code obtained by quantizing and coding the power of a voice signal, and representing the spectral fine structure, according to a predetermined prediction lag range of the long-term prediction lag filter, the filter coefficient of the long-term prediction lag filter is quantized and coded. In a communication device that encodes the voice signal by a first voice encoding method by multiplexing the encoded long-term prediction lag code and a gain code that is obtained by quantizing and encoding the amplitude of the spectral fine structure, A code conversion linear predictive coding method for converting into a multiplex code by a second speech coding method for performing coding with a quantization value or a quantization method different from that of the first speech coding method. The encoding device includes a code component for separating the multiplex code encoded by the first speech encoding method for each of the codes. Section and each of the codes separated by the code separation section according to the correspondence relationship between the code according to the first speech encoding method and the code according to the second speech encoding method. A communication device, comprising: a conversion unit that converts each code according to the encoding method, and a multiplexing unit that multiplexes each code according to the second voice encoding method converted by the conversion unit.
【請求項12】音声信号を予め定められた分析時間間隔
毎に符号励起線形予測により分析を行い、スペクトル包
絡情報とスペクトル微細構造とに分離し、前記スペクト
ル包絡情報を量子化して符号化した短時間分析符号と、
音声信号の電力を量子化して符号化した電力符号と、前
記スペクトル微細構造を表し、長期予測ラグフィルタの
あらかじめ定められた予測ラグ範囲にしたがって、前記
長期予測ラグフィルタのフィルタ係数を量子化して符号
化した長期予測ラグ符号と、前記スペクトル微細構造の
振幅を量子化して符号化したゲイン符号と、雑音音源成
分を量子化して符号化する雑音音源符号とを多重化する
ことにより前記音声信号を符号化する第1の音声符号化
方法により符号化された多重化符号を、符号励起線形予
測符号化方法であって、当該第1の音声符号化方法と量
子化値が異なる符号化を行なう第2の音声符号化方法に
よる多重化符号に変換する符号変換装置であって、 前記第1の音声符号化方法により符号化された多重化符
号を入力し、前記各々の符号毎に分離する符号分離部
と、 前記符号分離部により分離された各々の符号を、前記第
1の音声符号化方法による符号と前記第2の音声符号化
方法による符号との対応関係にしたがって、前記第2の
音声符号化方法による各々の符号に変換する変換部と、 前記変換部により変換された前記第2の音声符号化方法
による各々の符号を多重化する多重化部とを有すること
を特徴とする符号変換装置。
12. A speech signal is analyzed by code excitation linear prediction at predetermined analysis time intervals, separated into spectral envelope information and spectral fine structure, and the spectral envelope information is quantized and encoded. Time analysis code,
A power code obtained by quantizing and coding the power of a voice signal, and representing the spectral fine structure, according to a predetermined prediction lag range of the long-term prediction lag filter, the filter coefficient of the long-term prediction lag filter is quantized and coded. Coded the speech signal by multiplexing the encoded long-term prediction lag code, the gain code obtained by quantizing and encoding the amplitude of the spectral fine structure, and the noise excitation code obtained by quantizing and encoding the noise source component. A second excitation encoding method that encodes a multiplex code encoded by a first speech encoding method, which is a code excitation linear predictive encoding method and has a quantization value different from that of the first speech encoding method. A code conversion device for converting into a multiplex code according to the speech coding method of claim 1, wherein the multiplexed code coded according to the first speech coding method is input, And a code separation unit that separates each code, and a code that is separated by the code separation unit is associated with a code by the first speech encoding method and a code by the second speech encoding method. Therefore, it has a conversion unit that converts each code according to the second speech coding method, and a multiplexing unit that multiplexes each code according to the second speech coding method converted by the conversion unit. A code conversion device characterized by the above.
JP6286694A 1994-11-21 1994-11-21 Device and system for code conversion Pending JPH08146997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6286694A JPH08146997A (en) 1994-11-21 1994-11-21 Device and system for code conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6286694A JPH08146997A (en) 1994-11-21 1994-11-21 Device and system for code conversion

Publications (1)

Publication Number Publication Date
JPH08146997A true JPH08146997A (en) 1996-06-07

Family

ID=17707776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6286694A Pending JPH08146997A (en) 1994-11-21 1994-11-21 Device and system for code conversion

Country Status (1)

Country Link
JP (1) JPH08146997A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000048170A1 (en) * 1999-02-12 2000-08-17 Qualcomm Incorporated Celp transcoding
JP2002202799A (en) * 2000-10-30 2002-07-19 Fujitsu Ltd Voice code conversion apparatus
JP2002373000A (en) * 2001-06-15 2002-12-26 Nec Corp Method, device, program and storage medium for converting code between voice encoding/decoding systems
JP2003076394A (en) * 2001-08-31 2003-03-14 Fujitsu Ltd Method and device for sound code conversion
WO2003042977A1 (en) * 2001-11-13 2003-05-22 Nec Corporation Code conversion method, apparatus, program, and storage medium
JP2003223189A (en) * 2002-01-29 2003-08-08 Fujitsu Ltd Voice code converting method and apparatus
JP2003228388A (en) * 2002-02-04 2003-08-15 Fujitsu Ltd Method and device for voice code conversion
EP1363274A1 (en) * 2001-02-02 2003-11-19 NEC Corporation Voice code sequence converting device and method
WO2003098603A1 (en) * 2002-05-22 2003-11-27 Nec Corporation Method and device for code conversion between audio encoding/decoding methods and storage medium thereof
WO2004010416A1 (en) * 2002-07-24 2004-01-29 Nec Corporation Method and device for code conversion between voice encoding and decoding methods and storage medium thereof
WO2004038696A1 (en) * 2002-10-23 2004-05-06 Nec Corporation Code conversion method and device for code conversion
EP1464047A2 (en) * 2002-01-08 2004-10-06 Dilithium Networks Pty Limited A transcoding scheme between celp-based speech codes
WO2004090869A1 (en) * 2003-04-08 2004-10-21 Nec Corporation Code conversion method and device
WO2004095424A1 (en) * 2003-04-22 2004-11-04 Nec Corporation Code conversion method and device, program, and recording medium
EP1483758A1 (en) * 2002-03-12 2004-12-08 Dilithium Networks Pty Limited Method for adaptive codebook pitch-lag computation in audio transcoders
JP2005532579A (en) * 2002-07-05 2005-10-27 ノキア コーポレイション Method and apparatus for efficient in-band dim-and-burst (DIM-AND-BURST) signaling and half-rate max processing during variable bit rate wideband speech coding for CDMA radio systems
US7231345B2 (en) 2002-07-24 2007-06-12 Nec Corporation Method and apparatus for transcoding between different speech encoding/decoding systems
JP2009104169A (en) * 2009-01-22 2009-05-14 Nec Corp Conversion device and conversion method of speech code string
JP2010044408A (en) * 2009-10-19 2010-02-25 Fujitsu Ltd Speech code conversion method
JP2010515936A (en) * 2007-01-04 2010-05-13 クゥアルコム・インコーポレイテッド System and method for dimming a first packet associated with a first bit rate into a second packet associated with a second bit rate
US7725312B2 (en) 2002-01-08 2010-05-25 Dilithium Networks Pty Limited Transcoding method and system between CELP-based speech codes with externally provided status
JP2014026089A (en) * 2012-07-26 2014-02-06 Nec Corp Sound source file management device, sound source file management method, and program

Cited By (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6260009B1 (en) 1999-02-12 2001-07-10 Qualcomm Incorporated CELP-based to CELP-based vocoder packet translation
JP2002541499A (en) * 1999-02-12 2002-12-03 クゥアルコム・インコーポレイテッド CELP code conversion
KR100769508B1 (en) * 1999-02-12 2007-10-23 퀄컴 인코포레이티드 Celp transcoding
WO2000048170A1 (en) * 1999-02-12 2000-08-17 Qualcomm Incorporated Celp transcoding
US7016831B2 (en) 2000-10-30 2006-03-21 Fujitsu Limited Voice code conversion apparatus
JP2002202799A (en) * 2000-10-30 2002-07-19 Fujitsu Ltd Voice code conversion apparatus
US7222069B2 (en) 2000-10-30 2007-05-22 Fujitsu Limited Voice code conversion apparatus
US7505899B2 (en) 2001-02-02 2009-03-17 Nec Corporation Speech code sequence converting device and method in which coding is performed by two types of speech coding systems
EP1363274A4 (en) * 2001-02-02 2006-09-20 Nec Corp Voice code sequence converting device and method
EP1363274A1 (en) * 2001-02-02 2003-11-19 NEC Corporation Voice code sequence converting device and method
JP2002373000A (en) * 2001-06-15 2002-12-26 Nec Corp Method, device, program and storage medium for converting code between voice encoding/decoding systems
US7318024B2 (en) 2001-06-15 2008-01-08 Nec Corporation Method of converting codes between speech coding and decoding systems, and device and program therefor
US7092875B2 (en) 2001-08-31 2006-08-15 Fujitsu Limited Speech transcoding method and apparatus for silence compression
JP4518714B2 (en) * 2001-08-31 2010-08-04 富士通株式会社 Speech code conversion method
JP2003076394A (en) * 2001-08-31 2003-03-14 Fujitsu Ltd Method and device for sound code conversion
US7630884B2 (en) 2001-11-13 2009-12-08 Nec Corporation Code conversion method, apparatus, program, and storage medium
WO2003042977A1 (en) * 2001-11-13 2003-05-22 Nec Corporation Code conversion method, apparatus, program, and storage medium
EP1464047A2 (en) * 2002-01-08 2004-10-06 Dilithium Networks Pty Limited A transcoding scheme between celp-based speech codes
US7725312B2 (en) 2002-01-08 2010-05-25 Dilithium Networks Pty Limited Transcoding method and system between CELP-based speech codes with externally provided status
EP1464047A4 (en) * 2002-01-08 2005-12-07 Dilithium Networks Pty Ltd A transcoding scheme between celp-based speech codes
US7590532B2 (en) 2002-01-29 2009-09-15 Fujitsu Limited Voice code conversion method and apparatus
JP2003223189A (en) * 2002-01-29 2003-08-08 Fujitsu Ltd Voice code converting method and apparatus
JP2003228388A (en) * 2002-02-04 2003-08-15 Fujitsu Ltd Method and device for voice code conversion
EP1483758A4 (en) * 2002-03-12 2007-04-11 Dilithium Networks Pty Ltd Method for adaptive codebook pitch-lag computation in audio transcoders
US7996217B2 (en) 2002-03-12 2011-08-09 Onmobile Global Limited Method for adaptive codebook pitch-lag computation in audio transcoders
US7260524B2 (en) 2002-03-12 2007-08-21 Dilithium Networks Pty Limited Method for adaptive codebook pitch-lag computation in audio transcoders
EP1483758A1 (en) * 2002-03-12 2004-12-08 Dilithium Networks Pty Limited Method for adaptive codebook pitch-lag computation in audio transcoders
WO2003098603A1 (en) * 2002-05-22 2003-11-27 Nec Corporation Method and device for code conversion between audio encoding/decoding methods and storage medium thereof
US8117028B2 (en) 2002-05-22 2012-02-14 Nec Corporation Method and device for code conversion between audio encoding/decoding methods and storage medium thereof
CN100369110C (en) * 2002-05-22 2008-02-13 日本电气株式会社 Method and device for code conversion between audio encoding/decoding methods and storage medium thereof
JP2009239927A (en) * 2002-07-05 2009-10-15 Nokia Corp Method and device for in-band dim-and-burst signaling having excellent efficiency and half-rate max processing in case of variable bit-rate wideband voice encoding for cdma radio system
JP2005532579A (en) * 2002-07-05 2005-10-27 ノキア コーポレイション Method and apparatus for efficient in-band dim-and-burst (DIM-AND-BURST) signaling and half-rate max processing during variable bit rate wideband speech coding for CDMA radio systems
US8224657B2 (en) 2002-07-05 2012-07-17 Nokia Corporation Method and device for efficient in-band dim-and-burst signaling and half-rate max operation in variable bit-rate wideband speech coding for CDMA wireless systems
CN1327410C (en) * 2002-07-24 2007-07-18 日本电气株式会社 Method and apparatus for transcoding between different speech encoding/decoding systems and recording medium
WO2004010416A1 (en) * 2002-07-24 2004-01-29 Nec Corporation Method and device for code conversion between voice encoding and decoding methods and storage medium thereof
US7231345B2 (en) 2002-07-24 2007-06-12 Nec Corporation Method and apparatus for transcoding between different speech encoding/decoding systems
US7319953B2 (en) 2002-07-24 2008-01-15 Nec Corporation Method and apparatus for transcoding between different speech encoding/decoding systems using gain calculations
WO2004038696A1 (en) * 2002-10-23 2004-05-06 Nec Corporation Code conversion method and device for code conversion
WO2004090869A1 (en) * 2003-04-08 2004-10-21 Nec Corporation Code conversion method and device
US7630889B2 (en) 2003-04-08 2009-12-08 Nec Corporation Code conversion method and device
JPWO2004090869A1 (en) * 2003-04-08 2006-07-06 日本電気株式会社 Code conversion method and apparatus
WO2004095424A1 (en) * 2003-04-22 2004-11-04 Nec Corporation Code conversion method and device, program, and recording medium
US7747431B2 (en) 2003-04-22 2010-06-29 Nec Corporation Code conversion method and device, program, and recording medium
KR100749703B1 (en) * 2003-04-22 2007-08-16 닛본 덴끼 가부시끼가이샤 Code conversion method and device, and recording medium
JP2010515936A (en) * 2007-01-04 2010-05-13 クゥアルコム・インコーポレイテッド System and method for dimming a first packet associated with a first bit rate into a second packet associated with a second bit rate
US8279889B2 (en) 2007-01-04 2012-10-02 Qualcomm Incorporated Systems and methods for dimming a first packet associated with a first bit rate to a second packet associated with a second bit rate
JP2009104169A (en) * 2009-01-22 2009-05-14 Nec Corp Conversion device and conversion method of speech code string
JP2010044408A (en) * 2009-10-19 2010-02-25 Fujitsu Ltd Speech code conversion method
JP2014026089A (en) * 2012-07-26 2014-02-06 Nec Corp Sound source file management device, sound source file management method, and program

Similar Documents

Publication Publication Date Title
JPH08146997A (en) Device and system for code conversion
US5995923A (en) Method and apparatus for improving the voice quality of tandemed vocoders
US8311810B2 (en) Reduced delay spatial coding and decoding apparatus and teleconferencing system
JP4518714B2 (en) Speech code conversion method
KR100713677B1 (en) Speech decoder, speech decoding method, and transmission system including the speech decoder
JP4498677B2 (en) Multi-channel signal encoding and decoding
KR100545774B1 (en) How to Improve Coding Efficiency of Audio Signals
KR20070092240A (en) Sound coding device and sound coding method
KR20050072456A (en) Method and apparatus for dtmf detection and voice mixing in the celp parameter domain
US8055499B2 (en) Transmitter and receiver for speech coding and decoding by using additional bit allocation method
JP4812230B2 (en) Multi-channel signal encoding and decoding
KR100434275B1 (en) Apparatus for converting packet and method for converting packet using the same
JPH1097295A (en) Coding method and decoding method of acoustic signal
EP1020848A2 (en) Method for transmitting auxiliary information in a vocoder stream
JPH1049199A (en) Silence compressed voice coding and decoding device
JP3193515B2 (en) Voice coded communication system and apparatus therefor
EP1387351B1 (en) Speech encoding device and method having TFO (Tandem Free Operation) function
JP2004053763A (en) Speech encoding transmission system of multipoint controller
JP4985743B2 (en) Speech code conversion method
KR20050027272A (en) Speech communication unit and method for error mitigation of speech frames
JPH07336312A (en) Transmission code error compensation device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees