KR20130114038A - Method and apparatus for decoding adaptive high frequency band - Google Patents

Method and apparatus for decoding adaptive high frequency band Download PDF

Info

Publication number
KR20130114038A
KR20130114038A KR1020130106345A KR20130106345A KR20130114038A KR 20130114038 A KR20130114038 A KR 20130114038A KR 1020130106345 A KR1020130106345 A KR 1020130106345A KR 20130106345 A KR20130106345 A KR 20130106345A KR 20130114038 A KR20130114038 A KR 20130114038A
Authority
KR
South Korea
Prior art keywords
signal
frequency
domain
high frequency
encoded
Prior art date
Application number
KR1020130106345A
Other languages
Korean (ko)
Other versions
KR101376099B1 (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 삼성전자주식회사
Publication of KR20130114038A publication Critical patent/KR20130114038A/en
Application granted granted Critical
Publication of KR101376099B1 publication Critical patent/KR101376099B1/en

Links

Images

Classifications

    • 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/0204Speech 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 using subband decomposition
    • 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/04Speech 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 predictive techniques
    • G10L19/06Determination or coding of the spectral characteristics, e.g. of the short-term prediction coefficients
    • G10L19/07Line spectrum pair [LSP] vocoders
    • 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/04Speech 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 predictive techniques
    • G10L19/08Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/038Speech enhancement, e.g. noise reduction or echo cancellation using band spreading techniques

Abstract

PURPOSE: An adaptive high frequency band encoding method and a device thereof are provided to adaptively decode a signal in an area bigger than a preset frequency by using a signal in an area smaller than the preset frequency. CONSTITUTION: An encoding domain of a first frequency band higher than a predetermined frequency band is determined (1205). When the first frequency band is encoded in a time domain, the first frequency band is decoded by using an excitation signal of a second frequency band having a frequency range lower than the predetermined frequency band (1240). When the first frequency band is encoded in a frequency domain, the first frequency band is decoded by using a decoded spectrum of the second frequency band. [Reference numerals] (1200) Demultiplex; (1205) Is it a frequency band encoded in a time domain ?; (1210) Decode an excitation signal; (1215) Compose the excitation signal with the result of a long-term estimation; (1220) Decode a LPC coefficient and compose it; (1230) De-quantize a spectrum (or spectrums); (1233) Deconvert the domain of the spectrum; (1235) Create an excitation spectrum; (1240) Decode a high frequency signal using the excitation signal or the excitation signal; (1245) Compose into a single signal expressed in a time domain; (AA) Start; (BB) No; (CC) Yes; (DD) End

Description

적응적 고주파수 대역 복호화 방법 및 장치{Method and apparatus for decoding adaptive high frequency band}Method and apparatus for adaptive high frequency band decoding

본 발명은 음성 신호 또는 음악 신호와 같은 오디오 신호를 부호화하거나 복호화하는 방법 및 장치에 관한 것으로, 보다 상세하게는 저주파수 영역에 마련된 신호 또는 스펙트럼을 이용하여 고주파수 영역에 마련된 신호를 부호화하거나 복호화하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for encoding or decoding an audio signal such as a voice signal or a music signal, and more particularly, to a method for encoding or decoding a signal provided in a high frequency region using a signal or spectrum provided in a low frequency region. Relates to a device.

고주파수 영역에 해당하는 신호는 저주파수 영역에 해당하는 신호에 비하여 인간이 소리로서 인식하는 데 중요성이 떨어지는 것이 일반적이다. 그러므로 오디오 신호를 부호화함에 있어서 가용한 비트에 대한 제약이 있어 코딩의 효율을 높여야 할 경우 저주파수 영역에 해당하는 신호에는 많은 비트를 할당하여 부호화하지만 이에 비하여 고주파수 영역에 해당하는 신호에는 적은 비트를 할당하여 부호화한다.Signals in the high frequency region are generally less important for humans to recognize them as sounds than signals in the low frequency region. Therefore, if there is a restriction on the available bits in encoding an audio signal, when coding efficiency needs to be improved, a large number of bits are allocated to a signal corresponding to a low frequency region and encoded, whereas a small bit is allocated to a signal corresponding to a high frequency region. Encode

그러므로 고주파수 영역에 해당하는 신호를 부호화함에 있어서 적은 비트를 이용하고도 인간이 인식하는 음질을 최대한 향상시킬 수 있는 방법 및 장치가 요구된다.Therefore, there is a need for a method and an apparatus capable of maximizing the sound quality recognized by humans even when using a small number of bits in coding a signal corresponding to a high frequency region.

본 발명이 이루고자 하는 기술적 과제는, 기 설정된 주파수 보다 작은 영역에 마련된 신호를 이용하여 기 설정된 주파수 보다 큰 영역에 마련된 신호를 시간 도메인 또는 주파수 도메인에서 적응적으로 부호화하거나 복호화하는 방법 및 장치를 제공하는 것이다.An object of the present invention is to provide a method and apparatus for adaptively encoding or decoding a signal provided in a region greater than a preset frequency in a time domain or a frequency domain using a signal provided in a region smaller than a preset frequency. will be.

상기의 과제를 이루기 위한 본 발명에 의한 적응적 고주파수영역 복호화 장치는, 기 설정된 주파수 보다 큰 영역인 고주파수 영역에 마련된 각 주파수 밴드가 부호화된 도메인을 판단하는 도메인 판단부, 상기 시간 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)를 기 설정된 주파수 보다 작은 저주파수 영역에 마련된 여기 신호를 이용하여 복호화하는 시간도메인 복호화부, 및 상기 주파수 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)를 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 복호화하는 주파수도메인 복호화부를 포함하는 것을 특징으로 한다.An adaptive high frequency region decoding apparatus according to the present invention for achieving the above object is a domain determination unit for determining a domain in which each frequency band provided in a high frequency region, which is a region larger than a preset frequency, encoded in the time domain. A time domain decoder which decodes the determined frequency band (s) using an excitation signal provided in a low frequency region smaller than a preset frequency, and an excitation provided in the low frequency region of the frequency band (s) determined to be encoded in the frequency domain. And a frequency domain decoder which decodes using the spectrum.

상기의 과제를 이루기 위한 본 발명에 의한 적응적 고주파수영역 복호화 장치는, 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 스펙트럼 가운데 기 설정된 주파수 보다 큰 영역인 고주파수 영역을 복호화하는 데 이용할 주파수 밴드(들)에 대한 정보를 이용하여 상기 고주파수 영역에 노이즈를 생성하는 노이즈 생성부, 및 상기 고주파수 영역에 마련된 고주파수 스펙트럼의 포락선을 복호화하여 상기 생성된 노이즈의 포락선을 조절하는 포락선 조절부를 포함하는 것을 특징으로 한다.An adaptive high frequency region decoding apparatus according to the present invention for achieving the above object is a frequency band (s) to be used to decode a high frequency region that is a region larger than a preset frequency among excitation spectrums provided in a low frequency region, which is a region smaller than a predetermined frequency. Noise generation unit for generating noise in the high frequency region using the information about the; and an envelope adjusting unit for adjusting the envelope of the generated noise by decoding the envelope of the high frequency spectrum provided in the high frequency region .

상기의 과제를 이루기 위한 본 발명에 의한 적응적 고주파수영역 복호화 장치는, 기 설정된 주파수 보다 큰 영역인 고주파수 영역이 부호화된 도메인을 판단하는 도메인 판단부, 상기 도메인 판단부에서 상기 고주파수 영역이 시간 도메인에서 부호화된 것으로 판단되면, 상기 고주파수 영역에 마련된 고주파수 신호를 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 신호를 이용하여 복호화하는 시간도메인 복호화부, 및 상기 도메인 판단부에서 상기 고주파수 영역이 주파수 도메인에서 부호화된 것으로 판단되면, 상기 고주파수 영역에 마련된 고주파수 스펙트럼을 상기 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 복호화하는 주파수도메인 복호화부를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an adaptive high frequency region decoding apparatus comprising: a domain determination unit for determining a domain in which a high frequency region, which is an area larger than a predetermined frequency, is encoded, and the high frequency region is determined in the time domain by the domain determination unit. If it is determined that the signal is encoded, a time domain decoder which decodes the high frequency signal provided in the high frequency region by using an excitation signal provided in the low frequency region which is smaller than a preset frequency, and the high frequency region is determined by the domain determination unit in the frequency domain. If it is determined that the encoding, the frequency domain decoder for decoding the high frequency spectrum provided in the high frequency region using the excitation spectrum provided in the low frequency region, characterized in that it comprises a.

상기의 과제를 이루기 위한 본 발명에 의한 적응적 고주파수영역 복호화 방법은, 기 설정된 주파수 보다 큰 영역인 고주파수 영역에 마련된 각 주파수 밴드가 부호화된 도메인을 판단하는 단계, 상기 시간 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)를 기 설정된 주파수 보다 작은 저주파수 영역에 마련된 여기 신호를 이용하여 복호화하는 단계, 상기 주파수 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)를 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 복호화하는 단계를 포함하는 것을 특징으로 한다.In the adaptive high frequency domain decoding method according to the present invention for achieving the above object, determining a domain in which each frequency band provided in a high frequency region, which is a region larger than a predetermined frequency, is coded in the time domain Decoding the frequency band (s) using an excitation signal provided in a low frequency region smaller than a preset frequency, and decoding the frequency band (s) determined to be encoded in the frequency domain using an excitation spectrum provided in a low frequency region. Characterized in that it comprises a step.

상기의 과제를 이루기 위한 본 발명에 의한 적응적 고주파수영역 복호화 방법은, 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 스펙트럼 가운데 기 설정된 주파수 보다 큰 영역인 고주파수 영역을 복호화하는 데 이용할 주파수 밴드(들)에 대한 정보를 이용하여 상기 고주파수 영역에 노이즈를 생성하는 단계, 및 상기 고주파수 영역에 마련된 고주파수 스펙트럼의 포락선을 복호화하여 상기 생성된 노이즈의 포락선을 조절하는 단계를 포함하는 것을 특징으로 한다.The adaptive high frequency domain decoding method according to the present invention for achieving the above object is a frequency band (s) to be used to decode a high frequency region, which is a region larger than a preset frequency, among excitation spectrums provided in a low frequency region, which is a region smaller than a predetermined frequency. Generating noise in the high frequency region by using information about the step S, and adjusting the envelope of the generated noise by decoding an envelope of the high frequency spectrum provided in the high frequency region.

상기의 과제를 이루기 위한 본 발명에 의한 적응적 고주파수영역 복호화 방법은, 기 설정된 주파수 보다 큰 영역인 고주파수 영역이 부호화된 도메인을 판단하는 단계, 상기 판단하는 단계에서 상기 고주파수 영역이 시간 도메인에서 부호화된 것으로 판단되면, 상기 고주파수 영역에 마련된 고주파수 신호를 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 신호를 이용하여 복호화하는 단계, 및 상기 판단하는 단계에서 상기 고주파수 영역이 주파수 도메인에서 부호화된 것으로 판단되면, 상기 고주파수 영역에 마련된 고주파수 스펙트럼을 상기 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 복호화하는 단계를 포함하는 것을 특징으로 한다.In the adaptive high frequency region decoding method according to the present invention for achieving the above object, determining a domain in which a high frequency region, which is an area larger than a predetermined frequency, is encoded, wherein the high frequency region is encoded in the time domain If it is determined that the high frequency signal provided in the high frequency region is decoded using an excitation signal provided in the low frequency region, which is a region smaller than a predetermined frequency, and when the determination step is determined that the high frequency region is encoded in the frequency domain And decoding the high frequency spectrum provided in the high frequency region using the excitation spectrum provided in the low frequency region.

상기의 과제를 이루기 위한 본 발명에 의한 기록 매체는, 기 설정된 주파수 보다 큰 영역인 고주파수 영역에 마련된 각 주파수 밴드가 부호화된 도메인을 판단하는 단계, 상기 시간 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)를 기 설정된 주파수 보다 작은 저주파수 영역에 마련된 여기 신호를 이용하여 복호화하는 단계, 상기 주파수 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)를 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 복호화하는 단계를 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있다.In the recording medium according to the present invention for achieving the above object, the step of determining a domain in which each frequency band provided in a high frequency region that is a region larger than a predetermined frequency, the frequency band (s) determined to be encoded in the time domain ) Is decoded using the excitation signal provided in the low frequency region smaller than the preset frequency, and decoding the frequency band (s) determined to be encoded in the frequency domain using the excitation spectrum provided in the low frequency region. The program to be executed can be read by the recorded computer.

상기의 과제를 이루기 위한 본 발명에 의한 기록 매체는, 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 스펙트럼 가운데 기 설정된 주파수 보다 큰 영역인 고주파수 영역을 복호화하는 데 이용할 주파수 밴드(들)에 대한 정보를 이용하여 상기 고주파수 영역에 노이즈를 생성하는 단계, 및 상기 고주파수 영역에 마련된 고주파수 스펙트럼의 포락선을 복호화하여 상기 생성된 노이즈의 포락선을 조절하는 단계를 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있다.The recording medium according to the present invention for achieving the above object, the information on the frequency band (s) to be used to decode the high frequency region of the excitation spectrum provided in the low frequency region of the region smaller than the preset frequency, the region larger than the predetermined frequency Generating a noise in the high frequency region and decoding an envelope of the high frequency spectrum provided in the high frequency region to adjust the envelope of the generated noise by using a computer. .

상기의 과제를 이루기 위한 본 발명에 의한 기록 매체는, 기 설정된 주파수 보다 큰 영역인 고주파수 영역이 부호화된 도메인을 판단하는 단계, 상기 판단하는 단계에서 상기 고주파수 영역이 시간 도메인에서 부호화된 것으로 판단되면, 상기 고주파수 영역에 마련된 고주파수 신호를 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 신호를 이용하여 복호화하는 단계, 및 상기 판단하는 단계에서 상기 고주파수 영역이 주파수 도메인에서 부호화된 것으로 판단되면, 상기 고주파수 영역에 마련된 고주파수 스펙트럼을 상기 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 복호화하는 단계를 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있다.In the recording medium according to the present invention for achieving the above object, if it is determined that the high frequency region is encoded in the time domain in the step of determining a domain in which a high frequency region, which is an area larger than a predetermined frequency, is encoded. Decoding the high-frequency signal provided in the high-frequency region using an excitation signal provided in the low-frequency region, which is a region smaller than a predetermined frequency, and if it is determined that the high-frequency region is encoded in the frequency domain, the high-frequency region The decoding of the high frequency spectrum provided by using the excitation spectrum provided in the low frequency region can be read by a computer recording a program for executing on a computer.

본 발명에 의한 적응적 고주파수영역 부호화 방법 및 장치에 의하면, 기 설정된 주파수 보다 작은 영역에 마련된 신호를 이용하여 기 설정된 주파수 보다 큰 영역에 마련된 신호를 시간 도메인 또는 주파수 도메인에서 적응적으로 부호화하거나 복호화한다.According to the method and apparatus for adaptive high frequency domain encoding according to the present invention, a signal provided in a region larger than a predetermined frequency is adaptively encoded or decoded in a time domain or a frequency domain using a signal provided in a region smaller than a predetermined frequency. .

이렇게 함으로써 적은 비트를 이용하여 오디오 신호를 부호화하거나 복호화함에도 불구하고 고주파수 영역에 해당하는 신호의 음질을 저하시키지 않으므로 코딩 효율을 극대화할 수 있는 효과를 거둘 수 있다.By doing so, the audio quality of the signal corresponding to the high frequency region is not deteriorated even though the audio signal is encoded or decoded using a few bits, thereby maximizing coding efficiency.

도 1a는 본 발명에 의한 적응적 고주파수영역 부호화 장치의 일 실시예를 블록도로 도시한 것이다.
도 1b는 본 발명에 의한 적응적 고주파수영역 부호화 장치에 포함된 고주파수영역 부호화부(160)의 일 실시예를 블록도로 도시한 것이다.
도 2a는 본 발명에 의한 적응적 고주파수영역 부호화 장치의 일 실시예를 블록도로 도시한 것이다.
도 2b은 본 발명에 의한 적응적 고주파수영역 부호화 장치에 포함된 고주파수영역 부호화부(250)의 일 실시예를 블록도로 도시한 것이다.
도 3a는 본 발명에 의한 적응적 고주파수영역 부호화 장치의 일 실시예를 블록도로 도시한 것이다.
도 3b는 본 발명에 의한 적응적 고주파수영역 부호화 장치에 포함된 고주파수영역 부호화부(360)의 일 실시예를 블록도로 도시한 것이다.
도 4a은 본 발명에 의한 적응적 고주파수영역 복호화 장치의 일 실시예를 블록도로 도시한 것이다.
도 4b은 본 발명에 의한 적응적 고주파수영역 복호화 장치에 포함된 고주파수영역 복호화부(440)의 일 실시예를 블록도로 도시한 것이다.
도 5a은 본 발명에 의한 적응적 고주파수영역 복호화 장치의 일 실시예를 블록도로 도시한 것이다.
도 5b은 본 발명에 의한 적응적 고주파수영역 복호화 장치에 포함된 고주파수영역 복호화부(525)의 일 실시예를 블록도로 도시한 것이다.
도 6a은 본 발명에 의한 적응적 고주파수영역 복호화 장치의 일 실시예를 블록도로 도시한 것이다.
도 6b은 본 발명에 의한 적응적 고주파수영역 복호화 장치의 일 실시예를 블록도로 도시한 것이다.
도 7a는 LPC 계수에 의하여 복원된 포락선의 일 실시예를 그래프로 도시한 것이다.
도 7b는 저주파수 신호와 LPC 계수에 의하여 복원된 포락선과 여기 신호를 승산한 일 실시예를 그래프로 도시한 것이다.
도 7c는 저주파수 신호와 고주파수 신호 사이에 존재하는 미스매칭을 보상한 일 실시예를 그래프로 도시한 것이다.
도 8a는 저주파수 영역에 마련된 여기 스펙트럼의 일 실시예를 그래프로 도시한 것이다.
도 8b는 저주파수 영역에 마련된 여기 스펙트럼을 고주파수 영역에 패치한 일 실시예를 그래프로 도시한 것이다.
도 8c는 고주파수 스펙트럼의 포락선을 조절한 일 실시예를 그래프로 도시한 것이다.
도 9a는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.
도 9b는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 포함된 제960단계에 대한 일 실시예를 흐름도로 도시한 것이다.
도 10a는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.
도 10b는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 포함된제1050단계에 대한 일 실시예를 흐름도로 도시한 것이다.
도 11a는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.
도 11b는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 포함된 제1160단계에 대한 일 실시예를 흐름도로 도시한 것이다.
도 12a는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.
도 12b는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 포함된 제1240단계에 대한 일 실시예를 흐름도로 도시한 것이다.
도 13a는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.
도 13b는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 포함된 제1325단계에 대한 일 실시예를 흐름도로 도시한 것이다.
도 14a는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.
도 14b는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 포함된 제1435단계에 대한 일 실시예를 흐름도로 도시한 것이다.
1A is a block diagram illustrating an embodiment of an adaptive high frequency domain encoding apparatus according to the present invention.
FIG. 1B is a block diagram illustrating an embodiment of the high frequency region encoder 160 included in the adaptive high frequency region encoding apparatus according to the present invention.
2A is a block diagram illustrating an embodiment of an adaptive high frequency domain encoding apparatus according to the present invention.
2B is a block diagram illustrating an embodiment of the high frequency region encoder 250 included in the adaptive high frequency region encoding apparatus according to the present invention.
3A is a block diagram illustrating an embodiment of an adaptive high frequency domain encoding apparatus according to the present invention.
3B is a block diagram illustrating an embodiment of the high frequency region encoder 360 included in the adaptive high frequency region encoding apparatus according to the present invention.
4A is a block diagram illustrating an embodiment of an adaptive high frequency region decoding apparatus according to the present invention.
4B is a block diagram illustrating an embodiment of the high frequency region decoder 440 included in the adaptive high frequency region decoding apparatus according to the present invention.
Figure 5a shows a block diagram of an embodiment of an adaptive high frequency region decoding apparatus according to the present invention.
5B is a block diagram illustrating an embodiment of the high frequency region decoder 525 included in the adaptive high frequency region decoding apparatus according to the present invention.
6A is a block diagram illustrating an embodiment of an adaptive high frequency region decoding apparatus according to the present invention.
6B is a block diagram showing an embodiment of an adaptive high frequency region decoding apparatus according to the present invention.
7A graphically illustrates one embodiment of an envelope reconstructed by an LPC coefficient.
FIG. 7B graphically illustrates an embodiment of multiplying an low frequency signal and an envelope reconstructed by an LPC coefficient and an excitation signal.
FIG. 7C graphically illustrates an embodiment in which mismatches between a low frequency signal and a high frequency signal are compensated for.
8A graphically illustrates one embodiment of an excitation spectrum provided in a low frequency region.
8B is a graph showing an embodiment in which an excitation spectrum provided in a low frequency region is patched to a high frequency region.
Figure 8c graphically illustrates one embodiment of adjusting the envelope of the high frequency spectrum.
9A is a flowchart illustrating an embodiment of an adaptive high frequency domain encoding method according to the present invention.
9B is a flowchart illustrating an embodiment of operation 960 included in the adaptive high frequency domain encoding method according to the present invention.
10A is a flowchart illustrating an embodiment of an adaptive high frequency domain encoding method according to the present invention.
FIG. 10B is a flowchart illustrating an embodiment of step 1050 included in the adaptive high frequency domain encoding method according to the present invention.
11A is a flowchart illustrating an embodiment of an adaptive high frequency domain coding method according to the present invention.
11B is a flowchart illustrating an embodiment of step 1160 included in the adaptive high frequency domain encoding method according to the present invention.
12A is a flowchart illustrating an embodiment of an adaptive high frequency domain decoding method according to the present invention.
12B is a flowchart illustrating an embodiment of step 1240 included in the adaptive high frequency domain decoding method according to the present invention.
13A is a flowchart illustrating an embodiment of an adaptive high frequency domain decoding method according to the present invention.
13B is a flowchart illustrating an embodiment of step 1325 included in the adaptive high frequency domain decoding method according to the present invention.
14A is a flowchart illustrating an embodiment of an adaptive high frequency domain decoding method according to the present invention.
14B is a flowchart illustrating an embodiment of step 1435 included in the adaptive high frequency domain decoding method according to the present invention.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 적응적 시간/주파수 도메인 부호화 방법 및 장치에 대해 상세히 설명한다.Hereinafter, an adaptive time / frequency domain encoding method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

도 1a는 본 발명에 의한 적응적 고주파수영역 부호화 장치의 일 실시예를 블록도로 도시한 것으로서, 상기 적응적 고주파수영역 부호화 장치는 제1 변환부(100), 도메인 선택부(105), 선형 예측부(110), 장구간 예측부(115), 여기신호 부호화부(120), 제2 변환부(125), 양자화부(130), 역양자화부(135), 제2 역변환부(140), 저장부(145), 여기신호 복호화부(150), 여기스펙트럼 생성부(155), 고주파수영역 부호화부(160) 및 다중화부(165)를 포함하여 이루어진다.FIG. 1A is a block diagram illustrating an embodiment of an adaptive high frequency domain encoding apparatus according to the present invention. The adaptive high frequency region encoding apparatus includes a first transform unit 100, a domain selector 105, and a linear predictor. 110, the long-term prediction unit 115, the excitation signal encoder 120, the second transform unit 125, the quantization unit 130, the inverse quantization unit 135, and the second inverse transform unit 140, and storage. The unit 145 includes an excitation signal decoder 150, an excitation spectrum generator 155, a high frequency region encoder 160, and a multiplexer 165.

제1 변환부(100)는 입력단자 IN을 통하여 입력된 신호를 소정의 주파수 밴드 별로 시간 도메인으로 나타내도록 변환한다. 제1 변환부(100)에서 변환하는 방식으로 QMF(Quadrature Mirror Filterbank) 및 LOT(lapped orthogonal transform) 등이 있다.The first converter 100 converts a signal input through the input terminal IN to represent a time domain for each predetermined frequency band. The first transform unit 100 may convert a quadrature mirror filterbank (QMF) and a lapped orthogonal transform (LOT).

그러나 제1 변환부(100)는 FV-MLT(Frequency Varying Modulated Lapped Transform)와 같이 입력단자 IN을 통하여 입력된 신호를 소정의 주파수 밴드 별로 시간 도메인 또는 주파수 도메인으로 나타내도록 변환함으로써 제2 변환부(125)를 구비하지 않고 도메인 선택부(105)에서 선택된 도메인으로 제1 변환부(100)에서 변환하여 실시할 수도 있다.However, the first transform unit 100 converts a signal input through the input terminal IN to represent a time domain or a frequency domain for each predetermined frequency band, such as a frequency varying modulated lapped transform (FV-MLT). The first conversion unit 100 may convert the domain to the domain selected by the domain selection unit 105 without providing 125.

도메인 선택부(105)는 제1 변환부(100)에서 변환된 각 주파수 밴드의 신호들 가운데 기 설정된 주파수 보다 작은 영역에 포함되는 주파수 밴드의 신호들을 기 설정된 기준에 따라 시간 도메인에서 부호화할지 주파수 도메인에서 부호화할지 여부를 선택한다. 또한, 도메인 선택부(105)는 각 주파수 밴드가 부호화된 도메인에 대한 정보를 부호화하여 다중화부(165)로 출력한다.The domain selector 105 encodes signals of a frequency band included in a region smaller than a preset frequency among the signals of each frequency band converted by the first converter 100 in the time domain according to a preset criterion. Choose whether to encode at. In addition, the domain selector 105 encodes information about a domain in which each frequency band is encoded and outputs the encoded information to the multiplexer 165.

여기서, 기 설정된 기준의 예로 선형 예측 부호화 이득값, 인접한 프레임의 선형 예측 필터 간의 스펙트럴 변화, 피치 지연 및 장구간 예측 이득값 등이 있다.Here, examples of preset criteria include linear prediction coding gain values, spectral changes between linear prediction filters of adjacent frames, pitch delays, and long-term prediction gain values.

선형 예측부(110)는 도메인 선택부(105)에서 시간 도메인에서 부호화하는 것으로 결정된 주파수 밴드(들)에 마련된 신호(들)에 대해 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출하고 부호화하며, 도메인 선택부(105)에서 시간 도메인에서 부호화하는 것으로 결정된 주파수 밴드(들)에 마련된 신호(들)에서 단구간 상관을 제거하여 제1 여기 신호를 추출한다.The linear prediction unit 110 performs LPC (Linear Predictive Coding) analysis on the signal (s) provided in the frequency band (s) determined by the domain selector 105 to encode in the time domain to extract and encode LPC coefficients. In addition, the domain selector 105 extracts the first excitation signal by removing the short-term correlation from the signal (s) provided in the frequency band (s) determined to be encoded in the time domain.

장구간 예측부(115)는 선형 예측부(110)에서 추출된 제1 여기 신호에 대하여 장구간 예측(long-term prediction)을 수행하고, 제2 여기 신호를 추출한다. 또한, 장구간 예측부(115)는 장구간 예측이 수행된 결과를 부호화하여 다중화부(165)로 출력한다.The long term prediction unit 115 performs long-term prediction on the first excitation signal extracted by the linear prediction unit 110 and extracts a second excitation signal. In addition, the long term prediction unit 115 encodes a result of performing the long term prediction and outputs the encoded result to the multiplexer 165.

장구간 예측부(115)에서 수행하는 장구간 예측의 예로 주기성(periodicity)의 연속성(continuity) 정도, 주파수 스펙트럼의 기울기(frequency spectral tilt) 정도 및 프레임 에너지 정도 등이 있다. 여기서, 주기성의 연속성은 피치 래그(pitch lag)의 변화가 적고 피치 상관도(pitch correlation)가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다. 또한, 주기성의 연속성은 첫번째 포먼트 주파수(1st formant frequency)가 매우 낮고 피치 상관도가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다.Examples of long term prediction performed by the long term predictor 115 include a degree of continuity of periodicity, a degree of frequency spectral tilt, and a degree of frame energy. Here, the continuity of periodicity may be such that a frame having a small change in pitch lag and a high pitch correlation continues continuously for a predetermined period or more. In addition, the continuity of periodicity may be such that a frame having a very low first formant frequency and having a high pitch correlation continues continuously for a predetermined period or more.

여기신호 부호화부(120)는 장구간 예측부(115)에서 추출된 제2 여기 신호를 부호화한다.The excitation signal encoder 120 encodes the second excitation signal extracted by the long term prediction unit 115.

제2 변환부(125)는 도메인 선택부(105)에서 주파수 도메인에서 부호화하는 것으로 결정된 주파수 밴드(들)에 마련된 신호(들)를 시간 도메인에서 주파수 도메인으로 변환하여 스펙트럼(들)을 생성한다.The second converter 125 generates the spectrum (s) by converting the signal (s) provided in the frequency band (s) determined by the domain selector 105 to encode in the frequency domain from the time domain to the frequency domain.

양자화부(130)는 제2 변환부(125)에서 생성된 스펙트럼(들)을 양자화한다. 양자화부(130)에서 양자화된 스펙트럼(들)은 다중화부(165)로 출력된다.The quantization unit 130 quantizes the spectrum (s) generated by the second transform unit 125. The quantized spectrum (s) quantized by the quantizer 130 is output to the multiplexer 165.

역양자화부(135)는 양자화부(130)에서 양자화된 스펙트럼(들)을 역양자화한다.The inverse quantization unit 135 inverse quantizes the spectralized spectrum (s) in the quantization unit 130.

제2 역변환부(140)는 제2 변환부(125)에서 수행하는 변환의 역과정으로 역양자화부(135)에서 역양자화된 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환한다.The second inverse transform unit 140 inversely transforms the inverse quantized spectrum in the inverse quantization unit 135 from the frequency domain to the time domain as an inverse process of the transformation performed by the second transform unit 125.

저장부(145)는 제2 역변환부(140)에서 역변환된 신호를 저장한다. 저장부(145)에서 역변환된 신호를 저장하는 이유는 다음 프레임 가운데 시간 도메인으로 부호화하는 주파수 밴드에 마련된 신호에 대하여 장구간 예측부(115)에서 장구간 예측을 수행하는데 이용하기 위하여 버퍼링(buffering)한다.The storage unit 145 stores the signal inversely transformed by the second inverse transform unit 140. The reason for storing the inverse transformed signal in the storage unit 145 is to buffer the long term prediction unit 115 to use the long term prediction for a signal provided in a frequency band encoded in the time domain among the following frames. do.

여기신호 복호화부(150)는 여기신호 부호화부(120)에서 부호화된 제2 여기 신호를 복호화한다.The excitation signal decoder 150 decodes the second excitation signal encoded by the excitation signal encoder 120.

여기스펙트럼 생성부(155)는 역양자화부(135)에서 역양자화된 스펙트럼(들)을 화이트닝(whitening) 처리하여 여기 스펙트럼(들)을 생성한다.The excitation spectrum generator 155 may whiten the dequantized spectrum (s) by the inverse quantizer 135 to generate excitation spectrum (s).

고주파수영역 부호화부(160)는 기 설정된 주파수 보다 작은 영역에 해당하는 주파수 밴드(들)에 마련된 신호(들)를 이용하여 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드(들)의 신호(들)를 시간 도메인 또는 주파수 도메인에서 적응적으로 부호화한다. 고주파수영역 부호화부(160)에서 이용하는 신호(들)는 시간 도메인에서 부호화할 경우 여기신호 복호화부(150)에서 복호화된 제2 여기 신호이고, 주파수 도메인에서 부호화할 경우 여기스펙트럼 생성부(155)에서 생성된 여기 스펙트럼이다.The high frequency region encoder 160 uses the signal (s) provided in the frequency band (s) corresponding to the region smaller than the preset frequency, so that the signal (s) of the frequency band (s) corresponding to the region larger than the preset frequency are used. Is adaptively encoded in the time domain or frequency domain. The signal (s) used by the high frequency domain encoder 160 are second excitation signals decoded by the excitation signal decoder 150 when encoded in the time domain, and are generated by the excitation spectrum generator 155 when encoded by the frequency domain. Generated excitation spectrum.

다중화부(165)는 도메인 선택부(105)에서 부호화된 각 주파수 밴드가 부호화된 도메인에 대한 정보, 선형 예측부(110)에서 부호화된 LPC 계수, 장구간 예측부(115)에서 부호화된 장구간 예측이 수행된 결과, 여기신호 부호화부(120)에서 부호화된 제2 여기신호, 양자화부(130)에서 양자화된 스펙트럼 및 고주파수영역 부호화부(160)에서 부호화된 결과를 포함하여 다중화함으로써 비트스트림을 생성하고, 출력단자 OUT을 통해 출력한다.The multiplexer 165 may include information about domains in which each frequency band encoded by the domain selector 105 is encoded, LPC coefficients encoded by the linear predictor 110, and a long interval encoded by the long term predictor 115. As a result of the prediction, the bitstream is multiplexed by including a second excitation signal encoded by the excitation signal encoder 120, a spectrum quantized by the quantization unit 130, and a result encoded by the high frequency region encoder 160. And output it through the output terminal OUT.

도 1b는 본 발명에 의한 적응적 고주파수영역 부호화 장치에 포함된 고주파수영역 부호화부(160)의 일 실시예를 블록도로 도시한 것으로서, 상기 고주파수영역 부호화부(160)는 도메인 선택부(170), 선형 예측부(175), 승산기(180), 이득값 부호화부(185), 노이즈정보 부호화부(190) 및 포락선정보 부호화부(195)를 포함하여 이루어진다.FIG. 1B is a block diagram illustrating an embodiment of the high frequency region encoder 160 included in the adaptive high frequency region encoder according to the present invention. The high frequency region encoder 160 includes a domain selector 170, The linear predictor 175, the multiplier 180, the gain value encoder 185, the noise information encoder 190, and the envelope information encoder 195 are included.

도메인 선택부(170)는 기 설정된 주파수 보다 큰 영역에 해당하는 각 주파수 밴드에 마련된 신호를 시간 도메인에서 부호화할지 주파수 도메인에서 부호화할지 여부를 선택한다.The domain selector 170 selects whether to encode a signal provided in each frequency band corresponding to a region larger than a preset frequency in the time domain or the frequency domain.

도메인 선택부(170)에서 부호화할 도메인을 선택함에 있어서, 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드를 부호화하는 데 이용되는 기 설정된 주파수 보다 작은 영역에 해당하는 주파수 밴드가 시간 도메인으로 부호화되었는지 주파수 도메인으로 부호화되었는지 여부를 기준으로 도메인을 선택할 수 있다. 만일 기 설정된 주파수 보다 큰 영역에 해당하는 소정의 주파수 밴드를 부호화하는 데 이용되는 기 설정된 주파수 보다 작은 영역에 해당하는 소정의 주파수 밴드가 시간 도메인으로 부호화된 경우 해당하는 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드는 시간 도메인에서 부호화하는 것으로 선택하고, 만일 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드를 부호화하는 데 이용되는 기 설정된 주파수 보다 작은 영역에 해당하는 주파수 밴드가 주파수 도메인으로 부호화된 경우 해당하는 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드는 주파수 도메인에서 부호화하는 것으로 선택한다.In selecting a domain to be encoded by the domain selector 170, a frequency band corresponding to a region smaller than a preset frequency used to encode a frequency band corresponding to a region larger than a preset frequency is encoded in the time domain. The domain may be selected based on whether the domain is encoded. If a predetermined frequency band corresponding to a region smaller than a preset frequency used to encode a predetermined frequency band corresponding to a region larger than a preset frequency is encoded in the time domain, the corresponding frequency region corresponds to a region larger than the corresponding preset frequency. The frequency band is selected to be encoded in the time domain, and if a frequency band corresponding to a region smaller than a preset frequency used to encode a frequency band corresponding to a region larger than a predetermined frequency is encoded in the frequency domain, The frequency band corresponding to the region larger than the preset frequency is selected by encoding in the frequency domain.

선형 예측부(175)는 도메인 선택부(170)에서 시간 도메인에서 부호화하는 것으로 선택된 주파수 밴드(들)에 마련된 신호(들)에 대하여 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출한다. 선형 예측부(175)에서 추출된 LPC 계수는 부호화되어 출력단자 OUT 1을 통해 도 1a의 다중화부(165)로 출력되고, 복호화기에서 도 7a에 도시된 일 예와 같은 포락선을 복원하는 데 이용된다.The linear predictor 175 extracts the LPC coefficients by performing linear predictive coding (LPC) analysis on the signal (s) provided in the frequency band (s) selected by the domain selector 170 in the time domain. The LPC coefficients extracted by the linear predictor 175 are encoded and output through the output terminal OUT 1 to the multiplexer 165 of FIG. 1A, and used by the decoder to restore an envelope as shown in FIG. 7A. do.

승산부(180)는 입력단자 IN 1을 통해 입력된 도 1a의 여기신호 복호화부(150)에서 복호화된 제2 여기 신호와 선형 예측부(175)에서 추출된 LPC 계수에 의한 포락선을 승산한다. 승산부(180)에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The multiplier 180 multiplies the second excitation signal decoded by the excitation signal decoder 150 of FIG. 1A input through the input terminal IN 1 and the envelope by the LPC coefficient extracted by the linear predictor 175. An example of the signal multiplied by the multiplier 180 is a signal corresponding to the identification number 710 illustrated in FIG. 7B.

이득값 부호화부(185)는 승산부(180)에서 승산된 신호가 기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호에 대하여 존재하는 미스매칭(mismatching)을 보상해 주는 이득값을 계산하여 부호화한다. 이득값 부호화부(185)에서 계산된 이득값에 의하여 도 7b에 도시된 바와 같이 저주파수 신호인 식별번호 720에 해당하는 신호와 승산부(180)에서 승산된 신호인 식별변호 710에 해당하는 신호의 경계에 존재하는 미스매칭을 복호화기에서 도 7c에 도시된 바와 같이 보상할 수 있다. 또한, 이득값 부호화부(185)에서 부호화된 이득값은 출력단자 OUT 2를 통해 도 1a의 다중화부(165)로 출력한다.The gain value encoder 185 calculates and encodes a gain value that compensates for mismatching of a low frequency signal, which is a signal provided in a region where a signal multiplied by the multiplier 180 is smaller than a preset frequency. . As shown in FIG. 7B, the signal corresponding to the identification number 720, which is a low frequency signal, and the signal corresponding to the identification code 710, which is a signal multiplied by the multiplier 180, are obtained by the gain value calculated by the gain value encoder 185. Referring to FIG. Mismatches present at the boundary can be compensated for in the decoder as shown in FIG. 7C. In addition, the gain value encoded by the gain value encoder 185 is output to the multiplexer 165 of FIG. 1A through the output terminal OUT 2.

노이즈정보 부호화부(190)는 도메인 선택부(170)에서 주파수 도메인에서 부호화하는 것으로 선택된 주파수 밴드(들)에 노이즈를 생성하는 데 이용할 여기스펙트럼 생성부(155)에서 생성된 여기 스펙트럼의 주파수 밴드(들)을 선택하여 해당 주파수 밴드(들)에 대한 정보를 부호화한다. 노이즈정보 부호화부(190)에서 부호화된 주파수 밴드(들)에 대한 정보는 출력단자 OUT 3을 통해 도 1a의 다중화부(165)로 출력된다.The noise information encoding unit 190 encodes in the frequency domain by the domain selector 170 the frequency band of the excitation spectrum generated by the excitation spectrum generator 155 to be used to generate noise in the frequency band (s) selected. ) To encode information about the frequency band (s). The information about the frequency band (s) encoded by the noise information encoder 190 is output to the multiplexer 165 of FIG. 1A through the output terminal OUT 3.

포락선정보 부호화부(195)는 기 설정된 주파수 보다 큰 영역에 마련된 주파수 밴드(들) 가운데 도메인 선택부(170)에서 주파수 도메인에서 부호화하는 것으로 선택된 주파수 밴드(들)에 마련된 스펙트럼의 포락선 정보를 추출하여 부호화한다. 포락선정보 부호화부(195)에서 부호화된 스펙트럼의 포락선 정보는 출력단자 OUT 4를 통해 도 1a의 다중화부(165)로 출력된다.The envelope information encoder 195 extracts the envelope information of the spectrum provided in the frequency band (s) selected by the domain selection unit 170 to encode in the frequency domain among the frequency band (s) provided in the region larger than the preset frequency. Encode The envelope information of the spectrum encoded by the envelope information encoder 195 is output to the multiplexer 165 of FIG. 1A through the output terminal OUT 4.

도 1a 및 도 1b의 실시예와 같이 부호화할 도메인을 먼저 결정하고 결정된 도메인에서 부호화하는 개-루프(open-loop) 방식에 한정하여 실시해야 하는 것은 아니다. 주파수 도메인과 시간 도메인 모두에 대하여 부호화를 수행한 후 부호화된 결과를 비교하여 더 나은 도메인을 선택하는 폐-루프(close-loop) 방식으로도 실시할 수 있다.1A and 1B, the domain to be encoded is not limited to an open-loop method of first determining and encoding in the determined domain. The encoding may be performed in both the frequency domain and the time domain, and then may be implemented in a closed-loop method in which a better domain is selected by comparing the encoded results.

도 2a는 본 발명에 의한 적응적 고주파수영역 부호화 장치의 일 실시예를 블록도로 도시한 것으로서, 상기 적응적 고주파수영역 부호화 장치는 영역 분할부(200), 선형 예측부(205), 변환부(210), 양자화부(215), 역양자화부(220), 역변환부(225), 저장부(230), 신호 분석부(235), 장구간 예측부(240) 및 스위칭부(245), 고주파수영역 부호화부(250) 및 다중화부(255)를 포함하여 이루어진다.FIG. 2A is a block diagram illustrating an embodiment of an adaptive high frequency domain encoding apparatus according to the present invention, wherein the adaptive high frequency region encoding apparatus includes a region divider 200, a linear predictor 205, and a transform unit 210. ), Quantization unit 215, inverse quantization unit 220, inverse transform unit 225, storage unit 230, signal analysis unit 235, long-term prediction unit 240 and switching unit 245, high frequency region The encoder 250 and the multiplexer 255 are included.

영역 분할부(200)는 입력단자 IN을 통해 입력된 신호를 기 설정된 주파수 보다 작은 영역에 마련된 저주파수 신호와 기 설정된 주파수 보다 큰 영역에 마련된 고주파수 신호로 분할한다.The region dividing unit 200 divides a signal input through the input terminal IN into a low frequency signal provided in a region smaller than a preset frequency and a high frequency signal provided in a region larger than the preset frequency.

선형 예측부(205)는 영역 분할부(200)에서 분할된 저주파수 신호에 대해 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출하고, 영역 분할부(200)에서 분할된 저주파수 신호에서 단구간 상관을 제거하여 제1 여기 신호를 추출한다. 또한, 선형 예측부(205)는 추출된 LPC 계수를 부호화하여 다중화부(255)로 출력한다.The linear predictor 205 extracts LPC coefficients by performing LPC (Linear Predictive Coding) analysis on the low frequency signals divided by the region divider 200, and short-terms from the low frequency signals divided by the region divider 200. The correlation is removed to extract the first excitation signal. In addition, the linear predictor 205 encodes the extracted LPC coefficients and outputs the encoded LPC coefficients to the multiplexer 255.

변환부(210)는 선형 예측부(205)에서 추출된 제1 여기 신호를 시간 도메인에서 주파수 도메인으로 변환하여 여기 스펙트럼을 생성한다.The transformer 210 converts the first excitation signal extracted by the linear predictor 205 from the time domain to the frequency domain to generate an excitation spectrum.

양자화부(215)는 변환부(210)에서 생성된 여기 스펙트럼을 양자화한다. 양자화부(215)에서 양자화된 여기 스펙트럼은 다중화부(255)로 출력된다.The quantization unit 215 quantizes the excitation spectrum generated by the conversion unit 210. The excitation spectrum quantized by the quantization unit 215 is output to the multiplexer 255.

역양자화부(220)는 양자화부(215)에서 양자화된 여기 스펙트럼을 역양자화한다.The inverse quantization unit 220 dequantizes the excitation spectrum quantized by the quantization unit 215.

역변환부(225)는 변환부(210)에서 수행하는 변환의 역과정으로서 역양자화부(220)에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 제2 여기 신호를 생성한다.The inverse transform unit 225 generates a second excitation signal by inversely transforming the inverse quantized excitation spectrum in the inverse quantization unit 220 from the frequency domain to the time domain as a reverse process of the transformation performed by the transform unit 210.

저장부(230)는 역변환부(225)에서 역변환된 제2 여기 신호를 저장한다. 저장부(230)에서 제2 여기 신호를 저장하는 이유는 다음 프레임에 대하여 부호화를 수행함에 있어서 시간 도메인으로 부호화하는 주파수 밴드(들)에 마련된 신호에 대하여 장구간 예측부(240)에서 장구간 예측을 수행하는데 이용하기 위하여 버퍼링(buffering)한다.The storage unit 230 stores the second excitation signal inversely transformed by the inverse transformer 225. The reason for storing the second excitation signal in the storage unit 230 is that the long term prediction unit 240 predicts the long term prediction for a signal provided in the frequency band (s) to be encoded in the time domain when performing encoding on the next frame. Buffering to use to perform

신호 분석부(235)는 선형 예측부(205)에서 추출된 제1 여기 신호를 분석하여 저주파수 신호의 특성에 따라 장구간 예측부(240)에서 장구간 예측을 수행할지 여부를 결정한다. 여기서, 신호 분석부(235)에서 장구간 예측을 수행할지 여부를 결정하는 기준이 되는 저주파수 신호의 특성에 대한 예로 선형 예측 부호화 이득값, 인접한 프레임의 선형 예측 필터간의 스펙트럴 변화, 피치 지연 및 장구간 예측 이득값 등이 있다.The signal analyzer 235 analyzes the first excitation signal extracted by the linear predictor 205 and determines whether the long term predictor 240 performs long term prediction according to the characteristics of the low frequency signal. Here, as an example of the characteristics of the low frequency signal as a reference for determining whether to perform long-term prediction in the signal analyzer 235, the linear prediction coding gain value, the spectral change between the linear prediction filter of the adjacent frame, the pitch delay and the long Interval prediction gain.

장구간 예측부(240)는 신호 분석부(235)에서 장구간 예측을 수행하는 것으로 결정된 경우 선형 예측부(205)에서 추출된 제1 여기 신호에 대하여 장구간 예측(long-term prediction)을 수행하고, 제3 여기 신호를 추출한다. The long term prediction unit 240 performs long-term prediction on the first excitation signal extracted by the linear prediction unit 205 when it is determined that the long term prediction is performed by the signal analyzer 235. The third excitation signal is extracted.

장구간 예측부(240)에서 수행하는 장구간 예측의 예로 주기성(periodicity)의 연속성(continuity) 정도, 주파수 스펙트럼의 기울기(frequency spectral tilt) 정도 및 프레임 에너지 정도 등이 있다. 여기서, 주기성의 연속성은 피치 래그(pitch lag)의 변화가 적고 피치 상관도(pitch correlation)가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다. 또한, 주기성의 연속성은 첫번째 포먼트 주파수(1st formant frequency)가 매우 낮고 피치 상관도가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다.Examples of long term prediction performed by the long term predictor 240 include a degree of continuity of periodicity, a degree of frequency spectral tilt, and a degree of frame energy. Here, the continuity of periodicity may be such that a frame having a small change in pitch lag and a high pitch correlation continues continuously for a predetermined period or more. In addition, the continuity of periodicity may be such that a frame having a very low first formant frequency and having a high pitch correlation continues continuously for a predetermined period or more.

스위칭부(245)는 신호 분석부(235)에서 결정된 장구간 예측을 수행할지 여부에 따라 장구간 예측부(240)에서 추출된 제2 여기 신호를 스위칭한다.The switching unit 245 switches the second excitation signal extracted by the long term prediction unit 240 according to whether to perform the long term prediction determined by the signal analyzer 235.

고주파수영역 부호화부(160)는 역양자화부(220)에서 역양자화된 기 설정된 주파수 보다 작은 영역에 마련된 여기 스펙트럼을 이용하여 주파수 도메인에서 고주파수 신호를 부호화한다.The high frequency region encoder 160 encodes a high frequency signal in the frequency domain by using an excitation spectrum provided in a region smaller than a predetermined frequency dequantized by the inverse quantizer 220.

다중화부(255)는 선형 예측부(205)에서 부호화된 LPC 계수, 양자화부(215)에서 양자화된 여기 스펙트럼, 장구간 예측부(240)에서 수행된 장구간 예측의 결과 및 고주파수영역 부호화부(250)에서 부호화된 결과를 포함하여 비트스트림을 생성함으로써 다중화하여 출력단자 OUT을 통해 출력한다.The multiplexer 255 may include an LPC coefficient coded by the linear predictor 205, an excitation spectrum quantized by the quantizer 215, a result of the long-term prediction performed by the long-term predictor 240, and a high-frequency domain encoder ( A bitstream is generated including the result encoded at 250 and multiplexed and output through the output terminal OUT.

도 2b은 본 발명에 의한 적응적 고주파수영역 부호화 장치에 포함된 고주파수영역 부호화부(250)의 일 실시예를 블록도로 도시한 것으로서, 상기 고주파수영역 부호화부(250)는 노이즈정보 부호화부(260) 및 포락선정보 부호화부(265)를 포함하여 이루어진다.FIG. 2B is a block diagram illustrating an embodiment of the high frequency region encoder 250 included in the adaptive high frequency region encoder according to the present invention. The high frequency region encoder 250 includes a noise information encoder 260. And an envelope information encoder 265.

노이즈정보 부호화부(260)는 입력단자 IN 1에서 입력받은 도 2a의 역양자화부(220)에서 역양자화된 여기 스펙트럼 가운데 기 설정된 주파수 보다 큰 고주파수 스펙트럼을 부호화하는데 이용할 주파수 밴드(들)에 대한 정보를 부호화한다. 노이즈정보 부호화부(260)에서 부호화된 고주파수 스펙트럼을 부호화하는 데 이용할 주파수 밴드(들)에 대한 정보는 출력단자 OUT 1을 통해 도 2a의 다중화부(255)로 출력한다.The noise information encoder 260 may use information about frequency band (s) to be used to encode a high frequency spectrum larger than a preset frequency among the inversely quantized excitation spectrums received by the inverse quantizer 220 of FIG. 2A received from the input terminal IN 1. Encode Information about the frequency band (s) to be used for encoding the high frequency spectrum encoded by the noise information encoder 260 is output to the multiplexer 255 of FIG. 2A through the output terminal OUT 1.

포락선정보 부호화부(265)는 입력단자 IN 2를 통해 고주파수 스펙트럼을 입력받아 고주파수 스펙트럼에 대한 포락선을 추출하고, 추출된 포락선 정보를 부호화한다. 포락선 정보의 예로 소정의 주파수 밴드 단위로 계산된 에너지값이 있다. 포락선정보 부호화부(265)에서 부호화된 포락선 정보를 출력단자 OUT 2를 통해 도 2b의 다중화부(255)로 출력한다.The envelope information encoder 265 receives the high frequency spectrum through the input terminal IN 2, extracts the envelope of the high frequency spectrum, and encodes the extracted envelope information. An example of the envelope information is an energy value calculated in units of predetermined frequency bands. The envelope information encoded by the envelope information encoder 265 is output to the multiplexer 255 of FIG. 2B through the output terminal OUT 2.

도 3a는 본 발명에 의한 적응적 고주파수영역 부호화 장치의 일 실시예를 블록도로 도시한 것으로서, 상기 적응적 고주파수영역 부호화 장치는 영역 분할부(300), 선형 예측부(305), 도메인 선택부(310), 장구간 예측부(315), 여기신호 부호화부(320), 변환부(325), 양자화부(330), 역양자화부(335), 역변환부(340), 저장부(345), 여기신호 복호화부(350), 고주파수영역 부호화부(360) 및 다중화부(365)를 포함하여 이루어진다.3A is a block diagram illustrating an embodiment of an adaptive high frequency domain encoding apparatus according to the present invention, wherein the adaptive high frequency region encoding apparatus includes a region divider 300, a linear predictor 305, and a domain selector ( 310, the long term prediction unit 315, the excitation signal encoder 320, the transformer 325, the quantizer 330, the inverse quantizer 335, the inverse transformer 340, the storage 345, And an excitation signal decoder 350, a high frequency region encoder 360, and a multiplexer 365.

영역 분할부(300)는 입력단자 IN을 통해 입력된 신호를 기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호와 기 설정된 주파수 보다 큰 영역에 마련된 신호인 고주파수 신호로 분할한다.The region dividing unit 300 divides a signal input through the input terminal IN into a low frequency signal, which is a signal provided in an area smaller than a preset frequency, and a high frequency signal, which is a signal provided in an area larger than a preset frequency.

선형 예측부(305)는 영역 분할부(300)에서 분할된 저주파수 신호에 대해 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출하고, 영역 분할부(300)에서 분할된 저주파수 신호에서 단구간 상관을 제거하여 제1 여기 신호를 추출한다. 선형 예측부(305)에서 추출된 LPC 계수는 부호화되어 다중화부(365)로 출력된다.The linear predictor 305 performs LPC (Linear Predictive Coding) analysis on the low frequency signal divided by the region divider 300, extracts LPC coefficients, and short-terms from the low frequency signal divided by the region divider 300. The correlation is removed to extract the first excitation signal. The LPC coefficients extracted by the linear predictor 305 are encoded and output to the multiplexer 365.

도메인 선택부(310)는 선형 예측부(305)에서 추출된 제1 여기 신호를 기 설정된 기준에 따라 시간 도메인에서 부호화할지 주파수 도메인에서 부호화할지 여부를 선택한다. 여기서, 기 설정된 기준의 예로 선형 예측 부호화 이득값, 인접한 프레임의 선형 예측 필터 간의 스펙트럴 변화, 피치 지연 및 장구간 예측 이득값 등이 있다.The domain selector 310 selects whether to encode the first excitation signal extracted by the linear predictor 305 in the time domain or the frequency domain according to a predetermined criterion. Here, examples of preset criteria include linear prediction coding gain values, spectral changes between linear prediction filters of adjacent frames, pitch delays, and long-term prediction gain values.

만일 도메인 선택부(310)에서 제1 여기 신호를 시간 도메인에서 부호화하는 것으로 선택되면, 장구간 예측부(315)는 선형 예측부(305)에서 추출된 제1 여기 신호에 대하여 장구간 예측(long-term prediction)을 수행하고 제2 여기 신호를 추출한다. If the domain selector 310 is selected to encode the first excitation signal in the time domain, the long term prediction unit 315 may perform long term prediction on the first excitation signal extracted by the linear prediction unit 305. -term prediction) and extract the second excitation signal.

장구간 예측부(315)에서 수행하는 장구간 예측의 예로 주기성(periodicity)의 연속성(continuity) 정도, 주파수 스펙트럼의 기울기(frequency spectral tilt) 정도 및 프레임 에너지 정도 등이 있다. 여기서, 주기성의 연속성은 피치 래그(pitch lag)의 변화가 적고 피치 상관도(pitch correlation)가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다. 또한, 주기성의 연속성은 첫번째 포먼트 주파수(1st formant frequency)가 매우 낮고 피치 상관도가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다.Examples of long term prediction performed by the long term predictor 315 include a degree of continuity of periodicity, a degree of frequency spectral tilt, and a degree of frame energy. Here, the continuity of periodicity may be such that a frame having a small change in pitch lag and a high pitch correlation continues continuously for a predetermined period or more. In addition, the continuity of periodicity may be such that a frame having a very low first formant frequency and having a high pitch correlation continues continuously for a predetermined period or more.

여기신호 부호화부(320)는 장구간 예측부(315)에서 추출된 제2 여기 신호를 부호화한다.The excitation signal encoder 320 encodes the second excitation signal extracted by the long term prediction unit 315.

만일 도메인 선택부(310)에서 제1 여기 신호를 주파수 도메인에서 부호화하는 것으로 선택되면, 변환부(325)는 선형 예측부(305)에서 추출된 제1 여기 신호를 시간 도메인에서 주파수 도메인으로 변환하여 여기 스펙트럼을 생성한다.If the domain selector 310 is selected to encode the first excitation signal in the frequency domain, the transformer 325 converts the first excitation signal extracted by the linear predictor 305 from the time domain to the frequency domain. Generate an excitation spectrum.

양자화부(330)는 변환부(325)에서 생성된 여기 스펙트럼을 양자화한다. 양자화부(330)에서 양자화된 여기 스펙트럼은 다중화부(365)로 출력된다.The quantization unit 330 quantizes the excitation spectrum generated by the conversion unit 325. The excitation spectrum quantized by the quantization unit 330 is output to the multiplexer 365.

역양자화부(335)는 양자화부(330)에서 양자화된 여기 스펙트럼을 역양자화한다.The inverse quantization unit 335 inverse quantizes the excitation spectrum quantized by the quantization unit 330.

역변환부(340)는 변환부(325)에서 수행하는 변환의 역과정으로서 역양자화부(335)에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환한다.The inverse transformer 340 inversely transforms the excitation spectrum inversely quantized by the inverse quantizer 335 from the frequency domain to the time domain as a reverse process of the transformation performed by the transformer 325.

저장부(345)는 역변환부(340)에서 역변환된 제3 여기 신호를 저장한다. 저장부(345)에서 제3 여기 신호를 저장하는 이유는 다음 프레임에 대하여 부호화를 수행함에 있어서 시간 도메인으로 부호화하는 주파수 밴드(들)에 마련된 신호에 대하여 장구간 예측부(315)에서 장구간 예측을 수행하는데 이용하기 위하여 버퍼링(buffering)한다.The storage unit 345 stores the third excitation signal inversely transformed by the inverse transformer 340. The reason why the storage unit 345 stores the third excitation signal is that the long-term prediction unit 315 predicts the long-term prediction with respect to a signal provided in the frequency band (s) to be encoded in the time domain in performing the encoding on the next frame. Buffering to use to perform

여기신호 복호화부(350)는 여기신호 부호화부(320)에서 부호화된 제2 여기 신호를 복호화한다.The excitation signal decoder 350 decodes the second excitation signal encoded by the excitation signal encoder 320.

고주파수영역 부호화부(360)는 기 설정된 주파수 보다 작은 영역에 해당하는 신호 또는 스펙트럼를 이용하여 시간 도메인 또는 주파수 도메인에서 적응적으로 기 설정된 주파수 보다 큰 영역에 해당하는 신호를 부호화한다. 고주파수영역 부호화부(360)에서 이용하는 신호는 시간 도메인에서 부호화할 경우 여기신호 복호화부(350)에서 복호화된 여기 신호이고, 고주파수영역 부호화부(360)에서 이용하는 스펙트럼은 주파수 도메인에서 부호화할 경우 역양자화부(335)에서 역양자화된 여기 스펙트럼이다.The high frequency region encoder 360 encodes a signal corresponding to an area larger than a predetermined frequency adaptively in a time domain or a frequency domain by using a signal or spectrum corresponding to an area smaller than a predetermined frequency. The signal used by the high frequency domain encoder 360 is an excitation signal decoded by the excitation signal decoder 350 when encoded in the time domain, and the spectrum used by the high frequency domain encoder 360 is inverse quantized when encoded in the frequency domain. It is the dequantized excitation spectrum in section 335.

다중화부(365)는 선형 예측부(305)에서 추출된 LPC 계수, 장구간 예측부(315)에서 수행한 장구간 예측의 결과, 도메인 선택부(310)에서 선택된 저주파수 신호를 부호화한 도메인에 대한 정보, 여기신호 부호화부(320)에서 부호화된 여기 신호, 양자화부(330)에서 양자화된 여기 스펙트럼 및 고주파수영역 부호화부(360)에서 부호화된 결과를 포함하여 다중화함으로써 비트스트림을 생성하고, 출력단자 OUT을 통해 출력한다.The multiplexer 365 performs the LPC coefficients extracted by the linear predictor 305, the long term prediction performed by the long term predictor 315, and the domain for encoding the low frequency signal selected by the domain selector 310. Information, an excitation signal encoded by the excitation signal encoder 320, an excitation spectrum quantized by the quantization unit 330, and a result encoded by the high frequency region encoder 360 to generate a bitstream by multiplexing the output terminal. Output through OUT.

도 3b는 본 발명에 의한 적응적 고주파수영역 부호화 장치에 포함된 고주파수영역 부호화부(360)의 일 실시예를 블록도로 도시한 것으로서, 상기 고주파수영역 부호화부(360)는 도메인 선택부(370), 선형 예측부(375), 승산기(380), 이득값 부호화부(385), 노이즈정보 부호화부(390) 및 포락선정보 부호화부(395)를 포함하여 이루어진다.3B is a block diagram illustrating an embodiment of the high frequency region encoder 360 included in the adaptive high frequency region encoder according to the present invention. The high frequency region encoder 360 includes a domain selector 370, The linear predictor 375, the multiplier 380, the gain value encoder 385, the noise information encoder 390, and the envelope information encoder 395 are included.

도메인 선택부(370)는 입력단자 IN 1를 통해 입력된 도 3a의 도메인 선택부(310)에서 선택된 기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호를 부호화하는 도메인에 따라 기 설정된 주파수 보다 큰 영역에 마련된 신호인 고주파수 신호를 부호화할 도메인을 선택한다. 만일 도 3a의 도메인 선택부(310)에서 저주파수 신호를 주파수 도메인에서 부호화하는 것으로 선택되면, 도메인 선택부(370)도 고주파수 신호를 주파수 도메인에서 부호화할 것으로 선택한다. 그리고 만일 도 3a의 도메인 선택부(310)에서 저주파수 신호를 시간 도메인에서 부호화하는 것으로 선택되면, 도메인 선택부(370)도 고주파수 신호를 시간 도메인에서 부호화할 것으로 선택한다.The domain selector 370 is a region larger than a preset frequency according to a domain encoding a low frequency signal, which is a signal provided in a region smaller than the preset frequency selected by the domain selector 310 of FIG. 3A input through the input terminal IN 1. A domain for encoding a high frequency signal, which is a signal provided in FIG. If the domain selector 310 of FIG. 3A is selected to encode the low frequency signal in the frequency domain, the domain selector 370 also selects to encode the high frequency signal in the frequency domain. If the domain selector 310 of FIG. 3A is selected to encode the low frequency signal in the time domain, the domain selector 370 also selects to encode the high frequency signal in the time domain.

선형 예측부(375)는 도메인 선택부(370)에서 고주파수 신호를 시간 도메인에서 부호화하는 것으로 선택되면 입력단자 IN 2를 통해 입력받은 고주파수 신호에 대하여 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출한다. 선형 예측부(375)에서 추출된 LPC 계수는 부호화되어 출력단자 OUT 1을 통해 도 3a의 다중화부(365)로 출력되고, 복호화기에서 도 7a에 도시된 포락선을 복원하는 데 이용된다.When the linear predictor 375 is selected to encode a high frequency signal in the time domain by the domain selector 370, the linear predictor 375 performs LPC (Linear Predictive Coding) analysis on the high frequency signal input through the input terminal IN 2 to determine the LPC coefficient. Extract. The LPC coefficients extracted by the linear predictor 375 are encoded and output to the multiplexer 365 of FIG. 3A through the output terminal OUT 1, and used by the decoder to restore the envelope shown in FIG. 7A.

승산부(380)는 입력단자 IN 3을 통해 입력받은 도 3a의 여기신호 복호화부(350)에서 복호화된 여기 신호와 선형 예측부(375)에서 추출된 LPC 계수에 의한 고주파수 신호의 포락선을 승산한다. 승산부(380)에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The multiplier 380 multiplies the envelope of the high frequency signal by the excitation signal decoded by the excitation signal decoder 350 of FIG. 3A received through the input terminal IN 3 and the LPC coefficient extracted by the linear predictor 375. . An example of the signal multiplied by the multiplier 380 is a signal corresponding to the identification number 710 illustrated in FIG. 7B.

이득값 부호화부(385)는 승산부(380)에서 승산된 신호가 저주파수 신호에 대하여 존재하는 미스매칭(mismatching)을 보상해 주는 이득값을 계산하여 부호화한다. 도 7b에 도시된 바와 같이 저주파수 신호인 식별번호 720에 해당하는 신호와 승산부(380)에서 승산된 신호인 식별변호 710에 해당하는 신호의 경계에 존재하는 미스매칭을 도 7c에 도시된 바와 같이 보상한다. 그리고 이득값 부호화부(385)에서 부호화된 이득값은 출력단자 OUT 2를 통해 도 3a의 다중화부(365)로 출력한다.The gain value encoder 385 calculates and encodes a gain value that compensates for mismatching of the signal multiplied by the multiplier 380 to the low frequency signal. As shown in FIG. 7C, mismatching existing at a boundary between a signal corresponding to identification number 720, which is a low frequency signal, and a signal corresponding to identification code 710, which is a signal multiplied by multiplier 380, is illustrated in FIG. 7C. To compensate. The gain value encoded by the gain value encoder 385 is output to the multiplexer 365 of FIG. 3A through the output terminal OUT 2.

노이즈정보 부호화부(390)는 역양자화부(335)에서 역양자화된 여기 스펙트럼 가운데 복호화기에서 고주파수 스펙트럼을 복호화하는 데 사용할 주파수 밴드(들)을 선택하여 선택된 주파수 밴드(들)에 대한 정보를 부호화한다. 노이즈정보 부호화부(390)에서 부호화된 주파수 밴드(들)에 대한 정보는 출력단자 OUT 3을 통해 출력된다.The noise information encoder 390 encodes information on the selected frequency band (s) by selecting frequency band (s) to be used for decoding the high frequency spectrum by the decoder among the dequantized excitation spectrums de-quantized by the inverse quantizer 335. do. Information about the frequency band (s) encoded by the noise information encoder 390 is output through the output terminal OUT3.

포락선정보 부호화부(395)는 고주파수 스펙트럼의 포락선 정보를 추출하여 부호화한다. 여기서, 포락선 정보의 예로 소정의 주파수 밴드 단위로 계산된 에너지값이 있다. 포락선정보 부호화부(395)에서 부호화된 고주파수 스펙트럼의 포락선 정보는 출력단자 OUT 4를 통해 도 3a의 다중화부(365)로 출력된다.The envelope information encoder 395 extracts and encodes envelope information of a high frequency spectrum. Here, an example of the envelope information is an energy value calculated in units of predetermined frequency bands. The envelope information of the high frequency spectrum encoded by the envelope information encoder 395 is output to the multiplexer 365 of FIG. 3A through the output terminal OUT 4.

도 3a 및 도 3b의 실시예와 같이 부호화할 도메인을 먼저 결정하고 결정된 도메인에서 부호화하는 개-루프(open-loop) 방식에 한정하여 실시해야 하는 것은 아니다. 주파수 도메인과 시간 도메인 모두에 대하여 부호화를 수행한 후 부호화된 결과를 비교하여 더 나은 도메인을 선택하는 폐-루프(close-loop) 방식으로도 실시할 수 있다.As shown in the embodiments of FIGS. 3A and 3B, the present invention is not limited to an open-loop scheme in which a domain to be encoded is first determined and encoded in the determined domain. The encoding may be performed in both the frequency domain and the time domain, and then may be implemented in a closed-loop method in which a better domain is selected by comparing the encoded results.

도 4a은 본 발명에 의한 적응적 고주파수영역 복호화 장치의 일 실시예를 블록도로 도시한 것으로서, 상기 적응적 고주파수영역 복호화 장치는 역다중화부(400), 도메인 판단부(405), 여기신호 복호화부(410), 장구간 합성부(415), 선형 합성부(420), 역양자화부(430), 제2 역변환부(433), 여기스펙트럼 생성부(435), 고주파수영역 복호화부(440) 및 제1 역변환부(445)를 포함하여 이루어진다.4A is a block diagram illustrating an embodiment of an adaptive high frequency region decoding apparatus according to the present invention. The adaptive high frequency region decoding apparatus includes a demultiplexer 400, a domain determiner 405, and an excitation signal decoder. 410, the long-term synthesis unit 415, the linear synthesis unit 420, the inverse quantization unit 430, the second inverse transform unit 433, the excitation spectrum generator 435, the high frequency region decoder 440, and And a first inverse transform unit 445.

역다중화부(400)는 입력단자 IN을 통해 부호화단으로부터 입력받은 비트스트림을 역다중화한다. 역다중화부(400)에서는 부호화기에서 부호화된 각 주파수 밴드가 부호화된 도메인에 대한 정보, 부호화기에서 부호화된 LPC(Linear Predictive Coding) 계수, 부호화기에서 부호화된 장구간 예측이 수행된 결과, 부호화기에서 부호화된 여기 신호, 부호화기에서 양자화된 스펙트럼 및 저주파수 영역에 마련된 신호 또는 스펙트럼을 이용하여 고주파수 신호를 복호화할 수 있는 정보를 포함하여 역다중화한다.The demultiplexer 400 demultiplexes the bitstream received from the encoding terminal through the input terminal IN. The demultiplexer 400 encodes information about a domain in which each frequency band encoded by the encoder is encoded, a linear predictive coding (LPC) coefficient encoded by the encoder, and a long-term prediction encoded by the encoder. The signal is demultiplexed by including an excitation signal, a quantized spectrum in the encoder, and information capable of decoding a high frequency signal using a signal or spectrum provided in a low frequency region.

도메인 판단부(405)는 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 주파수 밴드들이 부호화기에서 부호화된 도메인에 대한 정보를 역다중화부(400)로부터 입력받아 각 주파수 밴드가 부호화된 도메인을 판단한다.The domain determiner 405 receives information about domains encoded by the encoder from the frequency bands provided in the low frequency region, which is smaller than the preset frequency, from the demultiplexer 400 and determines the domains in which each frequency band is encoded.

여기신호 복호화부(410)는 도메인 판단부(405)에서 시간 도메인에서 부호화된 주파수 밴드(들)로 판단된 주파수 밴드(들)에 마련된 부호화기에서 부호화된 여기 신호를 역다중화부(400)로부터 입력받아 복호화한다.The excitation signal decoder 410 inputs, from the demultiplexer 400, the excitation signal encoded by the encoder provided in the frequency band (s) determined as the frequency band (s) encoded in the time domain by the domain determiner 405. Receive and decrypt.

장구간 합성부(415)는 도메인 판단부(405)에서 시간 도메인에서 부호화된 주파수 밴드(들)로 판단된 주파수 밴드(들)에 대하여 부호화기에서 장구간 예측(long-term prediction)이 수행된 결과를 역다중화부(400)로부터 입력받아 복호화하고, 여기신호 복호화부(410)에서 복호화된 여기 신호에 장구간 예측이 수행된 결과를 합성한다.The long-term synthesizer 415 performs long-term prediction on the frequency band (s) determined by the domain determiner 405 as the frequency band (s) encoded in the time domain. Is decoded by inputting from the demultiplexer 400, and synthesizes the result of performing the long-term prediction on the excitation signal decoded by the excitation signal decoder 410.

선형 합성부(420)는 도메인 판단부(405)에서 시간 도메인에서 부호화된 것으로 판단된 주파수 밴드(들)의 LPC 계수를 역다중화부(400)로부터 입력받아 복호화하고 장구간 합성부(415)에서 합성된 신호에 LPC 계수를 합성한다.The linear synthesizer 420 receives and decodes the LPC coefficients of the frequency band (s) that are determined to be encoded in the time domain by the domain determiner 405 from the demultiplexer 400, and then decodes them from the long-term synthesizer 415. Combine LPC coefficients to the synthesized signal.

역양자화부(430)는 도메인 판단부(405)에서 주파수 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)에 마련된 스펙트럼(들)을 역다중화부(400)로부터 입력받아 역양자화한다.The dequantizer 430 receives the spectrum (s) provided in the frequency band (s) determined to be encoded in the frequency domain by the domain determiner 405 from the demultiplexer 400 and dequantizes them.

제2 역변환부(433)는 도 1a의 제2 변환부(125)에서 수행하는 변환의 역과정으로서 역양자화부(430)에서 역양자화된 스펙트럼(들)을 주파수 도메인에서 시간 도메인으로 역변환한다.The second inverse transformer 433 inversely transforms the inverse quantized spectrum (s) from the frequency domain to the time domain in the inverse quantization unit 430 as a reverse process of the transformation performed by the second transformer 125 of FIG. 1A.

여기스펙트럼 생성부(435)는 역양자화부(430)에서 역양자화된 스펙트럼을 화이트닝(whitening) 처리하여 여기 스펙트럼을 생성한다.The excitation spectrum generator 435 generates an excitation spectrum by whitening the dequantized spectrum by the inverse quantization unit 430.

고주파수영역 복호화부(440)는 여기신호 복호화부(410)에서 복호화된 소정 주파수 밴드(들)에 마련된 여기 신호(들) 또는 여기스펙트럼 생성부(435)에서 복호화된 소정 주파수 밴드(들)에 마련된 여기 스펙트럼(들)을 이용하여 기 설정된 주파수 보다 큰 영역에 마련된 신호인 고주파수 신호를 복호화한다.The high frequency region decoder 440 is provided in the excitation signal (s) provided in the predetermined frequency band (s) decoded by the excitation signal decoder 410 or in the predetermined frequency band (s) decoded by the excitation spectrum generator 435. The excitation spectrum (s) are used to decode a high frequency signal, which is a signal provided in an area larger than a preset frequency.

제1 역변환부(445)는 도 1a의 제1 변환부(100)에서 수행하는 변환의 역과정으로서 신호 합성부(425)에서 합성된 소정 주파수 밴드(들)에 마련된 신호 또는 제2 역변환부(433)에서 역변환된 소정 주파수 밴드(들)에 마련된 신호 및 고주파수영역 복호화부(440)에서 복호화된 고주파수 신호를 합성하여 시간 도메인으로 나타낸 단수의 신호로 합성함으로써 역변환하여 출력단자 OUT을 통해 출력한다. 제1 역변환부(445)에서 변환하는 방식으로 QMF(Quadrature Mirror Filterbank) 및 LOT(lapped orthogonal transform) 등이 있다.The first inverse transform unit 445 is a reverse process of the conversion performed by the first transform unit 100 of FIG. 1A, and the signal or second inverse transform unit provided in the predetermined frequency band (s) synthesized by the signal synthesis unit 425 ( A signal provided in the predetermined frequency band (s) inversely transformed in 433 and a high frequency signal decoded in the high frequency region decoder 440 are synthesized into a single signal represented by a time domain, and then inversely converted and output through the output terminal OUT. The first inverse transform unit 445 may include a quadrature mirror filterbank (QMF) and a lapped orthogonal transform (LOT).

그러나 제1 역변환부(445)는 FV-MLT(Frequency Varying Modulated Lapped Transform)와 같이 소정의 주파수 밴드 별로 시간 도메인 또는 주파수 도메인으로 나타낸 신호를 시간 도메인으로 나타낸 단수의 신호로 합성하여 고주파수영역 복호화부(440)에서 별도로 주파수 도메인에서 시간 도메인으로 변환하는 역환부(480)를 구비하지 않고 실시할 수도 있다.However, the first inverse transform unit 445 synthesizes a signal represented by a time domain or a frequency domain for each predetermined frequency band into a single signal represented by the time domain, such as a frequency varying modulated lapped transform (FV-MLT), and a high frequency region decoder. In operation 440, the inversion unit 480 may be implemented without the inversion unit 480 that converts the frequency domain into the time domain.

도 4b은 본 발명에 의한 적응적 고주파수영역 복호화 장치에 포함된 고주파수영역 복호화부(440)의 일 실시예를 블록도로 도시한 것으로서, 상기 적응적 고주파수영역 복호화부(440)는 도메인 판단부(450), 선형 합성부(455), 승산기(460), 이득값 적용부(465), 노이즈정보 복호화부(470), 포락선 조절부(475) 및 역변환부(480)를 포함하여 이루어진다.4B is a block diagram illustrating an embodiment of the high frequency region decoder 440 included in the adaptive high frequency region decoding apparatus according to the present invention. The adaptive high frequency region decoder 440 is a domain determination unit 450. ), A linear combining unit 455, a multiplier 460, a gain value applying unit 465, a noise information decoding unit 470, an envelope adjusting unit 475, and an inverse transform unit 480.

도메인 판단부(450)는 기 설정된 주파수 보다 큰 영역인 고주파수 영역에 포함된 주파수 밴드들에 마련된 신호들이 시간 도메인에서 부호화되었는지 주파수 도메인에서 부호화되었는지 여부를 판단한다. 도메인 판단부(450)에서 각 주파수 밴드들이 부호화된 도메인은 부호화단으로부터 도메인과 관련된 정보를 전송받아 도 4a의 역다중화부(400)로부터 입력받아 알 수 있거나 고주파수 영역에 포함된 각 주파수 밴드에서 이용하려는 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 포함된 주파수 밴드가 복호화된 도메인을 도 4a의 도메인 판단부(405)로부터 입력받아 알 수 있다.The domain determiner 450 determines whether signals provided in the frequency bands included in the high frequency region that are greater than the preset frequency are encoded in the time domain or the frequency domain. The domain in which the frequency bands are encoded by the domain determiner 450 receives the information related to the domain from the encoding end and receives the information related to the domain from the demultiplexer 400 of FIG. The domain in which the frequency band included in the low frequency region, which is smaller than the predetermined frequency, is decoded, may be received from the domain determination unit 405 of FIG. 4A.

선형 합성부(455)는 고주파수 영역에 포함된 주파수 밴드들 가운데 시간 도메인으로 부호화된 주파수 밴드(들)에 대한 LPC(Linear Predictive Coding) 계수를 입력단자 IN 1을 통해 도 4a의 역다중화부(400)로부터 입력받아 복호화한다. 선형 합성부(455)에서 복호화된 LPC 계수에 의하여 도 7a에 도시된 그래프와 같은 포락선을 복원할 수 있다.The linear synthesizer 455 decodes the linear predictive coding (LPC) coefficients of the frequency band (s) encoded in the time domain among the frequency bands included in the high frequency region through the input terminal IN 1, and demultiplexer 400 of FIG. 4A. ) Is inputted and decoded. The envelope shown in the graph of FIG. 7A may be restored by the LPC coefficient decoded by the linear synthesis unit 455.

승산부(460)는 입력단자 IN 2를 통해 입력받은 도 4a의 여기신호 복호화부(150)에서 복호화된 여기 신호와 선형 합성부(455)에서 복호화된 LPC 계수에 의한 포락선을 승산한다. 승산부(460)에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The multiplier 460 multiplies the excitation signal decoded by the excitation signal decoder 150 of FIG. 4A received through the input terminal IN 2 and the envelope by the LPC coefficient decoded by the linear synthesizer 455. An example of the signal multiplied by the multiplier 460 is a signal corresponding to identification number 710 shown in FIG. 7B.

이득값 적용부(465)는 입력단자 IN 3를 통해 입력받은 이득값을 복호화하여 승산부(460)에서 승산된 신호에 적용한다. 이득값 적용부(465)에서 이득값을 적용함으로써 복호화된 저주파수 신호와 복호화된 고주파수 신호 사이에 존재하는 미스매칭(mismatching)을 보상할 수 있다. 예를 들어, 승산부(460)에서 승산된 고주파수 신호는 도 7b에 도시된 바와 같이 저주파수 신호와의 경계면에 미스매칭이 발생하지만 이득값 적용부(465)에서 이득값을 적용함으로써 도 7c에 도시된 바와 같이 저주파수 신호와 고주파수 신호 사이에 미스매칭이 발생하지 않도록 한다. 이득값 적용부(465)에서 이득값이 적용된 신호는 출력단자 OUT 1을 통해 제1 역변환부(445)로 출력된다.The gain value applying unit 465 decodes the gain value received through the input terminal IN 3 and applies it to the signal multiplied by the multiplier 460. The gain value applying unit 465 may compensate for mismatching existing between the decoded low frequency signal and the decoded high frequency signal by applying the gain value. For example, the high frequency signal multiplied by the multiplier 460 is mismatched on the interface with the low frequency signal as shown in FIG. 7B, but the gain value applying unit 465 applies the gain value to the high frequency signal as illustrated in FIG. 7C. As described above, mismatching does not occur between the low frequency signal and the high frequency signal. The signal to which the gain value is applied by the gain value applying unit 465 is output to the first inverse transform unit 445 through the output terminal OUT 1.

노이즈 복호화부(470)는 도 4a의 여기스펙트럼 생성부(435)에서 생성된 여기 스펙트럼 가운데 고주파수 영역에 마련된 주파수 밴드(들)의 스펙트럼을 복호화하는 데 이용할 주파수 밴드(들)에 대한 정보를 입력단자 IN 4을 통해 도 4a의 역다중화부(400)로부터 입력받아 복호화한다. 노이즈 복호화부(470)는 복호화한 정보를 이용하여 해당하는 주파수 밴드에 마련된 여기 스펙트럼을 도메인 판단부(450)에서 주파수 도메인에서 부호화하는 것으로 판단된 주파수 밴드(들)에 패치(patch)하거나 대칭적으로 폴딩(folding)함으로써 노이즈를 생성한다. 예를 들어, 노이즈 복호화부(535)는 도 8a에 도시된 저주파수 영역에 마련된 여기 스펙트럼을 고주파수 영역에 도 8b에 도시된 바와 같이 패치한다.The noise decoder 470 inputs information about frequency band (s) to be used for decoding the spectrum of the frequency band (s) provided in the high frequency region of the excitation spectrum generated by the excitation spectrum generator 435 of FIG. 4A. Decodes the input from the demultiplexer 400 of FIG. 4A through IN 4. The noise decoder 470 uses the decoded information to patch or symmetrically apply the excitation spectrum provided in the corresponding frequency band to the frequency band (s) determined to be encoded in the frequency domain by the domain determination unit 450. Noise is generated by folding with. For example, the noise decoder 535 patches the excitation spectrum provided in the low frequency region shown in FIG. 8A into the high frequency region as shown in FIG. 8B.

포락선 조절부(475)는 부호화기에서 부호화된 고주파수 스펙트럼의 포락선 정보를 입력단자 IN 5를 통해 도 4b의 역다중화부(400)로부터 입력받아 복호화한다. 포락선 조절부(475)에서 복호화된 고주파수 스펙트럼의 포락선 정보를 이용하여 노이즈 복호화부(470)에서 생성된 노이즈의 포락선을 조절한다. 예를 들어, 포락선 조절부(475)는 도 8b에 도시된 노이즈 복호화부(470)에서 생성된 노이즈를 고주파수 스펙트럼의 포락선 정보를 이용하여 도 8c에 도시된 바와 같이 포락선을 조절한다.The envelope adjusting unit 475 receives and decodes the envelope information of the high frequency spectrum encoded by the encoder from the demultiplexer 400 of FIG. 4B through the input terminal IN 5. The envelope of the noise generated by the noise decoder 470 is adjusted by using the envelope information of the high frequency spectrum decoded by the envelope controller 475. For example, the envelope adjusting unit 475 adjusts the envelope of the noise generated by the noise decoder 470 of FIG. 8B using the envelope information of the high frequency spectrum, as shown in FIG. 8C.

역변환부(480)는 도 1a의 제2 변환부(125)에서 수행하는 변환의 역과정으로서 포락선 조절부(475)에서 포락선이 조절된 노이즈를 주파수 도메인에서 시간 도메인으로 역변환하여 고주파수 신호를 생성한다.The inverse transformer 480 generates a high frequency signal by inversely converting the noise whose envelope is adjusted by the envelope controller 475 from the frequency domain to the time domain as an inverse process of the transformation performed by the second transformer 125 of FIG. 1A. .

도 5a은 본 발명에 의한 적응적 고주파수영역 복호화 장치의 일 실시예를 블록도로 도시한 것으로서, 상기 적응적 고주파수영역 복호화 장치는 역다중화부(500), 역양자화부(505), 역변환부(510), 장구간 합성부(515), 선형 합성부(520) 및 고주파수영역 복호화부(525)를 포함하여 이루어진다.5A is a block diagram illustrating an embodiment of an adaptive high frequency domain decoding apparatus according to the present invention, wherein the adaptive high frequency domain decoding apparatus includes a demultiplexer 500, an inverse quantizer 505, and an inverse transform unit 510. ), A long-term synthesizer 515, a linear synthesizer 520, and a high frequency region decoder 525.

역다중화부(500)는 입력단자 IN을 통해 부호화단으로부터 입력받은 비트스트림을 역다중화한다. 역다중화부(500)에서는 부호화기에서 부호화된 LPC 계수, 부호화기에서 양자화된 여기 스펙트럼, 부호화기에서 수행된 장구간 예측의 결과 및 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 기 설정된 주파수 보다 큰 영역에 마련된 고주파수 신호를 복호화할 수 있는 정보 등을 역다중화한다.The demultiplexer 500 demultiplexes the bitstream received from the encoding terminal through the input terminal IN. The demultiplexer 500 uses the LPC coefficients encoded by the encoder, the excitation spectrum quantized by the encoder, the result of the long-term prediction performed by the encoder, and the preset frequency using the excitation spectrum provided in the low frequency region that is smaller than the preset frequency. Demultiplexing information and the like capable of decoding the high frequency signal provided in the larger area.

역양자화부(505)는 부호화기에서 양자화된 저주파수 영역에 마련된 여기 스펙트럼을 역다중화부(500)로부터 입력받아 역양자화한다.The dequantizer 505 receives the excitation spectrum provided in the low frequency region quantized by the encoder from the demultiplexer 500 and dequantizes it.

역변환부(510)는 도 2a의 변환부(210)에서 수행하는 변환의 역과정으로서 역양자화부(505)에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 여기 신호를 생성한다.The inverse transform unit 510 generates an excitation signal by inversely converting the inverse quantized excitation spectrum from the inverse quantization unit 505 from the frequency domain to the time domain as a reverse process of the transformation performed by the transform unit 210 of FIG. 2A.

장구간 합성부(515)는 부호화기에서 저주파수 영역에 마련된 여기 신호에 대해 장구간 예측(long-term prediction)이 수행된 결과를 역다중화부(500)로부터 입력받아 복호화하고 역변환부(510)에서 생성된 여기 신호에 장구간 예측이 수행된 결과를 선택적으로 합성한다. 장구간 합성부(515)에서 장구간 예측이 수행된 결과를 합성하는 경우는 부호화기에서 장구간 예측이 수행된 결과가 부호화되어 전송된 여기 신호에 한하여 합성한다.The long-term synthesis unit 515 receives and decodes the result of the long-term prediction performed from the demultiplexer 500 on the excitation signal provided in the low frequency region by the encoder and generates the inverse transform unit 510. The result of performing the long term prediction on the generated excitation signal is selectively synthesized. When the long term synthesis unit 515 synthesizes the result of performing the long term prediction, the encoder synthesizes only the excitation signal that is encoded and transmitted.

선형 합성부(520)는 LPC 계수를 역다중화부(500)로부터 입력받아 복호화한다. 선형 합성부(520)는 LPC 계수를 복호화한 후 장구간 합성부(515)에서 장구간 예측이 수행된 결과를 합성하지 않은 경우 역변환부(510)에서 생성된 여기 신호에 LPC 계수를 합성하고, 장구간 합성부(515)에서 장구간 예측이 수행된 결과를 합성한 경우 장구간 합성부(515)에서 합성된 신호에 LPC 계수를 합성한다. 선형 합성부(520)에서 합성된 신호는 최종적으로 저주파수 영역에 마련될 저주파수 신호가 복원된 것이다.The linear synthesizer 520 receives the LPC coefficients from the demultiplexer 500 and decodes them. The linear synthesizer 520 synthesizes the LPC coefficients to the excitation signal generated by the inverse transformer 510 when the long term prediction is not synthesized after decoding the LPC coefficients. When the long period synthesis unit 515 synthesizes the result of performing the long period prediction, the long period synthesis unit 515 synthesizes the LPC coefficients. The signal synthesized by the linear combiner 520 is a low frequency signal finally restored in the low frequency region.

고주파수영역 복호화부(525)는 역양자화부(505)에서 역양자화된 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 고주파수 신호를 복호화한다.The high frequency region decoder 525 decodes the high frequency signal by using the excitation spectrum provided in the low frequency region dequantized by the inverse quantizer 505.

영역 합성부(530)는 선형 합성부(520)에서 복원된 저주파수 신호와 고주파수영역 복호화부(525)에서 복호화된 고주파수 신호를 합성하여 출력단자 OUT을 통해 출력한다.The region synthesizer 530 synthesizes the low frequency signal restored by the linear synthesizer 520 and the high frequency signal decoded by the high frequency region decoder 525 and outputs the same through the output terminal OUT.

도 5b은 본 발명에 의한 적응적 고주파수영역 복호화 장치에 포함된 고주파수영역 복호화부(525)의 일 실시예를 블록도로 도시한 것으로서, 상기 고주파수영역 복호화부(525)는 노이즈 복호화부(535), 포락선 조절부(540) 및 역변환부(545)를 포함하여 이루어진다.5B is a block diagram illustrating an embodiment of the high frequency region decoder 525 included in the adaptive high frequency region decoding apparatus according to the present invention. The high frequency region decoder 525 includes a noise decoder 535, It comprises an envelope adjusting unit 540 and the inverse transform unit 545.

노이즈 복호화부(535)는 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 스펙트럼 가운데 기 설정된 주파수 보다 큰 고주파수 스펙트럼을 부호화하는데 이용할 주파수 밴드(들)에 대한 정보를 역다중화부(500)로부터 입력단자 IN 1을 통해 입력받아 복호화한다. 노이즈 복호화부(535)는 복호화된 정보에 따라 입력단자 IN 1'을 통해 역양자화부(505)에서 역양자화된 여기 스펙트럼 가운데 이용할 소정의 여기 스펙트럼을 선택하고, 해당하는 여기 스펙트럼을 기 설정된 주파수 보다 큰 영역에 패치(patch)하거나 대칭적으로 폴딩(folding)함으로써 노이즈를 생성한다. 예를 들어, 노이즈 복호화부(535)는 도 8a에 도시된 저주파수 영역에 마련된 여기 스펙트럼을 고주파수 영역에 도 8b에 도시된 바와 같이 패치한다.The noise decoder 535 receives, from the demultiplexer 500, information about frequency band (s) to be used for encoding a high frequency spectrum larger than a preset frequency among excitation spectrums provided in a low frequency region that is smaller than a preset frequency. Decoded after being input through IN 1. The noise decoder 535 selects a predetermined excitation spectrum to be used from the inverse quantized excitation spectrum by the inverse quantization unit 505 through the input terminal IN 1 ′ according to the decoded information, and selects a corresponding excitation spectrum from the preset frequency. Noise is created by patching or symmetrically folding a large area. For example, the noise decoder 535 patches the excitation spectrum provided in the low frequency region shown in FIG. 8A into the high frequency region as shown in FIG. 8B.

포락선 조절부(540)는 입력단자 IN 2를 통해 도 5a의 역다중화부(500)로부터 부호화기에서 부호화된 고주파수 스펙트럼의 포락선 정보를 입력받아 복호화한다. 포락선 조절부(540)는 복호화된 고주파수 스펙트럼의 포락선 정보를 이용하여 노이즈 복호화부(535)에서 생성된 노이즈의 포락선을 조절한다. 예를 들어, 포락선 조절부(540)는 도 8b에 도시된 노이즈 복호화부(535)에서 생성된 노이즈를 고주파수 스펙트럼의 포락선 정보를 이용하여 도 8c에 도시된 바와 같이 포락선을 조절한다.The envelope adjusting unit 540 receives and decodes the envelope information of the high frequency spectrum encoded by the encoder from the demultiplexer 500 of FIG. 5A through the input terminal IN 2. The envelope adjusting unit 540 adjusts the envelope of the noise generated by the noise decoder 535 by using the envelope information of the decoded high frequency spectrum. For example, the envelope adjusting unit 540 adjusts the envelope generated by the noise decoder 535 illustrated in FIG. 8B using envelope information of the high frequency spectrum as illustrated in FIG. 8C.

역변환부(545)는 도 2a의 변환부(210)에서 수행하는 변환의 역과정으로서 포락선 조절부(540)에서 포락선이 조절된 노이즈를 주파수 도메인에서 시간 도메인으로 역변환하여 고주파수 신호를 생성한다. 역변환부(545)에서 생성된 고주파수 신호는 출력단자 OUT 1을통해 도 2b의 영역 합성부(530)로 출력된다.The inverse transformer 545 generates a high frequency signal by inversely converting the noise whose envelope is adjusted by the envelope controller 540 from the frequency domain to the time domain as an inverse process of the transformation performed by the transformer 210 of FIG. 2A. The high frequency signal generated by the inverse transformer 545 is output to the region synthesizer 530 of FIG. 2B through the output terminal OUT 1.

도 6a은 본 발명에 의한 고주파수영역 복호화 장치의 일 실시예를 블록도로 도시한 것으로서, 상기 고주파수영역 복호화 장치는 역다중화부(600), 도메인 판단부(605), 여기신호 복호화부(610), 장구간 합성부(615), 역양자화부(620), 역변환부(625), 선형 합성부(630), 고주파수영역 복호화부(635) 및 영역 합성부(640)를 포함하여 이루어진다.6A is a block diagram illustrating an embodiment of a high frequency region decoding apparatus according to the present invention. The high frequency region decoding apparatus includes a demultiplexer 600, a domain determiner 605, an excitation signal decoder 610, The long term synthesis unit 615, the inverse quantization unit 620, the inverse transform unit 625, the linear synthesis unit 630, the high frequency region decoder 635, and the region synthesizer 640 are included.

역다중화부(600)는 입력단자 IN을 통해 부호화단으로부터 입력받은 비트스트림을 역다중화한다. 역다중화부(600)에서는 부호화기에서 선택된 저주파수 신호를 부호화한 도메인에 대한 정보, 부호화기에서 부호화된 LPC 계수, 부호화기에서 수행한 장구간 예측의 결과, 부호화기에서 부호화된 여기 신호, 부호화기에서 양자화된 여기 스펙트럼 및 기 설정된 주파수 보다 작은 영역에 마련된 저주파수 신호 또는 저주파수 스펙트럼을 이용하여 고주파수 신호를 복호화하는 정보를 역다중화한다.The demultiplexer 600 demultiplexes the bitstream received from the encoding terminal through the input terminal IN. The demultiplexer 600 includes information on the domain encoding the low frequency signal selected by the encoder, the LPC coefficients encoded by the encoder, the long-term prediction performed by the encoder, the excitation signal encoded by the encoder, and the quantized excitation spectrum by the encoder. And demultiplexing information for decoding the high frequency signal using a low frequency signal or a low frequency spectrum provided in a region smaller than a preset frequency.

도메인 판단부(605)는 기 설정된 주파수 보다 작은 영역에 해당하는 저주파수 영역이 부호화기에서 부호화된 도메인의 정보를 역다중화부(600)로부터 입력받아 복호화하고 저주파수 영역이 시간 도메인에서 부호화되었는지 주파수 도메인에서 부호화되었는지 판단한다.The domain determiner 605 receives and decodes the information of the domain encoded by the encoder from the demultiplexer 600, and encodes the frequency in the frequency domain whether the low frequency region is encoded in the time domain. Determine if

도메인 판단부(605)에서 저주파수 영역이 시간 도메인에서 부호화되었다고 판단되면, 여기신호 복호화부(610)는 부호화기에서 부호화된 저주파수 영역의 여기 신호를 역다중화부(400)로부터 입력받아 복호화한다.When the domain determiner 605 determines that the low frequency region is encoded in the time domain, the excitation signal decoder 610 receives and decodes the excitation signal of the low frequency region encoded by the encoder from the demultiplexer 400.

장구간 합성부(615)는 기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호에 대해 부호화기에서 장구간 예측(long-term prediction)이 수행된 결과를 역다중화부(600)로부터 입력받아 복호화하고, 여기신호 복호화부(610)에서 복호화된 여기 신호에 장구간 예측이 수행된 결과를 합성한다. The long-term synthesis unit 615 receives and decodes the result of the long-term prediction performed by the encoder on the low frequency signal, which is a signal provided in a region smaller than the preset frequency, from the demultiplexer 600. An excitation signal decoded by the excitation signal decoder 610 synthesizes a result of performing long term prediction.

도메인 판단부(605)에서 저주파수 영역이 주파수 도메인에서 부호화되었다고 판단되면, 역양자화부(620)는 부호화기에서 양자화된 여기 스펙트럼을 역다중화부(600)로부터 입력받아 역양자화한다.When the domain determiner 605 determines that the low frequency region is encoded in the frequency domain, the dequantizer 620 receives the excitation spectrum quantized by the encoder from the demultiplexer 600 and dequantizes it.

역변환부(625)는 도 3a의 변환부(325)에서 수행하는 변환의 역과정으로서 역양자화부(620)에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 여기 신호를 생성한다.The inverse transform unit 625 generates an excitation signal by inversely converting the inverse quantized excitation spectrum from the inverse quantization unit 620 from the frequency domain to the time domain as a reverse process of the transformation performed by the transform unit 325 of FIG. 3A.

선형 합성부(630)는 저주파수 신호의 LPC(Linear Predictive Coding) 계수를 역다중화부(600)로부터 입력받아 복호화하고, 장구간 합성부(615)에서 합성된 여기 신호 또는 역변환부(625)에서 생성된 여기 신호에 복호화된 LPC 계수를 합성한다. 선형 합성부(630)에서 합성된 신호는 최종적으로 저주파수 영역에 마련될 저주파수 신호가 복원된 것이다.The linear combiner 630 receives and decodes the LPC coefficients of the low frequency signal from the demultiplexer 600, and generates the excitation signal or inverse transform unit 625 synthesized by the long-term synthesizer 615. The decoded LPC coefficients are synthesized to the excitation signal. The signal synthesized by the linear combiner 630 is a low frequency signal finally restored in the low frequency region.

고주파수영역 복호화부(635)는 역양자화부(620)에서 역양자화된 여기 스펙트럼 또는 여기신호 복호화부(610)에서 복호화된 여기 신호를 이용하여 고주파수 신호를 복호화한다. 만일 저주파수 영역이 시간 도메인에서 부호화되었다면 고주파수영역 복호화부(635)는 역양자화부(620)에서 역양자화된 여기 스펙트럼을 이용하여 고주파수 신호를 복호화하고, 만일 저주파수 영역이 주파수 도메인에서 부호화되었다면 고주파수 영역 복호화부(635)는 여기신호 복화부(610)에서 복호화된 여기 신호를 이용하여 고주파수 신호를 복호화한다.The high frequency region decoder 635 decodes the high frequency signal using the excitation spectrum dequantized by the inverse quantizer 620 or the excitation signal decoded by the excitation signal decoder 610. If the low frequency region is encoded in the time domain, the high frequency region decoder 635 decodes the high frequency signal using the inverse quantized excitation spectrum in the inverse quantizer 620, and if the low frequency region is encoded in the frequency domain, decodes the high frequency region. The unit 635 decodes the high frequency signal by using the excitation signal decoded by the excitation signal decoding unit 610.

영역 합성부(640)는 선형 합성부(630)에서 복원된 저주파수 신호와 고주파수영역 복호화부(635)에서 복호화된 고주파수 신호를 합성하여 출력단자 OUT을 통해 출력한다.The region synthesizer 640 synthesizes the low frequency signal restored by the linear synthesizer 630 and the high frequency signal decoded by the high frequency region decoder 635 and outputs the same through the output terminal OUT.

도 6b은 본 발명에 의한 고주파수 영역 복호화 장치에 포함된 고주파수영역 복호화부(635)의 일 실시예를 블록도로 도시한 것으로서, 상기 고주파수영역 복호화부(635)는 도메인 판단부(645), 선형 합성부(650), 승산부(655), 노이즈 복호화부(665), 포락선 조절부(670) 및 역변환부(675)를 포함하여 이루어진다.FIG. 6B is a block diagram illustrating an embodiment of the high frequency region decoder 635 included in the high frequency region decoding apparatus according to the present invention. The high frequency region decoder 635 includes a domain determination unit 645 and linear synthesis. A unit 650, a multiplier 655, a noise decoder 665, an envelope adjuster 670, and an inverse transform unit 675 are included.

도메인 판단부(645)는 기 설정된 주파수 보다 작은 영역에 해당하는 저주파수 영역이 부호화된 도메인을 판단하여 기 설정된 주파수 보다 큰 영역에 해당하는 고주파수 영역을 시간 도메인에서 복호화할지 주파수 도메인에서 복호화할지 여부를 판단한다.The domain determiner 645 determines a domain in which the low frequency region corresponding to the region smaller than the preset frequency is encoded and determines whether to decode the high frequency region corresponding to the region larger than the preset frequency in the time domain or the frequency domain. do.

만일 도메인 판단부(645)에서 고주파수 영역을 시간 도메인에서 복호화하는 것으로 판단되면, 선형 합성부(650)는 기 설정된 주파수 보다 큰 영역에 마련된 고주파수 신호에 대한 LPC(Linear Predictive Coding) 계수를 도 6a의 역다중화부(600)로부터 입력단자 IN 1을 통해 입력받아 복호화한다. 선형 합성부(650)에서 복호화된 LPC 계수에 의하여 도 7a에 도시된 그래프와 같은 포락선을 복원할 수 있다.If the domain determiner 645 determines that the high frequency region is decoded in the time domain, the linear combiner 650 may calculate a linear predictive coding (LPC) coefficient for the high frequency signal provided in a region larger than a preset frequency of FIG. 6A. Decoded through the input terminal IN 1 from the demultiplexer 600. The envelope shown in the graph of FIG. 7A may be restored by the LPC coefficient decoded by the linear synthesis unit 650.

승산부(655)는 입력단자 IN 2를 통해 입력받은 도 6a의 여기신호 복호화부(610)에서 복호화된 여기 신호에 선형 합성부(650)에서 복호화된 LPC 계수에 의한 포락선을 승산한다. 승산부(655)에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The multiplier 655 multiplies the excitation signal decoded by the excitation signal decoder 610 of FIG. 6A received through the input terminal IN 2 by an envelope by the LPC coefficient decoded by the linear synthesizer 650. An example of the signal multiplied by the multiplier 655 is a signal corresponding to identification number 710 shown in FIG. 7B.

이득값 적용부(660)는 입력단자 IN 3을 통해 입력받은 이득값을 도 6a의 역다중화부(600)으로부터 입력받아 복호화하여 승산부(655)에서 승산된 신호에 적용한다. 이득값 적용부(660)에서 이득값을 적용함으로써 도 6a의 선형 합성부(630)에서 복원된 저주파수 신호와 복호화된 고주파수 신호 사이에 존재하는 미스매칭(mismatching)을 보상할 수 있다. 예를 들어, 승산부(655)에서 승산된 고주파수 신호는 도 7b에 도시된 바와 같이 저주파수 신호와의 경계면에 미스매칭이 발생하지만 이득값 적용부(660)에서 이득값을 적용함으로써 도 7c에 도시된 바와 같이 저주파수 신호와 고주파수 신호 사이에 미스매칭이 발생하지 않도록 한다. 이득값 적용부(660)에서 이득값이 적용된 신호는 출력단자 OUT 1을 통해 도 6a의 영역 합성부(640)로 출력된다.The gain value applying unit 660 receives and decodes the gain value received through the input terminal IN 3 from the demultiplexer 600 of FIG. 6A and applies it to the signal multiplied by the multiplier 655. By applying the gain value in the gain value applying unit 660, mismatching between the low frequency signal restored in the linear synthesizer 630 and the decoded high frequency signal of FIG. 6A may be compensated. For example, the high frequency signal multiplied by the multiplier 655 is mismatched at the interface with the low frequency signal as shown in FIG. As described above, mismatching does not occur between the low frequency signal and the high frequency signal. The signal to which the gain value is applied by the gain value applying unit 660 is output to the area combining unit 640 of FIG. 6A through the output terminal OUT 1.

만일 도메인 판단부(645)에서 고주파수 영역을 주파수 도메인에서 복호화하는 것으로 판단되면, 노이즈 복호화부(665)는 입력단자 IN 4를 통해 도 6a의 역양자화부(620)에서 역양자화된 여기 스펙트럼을 입력받아 고주파수 영역에 패치(patch)하거나 대칭적으로 폴딩(folding)함으로써 스펙트럼을 생성한다. 예를 들어, 도 8a에 도시된 여기 스펙트럼을 고주파수 영역에 도 8b에 도시된 바와 같이 패치한다.If the domain determiner 645 determines that the high frequency region is decoded in the frequency domain, the noise decoder 665 inputs the dequantized excitation spectrum by the dequantizer 620 of FIG. 6A through the input terminal IN 4. The spectrum is generated by patching or symmetrically folding the high frequency region. For example, the excitation spectrum shown in Fig. 8A is patched to the high frequency region as shown in Fig. 8B.

포락선 조절부(670)는 입력단자 IN 5를 통해 도 6a의 역다중화부(600)로부터 부호화기에서 부호화된 고주파수 스펙트럼의 포락선 정보를 입력받아 복호화한다. 포락선 조절부(670)는 복호화된 고주파수 스펙트럼의 포락선 정보를 이용하여 노이즈 복호화부(665)에서 생성된 스펙트럼의 포락선을 조절한다. 예를 들어, 포락선 조절부(670)는 도 8b에 도시된 노이즈 복호화부(665)에서 생성된 스펙트럼을 고주파수 스펙트럼의 포락선 정보를 이용하여 도 8c에 도시된 바와 같이 포락선을 조절한다.The envelope adjusting unit 670 receives and decodes the envelope information of the high frequency spectrum encoded by the encoder from the demultiplexer 600 of FIG. 6A through the input terminal IN 5. The envelope adjusting unit 670 adjusts the envelope of the spectrum generated by the noise decoder 665 by using the envelope information of the decoded high frequency spectrum. For example, the envelope adjusting unit 670 adjusts the envelope of the spectrum generated by the noise decoder 665 of FIG. 8B using the envelope information of the high frequency spectrum, as shown in FIG. 8C.

역변환부(675)는 도 3a의 변환부(325)에서 수행하는 변환의 역과정으로서 포락선 조절부(670)에서 포락선이 조절된 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 고주파수 신호를 생성한다.The inverse transformer 675 is a reverse process of the transformation performed by the transformer 325 of FIG. 3A to inversely convert the spectrum whose envelope is adjusted by the envelope controller 670 from the frequency domain to the time domain to generate a high frequency signal.

도 9a는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.9A is a flowchart illustrating an embodiment of an adaptive high frequency domain encoding method according to the present invention.

먼저, 입력된 신호를 소정의 주파수 밴드 별로 시간 도메인으로 나타내도록 변환한다(제900단계). 제900단계에서 변환하는 방식으로 QMF(Quadrature Mirror Filterbank) 및 LOT(lapped orthogonal transform) 등이 있다.First, the input signal is converted to be represented in the time domain for each predetermined frequency band (operation 900). As a transform method in step 900, there are a Quadrature Mirror Filterbank (QMF) and a lapped orthogonal transform (LOT).

그러나 제900단계에서는 FV-MLT(Frequency Varying Modulated Lapped Transform)와 같이 입력된 신호를 소정의 주파수 밴드 별로 시간 도메인 또는 주파수 도메인으로 나타내도록 변환함으로써 제925단계를 수행하지 않고 제905단계에서 선택된 도메인으로 제900단계에서 변환하여 실시할 수도 있다.However, in step 900, the input signal, such as frequency varying modulated lapped transform (FV-MLT), is transformed to be represented in a time domain or a frequency domain for each predetermined frequency band, thereby performing the step 925 without performing step 925. In operation 900, the conversion may be performed.

제900단계에서 변환된 각 주파수 밴드의 신호들 가운데 기 설정된 주파수 보다 작은 영역에 포함되는 주파수 밴드의 신호들을 기 설정된 기준에 따라 시간 도메인에서 부호화할지 주파수 도메인에서 부호화할지 여부를 선택한다(제905단계). 여기서, 기 설정된 기준의 예로 선형 예측 부호화 이득값, 인접한 프레임의 선형 예측 필터 간의 스펙트럴 변화, 피치 지연 및 장구간 예측 이득값 등이 있다.From among the signals of each of the frequency bands converted in operation 900, signals of frequency bands included in a region smaller than a predetermined frequency are selected in the time domain or the frequency domain according to a preset criterion (operation 905). ). Here, examples of preset criteria include linear prediction coding gain values, spectral changes between linear prediction filters of adjacent frames, pitch delays, and long-term prediction gain values.

제905단계에서 시간 도메인에서 부호화하는 것으로 결정된 주파수 밴드(들)에 마련된 신호(들)에 대해 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출하고 부호화하며, 제905단계에서 시간 도메인에서 부호화하는 것으로 결정된 주파수 밴드(들)에 마련된 신호(들)에서 단구간 상관을 제거하여 제1 여기 신호를 추출한다(제910단계).In step 905, LPC coefficients are extracted and encoded by performing LPC (Linear Predictive Coding) analysis on the signal (s) provided in the frequency band (s) determined to be encoded in the time domain, and in step 905, encoding is performed in the time domain. The first excitation signal is extracted by removing the short-term correlation from the signal (s) provided in the frequency band (s) determined to be performed (step 910).

제910단계에서 추출된 제1 여기 신호에 대하여 장구간 예측(long-term prediction)을 수행하고, 제2 여기 신호를 추출한다(제915단계).Long-term prediction is performed on the first excitation signal extracted in operation 910, and a second excitation signal is extracted (operation 915).

제915단계에서 수행하는 장구간 예측의 예로 주기성(periodicity)의 연속성(continuity) 정도, 주파수 스펙트럼의 기울기(frequency spectral tilt) 정도 및 프레임 에너지 정도 등이 있다. 여기서, 주기성의 연속성은 피치 래그(pitch lag)의 변화가 적고 피치 상관도(pitch correlation)가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다. 또한, 주기성의 연속성은 첫번째 포먼트 주파수(1st formant frequency)가 매우 낮고 피치 상관도가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다.Examples of long term prediction performed in operation 915 include a degree of continuity of periodicity, a degree of frequency spectral tilt, and a degree of frame energy. Here, the continuity of periodicity may be such that a frame having a small change in pitch lag and a high pitch correlation continues continuously for a predetermined period or more. In addition, the continuity of periodicity may be such that a frame having a very low first formant frequency and having a high pitch correlation continues continuously for a predetermined period or more.

제915단계에서 추출된 제2 여기 신호를 부호화한다(제920단계).The second excitation signal extracted in operation 915 is encoded (operation 920).

제905단계에서 주파수 도메인에서 부호화하는 것으로 결정된 주파수 밴드(들)에 마련된 신호(들)를 시간 도메인에서 주파수 도메인으로 변환하여 스펙트럼(들)을 생성한다(제925단계).In operation 925, signal (s) provided in the frequency band (s) determined to be encoded in the frequency domain are converted from the time domain to the frequency domain to generate spectrum (s) (step 925).

제925단계에서 생성된 스펙트럼(들)을 양자화한다(제930단계).The spectrum (s) generated in operation 925 are quantized (operation 930).

제930단계에서 양자화된 스펙트럼(들)을 역양자화한다(제935단계).In step 930, the quantized spectrum (s) are inversely quantized (step 935).

제925단계에서 수행하는 변환의 역과정으로 제935단계에서 역양자화된 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환한다(제940단계).In operation 925, the inverse process of the transformation is performed to inversely transform the dequantized spectrum from the frequency domain to the time domain (operation 940).

제2 역변환부(140)에서 역변환된 신호를 저장한다(제945단계). 제945단계에서 역변환된 신호를 저장하는 이유는 다음 프레임 가운데 시간 도메인으로 부호화하는 주파수 밴드에 마련된 신호에 대하여 제915단계에서 장구간 예측을 수행하는데 이용하기 위하여 버퍼링(buffering)한다.The second inverse transform unit 140 stores the inversely converted signal (operation 945). The reason for storing the inversely transformed signal in operation 945 is to buffer the signal provided in the frequency band encoded in the time domain among the following frames in order to use it to perform long term prediction in operation 915.

제920단계에서 부호화된 제2 여기 신호를 복호화한다(제950단계).In operation 950, the second excitation signal encoded in operation 920 is decoded.

제935단계에서 역양자화된 스펙트럼(들)을 화이트닝(whitening) 처리하여 여기 스펙트럼(들)을 생성한다(제955단계).In operation 935, the dequantized spectrum (s) are whitened to generate excitation spectrum (s) (step 955).

기 설정된 주파수 보다 작은 영역에 해당하는 주파수 밴드(들)에 마련된 신호(들)를 이용하여 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드(들)의 신호(들)를 시간 도메인 또는 주파수 도메인에서 적응적으로 부호화한다(제960단계). 제960단계에서 이용하는 신호(들)는 시간 도메인에서 부호화할 경우 제950단계에서 복호화된 제2 여기 신호이고, 주파수 도메인에서 부호화할 경우 제955단계에서 생성된 여기 스펙트럼이다.The signal (s) of the frequency band (s) corresponding to the region larger than the preset frequency are adapted in the time domain or the frequency domain by using the signal (s) provided in the frequency band (s) corresponding to the region smaller than the preset frequency. (Step 960). The signal (s) used in operation 960 are the second excitation signal decoded in operation 950 when encoded in the time domain, and the excitation spectrum generated by operation 955 when encoded in the frequency domain.

제905단계에서 부호화된 각 주파수 밴드가 부호화된 도메인에 대한 정보, 제910단계에서 부호화된 LPC 계수, 제915단계에서 부호화된 장구간 예측이 수행된 결과, 제920단계에서 부호화된 제2 여기신호, 제930단계에서 양자화된 스펙트럼 및 제960단계에서 부호화된 결과를 포함하여 다중화함으로써 비트스트림을 생성한다(제965단계).As a result of performing information on the domain in which each frequency band encoded in operation 905 is encoded, the LPC coefficient encoded in operation 910, and the long-term prediction encoded in operation 915, the second excitation signal encoded in operation 920. In operation 965, a bitstream is generated by multiplexing the spectrum quantized in operation 930 and the result encoded in operation 960 (operation 965).

도 9b는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 포함된 제960단계에 대한 일 실시예를 흐름도로 도시한 것이다.9B is a flowchart illustrating an embodiment of operation 960 included in the adaptive high frequency domain encoding method according to the present invention.

먼저, 기 설정된 주파수 보다 큰 영역에 해당하는 각 주파수 밴드에 마련된 신호를 시간 도메인에서 부호화할지 주파수 도메인에서 부호화할지 여부를 선택한다(제970단계).First, whether a signal provided in each frequency band corresponding to a region larger than a preset frequency is encoded in the time domain or the frequency domain is selected (step 970).

제970단계에서 부호화할 도메인을 선택함에 있어서, 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드를 부호화하는 데 이용되는 기 설정된 주파수 보다 작은 영역에 해당하는 주파수 밴드가 시간 도메인으로 부호화되었는지 주파수 도메인으로 부호화되었는지 여부를 기준으로 도메인을 선택할 수 있다. 만일 기 설정된 주파수 보다 큰 영역에 해당하는 소정의 주파수 밴드를 부호화하는 데 이용되는 기 설정된 주파수 보다 작은 영역에 해당하는 소정의 주파수 밴드가 시간 도메인으로 부호화된 경우 해당하는 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드는 시간 도메인에서 부호화하는 것으로 선택하고, 만일 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드를 부호화하는 데 이용되는 기 설정된 주파수 보다 작은 영역에 해당하는 주파수 밴드가 주파수 도메인으로 부호화된 경우 해당하는 기 설정된 주파수 보다 큰 영역에 해당하는 주파수 밴드는 주파수 도메인에서 부호화하는 것으로 선택한다.In operation 970, in selecting a domain to be encoded, a frequency band corresponding to a region smaller than a preset frequency used for encoding a frequency band corresponding to a region larger than a preset frequency is encoded in the time domain or encoded in the frequency domain. You can select a domain based on whether or not it is. If a predetermined frequency band corresponding to a region smaller than a preset frequency used to encode a predetermined frequency band corresponding to a region larger than a preset frequency is encoded in the time domain, the corresponding frequency region corresponds to a region larger than the corresponding preset frequency. The frequency band is selected to be encoded in the time domain, and if a frequency band corresponding to a region smaller than a preset frequency used to encode a frequency band corresponding to a region larger than a predetermined frequency is encoded in the frequency domain, The frequency band corresponding to the region larger than the preset frequency is selected by encoding in the frequency domain.

제970단계에서 시간 도메인에서 부호화하는 것으로 선택된 주파수 밴드(들)에 마련된 신호(들)에 대하여 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출한다(제975단계). 제975단계에서 추출된 LPC 계수는 복호화기에서 도 7a에 도시된 일 예와 같은 포락선을 복원하는 데 이용된다.In step 970, LPC coefficients are extracted by performing LPC (Linear Predictive Coding) analysis on the signal (s) provided in the frequency band (s) selected for encoding in the time domain (step 975). The LPC coefficients extracted in step 975 are used by the decoder to recover the envelope as shown in FIG. 7A.

승산부(180)는 도 9a의 제950단계에서 복호화된 제2 여기 신호와 제975단계에서 추출된 LPC 계수에 의한 포락선을 승산한다(제980단계). 제980단계에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The multiplier 180 multiplies the second excitation signal decoded in operation 950 of FIG. 9A with an envelope by the LPC coefficient extracted in operation 975 (operation 980). An example of the signal multiplied in operation 980 is a signal corresponding to identification number 710 illustrated in FIG. 7B.

제980단계에서 승산된 신호가 기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호에 대하여 존재하는 미스매칭(mismatching)을 보상해 주는 이득값을 계산하여 부호화한다(제985단계). 제985단계에서 계산된 이득값에 의하여 도 7b에 도시된 바와 같이 저주파수 신호인 식별번호 720에 해당하는 신호와 제980단계에서 승산된 신호인 식별변호 710에 해당하는 신호의 경계에 존재하는 미스매칭을 복호화기에서 도 7c에 도시된 바와 같이 보상할 수 있다.In operation 980, a gain value for compensating for mismatching of a low frequency signal, which is a signal provided in an area smaller than the preset frequency, is calculated and encoded (operation 985). The mismatch that exists at the boundary between the signal corresponding to the identification number 720, which is a low frequency signal, and the signal corresponding to the identification code 710, the signal multiplied in step 980, as shown in FIG. 7B by the gain value calculated in step 985. Can be compensated for in the decoder as shown in FIG. 7C.

제970단계에서 주파수 도메인에서 부호화하는 것으로 선택된 주파수 밴드(들)에 노이즈를 생성하는 데 이용할 제955단계에서 생성된 여기 스펙트럼의 주파수 밴드(들)을 선택하여 해당 주파수 밴드(들)에 대한 정보를 부호화한다(제990단계). In step 970, the frequency band (s) of the excitation spectrum generated in step 955 to be used to generate noise in the frequency band (s) selected by encoding in the frequency domain are selected to obtain information on the frequency band (s). In step 990, the encoding is performed.

기 설정된 주파수 보다 큰 영역에 마련된 주파수 밴드(들) 가운데 제970단계에서 주파수 도메인에서 부호화하는 것으로 선택된 주파수 밴드(들)에 마련된 스펙트럼의 포락선 정보를 추출하여 부호화한다(제995단계).The envelope information of the spectrum provided in the frequency band (s) selected as encoding in the frequency domain among the frequency band (s) provided in the region larger than the preset frequency is extracted and encoded (step 995).

도 9a 및 도 9b의 실시예와 같이 부호화할 도메인을 먼저 결정하고 결정된 도메인에서 부호화하는 개-루프(open-loop) 방식에 한정하여 실시해야 하는 것은 아니다. 주파수 도메인과 시간 도메인 모두에 대하여 부호화를 수행한 후 부호화된 결과를 비교하여 더 나은 도메인을 선택하는 폐-루프(close-loop) 방식으로도 실시할 수 있다.9A and 9B, the domain to be encoded is not limited to an open-loop method of first determining a domain to be encoded and encoding the domain in the determined domain. The encoding may be performed in both the frequency domain and the time domain, and then may be implemented in a closed-loop method in which a better domain is selected by comparing the encoded results.

도 10a는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.10A is a flowchart illustrating an embodiment of an adaptive high frequency domain encoding method according to the present invention.

먼저, 입력된 신호를 기 설정된 주파수 보다 작은 영역에 마련된 저주파수 신호와 기 설정된 주파수 보다 큰 영역에 마련된 고주파수 신호로 분할한다(제1000단계).First, the input signal is divided into a low frequency signal provided in an area smaller than the preset frequency and a high frequency signal provided in an area larger than the preset frequency (step 1000).

제1000단계에서 분할된 저주파수 신호에 대해 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출하고, 제1000단계에서 분할된 저주파수 신호에서 단구간 상관을 제거하여 제1 여기 신호를 추출한다(제1005단계).The LPC coefficient is extracted by performing LPC (Linear Predictive Coding) analysis on the divided low frequency signal in operation 1000, and the first excitation signal is extracted by removing short-term correlation from the divided low frequency signal in operation 1000. Step 1005).

제1005단계에서 추출된 제1 여기 신호를 시간 도메인에서 주파수 도메인으로 변환하여 여기 스펙트럼을 생성한다(제1010단계).An excitation spectrum is generated by converting the first excitation signal extracted in operation 1005 from the time domain to the frequency domain (operation 1010).

제1010단계에서 생성된 여기 스펙트럼을 양자화한다(제1015단계).The excitation spectrum generated in step 1010 is quantized (step 1015).

제1015단계에서 양자화된 여기 스펙트럼을 역양자화한다(제1020단계).In operation 1015, the quantized excitation spectrum is inversely quantized (step 1020).

제1010단계에서 수행하는 변환의 역과정으로서 제1020단계에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 제2 여기 신호를 생성한다(제1025단계).As an inverse process of the transformation performed in step 1010, the second quantized excitation signal is generated by inversely transforming the inversely quantized excitation spectrum from the frequency domain to the time domain in step 1020 (step 1025).

제1025단계에서 역변환된 제2 여기 신호를 저장한다(제1030단계). 제1030단계에서 제2 여기 신호를 저장하는 이유는 다음 프레임에 대하여 부호화를 수행함에 있어서 시간 도메인으로 부호화하는 주파수 밴드(들)에 마련된 신호에 대하여 제1040단계에서 장구간 예측을 수행하는데 이용하기 위하여 버퍼링(buffering)한다.In operation 1030, the second excitation signal that has been inversely transformed is stored. The reason for storing the second excitation signal in step 1030 is to use it to perform long-term prediction in step 1040 on a signal provided in frequency band (s) to be coded in the time domain in encoding the next frame. Buffering

제1005단계에서 추출된 제1 여기 신호를 분석하여 저주파수 신호의 특성에 따라 장구간 예측부(240)에서 장구간 예측을 수행할지 여부를 결정한다(제1035단계). 제1035단계에서 장구간 예측을 수행할지 여부를 결정하는 기준이 되는 저주파수 신호의 특성에 대한 예로 선형 예측 부호화 이득값, 인접한 프레임의 선형 예측 필터간의 스펙트럴 변화, 피치 지연 및 장구간 예측 이득값 등이 있다.The long duration prediction unit 240 determines whether to perform long term prediction according to the characteristics of the low frequency signal by analyzing the first excitation signal extracted in operation 1005 (operation 1035). Examples of the characteristics of the low frequency signal as a reference for determining whether to perform long term prediction in step 1035 include linear predictive coding gain, spectral change between linear predictive filters of adjacent frames, pitch delay, and long term predictive gain. There is this.

제1035단계에서 장구간 예측을 수행하는 것으로 결정된 경우 제1005단계에서 추출된 제1 여기 신호에 대하여 장구간 예측(long-term prediction)을 수행하고, 제3 여기 신호를 추출한다(제1040단계). If it is determined in step 1035 to perform long term prediction, long-term prediction is performed on the first excitation signal extracted in step 1005 and a third excitation signal is extracted (step 1040). .

제1040단계에서 수행하는 장구간 예측의 예로 주기성(periodicity)의 연속성(continuity) 정도, 주파수 스펙트럼의 기울기(frequency spectral tilt) 정도 및 프레임 에너지 정도 등이 있다. 여기서, 주기성의 연속성은 피치 래그(pitch lag)의 변화가 적고 피치 상관도(pitch correlation)가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다. 또한, 주기성의 연속성은 첫번째 포먼트 주파수(1st formant frequency)가 매우 낮고 피치 상관도가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다.Examples of long term prediction performed in step 1040 include a degree of continuity of periodicity, a degree of frequency spectral tilt, and a degree of frame energy. Here, the continuity of periodicity may be such that a frame having a small change in pitch lag and a high pitch correlation continues continuously for a predetermined period or more. In addition, the continuity of periodicity may be such that a frame having a very low first formant frequency and having a high pitch correlation continues continuously for a predetermined period or more.

제1020단계에서 역양자화된 기 설정된 주파수 보다 작은 영역에 마련된 여기 스펙트럼을 이용하여 주파수 도메인에서 고주파수 신호를 부호화한다(제1050단계).In operation 1020, a high frequency signal is encoded in the frequency domain by using an excitation spectrum provided in a region smaller than the de-quantized frequency, in operation 1020.

제1005단계에서 부호화된 LPC 계수, 제1015단계에서 양자화된 여기 스펙트럼, 제1040단계에서 수행된 장구간 예측의 결과 및 제1050단계에서 부호화된 결과를 포함하여 비트스트림을 생성함으로써 다중화한다(제1055단계).A multiplex is generated by generating a bitstream including the LPC coefficients encoded in operation 1005, the excitation spectrum quantized in operation 1015, the result of the long-term prediction performed in operation 1040, and the result encoded in operation 1050 (operation 1055). step).

도 10b는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 포함된 제1050단계에 대한 일 실시예를 흐름도로 도시한 것이다.FIG. 10B is a flowchart illustrating an embodiment of step 1050 included in the adaptive high frequency domain encoding method according to the present invention.

먼저, 도 10a의 제1020단계에서 역양자화된 여기 스펙트럼 가운데 기 설정된 주파수 보다 큰 고주파수 스펙트럼을 부호화하는데 이용할 주파수 밴드(들)에 대한 정보를 부호화한다(제1060단계). First, information about frequency band (s) to be used for encoding a high frequency spectrum larger than a preset frequency among the dequantized excitation spectrum in step 1020 of FIG. 10A is encoded (step 1060).

제1060단계 후에, 고주파수 스펙트럼을 입력받아 고주파수 스펙트럼에 대한 포락선을 추출하고, 추출된 포락선 정보를 부호화한다(제1065단계). 포락선 정보의 예로 소정의 주파수 밴드 단위로 계산된 에너지값이 있다.After operation 1060, the high frequency spectrum is input to extract an envelope of the high frequency spectrum, and the extracted envelope information is encoded (step 1065). An example of the envelope information is an energy value calculated in units of predetermined frequency bands.

도 11a는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.11A is a flowchart illustrating an embodiment of an adaptive high frequency domain coding method according to the present invention.

먼저, 입력된 신호를 기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호와 기 설정된 주파수 보다 큰 영역에 마련된 신호인 고주파수 신호로 분할한다(제1100단계).First, the input signal is divided into a low frequency signal, which is a signal provided in a region smaller than a preset frequency, and a high frequency signal, which is a signal provided in a region larger than a preset frequency (step 1100).

제1100단계에서 분할된 저주파수 신호에 대해 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출하고, 제1100단계에서 분할된 저주파수 신호에서 단구간 상관을 제거하여 제1 여기 신호를 추출한다(제1105단계). The LPC coefficients are extracted by performing LPC analysis on the low frequency signal divided in step 1100, and the first excitation signal is extracted by removing the short-term correlation from the low frequency signal divided in step 1100. Step 1105).

제1105단계에서 추출된 제1 여기 신호를 기 설정된 기준에 따라 시간 도메인에서 부호화할지 주파수 도메인에서 부호화할지 여부를 선택한다(제1110단계). 여기서, 기 설정된 기준의 예로 선형 예측 부호화 이득값, 인접한 프레임의 선형 예측 필터 간의 스펙트럴 변화, 피치 지연 및 장구간 예측 이득값 등이 있다.The first excitation signal extracted in operation 1105 is selected whether to be encoded in the time domain or the frequency domain according to a preset reference (operation 1110). Here, examples of preset criteria include linear prediction coding gain values, spectral changes between linear prediction filters of adjacent frames, pitch delays, and long-term prediction gain values.

만일 제1110단계에서 제1 여기 신호를 시간 도메인에서 부호화하는 것으로 선택되면, 제1105단계에서 추출된 제1 여기 신호에 대하여 장구간 예측(long-term prediction)을 수행하고 제2 여기 신호를 추출한다(제1115단계). If it is selected in step 1110 to encode the first excitation signal in the time domain, long-term prediction is performed on the first excitation signal extracted in step 1105 and a second excitation signal is extracted. (Step 1115).

제1115단계에서 수행하는 장구간 예측의 예로 주기성(periodicity)의 연속성(continuity) 정도, 주파수 스펙트럼의 기울기(frequency spectral tilt) 정도 및 프레임 에너지 정도 등이 있다. 여기서, 주기성의 연속성은 피치 래그(pitch lag)의 변화가 적고 피치 상관도(pitch correlation)가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다. 또한, 주기성의 연속성은 첫번째 포먼트 주파수(1st formant frequency)가 매우 낮고 피치 상관도가 높은 프레임이 일정 구간 이상 연속적으로 지속되는 정도일 수 있다.Examples of long term prediction performed in operation 1115 include a degree of continuity of periodicity, a degree of frequency spectral tilt, and a degree of frame energy. Here, the continuity of periodicity may be such that a frame having a small change in pitch lag and a high pitch correlation continues continuously for a predetermined period or more. In addition, the continuity of periodicity may be such that a frame having a very low first formant frequency and having a high pitch correlation continues continuously for a predetermined period or more.

제1115단계에서 추출된 제2 여기 신호를 부호화한다(제1120단계).The second excitation signal extracted in operation 1115 is encoded (operation 1120).

만일 제1110단계에서 제1 여기 신호를 주파수 도메인에서 부호화하는 것으로 선택되면, 제1105단계에서 추출된 제1 여기 신호를 시간 도메인에서 주파수 도메인으로 변환하여 여기 스펙트럼을 생성한다(제1125단계).If it is selected in step 1110 to encode the first excitation signal in the frequency domain, an excitation spectrum is generated by converting the first excitation signal extracted in step 1105 from the time domain to the frequency domain (step 1125).

제1125단계에서 생성된 여기 스펙트럼을 양자화한다(제1130단계).The excitation spectrum generated in step 1125 is quantized (step 1130).

제1130단계에서 양자화된 여기 스펙트럼을 역양자화한다(제1135단계).In step 1130, the quantized excitation spectrum is inversely quantized (step 1135).

제1125단계에서 수행하는 변환의 역과정으로서 제1135단계에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환한다(제1140단계).As an inverse process of the transformation performed in operation 1125, the inverse quantized excitation spectrum is inversely transformed from the frequency domain to the time domain in operation 1135 (operation 1140).

제1140단계에서 역변환된 제3 여기 신호를 저장한다(제1145단계). 제1145단계에서 제3 여기 신호를 저장하는 이유는 다음 프레임에 대하여 부호화를 수행함에 있어서 시간 도메인으로 부호화하는 주파수 밴드(들)에 마련된 신호에 대하여 제1115단계에서 장구간 예측을 수행하는데 이용하기 위하여 버퍼링(buffering)한다.In operation 1140, the inverted third excitation signal is stored (operation 1145). The reason for storing the third excitation signal in step 1145 is to use it to perform long-term prediction in step 1115 on a signal provided in frequency band (s) to be coded in the time domain in encoding the next frame. Buffering

제1120단계에서 부호화된 제2 여기 신호를 복호화한다(제1150단계).The second excitation signal encoded in operation 1120 is decoded (operation 1150).

기 설정된 주파수 보다 작은 영역에 해당하는 신호 또는 스펙트럼을 이용하여 시간 도메인 또는 주파수 도메인에서 적응적으로 기 설정된 주파수 보다 큰 영역에 해당하는 신호를 부호화한다(제1160단계). 제1160단계에서 이용하는 신호는 시간 도메인에서 부호화할 경우 제1150단계에서 복호화된 여기 신호이고, 제1160단계에서 이용하는 스펙트럼은 주파수 도메인에서 부호화할 경우 제1135단계에서 역양자화된 여기 스펙트럼이다.A signal corresponding to a region larger than a predetermined frequency is adaptively encoded in a time domain or a frequency domain by using a signal or spectrum corresponding to a region smaller than a predetermined frequency (step 1160). The signal used in step 1160 is an excitation signal decoded in step 1150 when encoded in the time domain, and the spectrum used in step 1160 is an inverse quantized excitation spectrum in step 1135 when encoded in the frequency domain.

제1105단계에서 추출된 LPC 계수, 제1110단계에서 선택된 저주파수 신호를 부호화한 도메인에 대한 정보, 제1115단계에서 수행한 장구간 예측의 결과, 제1120단계에서 부호화된 여기 신호, 제1130단계에서 양자화된 여기 스펙트럼 및 제1160단계에서 부호화된 결과를 포함하여 다중화함으로써 비트스트림을 생성한다(제1165단계).The LPC coefficient extracted in step 1105, information on the domain encoding the low frequency signal selected in step 1110, the result of the long-term prediction performed in step 1115, the excitation signal encoded in step 1120, and the quantization in step 1130 The bitstream is generated by multiplexing the received excitation spectrum and the result encoded in operation 1160 (operation 1165).

도 11b는 본 발명에 의한 적응적 고주파수영역 부호화 방법에 포함된 제1160단계에 대한 일 실시예를 흐름도로 도시한 것이다.11B is a flowchart illustrating an embodiment of step 1160 included in the adaptive high frequency domain encoding method according to the present invention.

먼저, 도 11a의 제1110단계에서 선택된 기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호를 부호화하는 도메인에 따라 기 설정된 주파수 보다 큰 영역에 마련된 신호인 고주파수 신호를 부호화할 도메인을 선택한다(제1170단계). 만일 도 11a의 제1110단계에서 저주파수 신호를 주파수 도메인에서 부호화하는 것으로 선택되면, 제1170단계에서도 고주파수 신호를 주파수 도메인에서 부호화할 것으로 선택한다. 그리고 만일 도 11a의 제1110단계에서 저주파수 신호를 시간 도메인에서 부호화하는 것으로 선택되면, 제1170단계에서도 고주파수 신호를 시간 도메인에서 부호화할 것으로 선택한다.First, a domain for encoding a high frequency signal, which is a signal provided in an area greater than a preset frequency, is selected according to a domain for encoding a low frequency signal, which is a signal provided in an area smaller than a predetermined frequency, selected in operation 1110 of FIG. 11A (first 170). step). If it is selected in step 1110 of FIG. 11A to encode the low frequency signal in the frequency domain, in step 1170 it is also selected to encode the high frequency signal in the frequency domain. In operation 1110 of FIG. 11A, if the low frequency signal is selected to be encoded in the time domain, in operation 1170, the high frequency signal is selected to be encoded in the time domain.

제1170단계에서 고주파수 신호를 시간 도메인에서 부호화하는 것으로 선택되면, 고주파수 신호에 대하여 LPC(Linear Predictive Coding) 분석을 수행하여 LPC 계수를 추출한다(제1175단계). 제1175단계에서 추출된 LPC 계수는 복호화기에서 도 7a에 도시된 포락선을 복원하는 데 이용된다.If it is selected in step 1170 to encode the high frequency signal in the time domain, LPC coefficients are extracted by performing LPC (Linear Predictive Coding) analysis on the high frequency signal (step 1175). The LPC coefficients extracted in operation 1175 are used to recover the envelope shown in FIG. 7A by the decoder.

도 11a의 제1150단계에서 복호화된 제2 여기 신호와 제1175단계에서 추출된 LPC 계수에 의한 고주파수 신호의 포락선을 승산한다(제1180단계). 제1180단계에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The envelope of the high frequency signal by the LPC coefficient extracted in step 1175 and the second excitation signal decoded in step 1150 of FIG. 11A are multiplied (step 1180). An example of the signal multiplied in operation 1180 is a signal corresponding to identification number 710 illustrated in FIG. 7B.

제1180단계에서 승산된 신호가 저주파수 신호에 대하여 존재하는 미스매칭(mismatching)을 보상해 주는 이득값을 계산하여 부호화한다(제1185단계). 도 7b에 도시된 바와 같이 저주파수 신호인 식별번호 720에 해당하는 신호와 제1180단계에서 승산된 신호인 식별변호 710에 해당하는 신호의 경계에 존재하는 미스매칭을 도 7c에 도시된 바와 같이 보상한다.In operation 1185, a gain value for compensating for mismatching of the multiplied signal with respect to the low frequency signal is calculated and encoded. As shown in FIG. 7B, the mismatching existing at the boundary between the signal corresponding to the identification number 720 which is the low frequency signal and the signal corresponding to the identification code 710 which is the signal multiplied in step 1180 is compensated as shown in FIG. 7C. .

제1135단계에서 역양자화된 여기 스펙트럼 가운데 복호화기에서 고주파수 스펙트럼을 복호화하는 데 이용할 주파수 밴드(들)을 선택하여 선택된 주파수 밴드(들)에 대한 정보를 부호화한다(제1190단계).Among the dequantized excitation spectra in step 1135, the decoder selects frequency band (s) to be used for decoding the high frequency spectrum and encodes information on the selected frequency band (s) (step 1190).

제1190단계 후에, 고주파수 스펙트럼의 포락선 정보를 추출하여 부호화한다(제1195단계). 여기서, 포락선 정보의 예로 소정의 주파수 밴드 단위로 계산된 에너지값이 있다.After operation 1190, the envelope information of the high frequency spectrum is extracted and encoded (operation 1195). Here, an example of the envelope information is an energy value calculated in units of predetermined frequency bands.

도 11a 및 도 11b의 실시예와 같이 부호화할 도메인을 먼저 결정하고 결정된 도메인에서 부호화하는 개-루프(open-loop) 방식에 한정하여 실시해야 하는 것은 아니다. 주파수 도메인과 시간 도메인 모두에 대하여 부호화를 수행한 후 부호화된 결과를 비교하여 더 나은 도메인을 선택하는 폐-루프(close-loop) 방식으로도 실시할 수 있다.As shown in the embodiments of FIGS. 11A and 11B, the domain to be encoded is first determined, and the present invention is not limited to the open-loop method of encoding in the determined domain. The encoding may be performed in both the frequency domain and the time domain, and then may be implemented in a closed-loop method in which a better domain is selected by comparing the encoded results.

도 12a는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.12A is a flowchart illustrating an embodiment of an adaptive high frequency domain decoding method according to the present invention.

먼저, 부호화단으로부터 입력받은 비트스트림을 역다중화한다(제1200단계). 제1200단계에서는 부호화기에서 부호화된 각 주파수 밴드가 부호화된 도메인에 대한 정보, 부호화기에서 부호화된 LPC(Linear Predictive Coding) 계수, 부호화기에서 부호화된 장구간 예측이 수행된 결과, 부호화기에서 부호화된 여기 신호, 부호화기에서 양자화된 스펙트럼 및 저주파수 영역에 마련된 신호 또는 스펙트럼을 이용하여 고주파수 신호를 복호화할 수 있는 정보를 포함하여 역다중화한다.First, the bitstream received from the encoding stage is demultiplexed (step 1200). In operation 1200, information on a domain in which each frequency band encoded by the encoder is encoded, linear predictive coding (LPC) coefficients encoded by the encoder, long term prediction encoded by the encoder, and a result of the excitation signal encoded by the encoder, The encoder demultiplexes the information including the quantized spectrum and the signal or spectrum provided in the low frequency region to decode the high frequency signal.

기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 주파수 밴드들이 부호화기에서 부호화된 도메인에 대한 정보를 입력받아 각 주파수 밴드가 부호화된 도메인을 판단한다(제1205단계).Frequency bands provided in a low frequency region, which is a region smaller than a preset frequency, receive information about a domain encoded by an encoder, and determine a domain in which each frequency band is encoded (step 1205).

제1205단계에서 시간 도메인에서 부호화된 주파수 밴드(들)로 판단된 주파수 밴드(들)에 마련된 부호화기에서 부호화된 여기 신호를 복호화한다(제1210단계).In step 1205, the excitation signal encoded by the encoder provided in the frequency band (s) determined as the frequency band (s) encoded in the time domain is decoded (step 1210).

제1250단계에서 시간 도메인에서 부호화된 주파수 밴드(들)로 판단된 주파수 밴드(들)에 대하여 부호화기에서 장구간 예측(long-term prediction)이 수행된 결과를 복호화하고, 제1210단계에서 복호화된 여기 신호에 장구간 예측이 수행된 결과를 합성한다(제1215단계).Decode the result of the long-term prediction performed by the encoder on the frequency band (s) determined as the frequency band (s) encoded in the time domain in operation 1250, and then decode the excitation decoded in operation 1210. In operation 1215, a result of performing long term prediction on the signal is synthesized.

제1205단계에서 시간 도메인에서 부호화된 것으로 판단된 주파수 밴드(들)의 LPC 계수를 복호화하고 제1215단계에서 합성된 신호에 LPC 계수를 합성한다(제1220단계).In operation 1205, the LPC coefficients of the frequency band (s) determined to be encoded in the time domain are decoded, and the LPC coefficients are synthesized with the synthesized signal in operation 1215 (operation 1220).

제1205단계에서 주파수 도메인으로 부호화된 것으로 판단된 주파수 밴드(들)에 마련된 스펙트럼(들)을 역양자화한다(제1230단계).The spectrum (s) provided in the frequency band (s) determined to be encoded in the frequency domain in step 1205 are inversely quantized (step 1230).

도 9a의 제1225단계에서 수행하는 변환의 역과정으로서 제1230단계에서 역양자화된 스펙트럼(들)을 주파수 도메인에서 시간 도메인으로 역변환한다(제1233단계).As an inverse process of the transformation performed in operation 1225 of FIG. 9A, the inverse quantized spectrum (s) are inversely transformed from the frequency domain to the time domain in operation 1230 (operation 1233).

제1230단계에서 역양자화된 스펙트럼을 화이트닝(whitening) 처리하여 여기 스펙트럼을 생성한다(제1235단계).In operation 1230, the dequantized spectrum is whitened to generate an excitation spectrum (operation 1235).

제1210단계에서 복호화된 소정 주파수 밴드(들)에 마련된 여기 신호(들) 또는 제1235단계에서 복호화된 소정 주파수 밴드(들)에 마련된 여기 스펙트럼(들)을 이용하여 기 설정된 주파수 보다 큰 영역에 마련된 신호인 고주파수 신호를 복호화한다(제1240단계).The excitation signal (s) provided in the predetermined frequency band (s) decoded in operation 1210 or the excitation spectrum (s) provided in the predetermined frequency band (s) decoded in operation 1235 are provided in an area larger than the preset frequency. The high frequency signal, which is a signal, is decoded (step 1240).

도 9a의 제900단계에서 수행하는 변환의 역과정으로서 제1225단계에서 합성된 소정 주파수 밴드(들)에 마련된 신호 또는 제1233단계에서 역변환된 소정 주파수 밴드(들)에 마련된 신호 및 제1240단계에서 복호화된 고주파수 신호를 합성하여 시간 도메인으로 나타낸 단수의 신호로 합성함으로써 역변환한다(제1245단계). 제1245단계에서 변환하는 방식으로 QMF(Quadrature Mirror Filterbank) 및 LOT(lapped orthogonal transform) 등이 있다.As a reverse process of the conversion performed in operation 900 of FIG. 9A, the signal provided in the predetermined frequency band (s) synthesized in operation 1225 or the signal provided in the predetermined frequency band (s) inversely transformed in operation 1233 and operation 1240. Inverse transform is performed by synthesizing the decoded high frequency signal into a single signal represented by the time domain (step 1245). As a transform method in step 1245, there are a Quadrature Mirror Filterbank (QMF) and a lapped orthogonal transform (LOT).

그러나 제1245단계에서는 FV-MLT(Frequency Varying Modulated Lapped Transform)와 같이 소정의 주파수 밴드 별로 시간 도메인 또는 주파수 도메인으로 나타낸 신호를 시간 도메인으로 나타낸 단수의 신호로 합성하여 제1240단계에서 별도로 주파수 도메인에서 시간 도메인으로 변환하는 제1280단계을 수행하지 않고 실시할 수도 있다.However, in step 1245, a signal represented by a time domain or a frequency domain for each predetermined frequency band, such as a frequency varying modulated lapped transform (FV-MLT), is synthesized into a singular signal represented by a time domain, and then separately performed in step 1240. It may be performed without performing the step 1280 of converting to a domain.

도 12b는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 포함된 제1240단계에 대한 일 실시예를 흐름도로 도시한 것이다.12B is a flowchart illustrating an embodiment of step 1240 included in the adaptive high frequency domain decoding method according to the present invention.

먼저, 기 설정된 주파수 보다 큰 영역인 고주파수 영역에 포함된 주파수 밴드들에 마련된 신호들이 시간 도메인에서 부호화되었는지 주파수 도메인에서 부호화되었는지 여부를 판단한다(제1250단계). 제1250단계에서 각 주파수 밴드들이 부호화된 도메인은 부호화단으로부터 도메인과 관련된 정보를 전송받아 알 수 있거나 고주파수 영역에 포함된 각 주파수 밴드에서 이용하려는 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 포함된 주파수 밴드가 복호화된 도메인을 도 12a의 제1205단계로부터 알 수 있다.First, it is determined whether signals provided in frequency bands included in a high frequency region that is greater than a predetermined frequency are encoded in the time domain or in the frequency domain (step 1250). In operation 1250, the domain in which the frequency bands are encoded is a frequency band included in the low frequency region, which is a region smaller than a predetermined frequency to be known or received in each frequency band included in the high frequency region by receiving information related to the domain from the encoding end. The decoded domain can be known from step 1205 of FIG. 12A.

고주파수 영역에 포함된 주파수 밴드들 가운데 시간 도메인으로 부호화된 주파수 밴드(들)에 대한 LPC(Linear Predictive Coding) 계수를 복호화한다(제1255단계). 제1255단계에서 복호화된 LPC 계수에 의하여 도 7a에 도시된 그래프와 같은 포락선을 복원할 수 있다.A linear predictive coding (LPC) coefficient for the frequency band (s) encoded in the time domain among the frequency bands included in the high frequency region is decoded (step 1255). The envelope shown in the graph of FIG. 7A may be restored by the LPC coefficient decoded in operation 1255.

도 12a의 제1250단계에서 복호화된 여기 신호와 제1255단계에서 복호화된 LPC 계수에 의한 포락선을 승산한다(제1260단계). 제1260단계에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The excitation signal decoded in step 1250 of FIG. 12A and the envelope by the LPC coefficient decoded in step 1255 are multiplied (step 1260). An example of the signal multiplied in step 1260 is a signal corresponding to identification number 710 illustrated in FIG. 7B.

제1260단계 후에, 이득값을 복호화하여 제1260단계에서 승산된 신호에 적용한다(제1265단계). 제1265단계에서 이득값을 적용함으로써 복호화된 저주파수 신호와 복호화된 고주파수 신호 사이에 존재하는 미스매칭(mismatching)을 보상할 수 있다. 예를 들어, 제1260단계에서 승산된 고주파수 신호는 도 7b에 도시된 바와 같이 저주파수 신호와의 경계면에 미스매칭이 발생하지만 제1265단계에서 이득값을 적용함으로써 도 7c에 도시된 바와 같이 저주파수 신호와 고주파수 신호 사이에 미스매칭이 발생하지 않도록 한다.After operation 1260, the gain value is decoded and applied to the signal multiplied in operation 1260 (operation 1265). By applying the gain value in operation 1265, mismatching between the decoded low frequency signal and the decoded high frequency signal may be compensated. For example, the high frequency signal multiplied in step 1260 may have mismatches on the interface with the low frequency signal as shown in FIG. 7B, but the gain value may be applied in step 1265 to the low frequency signal as shown in FIG. 7C. Avoid mismatching between high frequency signals.

도 12a의 제1235단계에서 생성된 여기 스펙트럼 가운데 고주파수 영역에 마련된 주파수 밴드(들)의 스펙트럼을 복호화하는 데 이용할 주파수 밴드(들)에 대한 정보를 복호화한다(제1270단계). 제1270단계에서는 복호화한 정보를 이용하여 해당하는 주파수 밴드에 마련된 여기 스펙트럼을 제1250단계에서 주파수 도메인에서 부호화하는 것으로 판단된 주파수 밴드(들)에 패치(patch)하거나 대칭적으로 폴딩(folding)함으로써 노이즈를 생성한다. 예를 들어, 제1270단계에서는 도 8a에 도시된 저주파수 영역에 마련된 여기 스펙트럼을 고주파수 영역에 도 8b에 도시된 바와 같이 패치한다.The information on the frequency band (s) to be used for decoding the spectrum of the frequency band (s) provided in the high frequency region among the excitation spectrums generated in operation 1235 of FIG. 12A is decoded (step 1270). In operation 1270, the excitation spectrum provided in the corresponding frequency band is decoded or symmetrically folded to the frequency band (s) determined to be encoded in the frequency domain in operation 1250 by using the decoded information. Generate noise. For example, in step 1270, the excitation spectrum provided in the low frequency region shown in FIG. 8A is patched to the high frequency region as shown in FIG. 8B.

부호화기에서 부호화된 고주파수 스펙트럼의 포락선 정보를 복호화한다(제1275단계). 제1275단계에서 복호화된 고주파수 스펙트럼의 포락선 정보를 이용하여 제1270단계에서 생성된 노이즈의 포락선을 조절한다. 예를 들어, 제1275단계에서는 도 8b에 도시된 제1270단계에서 생성된 노이즈를 고주파수 스펙트럼의 포락선 정보를 이용하여 도 8c에 도시된 바와 같이 포락선을 조절한다.The envelope information of the high frequency spectrum encoded by the encoder is decoded (step 1275). The envelope of the noise generated in operation 1270 is adjusted by using the envelope information of the high frequency spectrum decoded in operation 1275. For example, in operation 1275, the noise generated in operation 1270 illustrated in FIG. 8B is adjusted using envelope information of a high frequency spectrum, as illustrated in FIG. 8C.

도 9a의 제925단계에서 수행하는 변환의 역과정으로서 제1275단계에서 포락선이 조절된 노이즈를 주파수 도메인에서 시간 도메인으로 역변환하여 고주파수 신호를 생성한다(제1280단계).In operation 925 of FIG. 9A, a high frequency signal is generated by inversely converting the noise whose envelope is adjusted from the frequency domain to the time domain in operation 1275 (operation 1280).

도 13a는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.13A is a flowchart illustrating an embodiment of an adaptive high frequency domain decoding method according to the present invention.

먼저, 부호화단으로부터 입력받은 비트스트림을 역다중화한다(제1300단계). 제1300단계에서는 부호화기에서 부호화된 LPC 계수, 부호화기에서 양자화된 여기 스펙트럼, 부호화기에서 수행된 장구간 예측의 결과 및 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 기 설정된 주파수 보다 큰 영역에 마련된 고주파수 신호를 복호화할 수 있는 정보 등을 역다중화한다.First, the bitstream received from the encoding end is demultiplexed (step 1300). In operation 1300, a region larger than a preset frequency using an LPC coefficient encoded by the encoder, an quantized excitation spectrum by the encoder, a result of a long-term prediction performed by the encoder, and an excitation spectrum provided in a low frequency region that is smaller than a preset frequency. Demultiplexing information and the like that can decode the high frequency signal provided in FIG.

부호화기에서 양자화된 저주파수 영역에 마련된 여기 스펙트럼을 역양자화한다(제1305단계).The encoder quantizes the excitation spectrum provided in the quantized low frequency region (step 1305).

도 10a의 제1010단계에서 수행하는 변환의 역과정으로서 제1305단계에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 여기 신호를 생성한다(제1310단계).As an inverse process of the conversion performed in step 1010 of FIG. 10A, an excitation signal is generated by inversely converting the inversely quantized excitation spectrum from the frequency domain to the time domain (step 1310).

부호화기에서 저주파수 영역에 마련된 여기 신호에 대해 장구간 예측(long-term prediction)이 수행된 결과를 복호화하고 제1310단계에서 생성된 여기 신호에 장구간 예측이 수행된 결과를 선택적으로 합성한다(제1315단계). 제1315단계에서 장구간 예측이 수행된 결과를 합성하는 경우는 부호화기에서 장구간 예측이 수행된 결과가 부호화되어 전송된 여기 신호에 한하여 합성한다.The encoder decodes the result of the long-term prediction performed on the excitation signal provided in the low frequency region and selectively synthesizes the result of the long-term prediction on the excitation signal generated in operation 1310 (1315). step). In the case of synthesizing the result of performing the long term prediction in operation 1315, the encoder synthesizes only the excitation signal that is encoded and transmitted.

LPC 계수를 복호화한다(제1320단계). 제1320단계에서는 LPC 계수를 복호화한 후 제1315단계에서 장구간 예측이 수행된 결과를 합성하지 않은 경우 제1310단계에서 생성된 여기 신호에 LPC 계수를 합성하고, 제1315단계에서 장구간 예측이 수행된 결과를 합성한 경우 제1315단계에서 합성된 신호에 LPC 계수를 합성한다. 제1320단계에서 합성된 신호는 최종적으로 저주파수 영역에 마련될 저주파수 신호가 복원된 것이다.The LPC coefficient is decoded (step 1320). If the LPC coefficient is decoded in step 1320 and the result of performing the long term prediction in step 1315 is not synthesized, the LPC coefficient is synthesized in the excitation signal generated in step 1310 and the long term prediction is performed in step 1315. In this case, the LPC coefficients are synthesized with the synthesized signal in operation 1315. In operation 1320, the synthesized signal is a low frequency signal to be finally provided in the low frequency region.

제1305단계에서 역양자화된 저주파수 영역에 마련된 여기 스펙트럼을 이용하여 고주파수 신호를 복호화한다(제1325단계).In operation 1305, the high frequency signal is decoded using the excitation spectrum provided in the low frequency region dequantized (operation 1325).

제1320단계에서 복원된 저주파수 신호와 제1325단계에서 복호화된 고주파수 신호를 합성한다(제1330단계).The low frequency signal reconstructed in operation 1320 and the high frequency signal decoded in operation 1325 are synthesized (operation 1330).

도 13b는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 포함된 제1325단계에 대한 일 실시예를 흐름도로 도시한 것이다.13B is a flowchart illustrating an embodiment of step 1325 included in the adaptive high frequency domain decoding method according to the present invention.

먼저, 기 설정된 주파수 보다 작은 영역인 저주파수 영역에 마련된 여기 스펙트럼 가운데 기 설정된 주파수 보다 큰 고주파수 스펙트럼을 부호화하는데 이용할 주파수 밴드(들)에 대한 정보를 복호화한다(제1335단계). 제1335단계에서는 복호화된 정보에 따라 제1305단계에서 역양자화된 여기 스펙트럼 가운데 이용할 소정의 여기 스펙트럼을 선택하고, 해당하는 여기 스펙트럼을 기 설정된 주파수 보다 큰 영역에 패치(patch)하거나 대칭적으로 폴딩(folding)함으로써 노이즈를 생성한다. 예를 들어, 제1335단계에서는 도 8a에 도시된 저주파수 영역에 마련된 여기 스펙트럼을 고주파수 영역에 도 8b에 도시된 바와 같이 패치한다.First, information about frequency band (s) to be used for encoding a high frequency spectrum larger than a preset frequency among excitation spectra provided in a low frequency region that is smaller than a predetermined frequency is decoded (step 1335). In operation 1335, a predetermined excitation spectrum to be used is selected from the dequantized excitation spectra in step 1305 according to the decoded information, and the corresponding excitation spectrum is patched or symmetrically folded in an area larger than a preset frequency. by generating the noise. For example, in step 1335, the excitation spectrum provided in the low frequency region shown in FIG. 8A is patched to the high frequency region as shown in FIG. 8B.

부호화기에서 부호화된 고주파수 스펙트럼의 포락선 정보를 복호화한다(제1340단계). 제1340단계에서는 복호화된 고주파수 스펙트럼의 포락선 정보를 이용하여 제1335단계에서 생성된 노이즈의 포락선을 조절한다. 예를 들어, 제1340단계에서는 도 8b에 도시된 제1335단계에서 생성된 노이즈를 고주파수 스펙트럼의 포락선 정보를 이용하여 도 8c에 도시된 바와 같이 포락선을 조절한다.The envelope information of the high frequency spectrum encoded by the encoder is decoded (step 1340). In operation 1340, the envelope of the noise generated in operation 1335 is adjusted using the envelope information of the decoded high frequency spectrum. For example, in operation 1340, the envelope generated in operation 1335 illustrated in FIG. 8B is adjusted using envelope information of a high frequency spectrum, as illustrated in FIG. 8C.

도 11a의 제1110단계에서 수행하는 변환의 역과정으로서 제1340단계에서 포락선이 조절된 노이즈를 주파수 도메인에서 시간 도메인으로 역변환하여 고주파수 신호를 생성한다(제1345단계).In operation 1110 of FIG. 11A, a high frequency signal is generated by inversely converting the noise whose envelope is adjusted from the frequency domain to the time domain in operation 1340 (operation 1345).

도 14a는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 대한 일 실시예를 흐름도로 도시한 것이다.14A is a flowchart illustrating an embodiment of an adaptive high frequency domain decoding method according to the present invention.

먼저, 부호화단으로부터 입력받은 비트스트림을 역다중화한다(제1400단계). 제1400단계에서는 부호화기에서 선택된 저주파수 신호를 부호화한 도메인에 대한 정보, 부호화기에서 부호화된 LPC 계수, 부호화기에서 수행한 장구간 예측의 결과, 부호화기에서 부호화된 여기 신호, 부호화기에서 양자화된 여기 스펙트럼 및 기 설정된 주파수 보다 작은 영역에 마련된 저주파수 신호 또는 저주파수 스펙트럼을 이용하여 고주파수 신호를 복호화하는 정보를 역다중화한다.First, the bitstream received from the encoding stage is demultiplexed (step 1400). In operation 1400, information on a domain encoding the low frequency signal selected by the encoder, an LPC coefficient encoded by the encoder, a long-term prediction performed by the encoder, an excitation signal encoded by the encoder, a quantized excitation spectrum by the encoder, and a preset The information decoded from the high frequency signal is demultiplexed using a low frequency signal or a low frequency spectrum provided in an area smaller than the frequency.

기 설정된 주파수 보다 작은 영역에 해당하는 저주파수 영역이 부호화기에서 부호화된 도메인의 정보를 복호화하고 저주파수 영역이 시간 도메인에서 부호화되었는지 주파수 도메인에서 부호화되었는지 판단한다(제1405단계).In operation 1405, the low frequency region corresponding to the region smaller than the preset frequency is decoded in the encoder and the low frequency region is encoded in the time domain or the frequency domain.

제1405단계에서 저주파수 영역이 시간 도메인에서 부호화되었다고 판단되면, 부호화기에서 부호화된 저주파수 영역의 여기 신호를 복호화한다(제1410단계).If it is determined in step 1405 that the low frequency region is encoded in the time domain, the encoder decodes the encoded excitation signal of the low frequency region (step 1410).

기 설정된 주파수 보다 작은 영역에 마련된 신호인 저주파수 신호에 대해 부호화기에서 장구간 예측(long-term prediction)이 수행된 결과를 복호화하고, 제1410단계에서 복호화된 여기 신호에 장구간 예측이 수행된 결과를 합성한다(제1415단계).Decoding the result of the long-term prediction performed by the encoder on the low frequency signal, which is a signal provided in the region smaller than the preset frequency, and performing the result of performing the long-term prediction on the decoded excitation signal in operation 1410. Synthesis (step 1415).

제1405단계에서 저주파수 영역이 주파수 도메인에서 부호화되었다고 판단되면, 부호화기에서 양자화된 여기 스펙트럼을 역양자화한다(제1420단계).If it is determined in step 1405 that the low frequency region is encoded in the frequency domain, the encoder dequantizes the quantized excitation spectrum (step 1420).

도 11a의 제1125단계에서 수행하는 변환의 역과정으로서 제1420단계에서 역양자화된 여기 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 여기 신호를 생성한다(제1425단계).As an inverse process of the transformation performed in operation 1125 of FIG. 11A, an excitation signal is generated by inversely transforming the inversely quantized excitation spectrum from the frequency domain to the time domain in operation 1420 (operation 1425).

저주파수 신호의 LPC(Linear Predictive Coding) 계수를 복호화하고, 제1415단계에서 합성된 여기 신호 또는 제1425단계에서 생성된 여기 신호에 복호화된 LPC 계수를 합성한다(제1430단계). 제1430단계에서 합성된 신호는 최종적으로 저주파수 영역에 마련될 저주파수 신호가 복원된 것이다.The LPC coefficients of the low frequency signal are decoded, and the decoded LPC coefficients are synthesized with the excitation signal synthesized in operation 1415 or the excitation signal generated in operation 1425 (operation 1430). In operation 1430, the synthesized signal is a low frequency signal to be finally provided in the low frequency region.

제1420단계에서 역양자화된 여기 스펙트럼 또는 제1410단계에서 복호화된 여기 신호를 이용하여 고주파수 신호를 복호화한다(제1435단계). 만일 저주파수 영역이 시간 도메인에서 부호화되었다면 제1435단계에서는 제1420단계에서 역양자화된 여기 스펙트럼을 이용하여 고주파수 신호를 복호화하고, 만일 저주파수 영역이 주파수 도메인에서 부호화되었다면 제1435단계에서는 제1410단계에서 복호화된 여기 신호를 이용하여 고주파수 신호를 복호화한다.The high frequency signal is decoded using the dequantized excitation spectrum in step 1420 or the excitation signal decoded in step 1410 (step 1435). If the low frequency region is encoded in the time domain, in step 1435, the high frequency signal is decoded using the dequantized excitation spectrum in step 1420. If the low frequency region is encoded in the frequency domain, in step 1435, it is decoded in step 1410. The high frequency signal is decoded using the excitation signal.

제1430단계에서 복원된 저주파수 신호와 제1435단계에서 복호화된 고주파수 신호를 합성한다(제1440단계).The low frequency signal reconstructed in operation 1430 and the high frequency signal decoded in operation 1435 are synthesized (operation 1440).

도 14b는 본 발명에 의한 적응적 고주파수영역 복호화 방법에 포함된 제1435단계에 대한 일 실시예를 흐름도로 도시한 것이다.14B is a flowchart illustrating an embodiment of step 1435 included in the adaptive high frequency domain decoding method according to the present invention.

먼저, 기 설정된 주파수 보다 작은 영역에 해당하는 저주파수 영역이 부호화된 도메인을 판단하여 기 설정된 주파수 보다 큰 영역에 해당하는 고주파수 영역을 시간 도메인에서 복호화할지 주파수 도메인에서 복호화할지 여부를 판단한다(제1445단계).First, it is determined whether the low frequency region corresponding to the region smaller than the preset frequency is encoded and whether to decode the high frequency region corresponding to the region larger than the preset frequency in the time domain or the frequency domain (step 1445). ).

만일 제1445단계에서 고주파수 영역을 시간 도메인에서 복호화하는 것으로 판단되면, 기 설정된 주파수 보다 큰 영역에 마련된 고주파수 신호에 대한 LPC(Linear Predictive Coding) 계수를 복호화한다(제1450단계). 제1450단계에서 복호화된 LPC 계수에 의하여 도 7a에 도시된 그래프와 같은 포락선을 복원할 수 있다.If it is determined in step 1445 that the high frequency region is decoded in the time domain, the LPC (Linear Predictive Coding) coefficient for the high frequency signal provided in a region larger than the preset frequency is decoded (step 1450). The envelope shown in FIG. 7A may be restored by the LPC coefficient decoded in operation 1450.

도 12a의 제1410단계에서 복호화된 여기 신호에 제1450단계에서 복호화된 LPC 계수에 의한 포락선을 승산한다(제1455단계). 제1455단계에서 승산된 신호의 예로 도 7b에 도시된 식별번호 710에 해당하는 신호가 있다.The envelope generated by the LPC coefficient decoded in step 1450 is multiplied by the excitation signal decoded in step 1410 of FIG. 12A (step 1455). An example of the signal multiplied in step 1455 is a signal corresponding to identification number 710 illustrated in FIG. 7B.

부호화기에서 부호화된 이득값을 복호화하여 제1455단계에서 승산된 신호에 적용한다(제1460단계). 제1460단계에서 이득값을 적용함으로써 도 14a의 제1430단계에서 복원된 저주파수 신호와 복호화된 고주파수 신호 사이에 존재하는 미스매칭(mismatching)을 보상할 수 있다. 예를 들어, 제1455단계에서 승산된 고주파수 신호는 도 7b에 도시된 바와 같이 저주파수 신호와의 경계면에 미스매칭이 발생하지만 제1460단계에서 이득값을 적용함으로써 도 7c에 도시된 바와 같이 저주파수 신호와 고주파수 신호 사이에 미스매칭이 발생하지 않도록 한다.The gain value encoded by the encoder is decoded and applied to the signal multiplied in step 1455 (step 1460). By applying the gain value in operation 1460, mismatching between the restored low frequency signal and the decoded high frequency signal in operation 1430 of FIG. 14A may be compensated. For example, the high frequency signal multiplied in step 1455 is mismatched to the interface with the low frequency signal as shown in FIG. 7B, but the gain value is applied in step 1460 to the low frequency signal as shown in FIG. 7C. Avoid mismatching between high frequency signals.

만일 제1445단계에서 고주파수 영역을 주파수 도메인에서 복호화하는 것으로 판단되면, 도 14a의 제1420단계에서 역양자화된 여기 스펙트럼을 고주파수 영역에 패치(patch)하거나 대칭적으로 폴딩(folding)함으로써 스펙트럼을 생성한다(제1465단계). 예를 들어, 제1465단계는 도 8a에 도시된 여기 스펙트럼을 고주파수 영역에 도 8b에 도시된 바와 같이 패치한다.If it is determined in step 1445 that the high frequency region is decoded in the frequency domain, the spectrum is generated by patching or symmetrically folding the dequantized excitation spectrum in the high frequency region in step 1420 of FIG. 14A. (Step 1465). For example, step 1465 patches the excitation spectrum shown in FIG. 8A into the high frequency region as shown in FIG. 8B.

부호화기에서 부호화된 고주파수 스펙트럼의 포락선 정보를 입력받아 복호화한다(제1470단계). 제1470단계에서는 복호화된 고주파수 스펙트럼의 포락선 정보를 이용하여 제1465단계에서 생성된 스펙트럼의 포락선을 조절한다. 예를 들어, 제1470단계에서는 도 8b에 도시된 제1465단계에서 생성된 스펙트럼을 고주파수 스펙트럼의 포락선 정보를 이용하여 도 8c에 도시된 바와 같이 포락선을 조절한다.The encoder receives and decodes the envelope information of the high frequency spectrum encoded in operation 1470. In operation 1470, the envelope of the spectrum generated in operation 1465 is adjusted by using the envelope information of the decoded high frequency spectrum. For example, in operation 1470, the envelope generated in operation 1465 illustrated in FIG. 8B is adjusted using envelope information of the high frequency spectrum, as illustrated in FIG. 8C.

도 11a의 제1125단계에서 수행하는 변환의 역과정으로서 제1470단계에서 포락선이 조절된 스펙트럼을 주파수 도메인에서 시간 도메인으로 역변환하여 고주파수 신호를 생성한다(제1475단계).As a reverse process of the conversion performed in step 1125 of FIG. 11A, a high frequency signal is generated by inversely converting the spectrum whose envelope is adjusted in the frequency domain from the time domain in step 1470 (step 1475).

본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터(정보 처리 기능을 갖는 장치를 모두 포함한다)가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장 장치 등이 있다.The present invention can be embodied as code that can be read by a computer (including all devices having an information processing function) in a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like.

이러한 본 발명에 대한 이해를 돕기 위하여 도면에 도시된 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위에 의해 정해져야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. . Accordingly, the true scope of the present invention should be determined by the appended claims.

400: 역다중화부 405: 도메인 판단부
410: 여기신호 복호화부 415: 장구간 합성부
420: 선형 합성부 430: 역양자화부
433: 제2 역변환부 435: 여기스펙트럼 생성부
440: 고주파수영역 복호화부 445: 제1 역변환부
400: demultiplexer 405: domain determination unit
410: excitation signal decoding unit 415: long period synthesis unit
420: linear synthesis unit 430: inverse quantization unit
433: second inverse transform unit 435: excitation spectrum generation unit
440: high frequency region decoder 445: first inverse transform unit

Claims (1)

소정의 주파수 대역보다 높은 제1 주파수 대역의 부호화 도메인을 결정하는 단계;
상기 제 1 주파수 대역이 시간 도메인에서 부호화된 것으로 판단되는 경우, 상기 소정의 주파수 대역보다 낮은 주파수 범위를 갖는 제2 주파수 대역의 여기신호를 이용하여 상기 제1 주파수 대역을 복호화하는 단계; 및
상기 제 1 주파수 대역이 주파수 도메인에서 부호화된 것으로 판단되는 경우, 상기 제2 주파수 대역의 복호화된 스펙트럼을 이용하여 상기 제1 주파수 대역을 복호화하는 단계를 포함하는 주파수 대역 복호화 방법.
Determining an encoding domain of the first frequency band higher than the predetermined frequency band;
If it is determined that the first frequency band is encoded in the time domain, decoding the first frequency band using an excitation signal of a second frequency band having a lower frequency range than the predetermined frequency band; And
And if it is determined that the first frequency band is encoded in the frequency domain, decoding the first frequency band using the decoded spectrum of the second frequency band.
KR1020130106345A 2006-06-21 2013-09-04 Method and apparatus for decoding adaptive high frequency band KR101376099B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020060056070 2006-06-21
KR20060056070 2006-06-21

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020070060688A Division KR101390188B1 (en) 2006-06-21 2007-06-20 Method and apparatus for encoding and decoding adaptive high frequency band

Publications (2)

Publication Number Publication Date
KR20130114038A true KR20130114038A (en) 2013-10-16
KR101376099B1 KR101376099B1 (en) 2014-03-19

Family

ID=39138888

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020070060688A KR101390188B1 (en) 2006-06-21 2007-06-20 Method and apparatus for encoding and decoding adaptive high frequency band
KR1020130106345A KR101376099B1 (en) 2006-06-21 2013-09-04 Method and apparatus for decoding adaptive high frequency band

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020070060688A KR101390188B1 (en) 2006-06-21 2007-06-20 Method and apparatus for encoding and decoding adaptive high frequency band

Country Status (2)

Country Link
JP (2) JP5031829B2 (en)
KR (2) KR101390188B1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9159333B2 (en) 2006-06-21 2015-10-13 Samsung Electronics Co., Ltd. Method and apparatus for adaptively encoding and decoding high frequency band
KR101390188B1 (en) * 2006-06-21 2014-04-30 삼성전자주식회사 Method and apparatus for encoding and decoding adaptive high frequency band
KR101434198B1 (en) * 2006-11-17 2014-08-26 삼성전자주식회사 Method of decoding a signal
KR101826331B1 (en) 2010-09-15 2018-03-22 삼성전자주식회사 Apparatus and method for encoding and decoding for high frequency bandwidth extension
MX351750B (en) * 2010-10-25 2017-09-29 Voiceage Corp Coding generic audio signals at low bitrates and low delay.
CA2981539C (en) * 2010-12-29 2020-08-25 Samsung Electronics Co., Ltd. Apparatus and method for encoding/decoding for high-frequency bandwidth extension
MX350162B (en) 2011-06-30 2017-08-29 Samsung Electronics Co Ltd Apparatus and method for generating bandwidth extension signal.
CN103035248B (en) * 2011-10-08 2015-01-21 华为技术有限公司 Encoding method and device for audio signals
CN106463143B (en) * 2014-03-03 2020-03-13 三星电子株式会社 Method and apparatus for high frequency decoding for bandwidth extension
CN105336336B (en) * 2014-06-12 2016-12-28 华为技术有限公司 The temporal envelope processing method and processing device of a kind of audio signal, encoder
US20230306978A1 (en) * 2020-07-07 2023-09-28 Panasonic Intellectual Property Corporation Of America Coding apparatus, decoding apparatus, coding method, decoding method, and hybrid coding system

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0946233A (en) * 1995-07-31 1997-02-14 Kokusai Electric Co Ltd Sound encoding method/device and sound decoding method/ device
US6167375A (en) * 1997-03-17 2000-12-26 Kabushiki Kaisha Toshiba Method for encoding and decoding a speech signal including background noise
EP0878790A1 (en) * 1997-05-15 1998-11-18 Hewlett-Packard Company Voice coding system and method
SE512719C2 (en) * 1997-06-10 2000-05-02 Lars Gustaf Liljeryd A method and apparatus for reducing data flow based on harmonic bandwidth expansion
CN1266674C (en) * 2000-02-29 2006-07-26 高通股份有限公司 Closed-loop multimode mixed-domain linear prediction (MDLP) speech coder
FR2807897B1 (en) * 2000-04-18 2003-07-18 France Telecom SPECTRAL ENRICHMENT METHOD AND DEVICE
SE0004163D0 (en) * 2000-11-14 2000-11-14 Coding Technologies Sweden Ab Enhancing perceptual performance or high frequency reconstruction coding methods by adaptive filtering
DE50104998D1 (en) 2001-05-11 2005-02-03 Siemens Ag METHOD FOR EXPANDING THE BANDWIDTH OF A NARROW-FILTERED LANGUAGE SIGNAL, ESPECIALLY A LANGUAGE SIGNAL SENT BY A TELECOMMUNICATIONS DEVICE
SE0202159D0 (en) * 2001-07-10 2002-07-09 Coding Technologies Sweden Ab Efficientand scalable parametric stereo coding for low bitrate applications
US6988066B2 (en) 2001-10-04 2006-01-17 At&T Corp. Method of bandwidth extension for narrow-band speech
JP3926726B2 (en) * 2001-11-14 2007-06-06 松下電器産業株式会社 Encoding device and decoding device
JP4399185B2 (en) * 2002-04-11 2010-01-13 パナソニック株式会社 Encoding device and decoding device
US7318035B2 (en) * 2003-05-08 2008-01-08 Dolby Laboratories Licensing Corporation Audio coding systems and methods using spectral component coupling and spectral component regeneration
WO2005027095A1 (en) * 2003-09-16 2005-03-24 Matsushita Electric Industrial Co., Ltd. Encoder apparatus and decoder apparatus
KR20060090995A (en) * 2003-10-23 2006-08-17 마쓰시다 일렉트릭 인더스트리얼 컴패니 리미티드 Spectrum encoding device, spectrum decoding device, acoustic signal transmission device, acoustic signal reception device, and methods thereof
WO2006025313A1 (en) * 2004-08-31 2006-03-09 Matsushita Electric Industrial Co., Ltd. Audio encoding apparatus, audio decoding apparatus, communication apparatus and audio encoding method
KR101390188B1 (en) * 2006-06-21 2014-04-30 삼성전자주식회사 Method and apparatus for encoding and decoding adaptive high frequency band

Also Published As

Publication number Publication date
KR101390188B1 (en) 2014-04-30
JP5684756B2 (en) 2015-03-18
JP2009541790A (en) 2009-11-26
KR101376099B1 (en) 2014-03-19
KR20070121558A (en) 2007-12-27
JP5031829B2 (en) 2012-09-26
JP2012208514A (en) 2012-10-25

Similar Documents

Publication Publication Date Title
KR101376099B1 (en) Method and apparatus for decoding adaptive high frequency band
US8340962B2 (en) Method and apparatus for adaptively encoding and decoding high frequency band
KR101376100B1 (en) Method and apparatus for bandwidth extension decoding
KR101747918B1 (en) Method and apparatus for decoding high frequency signal
KR101435893B1 (en) Method and apparatus for encoding and decoding audio signal using band width extension technique and stereo encoding technique
RU2483366C2 (en) Device and method of decoding encoded audio signal
KR101379263B1 (en) Method and apparatus for decoding bandwidth extension
US8321229B2 (en) Apparatus, medium and method to encode and decode high frequency signal
US10255928B2 (en) Apparatus, medium and method to encode and decode high frequency signal
KR101376098B1 (en) Method and apparatus for bandwidth extension decoding
KR20080044707A (en) Method and apparatus for encoding and decoding audio/speech signal
KR20080005325A (en) Method and apparatus for adaptive encoding/decoding
US9847095B2 (en) Method and apparatus for adaptively encoding and decoding high frequency band
KR20080025636A (en) Method and apparatus for encoding and decoding audio signal using band width extension technique
KR20120089230A (en) Apparatus for decoding a signal
KR20130012972A (en) Method of encoding audio/speech signal

Legal Events

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

Payment date: 20190227

Year of fee payment: 6