KR100280129B1 - Fixed Codebook Gain Reduction Method for Continuous Frame Error in Codec - Google Patents

Fixed Codebook Gain Reduction Method for Continuous Frame Error in Codec Download PDF

Info

Publication number
KR100280129B1
KR100280129B1 KR1019980033198A KR19980033198A KR100280129B1 KR 100280129 B1 KR100280129 B1 KR 100280129B1 KR 1019980033198 A KR1019980033198 A KR 1019980033198A KR 19980033198 A KR19980033198 A KR 19980033198A KR 100280129 B1 KR100280129 B1 KR 100280129B1
Authority
KR
South Korea
Prior art keywords
codebook gain
fixed codebook
frame
average
adaptive codebook
Prior art date
Application number
KR1019980033198A
Other languages
Korean (ko)
Other versions
KR20000014008A (en
Inventor
김재원
민병준
김병무
Original Assignee
조정남
에스케이 텔레콤주식회사
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 조정남, 에스케이 텔레콤주식회사 filed Critical 조정남
Priority to KR1019980033198A priority Critical patent/KR100280129B1/en
Publication of KR20000014008A publication Critical patent/KR20000014008A/en
Application granted granted Critical
Publication of KR100280129B1 publication Critical patent/KR100280129B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0413MIMO systems
    • H04B7/0456Selection of precoding matrices or codebooks, e.g. using matrices antenna weighting
    • H04B7/0482Adaptive codebooks
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
    • G10L19/028Noise substitution, i.e. substituting non-tonal spectral components by noisy source
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L2019/0001Codebooks
    • G10L2019/0002Codebook adaptations

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 코덱에서의 고정 코드북 이득 감소 방법에 관한 것임.The present invention relates to a fixed codebook gain reduction method in a codec.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 코덱에서 연속된 프레임 오류를 가지고 있는 패킷이 입력되는 경우에, 적응 코드북 이득을 순차적으로 감소시키고, 동시에 고정 코드북 이득도 순차적으로 감소시켜 연속되는 오류 프레임을 포함하고 있는 패킷을 처리하기 위한 고정 코드북 이득 감소 방법을 제공하고자 함.According to the present invention, when a packet having consecutive frame errors is input from a codec, the adaptive codebook gain is sequentially reduced, and at the same time, the fixed codebook gain is sequentially reduced to process packets containing consecutive error frames. To provide a fixed codebook gain reduction method for

3. 본 발명의 해결 방법의 요지3. Summary of the Solution of the Invention

본 발명은, 수신된 패킷을 선 스펙트럼 쌍 디코딩한 후에, 연속적인 오류 프레임에 대해 평균 적응 코드북 이득 및 평균 고정 코드북 이득을 감소시키는 제 1 단계; 선 스펙트럼 쌍을 보간하고, 지연 예측 보간값으로부터 제1 적응 코드북을 생성하는 제 2 단계; 및 연속적인 프레임 오류시, 가우시안 랜덤 잡음을 발생시켜 제1 고정 코드북을 설정하고, 여기신호의 이득을 순차적으로 줄여 잡음 성분을 제거하는 제 3 단계를 포함함.The present invention includes a first step of reducing the average adaptive codebook gain and the average fixed codebook gain for successive error frames after line spectrum pair decoding of the received packet; Interpolating the line spectral pairs and generating a first adaptive codebook from delay prediction interpolation values; And generating a first fixed codebook by generating Gaussian random noise upon successive frame errors, and sequentially removing the noise components by sequentially reducing the gain of the excitation signal.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 고도 가변율 코덱에서의 디코딩 등에 이용됨.The present invention is used for decoding in a highly variable rate codec.

Description

코덱에서의 연속된 프레임 오류시 고정 코드북 이득 감소 방법Fixed Codebook Gain Reduction Method for Consecutive Frame Errors in Codecs

본 발명은 디코더와 인코더로 구성된 코덱에서의 연속된 프레임 오류시 고정 코드북 이득을 감소시켜 연속되는 오류 프레임을 포함하고 있는 패킷을 처리할 수 있도록 하는 고정 코드북 이득 감소 방법에 관한 것이다.The present invention relates to a fixed codebook gain reduction method for reducing a fixed codebook gain in a continuous frame error in a codec consisting of a decoder and an encoder so as to process a packet including a continuous error frame.

고도 가변율 코덱(EVRC : Enhanced Variable Rate Codec)의 디코딩 과정은 다른 CELP(Code-Excited Linear Prediction) 계열 코덱과 마찬가지로, 고정 코드북 인덱스에 따라 해당하는 여기 신호(고정 코드북)를 만들고, 만들어진 여기 신호에 고정 코드북 이득을 곱한 후에, 곱한 결과치에 피치 성분을 복원해 주는 적응 코드북에 의한 신호를 더한다.The decoding process of the Enhanced Variable Rate Codec (EVRC), like other Code-Excited Linear Prediction (CELP) series codecs, creates a corresponding excitation signal (fixed codebook) according to a fixed codebook index, After multiplying the fixed codebook gains, a signal by the adaptive codebook that restores the pitch component is added to the multiplied result.

이후에, 상기에서 구한 신호를 선형 예측 필터링하여 최종 출력 신호를 생성해 낸다.Thereafter, the signal obtained above is linearly predicted and filtered to generate a final output signal.

한편, 고도 가변율 코덱에서 사용되는 프레임(20 msec)은 3개의 부 프레임으로 구성되며, 고정 코드북 인덱스 및 고정 코드북 이득, 적응 코드북 이득은 매 부 프레임마다 하나씩 전송되며, 적응 코드북에 사용되는 피치값과 선형 예측 필터의 계수는 한 프레임에 한 번만 전송된다.On the other hand, the frame used in the highly variable rate codec (20 msec) is composed of three sub-frames, and the fixed codebook index, fixed codebook gain, and adaptive codebook gain are transmitted one for each subframe, and the pitch value used for the adaptive codebook The coefficients of the linear prediction filter are transmitted only once per frame.

따라서, 출력되는 음성은 한 프레임에 3번 계산되며, 각각의 부 프레임에 사용되는 각 코드북 이득들의 평균값을 계산하여, 그 프레임의 평균 코드북 이득으로 사용한다.Therefore, the output voice is calculated three times in one frame, and an average value of the respective codebook gains used in each subframe is calculated and used as the average codebook gain of the frame.

한편, 코덱에 입력되는 패킷이 오류 프레임으로 판명되면, 코덱의 디코더는 음질 저하를 막기 위해서 몇가지 처리를 하게 된다.On the other hand, if a packet input to the codec is found to be an error frame, the decoder of the codec performs some processing to prevent sound quality degradation.

이러한, 음질 저하를 막기 위한 오류 프레임을 처리하는 종래의 디코딩 방법은 선형 예측 필터의 계수를 이전 프레임과 같은 값을 사용하고, 피치 값(지연 예측)도 같은 값을 사용하여 수행하였다.In the conventional decoding method for processing an error frame to prevent sound degradation, the coefficient of the linear prediction filter is performed using the same value as the previous frame, and the pitch value (delay prediction) is also used.

피치 이득(적응 코드북 이득)은 이전 프레임이 정상 프레임이었다면, 이전 프레임의 평균 적응 코드북 이득값을 사용하고, 이전 프레임 역시 오류 프레임이었다면, 이전 프레임의 평균 적응 코드북 이득의 0.75배를 사용하였다.The pitch gain (adaptive codebook gain) uses the average adaptive codebook gain value of the previous frame if the previous frame was a normal frame, and 0.75 times the average adaptive codebook gain of the previous frame if the previous frame was also an error frame.

이러한 방식으로 연속적으로 몇 프레임이 오류가 되면, 적응 코드북 성분은 거의 사라지게 된다. 프레임 오류시 고정 코드북은 사용되지 않는다. 그러나, 평균 적응 코드북 이득이 0.4보다 적어지면, 가우시안 랜덤 함수를 발생시켜 고정 코드북 여기 신호로 사용한다. 이때, 고정 코드북 이득은 이전 프레임의 평균 고정 코드북 이득의 0.1배를 사용한다. 따라서, 프레임 오류가 연속적으로 발생하면, 계속 같은 평균 고정 코드북 이득값이 사용되어 어느 정도 크기의 배경 잡음이 존재하게 되는 문제점이 있었다.In this way, if several frames in succession fail, the adaptive codebook component is almost gone. In case of frame error, the fixed codebook is not used. However, if the average adaptive codebook gain is less than 0.4, a Gaussian random function is generated and used as a fixed codebook excitation signal. In this case, the fixed codebook gain uses 0.1 times the average fixed codebook gain of the previous frame. Therefore, when frame errors occur continuously, the same average fixed codebook gain value is used continuously, and there is a problem in that a background noise of a certain amount exists.

따라서, 상기한 바와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 코덱에서 연속된 프레임 오류를 가지고 있는 패킷이 입력되는 경우에, 적응 코드북 이득을 순차적으로 감소시키고, 동시에 고정 코드북 이득도 순차적으로 감소시켜 연속되는 오류 프레임을 포함하고 있는 패킷을 처리하기 위한 고정 코드북 이득 감소 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention devised to solve the above-described problem, when a packet having a continuous frame error in the codec is input, the adaptive codebook gain is sequentially reduced, while the fixed codebook gain is also sequentially reduced It is an object of the present invention to provide a fixed codebook gain reduction method for processing packets containing consecutive error frames.

도 1 은 본 발명이 적용되는 코덱의 디코더의 구성을 나타낸 일예시도.1 is an exemplary view showing a configuration of a decoder of a codec to which the present invention is applied.

도 2a 및 2b 는 본 발명에 따른 연속된 프레임 오류시 고정 코드북 이득 감소 방법에 대한 일실시예 흐름도.2A and 2B are flow diagrams of an embodiment of a method for reducing fixed codebook gain in the event of consecutive frame failures in accordance with the present invention.

* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

101 : 디코더 102 : 프레임 에러 검출기101: decoder 102: frame error detector

103 : 후처리 여파기103: post-processing filter

상기 목적을 달성하기 위한 본 발명의 방법은, 코덱(CODEC)에 적용되는 고정 코드북 이득 감소 방법에 있어서, 수신된 패킷을 선 스펙트럼 쌍 디코딩한 후에, 비연속적인 오류 프레임에 대해 이전 프레임의 값을 현재 프레임의 값으로 하고, 연속적인 오류 프레임에 대해 평균 적응 코드북 이득 및 평균 고정 코드북 이득을 감소시키는 제 1 단계; 모든 프레임에 대해 이전 프레임과 현재 프레임을 사용하여 선 스펙트럼 쌍을 보간하고, 지연 예측 보간값으로부터 제1 적응 코드북을 생성하는 제 2 단계; 및 연속적인 프레임 오류시, 상기 평균 적응 코드북 이득을 검사하여 가우시안 랜덤 잡음을 발생시켜 제1 고정 코드북을 설정하고, 상기 제1 고정 코드북과 상기 제1 적응 코드북을 더하여 여기신호의 이득을 순차적으로 줄여 잡음 성분을 제거하는 제 3 단계를 포함한다.A method of the present invention for achieving the above object is a fixed codebook gain reduction method applied to a codec, wherein after pre-spectrum pair decoding of a received packet, a value of a previous frame is obtained for a non-contiguous error frame. A first step of setting a value of the current frame and reducing the average adaptive codebook gain and the average fixed codebook gain for successive error frames; Interpolating a line spectral pair using a previous frame and a current frame for every frame, and generating a first adaptive codebook from the delay prediction interpolation value; And in the event of consecutive frame errors, the average adaptive codebook gain is examined to generate Gaussian random noise to set a first fixed codebook, and the first fixed codebook and the first adaptive codebook are added to sequentially reduce the gain of the excitation signal. And a third step of removing noise components.

이하, 도 1 및 2 를 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.Hereinafter, a preferred embodiment according to the present invention will be described in detail with reference to FIGS. 1 and 2.

한국은 지리적·사회적인 요인으로 인해 전파환경이 나쁜 곳이 많다. 통칭하여 약전계라고 볼 수 있는데, 이러한 곳에서 이동전화의 통화 품질은 상당히 나쁘다.In Korea, there are many places where the radio environment is bad due to geographical and social factors. Commonly referred to as the weak electric field, where the call quality of the mobile phone is quite bad.

특히, 디지털 이동전화의 경우에 비트 오류율(Bit Error Rate)이 높아지므로 프레임 데이터를 제대로 복구하기가 어려워 연속적인 삭제 프레임이 많이 발생한다.In particular, in the case of digital mobile phones, since the bit error rate is high, it is difficult to recover the frame data properly, resulting in a large number of consecutive erased frames.

이 경우에 코덱은 제대로 된 음성을 복구할 수 없으므로, 잡음 성분을 만들어 내게 되는데, 이 소리가 사용자의 귀를 거슬리게 해 체감 통화 품질이 더 나빠질 수 있다.In this case, the codec cannot recover the correct voice, which creates a noise component, which can bother the user's ears and result in poorer call quality.

본 발명에서는 연속적인 프레임 오류시 여기 신호의 이득을 순차적으로 줄여 나감으로써 잡음 성분을 줄여 나가 사용자의 체감 통화 품질을 향상시킬 수 있다.In the present invention, by reducing the gain of the excitation signal sequentially during successive frame errors, it is possible to reduce the noise component and improve the user's perceived call quality.

도 1 은 본 발명이 적용되는 코덱의 디코더의 구성을 나타낸 일예시도이다.1 is an exemplary view showing the configuration of a decoder of a codec to which the present invention is applied.

도면에 도시된 바와 같이, 본 발명이 적용되는 코덱의 디코더의 구성은, 디코더(101), 프레임 에러 검출기(102) 및 후처리 여파기(103)로 구성된다.As shown in the figure, the decoder of the codec to which the present invention is applied consists of a decoder 101, a frame error detector 102, and a post-processing filter 103.

이제, 본 발명이 적용되는 코덱의 디코더의 동작을 상세히 살펴보면 다음과 같다.Now, the operation of the decoder of the codec to which the present invention is applied will be described in detail.

먼저, 프레임 에러 검출기(102)는 패킷 정보를 입력받아 프레임에 에러가 있는지 여부를 판별하여, 프레임 에러가 있으면 참(True)이라는 진리값을, 프레임 에러가 없으면 거짓(false)이라는 진리값을 디코더(101)에 출력한다. 여기서, 패킷 정보란 오류 패킷인지 또는 정상 패킷인지에 대한 정보를 의미한다.First, the frame error detector 102 receives packet information and determines whether there is an error in the frame, and decodes a truth value of true if there is a frame error, and a truth value of false if there is no frame error. Output to (101). Here, the packet information means information on whether an error packet or a normal packet.

그리고, 디코더(101)는 선 스펙트럼 쌍, 고정 코드북 인덱스, 지연 예측값, 고정 코드북 이득, 적응 코드북 이득 등의 정보를 포함하고 있는 패킷을 입력받아 프레임 에러 검출기(102)로부터 입력되는 오류 프레임 플래그에 따라 디코딩을 수행하여 합성된 음성 벡터를 출력한다.The decoder 101 receives a packet including information such as a line spectrum pair, a fixed codebook index, a delay prediction value, a fixed codebook gain, an adaptive codebook gain, and the like according to an error frame flag input from the frame error detector 102. Decoding is performed to output the synthesized speech vector.

후처리 여파기(103)는 입력받은 합성된 음성 벡터의 음질이 부드럽게 되도록 여러 가지 필터링을 수행한 후에, 후처리된 합성 음성 벡터를 출력한다.The post-processing filter 103 performs various filtering to soften the sound quality of the input synthesized speech vector, and then outputs the post-processed synthesized speech vector.

도 2a 및 2b 는 본 발명에 따른 연속된 프레임 오류시 고정 코드북 이득 감소 방법에 대한 일실시예 흐름도이다.2A and 2B are flowcharts of an embodiment of a method for reducing a fixed codebook gain in successive frame errors according to the present invention.

먼저, 선 스펙트럼 쌍, 고정 코드북 인덱스, 지연 예측값, 고정 코드북 이득, 적응 코드북 이득 등을 포함하고 있는 패킷이 수신되면(201), 선 스펙트럼 쌍(LSP : Line Spectral Pair)을 디코딩한다(202).First, when a packet including a line spectrum pair, a fixed codebook index, a delay prediction value, a fixed codebook gain, an adaptive codebook gain, and the like is received (201), a line spectral pair (LSP) is decoded (202).

이후, 수신된 패킷의 프레임이 오류 프레임인지를 분석한다(203).Then, it is analyzed whether the frame of the received packet is an error frame (203).

분석 결과, 오류 프레임이면, 이전 프레임의 선 스펙트럼 쌍을 현재 프레임의 선 스펙트럼 쌍으로 하고(204), 이전 프레임의 지연 예측값을 현재 프레임의 지연 예측값으로 한 후에(205), 두 프레임이 연속적인 오류 프레임인지를 검사한다(206).As a result of the analysis, if the error frame, the line spectrum pair of the previous frame as the line spectrum pair of the current frame (204), the delay prediction value of the previous frame as the delay prediction value of the current frame (205), the two frames are consecutive errors Check if it is a frame (206).

EVRC 디코더에는 오류 프레임 플래그(FER(m))가 있다. 여기서, m은 현재 프레임 번호를 나타낸다. 따라서, 이 플래그가 참(True)이면, 현재 프레임이 오류 프레임임을 의미한다.The EVRC decoder has an error frame flag FER (m). Where m represents the current frame number. Therefore, if this flag is True, it means that the current frame is an error frame.

만약, FER(m)이 참이고 FER(m-1)도 참이면, 현재 프레임의 평균 고정 코드북 이득(g_cavg(m))을 이전 프레임의 평균 고정 코드북 이득(g_cavg(m))의 0.7배로 줄인다. 또한, FER(m-1)이 거짓이면, g_cavg(m)은 g_cavg(m-1)을 그대로 사용한다.If FER (m) is true and FER (m-1) is also true, reduce the average fixed codebook gain g_cavg (m) of the current frame to 0.7 times the average fixed codebook gain g_cavg (m) of the previous frame. . If FER (m-1) is false, g_cavg (m) uses g_cavg (m-1) as it is.

따라서, 연속적인 프레임 오류시 평균 고정 코드북 이득이 계속 감소하여 잡음 성분의 크기가 줄어들게 된다.Therefore, the average fixed codebook gain continues to decrease during successive frame errors, thereby reducing the size of the noise component.

한편, 정상 프레임이 수신되면, 평균 고정 코드북의 값은 정상적인 값으로 복구되어 제대로 된 음성 파형을 합성한다.On the other hand, when a normal frame is received, the average fixed codebook value is restored to a normal value to synthesize a proper speech waveform.

검사 결과, 두 프레임이 연속적인 오류 프레임이 아니면, 현재 프레임의 평균 적응 코드북 이득(g_p)을 이전 프레임의 평균 적응 코드북 이득(g_p)으로 설정하고(207), 현재 프레임의 평균 고정 코드북 이득(g_c)을 이전 프레임의 평균 고정 코드북 이득(g_c)으로 설정한 후에(208), 이전 프레임과 현재 프레임을 사용하여 선 스펙트럼 쌍을 보간한다(211).If the two frames are not consecutive error frames, the average adaptive codebook gain g_p of the current frame is set to the average adaptive codebook gain g_p of the previous frame (207), and the average fixed codebook gain g_c of the current frame. ) Is set to the average fixed codebook gain g_c of the previous frame (208), and line spectrum pairs are interpolated using the previous frame and the current frame (211).

검사 결과, 두 프레임이 연속적인 오류 프레임이면, 현재 프레임의 평균 적응 코드북 이득(g_p)을 이전 프레임의 평균 적응 코드북 이득(g_p)의 0.75배로 줄여 설정하고(209), 현재 프레임의 평균 고정 코드북 이득(g_c)을 이전 프레임의 평균 고정 코드북 이득(g_c)의 0.7배로 줄여 설정한 후에(210), 이전 프레임과 현재 프레임을 사용하여 선 스펙트럼 쌍을 보간한다(211).If the two frames are consecutive error frames, the average adaptive codebook gain g_p of the current frame is set to 0.75 times the average adaptive codebook gain g_p of the previous frame, and the average fixed codebook gain of the current frame is set. After setting (g_c) to 0.7 times the average fixed codebook gain (g_c) of the previous frame (210), the line spectrum pair is interpolated using the previous frame and the current frame (211).

분석 결과, 오류 프레임이 아니면, 이전 프레임과 현재 프레임을 사용하여 선 스펙트럼 쌍을 보간하고(211), 일정한 갯수의 보간된 선 스펙트럼 쌍을 사용하여 선형 예측 계수로 변환한 후에(LPC : Linear Predictive Coding)(212), 지연 예측 보간을 수행하여 피치값을 결정한다(213).As a result of the analysis, if it is not an error frame, the line spectrum pairs are interpolated using the previous frame and the current frame (211), and then converted into linear prediction coefficients using a constant number of interpolated line spectrum pairs (LPC: Linear Predictive Coding). 212, the delay value is determined by performing delay prediction interpolation (213).

다음으로, 이미 저장되어 있는 적응 코드값과 지연 예측 보간값을 이용하여 적응 코드북을 생성 저장한 후에(214), 오류 프레임인지를 판단한다(215).Next, after generating and storing the adaptive codebook using the stored adaptive code value and the delay prediction interpolation value (214), it is determined whether it is an error frame (215).

판단 결과, 오류 프레임이 아니면, 패킷에 저장되어 있는 고정 코드북 인텍스와 고정 코드북 이득을 사용하여 고정 코드북을 생성한 후에(216), 적응 코드북에 고정 코드북을 더한 값을 합성여기신호로 설정한다(220).As a result of the determination, if it is not an error frame, after generating the fixed codebook using the fixed codebook index and the fixed codebook gain stored in the packet (216), the value obtained by adding the fixed codebook to the adaptive codebook is set as a composite excitation signal (220). ).

판단 결과, 오류 프레임이면, 평균 적응 코드북 이득이 0.4보다 작은지를 검사한다(217).If the determination result is an error frame, it is checked whether the average adaptive codebook gain is less than 0.4 (217).

검사 결과, 평균 적응 코드북 이득이 0.4 보다 작으면, 가우시안 랜덤 잡음을 계산하여 고정 코드북으로 설정한 후에(218), 적응 코드북에 고정 코드북을 더한 값을 합성여기신호로 설정한다(220).As a result of the test, if the average adaptive codebook gain is less than 0.4, the Gaussian random noise is calculated and set as the fixed codebook (218), and the value obtained by adding the fixed codebook to the adaptive codebook is set as the synthesized excitation signal (220).

검사 결과, 평균 적응 코드북 이득이 0.4보다 크거나 같으면, 고정 코드북을 초기치(즉, 0)로 설정한 후에(219), 적응 코드북에 고정 코드북을 더한 값을 합성여기신호로 설정한다(220).As a result of the test, if the average adaptive codebook gain is greater than or equal to 0.4, after setting the fixed codebook to an initial value (that is, 0) (219), a value obtained by adding the fixed codebook to the adaptive codebook is set as a composite excitation signal (220).

이후에, 합성 여기신호를 적응 코드북으로 저장한 후에(221), 합성 여기신호의 선형 예측 필터링을 수행하여 음성을 합성한다(222).Thereafter, after storing the synthesized excitation signal as an adaptive codebook (221), the speech is synthesized by performing linear prediction filtering on the synthesized excitation signal (222).

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains, and the above-described embodiments and accompanying It is not limited to the drawing.

상기와 같은 본 발명은, 연속적인 프레임 오류시 적응 코드북 이득은 물론 고정 코드북 이득을 순차적으로 감소시켜 연속되는 오류 프레임을 포함하고 있는 패킷을 처리하므로써, 잡음 성분을 줄여 사용자의 체감 품질을 향상시킬 수 있는 효과가 있다.The present invention as described above, by sequentially reducing the fixed codebook gain, as well as the adaptive codebook gain in the case of continuous frame error, by processing the packet containing a continuous error frame, it is possible to reduce the noise component to improve the user experience quality It has an effect.

Claims (6)

코덱(CODEC)에 적용되는 고정 코드북 이득 감소 방법에 있어서,In the fixed codebook gain reduction method applied to a codec, 수신된 패킷을 선 스펙트럼 쌍 디코딩한 후에, 비연속적인 오류 프레임에 대해 이전 프레임의 값을 현재 프레임의 값으로 하고, 연속적인 오류 프레임에 대해 평균 적응 코드북 이득 및 평균 고정 코드북 이득을 감소시키는 제 1 단계;After decoding the received packets with a line spectrum pair, a first value for the non-contiguous error frame is made the value of the current frame, and the first adaptive codebook gain and the average fixed codebook gain are reduced for successive error frames. step; 모든 프레임에 대해 이전 프레임과 현재 프레임을 사용하여 선 스펙트럼 쌍을 보간하고, 지연 예측 보간값으로부터 제1 적응 코드북을 생성하는 제 2 단계; 및Interpolating a line spectral pair using a previous frame and a current frame for every frame, and generating a first adaptive codebook from the delay prediction interpolation value; And 연속적인 프레임 오류시, 상기 평균 적응 코드북 이득을 검사하여 가우시안 랜덤 잡음을 발생시켜 제1 고정 코드북을 설정하고, 상기 제1 고정 코드북과 상기 제1 적응 코드북을 더하여 여기신호의 이득을 순차적으로 줄여 잡음 성분을 제거하는 제 3 단계In case of continuous frame error, the average adaptive codebook gain is examined to generate a Gaussian random noise to set a first fixed codebook, and the first fixed codebook and the first adaptive codebook are added to sequentially reduce the gain of the excitation signal. 3rd step to remove ingredients 를 포함하여 이루어진 고정 코드북 이득 감소 방법.Fixed codebook gain reduction method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 선 스펙트럼 쌍, 고정 코드북 인덱스, 지연 예측값, 고정 코드북 이득, 적응 코드북 이득 등을 포함하고 있는 패킷이 수신되면, 선 스펙트럼 쌍을 디코딩하는 제 4 단계;A fourth step of decoding the line spectrum pair when a packet including the line spectrum pair, the fixed codebook index, the delay prediction value, the fixed codebook gain, the adaptive codebook gain, etc. is received; 수신된 패킷의 프레임이 오류 프레임인지를 분석하는 제 5 단계;A fifth step of analyzing whether the frame of the received packet is an error frame; 상기 제 5 단계의 분석 결과, 오류 프레임이면, 이전 프레임의 선 스펙트럼 쌍을 현재 프레임의 선 스펙트럼 쌍으로 하고, 이전 프레임의 지연 예측값을 현재 프레임의 지연 예측값으로 한 후에, 두 프레임이 연속적인 오류 프레임인지를 검사하는 제 6 단계;As a result of the analysis of the fifth step, if the error frame, after the line spectrum pair of the previous frame as the line spectrum pair of the current frame, the delay prediction value of the previous frame as the delay prediction value of the current frame, two frames are successive error frames A sixth step of examining cognition; 상기 제 6 단계의 검사 결과, 두 프레임이 연속적인 오류 프레임이 아니면, 현재 프레임의 평균 적응 코드북 이득을 이전 프레임의 평균 적응 코드북 이득으로 설정하고, 현재 프레임의 평균 고정 코드북 이득을 이전 프레임의 평균 고정 코드북 이득으로 설정하는 제 7 단계; 및As a result of the checking in the sixth step, if the two frames are not consecutive error frames, the average adaptive codebook gain of the current frame is set to the average adaptive codebook gain of the previous frame, and the average fixed codebook gain of the current frame is fixed to the average of the previous frame. A seventh step of setting a codebook gain; And 상기 제 6 단계의 검사 결과, 두 프레임이 연속적인 오류 프레임이면, 이전 프레임의 평균 적응 코드북 이득에 제1 소정값을 곱하여 현재 프레임의 평균 적응 코드북 이득을 설정하고, 이전 프레임의 평균 고정 코드북 이득에 제2 소정값을 곱하여 현재 프레임의 평균 고정 코드북 이득을 설정하는 제 8 단계As a result of the checking in the sixth step, if the two frames are consecutive error frames, the average adaptive codebook gain of the current frame is set by multiplying the average adaptive codebook gain of the previous frame by a first predetermined value, and the average fixed codebook gain of the previous frame. An eighth step of multiplying a second predetermined value to set an average fixed codebook gain of the current frame 를 포함하여 이루어진 고정 코드북 이득 감소 방법.Fixed codebook gain reduction method comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제 2 단계는,The second step, 상기 제 5 단계의 분석 결과, 오류 프레임이 아니면, 이전 프레임과 현재 프레임을 사용하여 선 스펙트럼 쌍을 보간하는 제 9 단계;A ninth step of interpolating a line spectrum pair using a previous frame and a current frame if the analysis result of the fifth step is not an error frame; 일정한 갯수의 보간된 선 스펙트럼 쌍을 사용하여 선형 예측 계수로 변환한 후에, 지연 예측 보간을 수행하여 피치값을 결정하는 제 10 단계; 및A tenth step of converting the linear prediction coefficients using a constant number of interpolated line spectrum pairs, and then performing delayed prediction interpolation to determine a pitch value; And 이미 저장되어 있는 적응 코드값과 지연 예측 보간값을 이용하여 상기 제1 적응 코드북을 생성 저장하는 제 11 단계An eleventh step of generating and storing the first adaptive codebook using an already stored adaptive code value and a delay prediction interpolation value 를 포함하여 이루어진 고정 코드북 이득 감소 방법.Fixed codebook gain reduction method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 3 단계는,The third step, 연속적인 오류 프레임에 대해, 평균 적응 코드북 이득이 제3 소정값보다 작은지를 검사하는 제 12 단계;A twelveth step, for successive error frames, checking whether the average adaptive codebook gain is less than a third predetermined value; 상기 제 12 단계의 검사 결과, 상기 평균 적응 코드북 이득이 상기 제3 소정값보다 작으면, 가우시안 랜덤 잡음을 계산하여 상기 제1 고정 코드북으로 설정하고, 상기 제1 적응 코드북에 상기 제1 고정 코드북을 가산하여 제1 합성여기신호로 설정한 후에, 상기 제1 합성여기신호를 제2 적응 코드북으로 설정하는 제 13 단계; 및As a result of the check in the twelfth step, if the average adaptive codebook gain is less than the third predetermined value, Gaussian random noise is calculated and set as the first fixed codebook, and the first fixed codebook is added to the first adaptive codebook. A thirteenth step of adding and setting the first synthesized excitation signal as a second adaptive codebook; And 상기 제1 합성여기신호를 선형 예측 필터링하여 음성을 합성하는 제 14 단계;A fourteenth step of synthesizing speech by linear prediction filtering the first synthesis excitation signal; 상기 제 12 단계의 검사 결과, 상기 평균 적응 코드북 이득이 상기 제3 소정값보다 크거나 같으면, 제2 고정 코드북을 초기치로 설정하고, 상기 제1 적응 코드북에 상기 제2 고정 코드북을 가산하여 제2 합성여기신호로 설정한 후에, 상기 제2 합성여기신호를 제3 적응 코드북으로 설정하는 제 15 단계; 및As a result of the check in the twelfth step, if the average adaptive codebook gain is greater than or equal to the third predetermined value, a second fixed codebook is set as an initial value, and the second fixed codebook is added to the first adaptive codebook to add a second value. A fifteenth step of setting the second synthesized excitation signal as a third adaptive codebook after setting the synthesized excitation signal; And 상기 제2 합성여기신호를 선형 예측 필터링하여 음성을 합성하는 제 16 단계A sixteenth step of synthesizing speech by performing linear prediction filtering on the second synthesized excitation signal; 를 포함하여 이루어진 고정 코드북 이득 감소 방법.Fixed codebook gain reduction method comprising a. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 8 단계의 제2 소정값은,The second predetermined value of the eighth step is 실질적으로 0.7인 것을 특징으로 하는 고정 코드북 이득 감소 방법.Fixed codebook gain reduction method, characterized in that substantially 0.7. 제 5 항에 있어서,The method of claim 5, 상기 각 제3 소정값은,Each third predetermined value is 실질적으로 0.4인 것을 특징으로 하는 고정 코드북 이득 감소 방법.Fixed codebook gain reduction method, characterized in that substantially 0.4.
KR1019980033198A 1998-08-17 1998-08-17 Fixed Codebook Gain Reduction Method for Continuous Frame Error in Codec KR100280129B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980033198A KR100280129B1 (en) 1998-08-17 1998-08-17 Fixed Codebook Gain Reduction Method for Continuous Frame Error in Codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980033198A KR100280129B1 (en) 1998-08-17 1998-08-17 Fixed Codebook Gain Reduction Method for Continuous Frame Error in Codec

Publications (2)

Publication Number Publication Date
KR20000014008A KR20000014008A (en) 2000-03-06
KR100280129B1 true KR100280129B1 (en) 2001-02-01

Family

ID=19547354

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980033198A KR100280129B1 (en) 1998-08-17 1998-08-17 Fixed Codebook Gain Reduction Method for Continuous Frame Error in Codec

Country Status (1)

Country Link
KR (1) KR100280129B1 (en)

Also Published As

Publication number Publication date
KR20000014008A (en) 2000-03-06

Similar Documents

Publication Publication Date Title
US11721349B2 (en) Methods, encoder and decoder for linear predictive encoding and decoding of sound signals upon transition between frames having different sampling rates
US8010351B2 (en) Speech coding system to improve packet loss concealment
EP1235203B1 (en) Method for concealing erased speech frames and decoder therefor
US9767810B2 (en) Packet loss concealment for speech coding
JPH0430200A (en) Sound decoding system
KR20070118170A (en) Method and apparatus for vector quantizing of a spectral envelope representation
US9972325B2 (en) System and method for mixed codebook excitation for speech coding
US6826527B1 (en) Concealment of frame erasures and method
US8417520B2 (en) Attenuation of overvoicing, in particular for the generation of an excitation at a decoder when data is missing
CN101197133A (en) Decoding method and device
JP6584431B2 (en) Improved frame erasure correction using speech information
EP1103953A2 (en) Method for concealing erased speech frames
KR100280129B1 (en) Fixed Codebook Gain Reduction Method for Continuous Frame Error in Codec
KR20000013870A (en) Error frame handling method of a voice encoder using pitch prediction and voice encoding method using the same
JP3212123B2 (en) Audio coding device
JP2775533B2 (en) Long-term speech prediction device
Teague Enhancing FS-1016 CELP via selective harmonic pre-emphasis
JPH034300A (en) Voice encoding and decoding system
Suddle et al. A Secure and Robust CELP Coder for Land and Satellite Mobile Systems
JPH03248637A (en) Error compensation system
JP2001100797A (en) Sound encoding and decoding device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121002

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20131029

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20141028

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20151103

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20171031

Year of fee payment: 18

EXPY Expiration of term