KR20150103643A - Method and apparatus for decoding high frequency for bandwidth extension - Google Patents

Method and apparatus for decoding high frequency for bandwidth extension Download PDF

Info

Publication number
KR20150103643A
KR20150103643A KR1020150029865A KR20150029865A KR20150103643A KR 20150103643 A KR20150103643 A KR 20150103643A KR 1020150029865 A KR1020150029865 A KR 1020150029865A KR 20150029865 A KR20150029865 A KR 20150029865A KR 20150103643 A KR20150103643 A KR 20150103643A
Authority
KR
South Korea
Prior art keywords
spectrum
frequency spectrum
low
frequency
excitation
Prior art date
Application number
KR1020150029865A
Other languages
Korean (ko)
Other versions
KR102386736B1 (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 KR20150103643A publication Critical patent/KR20150103643A/en
Priority to KR1020220044820A priority Critical patent/KR102491177B1/en
Application granted granted Critical
Publication of KR102386736B1 publication Critical patent/KR102386736B1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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 TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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/012Comfort noise or silence coding
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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/16Vocoder architecture
    • G10L19/167Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Spectroscopy & Molecular Physics (AREA)

Abstract

Disclosed are a method and an apparatus for decoding high frequency for bandwidth expansion. A method for decoding high frequency for bandwidth expansion comprises the steps of; decoding an excitation class; transforming a decoded low frequency spectrum based on the excitation class; and generating high frequency excitation spectrum based on the transformed low frequency spectrum.

Description

대역폭 확장을 위한 고주파 복호화 방법 및 장치{METHOD AND APPARATUS FOR DECODING HIGH FREQUENCY FOR BANDWIDTH EXTENSION}METHOD AND APPARATUS FOR DECODING HIGH FREQUENCY FOR BANDWIDTH EXTENSION BACKGROUND OF THE INVENTION [0001]

본 발명은 오디오 부호화 및 복호화에 관한 것으로서, 보다 상세하게로는 대역폭 확장을 위한 고주파 복호화 방법 및 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to audio encoding and decoding, and more particularly, to a high-frequency decoding method and apparatus for bandwidth extension.

G.719의 코딩 스킴은 텔레컨퍼런싱의 목적으로 개발 및 표준화된 것으로서, MDCT(Modified Discrete Cosine Transform)을 수행하여 주파수 도메인 변환을 수행하여, 스테이셔너리(stationary) 프레임인 경우에는 MDCT 스펙트럼을 바로 코딩한다. 넌 스테이셔너리(non-stationary) 프레임은 시간 도메인 얼라이어싱 순서(time domain aliasing order)를 변경함으로써, 시간적인 특성을 고려할 수 있도록 변경한다. 넌 스테이셔너리 프레임에 대하여 얻어진 스펙트럼은 스테이셔너리 프레임과 동일한 프레임워크로 코덱을 구성하기 위해서 인터리빙을 수행하여 스테이셔너리 프레임과 유사한 형태로 구성될 수 있다. 이와 같이 구성된 스펙트럼의 에너지를 구하여 정규화를 수행한 후 양자화를 수행하게 된다. 통상 에너지는 RMS 값으로 표현되며, 정규화된 스펙트럼은 에너지 기반의 비트 할당을 통해 밴드별로 필요한 비트를 생성하고, 밴드별 비트 할당 정보를 기반으로 양자화 및 무손실 부호화를 통해 비트스트림을 생성한다.The coding scheme of G.719 is developed and standardized for the purpose of teleconferencing. It performs frequency domain conversion by performing MDCT (Modified Discrete Cosine Transform), and directly encodes the MDCT spectrum in the case of a stationary frame do. Non-stationary frames change their time domain aliasing order to change their temporal characteristics. The spectrum obtained for the non-stationary frame can be configured in a similar form to the stationary frame by performing interleaving to construct the codec with the same framework as the stationary frame. The energy of the thus configured spectrum is obtained, and the quantization is performed after performing the normalization. The normalized energy is represented by the RMS value. The normalized spectrum generates necessary bits for each band through energy-based bit allocation, and generates a bitstream through quantization and lossless coding based on the bit allocation information for each band.

G.719의 디코딩 스킴에 따르면, 코딩 방식의 역과정으로 비트스트림에서 에너지를 역양자화하고, 역양자화된 에너지를 기반으로 비트 할당 정보를 생성하여 스펙트럼의 역양자화를 수행하여 정규화된 역양자화된 스펙트럼을 생성해 준다. 이때 비트가 부족한 경우 특정 밴드에는 역양자화한 스펙트럼이 없을 수 있다. 이러한 특정 밴드에 대하여 노이즈를 생성해 주기 위하여, 저주파 대역의 역양자화된 스펙트럼을 기반으로 노이즈 코드북을 생성하여 전송된 노이즈 레벨에 맞추어서 노이즈를 생성하는 노이즈 필링 방식이 적용된다. 한편, 특정 주파수 이상의 밴드에 대해서는 저주파 신호를 폴딩하여 고주파 신호를 생성해주는 대역폭 확장 기법이 적용된다.According to the decoding scheme of G.719, inverse quantization of energy in the bitstream is performed in the inverse process of the coding scheme, inverse quantization of spectrum is performed by generating bit allocation information based on the dequantized energy, and a normalized dequantized spectrum . At this time, if there is a shortage of bits, a specific band may not have a dequantized spectrum. In order to generate noise for this specific band, a noise filling method is applied in which a noise codebook is generated based on an inversely quantized spectrum of a low frequency band and noise is generated according to a transmitted noise level. On the other hand, a bandwidth extension technique for folding low-frequency signals and generating high-frequency signals is applied to bands over a specific frequency.

본 발명이 해결하고자 하는 과제는 복원 음질을 향상시킬 수 있는 대역폭 확장을 위한 고주파 복호화 방법 및 장치와 이를 채용하는 멀티미디어 기기를 제공하는데 있다. SUMMARY OF THE INVENTION It is an object of the present invention to provide a high-frequency decoding method and apparatus for expanding a bandwidth capable of improving restored sound quality and a multimedia device employing the same.

상기 과제를 달성하기 위한 본 발명의 일실시예에 따른 대역폭 확장을 위한 고주파 복호화 방법은 여기 클래스를 복호화하는 단계; 복호화된 저주파 스펙트럼을 상기 여기 클래스에 근거하여 변형하는 단계; 및 변형된 저주파 스펙트럼에 근거하여 고주파 여기 스펙트럼을 생성하는 단계를 포함할 수 있다. According to another aspect of the present invention, there is provided a high frequency decoding method for bandwidth extension, comprising: decoding an excitation class; Modifying the decoded low frequency spectrum based on the excitation class; And generating a high frequency excitation spectrum based on the modified low frequency spectrum.

상기 과제를 달성하기 위한 본 발명의 일실시예에 따른 대역폭 확장을 위한 고주파 복호화 장치는 여기 클래스를 복호화하고, 복호화된 저주파 스펙트럼을 상기 여기 클래스에 근거하여 변형하고, 변형된 저주파 스펙트럼에 근거하여 고주파 여기 스펙트럼을 생성하는 적어도 하나의 프로세서를 포함할 수 있다.According to an aspect of the present invention, there is provided a high frequency decoding apparatus for bandwidth extension, the apparatus comprising: an excitation class decoding unit for decoding an excitation class, modifying the decoded low frequency spectrum based on the excitation class, And at least one processor for generating an excitation spectrum.

실시예에 따른 대역폭 확장을 위한 고주파 복호화 방법 및 장치에 의하면, 복호화된 저주파 스펙트럼을 변형하여 고주파 여기 스펙트럼을 생성함으로써 복잡도의 과도한 증가없이 복원 음질을 향상시킬 수 있다.According to the high-frequency decoding method and apparatus for bandwidth extension according to the embodiments, high-frequency excitation spectra are generated by modifying the decoded low-frequency spectrum, so that the reconstructed sound quality can be improved without increasing the complexity excessively.

도 1은 일실시예에 따라 저주파 대역과 고주파 대역의 서브밴드 구성의 예를 설명하는 도면이다
도 2a 내지 도 2c는 일실시예에 따라 R0 대역과 R1 대역을 선택된 코딩 방식에 대응하여 R2와 R3, R4와 R5로 구분한 도면이다.
도 3은 일실시예에 따른 고주파 대역의 서브밴드 구성의 예를 설명하는 도면이다.
도 4는 일실시예에 따른 오디오 부호화장치의 구성을 나타낸 블럭도이다.
도 5는 일실시예에 따른 BWE 파라미터 생성부의 구성을 나타낸 블럭도이다.
도 6은 일실시예에 따른 오디오 복호화장치의 구성을 나타낸 블럭도이다.
도 7은 일실시예에 따른 고주파 복호화장치의 구성을 나타낸 블럭도이다.
도 8은 일실시예에 따른 저주파 스펙트럼 변형부의 구성을 나타낸 블럭도이다.
도 9는 다른 실시예에 따른 저주파 스펙트럼 변형부의 구성을 나타낸 블럭도이다.
도 10은 다른 실시예에 따른 저주파 스펙트럼 변형부의 구성을 나타낸 블럭도이다.
도 11은 다른 실시예에 따른 저주파 스펙트럼 변형부의 구성을 나타낸 블럭도이다.
도 12는 일실시예에 다이나믹 레인지 제어부의 구성을 나타낸 블럭도이다.
도 13은 일실시예에 따른 고주파 여기스펙트럼 생성부의 구성을 나타낸 블럭도이다.
도 14는 밴드 경계에서 가중치에 대한 스무딩 처리를 설명하기 위한 도면이다.
도 15는 일실시예에 따라 오버래핑 영역에 존재하는 스펙트럼을 재구성하기 위하여 사용되는 기여분인 가중치를 설명하는 도면이다.
도 16은 일실시예에 따른 복호화모듈을 포함하는 멀티미디어 기기의 구성을 나타낸 블록도이다.
도 17은 일실시예에 따른 부호화모듈과 복호화모듈을 포함하는 멀티미디어 기기의 구성을 나타낸 블록도이다.
도 18은 일실시예에 따른 고주파 복호화방법의 동작을 설명하기 위한 흐름도이다.
도 19는 일실시예에 따른 저주파 스펙트럼 변형방법의 동작을 설명하기 위한 흐름도이다.
1 is a view for explaining an example of a subband configuration of a low frequency band and a high frequency band according to an embodiment
FIGS. 2A to 2C are diagrams for dividing the R0 band and the R1 band into R2, R3, R4, and R5 according to a selected coding scheme according to an exemplary embodiment.
3 is a view for explaining an example of a subband configuration in a high frequency band according to an embodiment.
4 is a block diagram illustrating a configuration of an audio encoding apparatus according to an embodiment.
5 is a block diagram illustrating a configuration of a BWE parameter generation unit according to an embodiment.
6 is a block diagram illustrating a configuration of an audio decoding apparatus according to an embodiment of the present invention.
7 is a block diagram showing a configuration of a high-frequency decoding apparatus according to an embodiment.
8 is a block diagram illustrating the configuration of a low-frequency spectrum transform unit according to an embodiment.
9 is a block diagram showing the configuration of a low-frequency spectrum transform unit according to another embodiment.
10 is a block diagram showing the configuration of a low-frequency spectrum transform unit according to another embodiment.
11 is a block diagram showing the configuration of a low-frequency spectrum transform unit according to another embodiment.
12 is a block diagram showing a configuration of a dynamic range control unit according to an embodiment.
13 is a block diagram showing a configuration of a high frequency excitation spectrum generation unit according to an embodiment.
FIG. 14 is a diagram for explaining smoothing processing on a weight at a band boundary; FIG.
FIG. 15 is a view for explaining a weight, which is a contribution used for reconstructing a spectrum existing in an overlapping region according to an embodiment.
16 is a block diagram illustrating a configuration of a multimedia device including a decoding module according to an embodiment.
17 is a block diagram illustrating a multimedia device including a coding module and a decoding module according to an embodiment.
18 is a flowchart for explaining the operation of the high-frequency decoding method according to an embodiment.
19 is a flowchart for explaining the operation of the low frequency spectrum transform method according to an embodiment.

본 발명은 다양한 변환을 가할 수 있고 여러가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 구체적으로 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 기술적 사상 및 기술 범위에 포함되는 모든 변환, 균등물 내지 대체물을 포함하는 것으로 이해될 수 있다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.BRIEF DESCRIPTION OF THE DRAWINGS The present invention is capable of various modifications and various embodiments, and specific embodiments are illustrated in the drawings and are specifically described in the detailed description. It should be understood, however, that the present invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 구성요소들이 용어들에 의해 한정되는 것은 아니다. 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. The terms first, second, etc. may be used to describe various components, but the components are not limited by terms. Terms are used only for the purpose of distinguishing one component from another.

본 발명에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 본 발명에서 사용한 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나 이는 당 분야에 종사하는 기술자의 의도, 판례, 또는 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. Also, in certain cases, there may be a term selected arbitrarily by the applicant, in which case the meaning thereof will be described in detail in the description of the corresponding invention. Therefore, the term used in the present invention should be defined based on the meaning of the term, not on the name of a simple term, but on the entire contents of the present invention.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 발명에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present invention, the term "comprises" or "having ", etc. is intended to specify that there is a feature, number, step, operation, element, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

이하, 본 발명의 실시예들을 첨부 도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 동일하거나 대응하는 구성요소는 동일한 도면번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Referring to the accompanying drawings, the same or corresponding components are denoted by the same reference numerals, do.

도 1은 일실시예에 따라 저주파 대역과 고주파 대역의 서브밴드 구성의 예를 설명하는 도면이다. 실시예에 따르면, 샘플링 레이트는 32kHz이고, 640개의 MDCT 스펙트럼 계수를 22개의 밴드로 구성하며, 구체적으로 저주파 대역에 대하여 17개의 밴드, 고주파 대역에 대하여 5개의 밴드로 구성될 수 있다. 예를 들면, 고주파 대역의 시작 주파수는 241번째 스펙트럼 계수이며, 0~240까지의 스펙트럼 계수는 저주파 코딩 방식 즉, 코어 코딩 방식으로 코딩되는 영역으로서 R0로 정의할 수 있다. 또한, 241~639까지의 스펙트럼 계수는 대역폭확장(BWE)가 수행되는 고주파 대역으로서 R1으로 정의할 수 있다. 한편, R1 영역에는 비트 할당 정보에 따라서 저주파 코딩 방식으로 코딩되는 밴드도 존재할 수 있다.1 is a view for explaining an example of a subband configuration of a low frequency band and a high frequency band according to an embodiment. According to the embodiment, the sampling rate is 32 kHz, and the 640 MDCT spectrum coefficients are composed of 22 bands. Specifically, the MDCT spectrum coefficient is composed of 17 bands for the low frequency band and 5 bands for the high frequency band. For example, the starting frequency of the high frequency band is the 241st spectral coefficient, and the spectral coefficient from 0 to 240 is the low frequency coding method, that is, the area coded by the core coding method, and can be defined as R0. In addition, the spectral coefficients from 241 to 639 can be defined as R1 as a high frequency band in which bandwidth extension (BWE) is performed. On the other hand, a band coded by a low-frequency coding scheme may exist in the R1 region according to the bit allocation information.

도 2a 내지 도 2c는 도 1의 R0 영역과 R1 영역을 선택된 코딩 방식에 따라 R2, R3, R4, R5로 구분한 도면이다. 먼저, BWE 영역인 R1 영역은 R2와 R3로, 저주파 코딩 영역인 R0 영역은 R4와 R5로 구분될 수 있다. R2는 저주파 코딩 방식, 예를 들면 주파수 도메인 코딩 방식으로 양자화 및 무손실 부호화되는 신호를 포함하고 있는 밴드를 나타내고, R3는 저주파 코딩 방식으로 코딩되는 신호가 없는 밴드를 나타낸다. 한편, R2가 비트가 할당되어 저주파 코딩 방식으로 코딩되는 것으로 결정되더라도 비트가 부족한 경우 R3에서와 동일한 방식으로 밴드가 생성될 수 있다. R5는 비트가 할당되어 저주파 코딩 방식으로 코딩이 수행되는 밴드를 나타내고, R4는 비트 여유분이 없어 저주파 신호임에도 코딩이 안되거나 비트가 적게 할당되어 노이즈를 부가해야 하는 밴드를 나타낸다. 따라서, R4와 R5의 구분은 노이즈 부가 여부에 의해서 판단될 수 있으며, 이는 저주파 코딩된 밴드내 스펙트럼 개수의 비율로 결정될 수 있으며, 또는 FPC를 사용한 경우에는 밴드내 펄스 할당 정보에 근거하여 결정할 수 있다. R4와 R5 밴드는 복호화 과정에서 노이즈를 부가할 때 구분될 수 있기 때문에, 부호화 과정에서는 명확히 구분이 안될 수 있다. R2~R5 밴드는 부호화되는 정보가 서로 다를 뿐 아니라, 디코딩 방식이 다르게 적용될 수 있다.FIGS. 2A to 2C are diagrams for dividing the R0 region and the R1 region of FIG. 1 into R2, R3, R4, and R5 according to a selected coding scheme. First, the BWE region R1 region can be divided into R2 and R3, and the low frequency coding region R0 region can be divided into R4 and R5 regions. R2 denotes a band including a signal subjected to quantization and lossless coding in a low-frequency coding scheme, for example, a frequency domain coding scheme, and R3 denotes a band having no signal coded in a low-frequency coding scheme. On the other hand, even if it is determined that R2 is allocated and coded in the low-frequency coding scheme, bands can be generated in the same manner as in R3 if the bits are insufficient. R5 denotes a band to which a bit is assigned and coding is performed by a low-frequency coding scheme, and R4 denotes a band to which noise is added because coding is not performed or bits are allocated even though the signal is a low frequency signal because there is no bit redundancy. Therefore, the distinction between R4 and R5 can be determined by the addition of noise, which can be determined by the ratio of the number of spectrums in the low-frequency coded band, or in the case of using FPC, based on the in-band pulse allocation information . Since the R4 and R5 bands can be distinguished when adding noise in the decoding process, they may not be clearly distinguished in the encoding process. The R2 to R5 bands are not only different in information to be encoded, but can be applied to different decoding schemes.

도 2a에 도시된 예의 경우 저주파 코딩 영역(R0) 중 170-240까지의 2개 밴드가 노이즈를 부가하는 R4이고, BWE 영역(R1) 중 241-350까지의 2개 밴드 및 427-639까지의 2개 밴드가 저주파 코딩 방식으로 코딩되는 R2이다. 도 2b에 도시된 예의 경우 저주파 코딩 영역(R0) 중 202-240까지의 1개 밴드가 노이즈를 부가하는 R4이고, BWE 영역(R1) 중 241-639까지의 5개 밴드 모두가 저주파 코딩 방식으로 코딩되는 R2이다. 도 2c에 도시된 예의 경우 저주파 코딩 영역(R0) 중 144-240까지의 3개 밴드가 노이즈를 부가하는 R4이고, BWE 영역(R1) 중 R2는 존재하지 않는다. 저주파 코딩 영역(R0)에서 R4는 통상 고주파 부분에 분포될 수 있으나, BWE 영역(R1)에서 R2는 특정 주파수 부분에 제한되지 않는다. In the example shown in FIG. 2A, the two bands from 170 to 240 of the low-frequency coding region R0 are R4 to which noise is added, and the two bands from 241 to 350 in the BWE region R1, And the two bands are R2 encoded in a low-frequency coding scheme. In the example shown in FIG. 2B, one band from 202 to 240 of the low-frequency coding region R0 is R4 to which noise is added, and all five bands from 241 to 639 in the BWE region R1 are low- Lt; / RTI > In the example shown in Fig. 2C, the three bands from 144 to 240 among the low-frequency coding areas R0 are R4 to which noise is added, and R2 in the BWE area R1 does not exist. In the low-frequency coding region R0, R4 may be normally distributed in the high-frequency portion, but R2 in the BWE region R1 is not limited to a specific frequency portion.

도 3은 도 3은 일실시예에 따른 광대역(WB)의 고주파 대역의 서브밴드 구성의 예를 설명하는 도면이다. 여기서, 32KHz 샘플링 레이트는 32kHz이고, 640개의 MDCT 스펙트럼 계수를 중 고주파 대역에 대하여 14개의 밴드로 구성될 수 있다. 100 Hz 에는 4개의 스펙트럼 계수가 포함되며, 따라서 400 Hz인 첫번째 밴드에는 16개의 스펙트럼 계수가 포함될 수 있다. 참조부호 310은 6.4 ~ 14.4 KHz의 고주파 대역, 참조부호 330은 8.0 ~ 16.0 KHz의 고주파 대역에 대한 서브밴드 구성을 각각 나타낸다.FIG. 3 is a view for explaining an example of a subband configuration of a high frequency band of a wide band (WB) according to an embodiment. Here, the 32 KHz sampling rate is 32 kHz, and 640 MDCT spectral coefficients can be composed of 14 bands for the medium-to-high frequency band. 100 Hz includes four spectral coefficients, so the first band of 400 Hz can include 16 spectral coefficients. Reference numeral 310 denotes a high frequency band of 6.4 to 14.4 KHz, and reference numeral 330 denotes a sub band configuration of a high frequency band of 8.0 to 16.0 KHz.

도 4는 일실시예에 따른 오디오 부호화장치의 구성을 나타낸 블럭도이다.4 is a block diagram illustrating a configuration of an audio encoding apparatus according to an embodiment.

도 4에 도시된 오디오 부호화장치는 BWE 파라미터 생성부(410), 저주파 부호화부(430), 고주파 부호화부(450) 및 다중화부(470)를 포함할 수 있다. 각 구성요소는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서(미도시)로 구현될 수 있다. 여기서, 입력신호는 음악 혹은 음성, 혹은 음악과 음성의 혼합신호를 의미할 수 있으며, 크게 음성신호와 다른 일반적인 신호로 나눌 수도 있다. 이하에서는 설명의 편의를 위하여 오디오 신호로 통칭하기로 한다.4 may include a BWE parameter generation unit 410, a low-frequency encoding unit 430, a high-frequency encoding unit 450, and a multiplexing unit 470. Each component may be integrated with at least one module and implemented with at least one processor (not shown). Here, the input signal may be a music signal, a voice signal, or a mixed signal of music and voice, and may be divided into a general signal different from a voice signal. Hereinafter, they will be collectively referred to as audio signals for convenience of explanation.

도 4를 참조하면, BWE 파라미터 생성부(410)는 대역폭 확장을 위한 BWE 파라미터를 생성할 수 있다. 여기서, BWE 파라미터는 여기 클래스(excitation class)에 해당할 수 있다. 한편, 구현방식에 따라서, BWE 파라미터는 여기 클래스와 다른 파라미터를 포함할 수 있다. BWE 파라미터 생성부(410)는 프레임 단위로 신호 특성에 근거하여 여기 클래스를 생성할 수 있다. 구체적으로, 입력신호가 음성 특성을 갖는지 토널 특성을 갖는지를 판단하고, 판단 결과에 근거하여 복수의 여기 클래스 중에서 하나를 결정할 수 있다. 복수의 여기 클래스는 음성과 관련된 여기 클래스, 토널 뮤직과 관련된 여기 클래스와 넌-토널 뮤직과 관련된 여기 클래스를 포함할 수 있다. 결정된 여기 클래스는 비트스트림에 포함되어 전송될 수 있다. Referring to FIG. 4, the BWE parameter generator 410 may generate a BWE parameter for bandwidth extension. Here, the BWE parameter may correspond to an excitation class. On the other hand, depending on the implementation, the BWE parameter may include parameters different from the excitation class. The BWE parameter generation unit 410 can generate an excitation class based on the signal characteristics on a frame-by-frame basis. Specifically, it can be determined whether the input signal has a voice characteristic or a tonal characteristic, and one of a plurality of excitation classes can be determined based on the determination result. The plurality of excitation classes may include excitation classes associated with speech, excitation classes associated with tonal music, and excitation classes associated with non-tonal music. The determined excitation class can be included in the bitstream and transmitted.

저주파 부호화부(430)는 저대역 신호에 대하여 부호화를 수행하여 부호화된 스펙트럼 계수를 생성할 수 있다. 또한, 저주파 부호화부(430)는 저대역 신호의 에너지와 관련된 정보를 부호화할 수 있다. 실시예에 따르면, 저주파 부호화부(430)는 저대역 신호를 주파수 도메인으로 변환하여 저주파 스펙트럼을 생성하고, 저주파 스펙트럼에 대하여 양자화하여 양자화된 스펙트럼 계수를 생성할 수 있다. 도메인 변환을 위하여 MDCT(Modified Discrete Cosine Transform)를 사용할 수 있으나 이에 한정되는 것은 아니다. 양자화를 위하여 PVQ(Pyramid Vector Quantization)를 사용할 수 있으나 이에 한정되는 것은 아니다.The low-frequency encoding unit 430 may encode a low-band signal to generate an encoded spectral coefficient. In addition, the low-frequency encoding unit 430 can encode information related to the energy of the low-band signal. According to the embodiment, the low-frequency encoding unit 430 may convert a low-band signal into a frequency domain to generate a low-frequency spectrum, and quantize the low-frequency spectrum to generate a quantized spectral coefficient. Modified Discrete Cosine Transform (MDCT) may be used for domain conversion, but the present invention is not limited thereto. For quantization, PVQ (Pyramid Vector Quantization) may be used but is not limited thereto.

고주파 부호화부(450)는 고대역 신호에 대하여 부호화를 수행하여 디코더단에서의 대역폭 확장에 필요한 파라미터 혹은 비트할당에 필요한 파라미터를 생성할 수 있다. 대역폭 확장에 필요한 파라미터는 고대역 신호의 에너지와 관련된 정보와 부가정보를 포함할 수 있다. 여기서, 에너지는 엔벨로프, 스케일 팩터, 평균 전력 혹은 Norm 으로 표현될 수 있다. 부가정보는 고대역에서 중요한 주파수 성분을 포함하는 밴드에 대한 정보로서, 특정 고주파 밴드에 포함된 주파수 성분과 관련된 정보일 수 있다. 고주파 부호화부(450)는 고대역신호를 주파수 도메인으로 변환하여 고주파 스펙트럼을 생성하고, 고주파 스펙트럼의 에너지와 관련된 정보를 양자화할 수 있다. 도메인 변환을 위하여 MDCT를 사용할 수 있으나 이에 한정되는 것은 아니다. 양자화를 위하여 벡터 양자화를 사용할 수 있으나 이에 한정되는 것은 아니다.The high-frequency encoding unit 450 may encode a high-band signal to generate a parameter necessary for bandwidth extension at a decoder end or a parameter necessary for bit allocation. The parameters needed for bandwidth extension may include information related to the energy of the highband signal and additional information. Here, the energy can be expressed by an envelope, a scale factor, an average power or Norm. The additional information may be information on bands including important frequency components in a high band, and information related to frequency components included in a specific high frequency band. The high-frequency encoding unit 450 converts a high-band signal into a frequency domain to generate a high-frequency spectrum, and quantizes information related to energy of the high-frequency spectrum. MDCT can be used for domain conversion but is not limited thereto. Vector quantization may be used for quantization, but is not limited thereto.

다중화부(470)는 BWE 파라미터 즉, 여기 클래스, 대역폭 확장에 필요한 파라미터 혹은 비트할당에 필요한 파라미터 및 저대역의 부호화된 스펙트럼 계수를 포함하여 비트스트림을 생성할 수 있다. 비트스트림은 전송되거나 저장될 수 있다.The multiplexer 470 may generate a bitstream including a BWE parameter, i.e., an excitation class, a parameter required for bandwidth extension, a parameter required for bit allocation, and a low-band encoded spectral coefficient. The bitstream may be transmitted or stored.

주파수 도메인의 BWE 방식은 시간 도메인 코딩 파트와 결합되어 적용될 수 있다. 시간 도메인 코딩에는 주로 CELP 방식이 사용될 수 있으며, CELP 방식으로 저대역을 코딩하고, 주파수 도메인에서의 BWE가 아닌 시간 도메인에서의 BWE 방식과 결합되도록 구현될 수 있다. 이러한 경우, 전체적으로 시간 도메인 코딩과 주파수 도메인 코딩간의 적응적 코딩 방식 결정에 기반하여 코딩 방식을 선택적으로 적용할 수 있게 된다. 적절한 코딩 방식을 선택하기 위해서 신호분류를 필요로 하며, 일실시예에 따르면 신호 분류 결과를 우선적으로 이용하여 프레임별 여기 클래스를 결정할 수 있다.The BWE scheme of the frequency domain can be applied in combination with the time domain coding part. The CELP scheme can be mainly used for the time domain coding, and the low frequency band can be coded by the CELP scheme and combined with the BWE scheme in the time domain instead of the BWE in the frequency domain. In this case, the coding scheme can be selectively applied based on the determination of the adaptive coding scheme between the time domain coding and the frequency domain coding as a whole. In order to select an appropriate coding scheme, a signal classification is required. According to an exemplary embodiment, the signal classification result may be preferentially used to determine an excitation class for each frame.

도 5는 일실시예에 따른 BWE 파라미터 생성부(도 4의 410)의 구성을 나타낸 블럭도로서, 신호분류부(510) 및 여기 클래스 생성부(530)를 포함할 수 있다.FIG. 5 is a block diagram illustrating a configuration of a BWE parameter generator 410 (FIG. 4) according to an exemplary embodiment, and may include a signal classifier 510 and an excursion class generator 530.

도 5를 참조하면, 신호분류부(510)는 신호특성을 프레임 단위로 분석하여 현재 프레임이 음성신호인지 여부를 분류하고, 분류결과에 따라서 여기 클래스를 결정할 수 있다. 신호분류 처리는 공지된 다양한 방법, 예를 들어 단구간 특성 및/또는 장구간 특성을 이용하여 수행될 수 있다. 단구간 특성 및/또는 장구간 특성은 주파수 도메인 특성 혹은 시간 도메인 특성일 수 있다. 현재 프레임이 시간 도메인 코딩이 적절한 방식인 음성신호로 분류되는 경우, 고대역 신호의 특성에 기반한 방식보다, 고정된 형태의 여기 클래스를 할당하는 방식이 음질 향상에 도움이 될 수 있다. 여기서, 신호분류 처리는 이전 프레임의 분류 결과를 고려하지 않고 현재 프레임에 대하여 수행될 수 있다. 즉, 비록 현재 프레임이 행 오버를 고려하여 최종적으로는 주파수 도메인 코딩으로 결정될 수 있지만, 현재 프레임 자체가 시간 도메인 코딩이 적절한 방식이라고 분류된 경우에는 고정된 여기 클래스를 할당할 수 있다. 예를 들어, 현재 프레임이 시간 도메인 코딩이 적절할 음성신호로 분류되는 경우 여기 클래스는 음성 특성과 관련된 제1 여기 클래스로 설정될 수 있다.Referring to FIG. 5, the signal classifier 510 classifies whether the current frame is a speech signal by analyzing the signal characteristics on a frame-by-frame basis, and determines an excursion class according to the classification result. The signal classification processing can be performed using various known methods, for example, short-term characteristic and / or long-term characteristic. The short term characteristic and / or the long term characteristic may be a frequency domain characteristic or a time domain characteristic. In the case where the current frame is classified into a voice signal in which the time domain coding is an appropriate method, a method of allocating a fixed type excitation class rather than a method based on characteristics of a high-band signal may be helpful for improving sound quality. Here, the signal classification processing can be performed on the current frame without considering the classification result of the previous frame. That is, although the current frame may be finally determined as frequency domain coding considering the hangover, a fixed excursion class may be allocated when the current frame itself is classified as a proper time domain coding. For example, if the current frame is classified as a speech signal for which time domain coding is appropriate, the excitation class may be set to a first excitation class associated with the speech characteristic.

여기클래스 생성부(530)는 신호분류부(510)의 분류 결과 현재 프레임이 음성신호로 분류되지 않은 경우, 적어도 하나 이상의 문턱치를 이용하여 여기 클래스를 결정할 수 있다. 실시예에 따르면, 여기클래스 생성부(530)는 신호분류부(510)의 분류 결과 현재 프레임이 음성신호로 분류되지 않은 경우, 고대역의 토널러티 값을 산출하고, 토널러티 값을 문턱치와 비교하여 여기 클래스를 결정할 수 있다. 여기 클래스의 개수에 따라서 복수개의 문턱치가 사용될 수 있다. 하나의 문턱치가 사용되는 경우, 토널러티 값이 문턱치보다 큰 경우 토널 뮤직신호로, 토널러티 값이 문턱치보다 작은 경우 넌-토널 뮤직신호, 예를 들면 노이지 신호로 분류할 수 있다. 현재 프레임이 토널 뮤직신호로 분류되는 경우, 여기 클래스는 토널 특성과 관련된 제2 여기 클래스, 노이지 신호로 분류되는 경우 넌-토널특성과 관된 제3 여기 클래스로 결정될 수 있다. If the current frame is not classified as a speech signal as a result of classification by the signal classifying unit 510, the class generating unit 530 may determine the excitation class using at least one threshold value. According to the embodiment, when the current frame is not classified as a speech signal as a result of classification by the signal classifying unit 510, the excursion class generating unit 530 calculates a high-bandwidth threshold value and outputs the threshold value as a threshold The class can be determined. A plurality of threshold values may be used depending on the number of classes. When one threshold value is used, it can be classified into a tonal music signal when the tonality value is larger than the threshold value and a non-tonal music signal, for example, a noisy signal when the tonality value is smaller than the threshold value. If the current frame is classified as a tonal music signal, the excitation class may be determined to be a second excitation class related to the tonal characteristics, or a third excitation class related to the non-tonal characteristics if it is classified as the noisy signal.

도 6은 일실시예에 따른 오디오 복호화장치의 구성을 나타낸 블럭도이다.6 is a block diagram illustrating a configuration of an audio decoding apparatus according to an embodiment of the present invention.

도 6에 도시된 오디오 복호화장치는 역다중화부(610), BWE 파라미터 복호화부(630), 저주파 복호화부(650) 및 고주파 복호화부(670)를 포함할 수 있다. 도시되지 않았으나, 오디오 복호화장치는 스펙트럼 결합부와 역변환부를 더 포함할 수 있다. 각 구성요소는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서(미도시)로 구현될 수 있다. 여기서, 입력신호는 음악 혹은 음성, 혹은 음악과 음성의 혼합신호를 의미할 수 있으며, 크게 음성신호와 다른 일반적인 신호로 나눌 수도 있다. 이하에서는 설명의 편의를 위하여 오디오 신호로 통칭하기로 한다. 6 may include a demultiplexing unit 610, a BWE parameter decoding unit 630, a low-frequency decoding unit 650, and a high-frequency decoding unit 670. Although not shown, the audio decoding apparatus may further include a spectrum combining unit and an inverse transforming unit. Each component may be integrated with at least one module and implemented with at least one processor (not shown). Here, the input signal may be a music signal, a voice signal, or a mixed signal of music and voice, and may be divided into a general signal different from a voice signal. Hereinafter, they will be collectively referred to as audio signals for convenience of explanation.

도 6을 참조하면, 역다중화부(610)는 수신되는 비트스트림을 파싱하여 복호화에 필요한 파라미터를 생성할 수 있다.Referring to FIG. 6, the demultiplexer 610 may parse a received bitstream to generate parameters necessary for decoding.

BWE 파라미터 복호화부(630)는 비트스트림으로부터 BWE 파라미터를 복호화할 수 있다. BWE 파라미터는 여기 클래스에 해당할 수 있다. 한편, BWE 파라미터는 여기 클래스와 다른 파라미터를 포함할 수 있다. The BWE parameter decoding unit 630 can decode the BWE parameter from the bitstream. The BWE parameter may correspond to the class here. On the other hand, the BWE parameter may include parameters different from the excitation class.

저주파 복호화부(650)는 비트스트림으로부터 저대역의 부호화된 스펙트럼 계수를 복호화하여 저주파 스펙트럼을 생성할 수 있다. 한편, 저주파 복호화부(650)는 저대역 신호의 에너지와 관련된 정보를 복호화할 수 있다.The low-frequency decoding unit 650 can generate a low-frequency spectrum by decoding low-band encoded spectral coefficients from the bitstream. Meanwhile, the low-frequency decoding unit 650 can decode information related to the energy of the low-band signal.

고주파 복호화부(670)는 복호화된 저주파 스펙트럼과 여기 클래스를 이용하여 고주파 여기 스펙트럼을 생성할 수 있다. 다른 실시예에 따르면, 고주파 복호화부(670)는 비트스트림으로부터 대역폭 확장에 필요한 파라미터 혹은 비트할당에 필요한 파라미터를 복호화하고, 대역폭 확장에 필요한 파라미터 혹은 비트할당에 필요한 파라미터와 복호화된 저대역 신호의 에너지와 관련된 정보를 고주파 여기 스펙트럼에 적용할 수 있다.The high-frequency decoding unit 670 can generate a high-frequency excitation spectrum using the decoded low-frequency spectrum and the excitation class. According to another embodiment, the high-frequency decoding unit 670 decodes parameters necessary for bandwidth extension or parameters required for bit allocation from the bitstream, and generates parameters necessary for bandwidth extension or parameters required for bit allocation and energy of decoded low- Can be applied to the high frequency excitation spectrum.

대역폭 확장에 필요한 파라미터는 고대역 신호의 에너지와 관련된 정보와 부가정보를 포함할 수 있다. 부가정보는 고대역에서 중요한 주파수 성분을 포함하는 밴드에 대한 정보로서, 특정 고주파 밴드에 포함된 주파수 성분과 관련된 정보일 수 있다. 고대역 신호의 에너지와 관련된 정보는 벡터 역양자화될 수 있다.The parameters needed for bandwidth extension may include information related to the energy of the highband signal and additional information. The additional information may be information on bands including important frequency components in a high band, and information related to frequency components included in a specific high frequency band. Information related to the energy of the highband signal can be vector dequantized.

스펙트럼 결합부(미도시)는 저주파 복호화부(650)로부터 제공되는 스펙트럼과 고주파 복호화부(670)로부터 제공되는 스펙트럼을 결합할 수 있다. 역변환부(미도시)는 결합된 스펙트럼을 시간 도메인으로 역변환할 수 있다. 도메인 역변환을 위하여 IMDCT(Inverse MDCT)를 사용할 수 있으나 이에 한정되는 것은 아니다. The spectrum combining unit (not shown) may combine the spectrum provided from the low-frequency decoding unit 650 with the spectrum provided from the high-frequency decoding unit 670. The inverse transformer (not shown) can invert the combined spectrum into the time domain. IMDCT (Inverse MDCT) may be used for inverse domain conversion, but is not limited thereto.

도 7은 일실시예에 따른 고주파 복호화장치의 구성을 나타낸 블록도로서, 도 6의 고주파 복호화부(670)에 대응되거나 별도의 장치로 구현될 수 있다. 도 7의 고주파 복호화장치는 저주파 스펙트럼 변형부(710) 및 고주파 여기스펙트럼 생성부(730)를 포함할 수 있다. 여기서 도시되지 않았으나, 복호화된 저주파 스펙트럼을 수신하는 수신부를 더 포함할 수 있다.FIG. 7 is a block diagram illustrating a configuration of a high-frequency decoding apparatus according to an embodiment, and may be implemented by a high-frequency decoding unit 670 of FIG. 6 or a separate apparatus. The high-frequency decoding apparatus of FIG. 7 may include a low-frequency spectrum deformation unit 710 and a high-frequency excitation spectrum generation unit 730. Although not shown here, it may further include a receiver for receiving the decoded low-frequency spectrum.

도 7을 참조하면, 저주파 스펙트럼 변형부(710)는 복호화된 저주파 스펙트럼을 여기 클래스에 근거하여 변형(modify)할 수 있다. 일실시예에 따르면 복호화된 저주파 스펙트럼은 노이즈 필링 처리된 스펙트럼일 수 있다. 다른 실시예에 따르면 복호화된 저주파 스펙트럼은 노이즈 필링 처리된 이후, 제로로 남아 있는 부분에 재차 랜덤 부호와 일정한 크기의 진폭을 갖는 계수를 삽입하는 안티 스파스니스(anti-sparseness) 처리된 스펙트럼일 수 있다.Referring to FIG. 7, the low-frequency spectrum transformer 710 may modify the decoded low-frequency spectrum based on the excitation class. According to one embodiment, the decoded low frequency spectrum may be a noise-filled processed spectrum. According to another embodiment, the decoded low-frequency spectrum may be an anti-sparseness spectrum that inserts a random code and a coefficient with a certain amplitude again at the remaining portion after noise- have.

고주파 여기스펙트럼 생성부(730)는 변형된 저주파 스펙트럼으로부터 고주파 여기스펙트럼을 생성할 수 있다. 추가적으로, 생성된 고주파 여기스펙트럼의 에너지가 역양자화된 에너지에 매칭되도록 생성된 고주파 여기스펙트럼의 에너지에 게인을 적용할 수 있다. The high frequency excitation spectrum generation unit 730 can generate a high frequency excitation spectrum from the modified low frequency spectrum. Additionally, the gain can be applied to the energy of the high frequency excitation spectrum generated so that the energy of the generated high frequency excitation spectrum is matched to the inversely quantized energy.

도 8은 일실시예에 따른 저주파 스펙트럼 변형부(도 7의 710)의 구성을 나타낸 블록도로서, 연산부(810)를 포함할 수 있다.8 is a block diagram illustrating a configuration of a low-frequency spectrum transform unit (710 in FIG. 7) according to an embodiment, and may include an operation unit 810. FIG.

도 8을 참조하면, 연산부(810)는 복호화된 저주파 스펙트럼에 대하여 여기클래스에 근거하여 소정의 연산처리를 수행하여 변형된 저주파 스펙트럼을 생성할 수 있다. 여기서, 복호화된 저주파 스펙트럼은 노이즈 필링 처리된 스펙트럼, 안티 스파스니스 처리된 스펙트럼 혹은 노이즈가 부가되지 않은 역양자화된 저주파 스펙트럼에 해당될 수 있다. 소정의 연산처리는 여기클래스에 따라서 가중치를 결정하고, 복호화된 저주파 스펙트럼과 랜덤 노이즈를 결정된 가중치에 근거하여 혼합하는 처리를 의미할 수 있다. 소정의 연산처리는 승산처리와 가산처리를 포함할 수 있다. 랜덤 노이즈는 공지된 다양한 방식으로 생성될 수 있으며, 일예를 들면 랜덤 씨드(Random seed)를 이용하여 생성될 수 있다. 한편, 연산부(810)는 소정의 연산처리에 앞서 화이트닝된 저주파 스펙트럼과 랜덤 노이즈의 레벨을 유사한 수준으로 매칭시키는 처리를 더 포함할 수 있다.Referring to FIG. 8, the operation unit 810 may perform a predetermined operation process on the decoded low-frequency spectrum based on the excitation class to generate a modified low-frequency spectrum. Here, the decoded low-frequency spectrum may correspond to a noise-filtered processed spectrum, an anti-sparseness processed spectrum, or an inverse-quantized low-frequency spectrum to which no noise is added. The predetermined arithmetic processing may mean a process of determining weights according to the excitation class and mixing the decoded low-frequency spectrum and the random noise based on the determined weights. The predetermined calculation process may include a multiplication process and an addition process. The random noise may be generated in various known ways, for example, using a random seed. On the other hand, the operation unit 810 may further include a process of matching the level of the whitened low-frequency spectrum and the random noise to a similar level prior to the predetermined operation processing.

도 9는 다른 실시예에 따른 저주파 스펙트럼 변형부(도 7의 710)의 구성을 나타낸 블럭도 로서, 화이트닝부(910), 연산부(930) 및 레벨 조정부(950)를 포함할 수 있다. 여기서, 레벨 조정부(950)는 옵션으로 구비될 수 있다. 9 is a block diagram showing a configuration of a low-frequency spectrum transformer (710 in FIG. 7) according to another embodiment, and may include a whitening unit 910, an arithmetic unit 930, and a level adjusting unit 950. Here, the level adjusting unit 950 may be optionally provided.

도 9를 참조하면, 화이트닝부(910)는 복호화된 저주파 스펙트럼에 대하여 화이트닝을 수행할 수 있다. 여기서, 복호화된 저주파 스펙트럼에 제로로 남아 있는 부분은 노이즈 필링 처리 혹은 안티 스파스니스 처리에 의해 노이즈가 부가될 수 있다. 노이즈 부가는 서브밴드 단위로 선택적으로 수행될 수 있다. 화이트닝 처리는 저주파 스펙트럼의 엔벨로프 정보에 근거하여 정규화를 수행하는 것으로서, 공지된 다양한 방식을 적용할 수 있다. 구체적으로, 정규화 처리는 저주파 스펙트럼으로부터 엔벨로프를 산출하고, 저주파 스펙트럼을 엔벨로프로 나누는 것에 해당될 수 있다. 화이트닝 처리는 스펙트럼의 형태는 플랫하지만, 내부 주파수의 미세 구조(fine structure)는 유지되도록 수행될 수 있다. 한편, 정규화 처리를 위한 윈도우 사이즈는 신호 특성에 따라서 결정될 수 있다.Referring to FIG. 9, the whitening unit 910 may perform whitening on the decoded low frequency spectrum. Here, noise remaining in the decoded low frequency spectrum may be added by noise filling processing or anti-sparseness processing. The noise addition may be selectively performed on a subband basis. The whitening process performs normalization based on the envelope information of the low frequency spectrum, and various known methods can be applied. Specifically, the normalization process may correspond to calculating the envelope from the low frequency spectrum and dividing the low frequency spectrum by the envelope. The whitening process can be performed so that the shape of the spectrum is flat, but the fine structure of the internal frequency is maintained. On the other hand, the window size for the normalization process can be determined according to the signal characteristics.

연산부(930)는 화이트닝된 저주파 스펙트럼에 대하여 여기클래스에 근거하여 소정의 연산처리를 수행하여 변형된 저주파 스펙트럼을 생성할 수 있다. 소정의 연산처리는 여기클래스에 따라서 가중치를 결정하고, 화이트닝된 저주파 스펙트럼과 랜덤 노이즈를 결정된 가중치에 근거하여 혼합하는 처리를 의미할 수 있다. 연산부(930)는 도 8의 연산부(810)와 동일하게 동작할 수 있다.The operation unit 930 can perform a predetermined operation process on the whitened low frequency spectrum based on the excitation class to generate the modified low frequency spectrum. The predetermined arithmetic processing may mean a process of determining a weight according to the excitation class and mixing the whitened low-frequency spectrum and the random noise based on the determined weight. The operation unit 930 can operate in the same manner as the operation unit 810 of FIG.

도 10은 다른 실시예에 따른 저주파 스펙트럼 변형부(도 7의 710)의 구성을 나타낸 블럭도 로서, 다이나믹 레인지 제어부(1010)를 포함할 수 있다.10 is a block diagram showing the configuration of a low-frequency spectrum transformer (710 in FIG. 7) according to another embodiment, and may include a dynamic range controller 1010. FIG.

도 10을 참조하면, 다이나믹 레인지 제어부(1010)는 복호화된 저주파 스펙트럼의 다이나믹 레인지를 여기 클래스에 근거하여 제어하여 변형된 저주파 스펙트럼을 생성할 수 있다. 여기서, 다이나믹 레인지를 스펙트럼 진폭을 의미할 수 있다.Referring to FIG. 10, the dynamic range controller 1010 can generate a modified low-frequency spectrum by controlling the dynamic range of the decoded low-frequency spectrum based on the excitation class. Here, the dynamic range may mean a spectrum amplitude.

도 11은 다른 실시예에 따른 저주파 스펙트럼 변형부(도 7의 710)의 구성을 나타낸 블럭도로서, 화이트닝부(1110) 및 다이나믹 레인지 제어부(1130)를 포함할 수 있다. 11 is a block diagram showing the configuration of a low-frequency spectrum transformer (710 in FIG. 7) according to another embodiment, and may include a whitening unit 1110 and a dynamic range controller 1130.

도 11을 참조하면, 화이트닝부(1110)는 도 9의 화이트닝부(910)와 동일하게 동작할 수 있다. 즉, 화이트닝부(1110)는 복호화된 저주파 스펙트럼에 대하여 화이트닝을 수행할 수 있다. 여기서, 복호화된 저주파 스펙트럼에 제로로 남아 있는 부분은 노이즈 필링 처리 혹은 안티 스파스니스 처리에 의해 노이즈가 부가될 수 있다. 노이즈 부가는 서브밴드 단위로 선택적으로 수행될 수 있다. 화이트닝 처리는 저주파 스펙트럼의 엔벨로프 정보에 근거하여 정규화를 수행하는 것으로서, 공지된 다양한 방식을 적용할 수 있다. 구체적으로, 정규화 처리는 저주파 스펙트럼으로부터 엔벨로프를 산출하고, 저주파 스펙트럼을 엔벨로프로 나누는 것에 해당될 수 있다. 화이트닝 처리는 스펙트럼의 형태는 플랫하지만, 내부 주파수의 미세 구조(fine structure)는 유지되도록 수행될 수 있다. 한편, 정규화 처리를 위한 윈도우 사이즈는 신호 특성에 따라서 결정될 수 있다.Referring to FIG. 11, the whitening unit 1110 may operate in the same manner as the whitening unit 910 of FIG. That is, the whitening unit 1110 may perform whitening on the decoded low frequency spectrum. Here, noise remaining in the decoded low frequency spectrum may be added by noise filling processing or anti-sparseness processing. The noise addition may be selectively performed on a subband basis. The whitening process performs normalization based on the envelope information of the low frequency spectrum, and various known methods can be applied. Specifically, the normalization process may correspond to calculating the envelope from the low frequency spectrum and dividing the low frequency spectrum by the envelope. The whitening process can be performed so that the shape of the spectrum is flat, but the fine structure of the internal frequency is maintained. On the other hand, the window size for the normalization process can be determined according to the signal characteristics.

다이나믹 레인지 제어부(1130)는 화이트닝된 저주파 스펙트럼의 다이나믹 레인지를 여기 클래스에 근거하여 제어하여 변형된 저주파 스펙트럼을 생성할 수 있다. The dynamic range control unit 1130 can control the dynamic range of the whitened low frequency spectrum based on the excitation class to generate the modified low frequency spectrum.

도 12는 일실시예에 따른 다이나믹 레인지 제어부(도 11의 1110)의 구성을 나타낸 블록도로서, 부호 분리부(1210), 제어파라미터 결정부(1230), 진폭 조절부(1250), 랜덤 부호 생성부(1270) 및 부호적용부(1290)를 포함할 수 있다. 여기서, 랜덤 부호 생성부(127)는 부호적용부(129)와 일체화될 수 있다. 12 is a block diagram showing a configuration of a dynamic range control unit 1110 of FIG. 11 according to an embodiment. The code division unit 1210, the control parameter determination unit 1230, the amplitude control unit 1250, Unit 1270 and a sign application unit 1290. [ Here, the random code generation unit 127 may be integrated with the code application unit 129.

도 12를 참조하면, 부호 분리부(1210)는 복호화된 저주파 스펙트럼으로부터 부호를 제거하여 진폭 즉, 절대값 스펙트럼을 생성할 수 있다.Referring to FIG. 12, the code separator 1210 can generate the amplitude, that is, the absolute value spectrum, by removing the sign from the decoded low frequency spectrum.

제어파라미터 결정부(1230)는 여기 클래스에 근거하여 제어파라미터를 결정할 수 있다. 여기 클래스는 토널 특성 혹은 플랫 특성과 관련있는 정보이기 때문에, 여기 클래스에 근거하여 절대값 스펙트럼의 진폭을 조절할 수 있는 제어파라미터를 결정할 수 있다. 절대값 스펙트럼의 진폭은 다이나믹 레인지 혹은 피크-밸리 간격으로 나타낼 수 있다. 일실시예에 따르면, 제어파라미터 결정부(1130)는 여기 클래스에 대응하여 서로 다른 값의 제어 파라미터를 결정할 수 있다. 예를 들어, 음성 특성과 관련된 여기 클래스인 경우에는 0.2, 토널 특성과 관련된 여기 클래스인 경우에는 0.05, 노이지 특성과 관련된 여기 클래스인 경우에는 0.8을 제어파라미터로 할당할 수 있다. 이에 따르면, 고주파 대역에서 노이즈 특성을 갖는 프레임의 경우, 진폭 조절 정도를 크게 할 수 있다.The control parameter determination unit 1230 can determine the control parameter based on the excitation class. Since the excitation class is information related to the tonal characteristic or the flat characteristic, it is possible to determine a control parameter capable of adjusting the amplitude of the absolute value spectrum based on the excitation class. The amplitude of the absolute value spectrum can be expressed as a dynamic range or a peak-valley interval. According to one embodiment, the control parameter determination unit 1130 can determine control parameters of different values corresponding to the excitation class. For example, it can be assigned as a control parameter of 0.2 for an excursion class associated with voice characteristics, 0.05 for an excursion class associated with a tonal characteristic, and 0.8 for an excursion class associated with a noisy characteristic. According to this, in the case of a frame having a noise characteristic in a high frequency band, the amplitude adjustment degree can be increased.

진폭 조절부(1250)는 제어파라미터 결정부(1230)에서 결정된 제어파라미터에 근거하여 저주파 스펙트럼의 진폭 즉, 다이나믹 레인지를 조절할 수 있다. 이때, 제어파라미터의 값이 클수록 다이나믹 레인지를 더 많이 조절하게 된다. 일실시예에 따르면, 원래의 절대값 스펙트럼에 소정 크기의 진폭을 가감으로써 다이나믹 레인지를 조절할 수 있다. 소정 크기의 진폭은 절대값 스펙트럼의 특정 밴드의 각 주파수 빈의 진폭과 해당 밴드의 평균 진폭간 차이값에 대하여 제어파라미터를 곱한 값에 해당할 수 있다. 진폭 조절부(1250)는 저주파 스펙트럼을 동일한 크기의 밴드로 구성하여 처리할 수 있다. 일실시예에 따르면 각 밴드에 16개의 스펙트럼 계수가 포함되도록 구성할 수 있다. 각 밴드별로 평균 진폭이 산출되고, 각 밴드에 포함된 각 주파수 빈의 진폭이 각 밴드의 평균 진폭과 제어 파라미터에 근거하여 조절될 수 있다. 일예를 들면, 밴드의 평균 진폭보다 큰 진폭을 갖는 주파수 빈은 그 진폭을 감소시키고, 밴드의 평균 진폭보다 작은 진폭을 갖는 주파수 빈은 그 진폭을 증가시키는 것을 의미할 수 있다. 이때, 다이나믹 레인지의 조절 정도는 여기 클래스에 따라서 달라질 수 있다. 구체적으로, 다이나믹 레인지 제어는 하기 수학식 1에 따라서 수행될 수 있다.The amplitude adjuster 1250 can adjust the amplitude of the low frequency spectrum, that is, the dynamic range, based on the control parameter determined by the control parameter determiner 1230. At this time, the larger the control parameter value, the more the dynamic range is adjusted. According to one embodiment, the dynamic range can be adjusted by adding an amplitude of a predetermined magnitude to the original absolute value spectrum. The amplitude of the predetermined magnitude may correspond to a value obtained by multiplying the difference between the amplitude of each frequency bin of a specific band of the absolute value spectrum and the average amplitude of the corresponding band by a control parameter. The amplitude adjuster 1250 can process the low frequency spectrum by configuring bands of the same size. According to one embodiment, each band may be configured to include 16 spectral coefficients. The average amplitude is calculated for each band, and the amplitude of each frequency bin included in each band can be adjusted based on the average amplitude of each band and the control parameter. For example, a frequency bin with an amplitude greater than the average amplitude of the band may reduce its amplitude, and a frequency bin with an amplitude less than the average amplitude of the band may mean increasing its amplitude. At this time, the degree of adjustment of the dynamic range may vary depending on the excitation class. Specifically, the dynamic range control can be performed according to the following equation (1).

Figure pat00001
Figure pat00001

여기서, S'[i]는 주파수 빈 i의 다이나믹 레인지가 제어된 진폭, S[i]는 주파수 빈 i의 진폭, m[k]는 주파수 빈 i가 속해있는 밴드의 평균 진폭, a는 제어파라미터를 각각 나타낸다. 일실시예에 따르면, 각 진폭은 절대값을 나타낼 수 있다. 이에 따르면, 다이나믹 레인지 제어는 밴드의 스펙트럼 계수 즉, 주파수 빈 단위로 수행될 수 있다. 평균 진폭은 밴드 단위로 산출되고, 제어 파라미터는 프레임 단위로 적용될 수 있다.Here, S '[i] is the amplitude of the frequency bin i whose dynamic range is controlled, S [i] is the amplitude of the frequency bin i, m [k] is the average amplitude of the band to which the frequency bin i belongs, Respectively. According to one embodiment, each amplitude may represent an absolute value. According to this, the dynamic range control can be performed on a spectral coefficient of a band, that is, on a frequency bin basis. The average amplitude is calculated on a band-by-band basis, and the control parameter can be applied on a frame-by-frame basis.

한편, 각 밴드는 트랜스포지션이 수행될 시작 주파수를 기준으로 구성할 수 있다. 일예를 들면, 각 밴드는 트랜스포지션 주파수 빈 2에서부터 시작하면서 16개의 주파수 빈을 포함하도록 구성할 수 있다. 구체적으로 SWB인 경우, 24.4 kbps에서는 주파수 빈 145에서 끝나면서 9개의 밴드가 존재하고, 32 kbps에서는 주파수 빈 129에서 끝나면서 8개의 밴드가 존재할 수 있다. FB인 경우, 24.4 kbps에서는 주파수 빈 305에서 끝나면서 19개의 밴드가 존재하고, 32 kbps에서는 주파수 빈 289에서 끝나면서 18개의 밴드가 존재할 수 있다.On the other hand, each band can be configured based on the starting frequency at which the transmission is to be performed. For example, each band may be configured to include 16 frequency bins beginning with the transmission frequency bin 2. Specifically, in the case of SWB, there are nine bands ending at frequency band 145 at 24.4 kbps, and eight bands ending at frequency bin 129 at 32 kbps. In case of FB, there are 19 bands ending in frequency bin 305 at 24.4 kbps, and 18 bands ending at frequency bin 289 at 32 kbps.

랜덤 부호 생성부(1270)는 여기 클래스에 근거하여 랜덤 부호가 필요하다고 판단된 경우 랜덤 부호를 생성할 수 있다. 랜덤 부호는 프레임 단위로 생성될 수 있다. 일실시예에 따르면, 노이지 특성과 관련된 여기 클래스의 경우 랜덤 부호가 적용될 수 있다.The random code generation unit 1270 can generate a random code based on the excitation class when it is determined that the random code is necessary. The random code can be generated on a frame-by-frame basis. According to one embodiment, a random code may be applied in the case of an excitation class associated with the noisy characteristic.

부호적용부(1290)는 다이나믹 레인지가 조절된 저주파 스펙트럼에 대하여 랜덤 부호 혹은 원래의 부호 중 하나를 적용하여 변형된 저주파 스펙트럼을 생성할 수 있다. 여기서, 원래의 부호는 부호 분리부(1210)에서 제거된 부호를 사용할 수 있다. 일실시예에 따르면, 노이지 특성과 관련된 여기 클래스의 경우 랜덤 부호를, 토널 특성과 관련된 여기 클래스 혹은 음성 특성과 관련된 여기 클래스의 경우 원래의 부호를 적용할 수 있다. 구체적으로, 노이지하다고 판단된 프레임의 경우 랜덤 부호를, 토널한다고 판단된 프레임 혹은 음성신호로 판단된 프레임의 경우 원래의 부호를 적용할 수 있다.The code application unit 1290 may generate a modified low frequency spectrum by applying one of the random codes or the original codes to the low frequency spectrum in which the dynamic range is adjusted. Here, the original code may be a code removed from the code separator 1210. According to one embodiment, a random code may be applied for an excitation class associated with the noisy characteristic, and an original code for an excitation class associated with the tonal characteristic or an excitation class associated with the voice characteristic. Specifically, the random code can be applied to a frame determined to be noisy, and the original code can be applied to a frame judged to be tuned or a frame judged to be a voice signal.

도 13은 일실시예에 따른 고주파 여기스펙트럼 생성부(도 7의 730)의 구성을 나타낸 블럭도로서, 스펙트럼 패칭부(1310) 및 스펙트럼 조절부(1330)를 포함할 수 있다. 여기서, 스펙트럼 조절부(1330)는 옵션으로 구비될 수 있다.13 is a block diagram illustrating a configuration of a high frequency excitation spectrum generation unit 730 according to an embodiment, and may include a spectrum patching unit 1310 and a spectrum adjustment unit 1330. FIG. Here, the spectrum controller 1330 may be optionally provided.

도 13을 참조하면, 스펙트럼 패칭부(1310)는 변형된 저주파 스펙트럼을 고대역으로 패칭, 예를 들면 전사, 복사, 미러링 혹은 폴딩하여 비어있는 고대역에 스펙트럼을 채울 수 있다. 실시예에 따르면, 소스 대역인 50~3250 Hz 에 있는 변형된 스펙트럼을 8000~11200 Hz 대역에 복사하고, 동일한 소스 대역인 50~3250 Hz에 있는 변형된 스펙트럼을 11200Hz~14400 Hz 대역에 복사하고, 소스 대역인 2000~3600Hz에 있는 변형된 스펙트럼을 14400~16000 Hz 대역에 복사할 수 있다. 이와 같은 과정을 통해 변형된 저주파 스펙트럼으로부터 고주파 여기 스펙트럼이 생성될 수 있다. Referring to FIG. 13, the spectrum patching unit 1310 may fill the spectrum into an empty high band by patching, for example, transferring, copying, mirroring, or folding the modified low frequency spectrum to a high band. According to the embodiment, a modified spectrum in the source band 50 to 3250 Hz is copied in the 8000 to 11200 Hz band, a modified spectrum in the same source band 50 to 3250 Hz is copied in the 11200 Hz to 14400 Hz band, The modified spectrum at the source band of 2000 to 3600 Hz can be copied in the 14400 to 16000 Hz band. Through this process, a high frequency excitation spectrum can be generated from the modified low frequency spectrum.

스펙트럼 조절부(1330)는 스펙트럼 패칭부(1310)에서 수행된 패칭된 밴드간의 경계에서 스펙트럼의 불연속을 해결하기 위해서 스펙트럼 패칭부(1310)로부터 제공되는 고주파 여기 스펙트럼을 조절할 수 있다. 실시예에 따르면, 스펙트럼 패칭부(1310)로부터 제공되는 고주파 여기 스펙트럼의 경계 위치 주변의 스펙트럼들을 활용할 수 있다. The spectrum adjusting unit 1330 can adjust the high frequency excitation spectrum provided from the spectrum patching unit 1310 to resolve the discontinuity of the spectrum at the boundary between the patched bands performed in the spectral patching unit 1310. [ According to the embodiment, the spectrum around the boundary position of the high frequency excitation spectrum provided from the spectrum patching unit 1310 can be utilized.

이와 같이 생성된 고주파 여기 스펙트럼 혹은 조절된 고주파 여기 스펙트럼과 복호화된 저주파 스펙트럼은 결합되고, 결합된 스펙트럼은 역변환과정을 통하여 시간 도메인 신호로 생성될 수 있다. 고주파 여기 스펙트럼과 복호화된 저주파 스펙트럼 각각에 대하여 미리 역변환과정이 수행된 다음 결합될 수도 있다. 한편, 역변환과정에는 IMDCT(Inverse Modified Discrete Cosine Transform)가 적용될 수 있으나 이에 한정되는 것은 아니다. The generated high frequency excitation spectrum or the adjusted high frequency excitation spectrum and the decoded low frequency spectrum are combined, and the combined spectrum can be generated as a time domain signal through an inverse transformation process. The inverse transform process may be performed in advance for each of the high frequency excitation spectrum and the decoded low frequency spectrum and then combined. Meanwhile, IMDCT (Inverse Modified Discrete Cosine Transform) may be applied to the inverse transform process, but the present invention is not limited thereto.

스펙트럼 결합과정에서 주파수 대역이 겹치는 부분에 대하여 오버랩애드 처리를 통해서 복원할 수 있다. 또는 스펙트럼 결합과정에서 주파수 대역이 겹치는 부분에 대하여 비트스트림을 통하여 전송된 정보를 기반으로 복원할 수 있다. 혹은, 수신측의 환경에 따라서 오버랩애드 처리 혹은 전송된 정보에 기반한 처리가 선택적으로 적용되거나, 가중치에 근거하여 복원할 수 있다. It is possible to restore the overlapped portion of the frequency band in the spectrum combining process through the overlap add processing. Or a part where the frequency bands overlap in the spectrum combining process, based on the information transmitted through the bit stream. Alternatively, the processing based on the overlap add processing or the transmitted information may be selectively applied according to the environment on the receiving side, or may be restored based on the weight.

도 14는 밴드 경계에서 가중치에 대한 스무딩 처리를 설명하기 위한 도면이다. 도 14를 참조하면, K+2 밴드의 가중치와 K+1 밴드의 가중치가 서로 다르기 때문에, 밴드 경계에서 스무딩을 수행할 필요가 있다. 도 14의 예에서는 K+1 밴드는 스무딩을 수행하지 않고, K+2 밴드에서만 스무딩을 수행하게 된다. 그 이유는 K+1 밴드에서의 가중치(Ws(K+1))가 0이기 때문에 K+1 밴드에서 스무딩을 수행하게 되면 K+1 밴드에서의 가중치(Ws(K+1))가 0이 아닌 값을 갖게 되어 K+1 밴드에서 랜덤 노이즈까지 고려해야 하기 때문이다. 즉, 가중치가 0이라는 것은 해당 밴드에서는 고주파 여기스펙트럼 생성시 랜덤 노이즈를 고려하지 않는다는 것을 나타낸다. 이는 극단적인 토널신호일 경우에 해당되며, 랜덤 노이즈로 인하여 하모닉 신호의 밸리 구간에 노이즈가 삽입되어 잡음이 발생되는 것을 막기 위한 것이다.FIG. 14 is a diagram for explaining smoothing processing on a weight at a band boundary; FIG. Referring to FIG. 14, since the weights of the K + 2 bands and the weights of the K + 1 bands are different from each other, it is necessary to perform smoothing at the band boundary. In the example of FIG. 14, the K + 1 band does not perform the smoothing but performs the smoothing only in the K + 2 band. The reason for this is that if smoothing is performed in the K + 1 band, since the weight value (Ws (K + 1)) in the K + 1 band is 0, And the random noise in the K + 1 band must be considered. That is, a weight of 0 indicates that random noise is not taken into consideration in generating a high frequency excitation spectrum in the corresponding band. This is for extreme tonal signals and is intended to prevent noise from being inserted into the valley section of the harmonic signal due to random noise.

다음, 고주파 에너지를 저주파 에너지 전송 방식과는 다른 방식으로 예를 들어 VQ와 같은 방식을 적용하게 되면, 저주파 에너지는 스칼라 양자화후 무손실 부호화를 사용해서 전송하게 되고, 고주파 에너지는 다른 방식으로 양자화를 수행하여 전송될 수 있다. 이와 같이 처리하는 경우, 저주파 코딩 영역(R0)의 마지막 밴드와 BWE 영역(R1)의 시작 밴드를 오버래핑하는 방식으로 구성할 수 있다. 또한 BWE 영역(R1)의 밴드 구성은 다른 방식으로 구성하여 좀더 조밀한 밴드 할당 구조를 가질 수 있다.Next, when a method such as VQ is applied in a manner different from the low-frequency energy transmission method, the low-frequency energy is transmitted using lossless coding after scalar quantization, and the high-frequency energy is quantized by another method Lt; / RTI > In such a case, the last band of the low frequency coding area R0 and the starting band of the BWE area R1 may be overlapped with each other. In addition, the band structure of the BWE area R1 may be configured in a different manner to have a more dense band allocation structure.

예를 들어, 저주파 코딩 영역(R0)의 마지막 밴드는 8.2kHz까지 구성되고, BWE 영역(R1)의 시작 밴드는 8kHz부터 시작하도록 구성할 수 있다. 이 경우 저주파 코딩 영역(R0)과 BWE 영역(R1)간에 오버랩핑 영역이 발생된다. 그 결과 오버랩핑 영역에는 두개의 복호화된 스펙트럼을 생성할 수 있다. 하나는 저주파 복호화 방식을 적용하여 생성한 스펙트럼이고, 다른 하나는 고주파 복호화 방식으로 생성한 스펙트럼이다. 두가지 스펙트럼 즉, 저주파 스펙트럼과 고주파 스펙트럼간의 천이(transition)가 보다 스무딩되도록 오버랩 애드(overlap add) 방식을 적용할 수 있다. 예를 들면, 두가지 스펙트럼을 동시에 활용하면서, 오버래핑된 영역 중 저주파쪽에 가까운 스펙트럼은 저주파 방식으로 생성된 스펙트럼의 기여분을 높이고, 고주파쪽에 가까운 스펙트럼은 고주파 방식으로 생성된 스펙트럼의 기여분을 높여서 오버래핑된 영역을 재구성할 수 있다.For example, the last band of the low-frequency coded region R0 may be configured up to 8.2 kHz, and the start band of the BWE region R1 may be configured to start from 8 kHz. In this case, an overlapping region is generated between the low-frequency coding region R0 and the BWE region R1. As a result, two decoded spectra can be generated in the overlapping region. One is a spectrum generated by applying a low-frequency decoding scheme, and the other is a spectrum generated by a high-frequency decoding scheme. An overlap add method can be applied so that the two spectra, that is, the transition between the low frequency spectrum and the high frequency spectrum, are smoother. For example, while using two spectra at the same time, a spectrum close to the low frequency side of the overlapped region raises the contribution of the spectrum generated by the low frequency method, and a spectrum near the high frequency side increases the contribution of the spectrum generated by the high frequency method, Can be reconstructed.

예를 들어, 저주파 코딩 영역(R0)의 마지막 밴드는 8.2kHz까지, BWE 영역(R1)의 시작 밴드는 8kHz부터 시작하는 경우, 32 kHz 샘플링 레이트로 640 샘플의 스펙트럼을 구성하게 되면 320~327까지 8개의 스펙트럼이 오버랩되며, 8개의 스펙트럼에 대해서는 다음 수학식 2에서와 같이 생성할 수 있다.For example, if the last band of the low-frequency coding region R0 starts at 8 kHz, and the starting band of the BWE region R1 starts at 8 kHz, if a spectrum of 640 samples is formed at a sampling rate of 32 kHz, Eight spectra overlap and eight spectra can be generated as shown in Equation 2 below.

Figure pat00002
Figure pat00002

여기서,

Figure pat00003
는 저주파 방식으로 복호화된 스펙트럼,
Figure pat00004
는 고주파 방식으로 복호화된 스펙트럼, L0는 고주파의 시작 스펙트럼 위치, L0~L1은 오버래핑된 영역, w0는 기여분을 각각 나타낸다.here,
Figure pat00003
Is a spectrum decoded in a low frequency manner,
Figure pat00004
Is the decoded spectrum by a high-frequency manner, L0 is started spectral position of the high-frequency, L0 ~ L1 is the overlapping area, w 0 represents the contribution respectively.

도 15는 일실시예에 따라 복호화단에서 BWE 처리후 오버래핑 영역에 존재하는 스펙트럼을 재구성하기 위하여 사용되는 기여분을 설명하는 도면이다. 15 is a view for explaining a contribution used for reconstructing a spectrum existing in an overlapping region after BWE processing in a decoding end according to an embodiment.

도 15를 참조하면, wO(k)는 wO0(k)및 wO1(k)를 선택적으로 적용할 수 있는데, wO0(k)는 저주파와 고주파의 복호화 방식에 동일한 가중치를 적용하는 것이고, wO1(k)는 고주파의 복호화 방식에 더 큰 가중치를 가하는 방식이다. 두가지 wO(k)에 대한 선택 기준은 다양하지만, 일예로는 저주파의 오버랩핑 밴드에 스펙트럼 계수 혹은 펄스가 존재하는지에 대한 유무이다. 저주파의 오버랩핑 밴드에서 스펙트럼 계수 혹은 펄스가 코딩된 경우에는 wO0(k)를 활용하여, 저주파에서 생성한 스펙트럼에 대한 기여분을 L1 근처까지 유효하게 하고, 고주파의 기여분을 감소시키게 된다. 기본적으로 BWE를 통해서 생성된 신호의 스펙트럼보다는 실제 코딩 방식에 의해 생성된 스펙트럼이 원신호와의 근접성 측면에서 더 높을 수 있다. 이를 활용하여 오버랩핑 밴드에서 원신호에 좀더 근접한 스펙트럼의 기여분을 높여주는 방식을 적용할 수 있으며, 따라서 스무딩 효과 및 음질 향상을 도모할 수 있다.15, w O (k) can selectively apply w O0 (k) and w O1 (k), where w O0 (k) applies the same weighting to the low and high frequency decoding schemes , w O1 (k) are methods for applying a larger weight to the high-frequency decoding scheme. The selection criterion for both w O (k) varies, but for example, whether there is a spectral coefficient or a pulse in the low-frequency overlapping band. When spectral coefficients or pulses are coded in a low-frequency overlapping band, w O0 (k) is used to make contributions to the spectrum generated at the low frequencies up to near L1 and to reduce high frequency contributions. Basically, the spectrum generated by the actual coding scheme rather than the spectrum of the signal generated by the BWE may be higher in terms of proximity to the original signal. A method of enhancing the contribution of the spectrum closer to the original signal in the overlapping band can be applied, thereby improving the smoothing effect and sound quality.

도 16는 본 발명의 일실시예에 따른 복호화모듈을 포함하는 멀티미디어 기기의 구성을 나타낸 블록도이다.16 is a block diagram illustrating a configuration of a multimedia device including a decoding module according to an embodiment of the present invention.

도 16에 도시된 멀티미디어 기기(1600)는 통신부(1610)와 복호화모듈(1630)을 포함할 수 있다. 또한, 복호화 결과 얻어지는 복원된 오디오신호의 용도에 따라서, 복원된 오디오신호를 저장하는 저장부(1650)을 더 포함할 수 있다. 또한, 멀티미디어 기기(1600)는 스피커(1670)를 더 포함할 수 있다. 즉, 저장부(1650)와 스피커(1670)는 옵션으로 구비될 수 있다. 한편, 도 16에 도시된 멀티미디어 기기(1600)는 임의의 부호화모듈(미도시), 예를 들면 일반적인 부호화 기능을 수행하는 부호화모듈 혹은 본 발명의 일실시예에 따른 부호화모듈을 더 포함할 수 있다. 여기서, 복호화모듈(1630)은 멀티미디어 기기(1600)에 구비되는 다른 구성요소(미도시)와 함께 일체화되어 적어도 하나의 이상의 프로세서(미도시)로 구현될 수 있다.The multimedia device 1600 shown in FIG. 16 may include a communication unit 1610 and a decryption module 1630. The storage unit 1650 may store the restored audio signal according to the use of the restored audio signal obtained as a result of the decoding. In addition, the multimedia device 1600 may further include a speaker 1670. That is, the storage unit 1650 and the speaker 1670 may be optionally provided. Meanwhile, the multimedia device 1600 shown in FIG. 16 may further include an encoding module (not shown), for example, an encoding module performing a general encoding function or an encoding module according to an embodiment of the present invention . Here, the decoding module 1630 may be implemented as at least one processor (not shown) integrated with other components (not shown) included in the multimedia device 1600.

도 16을 참조하면, 통신부(1610)는 외부로부터 제공되는 부호화된 비트스트림과 오디오 신호 중 적어도 하나를 수신하거나 복호화 모듈(1630)의 복호화결과 얻어지는 복원된 오디오 신호와 부호화결과 얻어지는 오디오 비트스트림 중 적어도 하나를 송신할 수 있다. 통신부(1610)는 무선 인터넷, 무선 인트라넷, 무선 전화망, 무선 랜(LAN), 와이파이(Wi-Fi), 와이파이 다이렉트(WFD, Wi-Fi Direct), 3G(Generation), 4G(4 Generation), 블루투스(Bluetooth), 적외선 통신(IrDA, Infrared Data Association), RFID(Radio Frequency Identification), UWB(Ultra WideBand), 지그비(Zigbee), NFC(Near Field Communication)와 같은 무선 네트워크 또는 유선 전화망, 유선 인터넷과 같은 유선 네트워크를 통해 외부의 멀티미디어 기기와 데이터를 송수신할 수 있도록 구성된다.16, the communication unit 1610 receives at least one of an encoded bit stream and an audio signal provided from the outside or a reconstructed audio signal obtained as a result of decoding by the decoding module 1630 and an audio bit stream One can be transmitted. The communication unit 1610 may be a wireless communication unit such as a wireless Internet, a wireless intranet, a wireless telephone network, a LAN, a Wi-Fi, a WFD, a WiFi Direct, a 3G, a 4G, Wireless network such as Bluetooth, Infrared Data Association (RFID), Radio Frequency Identification (RFID), Ultra WideBand (UWB), Zigbee and Near Field Communication, And is configured to transmit / receive data to / from an external multimedia device through a wired network.

복호화 모듈(1630)은 일실시예에 따르면, 통신부(1610)를 통하여 제공되는 비트스트림을 수신하고, 비트스트림에 포함된 오디오 스펙트럼에 대하여 복호화를 수행할 수 있다. 복호화처리는 전술한 복호화장치 혹은 후술하는 복호화방법을 이용하여 수행될 수 있으나, 이에 한정되는 것은 아니다.According to one embodiment, the decryption module 1630 may receive the bitstream provided through the communication unit 1610 and decode the audio spectrum included in the bitstream. The decoding process may be performed using the above-described decoding apparatus or a decoding method to be described later, but is not limited thereto.

저장부(1650)는 복호화 모듈(1630)에서 생성되는 복원된 오디오신호를 저장할 수 있다. 한편, 저장부(1650)는 멀티미디어 기기(1600)의 운용에 필요한 다양한 프로그램을 저장할 수 있다.The storage unit 1650 may store the reconstructed audio signal generated by the decoding module 1630. Meanwhile, the storage unit 1650 may store various programs necessary for the operation of the multimedia device 1600.

스피커(1670)는 복호화 모듈(1630)에서 생성되는 복원된 오디오신호를 외부로 출력할 수 있다.The speaker 1670 can output the restored audio signal generated by the decoding module 1630 to the outside.

도 17은 본 발명의 일실시예에 따른 부호화모듈과 복호화모듈을 포함하는 멀티미디어 기기의 구성을 나타낸 블록도이다.17 is a block diagram illustrating a multimedia device including a coding module and a decoding module according to an embodiment of the present invention.

도 17에 도시된 멀티미디어 기기(1700)는 통신부(1710), 부호화모듈(1720)과 복호화모듈(1730)을 포함할 수 있다. 또한, 부호화 결과 얻어지는 오디오 비트스트림 혹은 복호화 결과 얻어지는 복원된 오디오신호의 용도에 따라서, 오디오 비트스트림 혹은 복원된 오디오신호를 저장하는 저장부(1740)을 더 포함할 수 있다. 또한, 멀티미디어 기기(1700)는 마이크로폰(1750) 혹은 스피커(1760)를 더 포함할 수 있다. 여기서, 부호화모듈(1720)과 복호화모듈(1730)은 멀티미디어 기기(1700)에 구비되는 다른 구성요소(미도시)와 함께 일체화되어 적어도 하나 이상의 프로세서(미도시)로 구현될 수 있다. The multimedia device 1700 shown in FIG. 17 may include a communication unit 1710, an encoding module 1720, and a decryption module 1730. The storage unit 1740 may further include an audio bitstream or a restored audio signal according to the use of the audio bitstream obtained as a result of encoding or the reconstructed audio signal obtained as a decoding result. In addition, the multimedia device 1700 may further include a microphone 1750 or a speaker 1760. Here, the encoding module 1720 and the decryption module 1730 may be implemented as at least one processor (not shown) integrated with other components (not shown) included in the multimedia device 1700.

도 17에 도시된 각 구성요소 중 도 16에 도시된 멀티미디어 기기(1600)와 중복되는 구성요소에 대해서는 그 상세한 설명은 생략하기로 한다.The detailed description of the components that are duplicated in the multimedia device 1600 shown in FIG. 16 among the components shown in FIG. 17 will be omitted.

부호화모듈(1720)은 일실시예에 따르면, 통신부(1710) 혹은 마이크로폰(1750)을 통하여 제공되는 시간 도메인의 오디오 신호에 대하여 부호화를 수행할 수 있다. 부호화처리는 전술한 부호화장치를 이용하여 수행될 수 있으나, 이에 한정되는 것은 아니다.The encoding module 1720 may encode an audio signal of a time domain provided through the communication unit 1710 or the microphone 1750 according to an embodiment. The encoding process can be performed using the above-described encoding device, but is not limited thereto.

마이크로폰(1750)은 사용자 혹은 외부의 오디오신호를 부호화모듈(1720)로 제공할 수 있다.The microphone 1750 may provide a user or an external audio signal to the encoding module 1720.

도 16 및 도 17에 도시된 멀티미디어 기기(1600, 1700)에는, 전화, 모바일 폰 등을 포함하는 음성통신 전용단말, TV, MP3 플레이어 등을 포함하는 방송 혹은 음악 전용장치, 혹은 음성통신 전용단말과 방송 혹은 음악 전용장치의 융합 단말장치가 포함될 수 있으나, 이에 한정되는 것은 아니다. 또한, 멀티미디어 기기(1600, 1700)는 클라이언트, 서버 혹은 클라이언트와 서버 사이에 배치되는 변환기로서 사용될 수 있다.The multimedia devices 1600 and 1700 shown in Figs. 16 and 17 are connected to a broadcasting or music dedicated device including a voice communication dedicated terminal including a telephone, a mobile phone, and the like, a TV, an MP3 player, But is not limited to, a fusion terminal device of a broadcast or music exclusive apparatus. In addition, the multimedia devices 1600 and 1700 can be used as a client, a server, or a converter disposed between a client and a server.

한편, 멀티미디어 기기(1600, 1700)가 예를 들어 모바일 폰인 경우, 도시되지 않았지만 키패드 등과 같은 유저 입력부, 유저 인터페이스 혹은 모바일 폰에서 처리되는 정보를 디스플레이하는 디스플레이부, 모바일 폰의 전반적인 기능을 제어하는 프로세서를 더 포함할 수 있다. 또한, 모바일 폰은 촬상 기능을 갖는 카메라부와 모바일 폰에서 필요로 하는 기능을 수행하는 적어도 하나 이상의 구성요소를 더 포함할 수 있다.When the multimedia devices 1600 and 1700 are mobile phones, for example, a display unit for displaying information processed in a user input unit such as a keypad or the like, a user interface or a mobile phone (not shown), a processor As shown in FIG. The mobile phone may further include a camera unit having an image pickup function and at least one or more components for performing functions required in the mobile phone.

한편, 멀티미디어 기기(1600, 1700)가 예를 들어 TV인 경우, 도시되지 않았지만 키패드 등과 같은 유저 입력부, 수신된 방송정보를 디스플레이하는 디스플레이부, TV의 전반적인 기능을 제어하는 프로세서를 더 포함할 수 있다. 또한, TV는 TV에서 필요로 하는 기능을 수행하는 적어도 하나 이상의 구성요소를 더 포함할 수 있다.When the multimedia devices 1600 and 1700 are, for example, TVs, a user input unit such as a keypad, a display unit for displaying received broadcast information, and a processor for controlling overall functions of the TV may be further included . In addition, the TV may further include at least one or more components that perform the functions required by the TV.

도 18은 일실시예에 따른 고주파 복호화방법의 동작을 설명하기 위한 흐름도이다. 도 18에 도시된 방법은 도 6의 고주파 복호화부(670)에서 수행되거나, 별도의 프로세서에 의해 수행될 수 있다.18 is a flowchart for explaining the operation of the high-frequency decoding method according to an embodiment. The method shown in FIG. 18 may be performed in the high-frequency decoding unit 670 of FIG. 6 or may be performed by a separate processor.

도 18을 참조하면, 1810 단계에서는 여기 클래스를 복호화한다. 여기 클래스는 엔코더단에서 생성되어 비트스트림으로 디코더단에 전송될 수 있다. 한편, 여기 클래스는 디코더단에서 별도로 생성하여 사용될 수 있다. 여기 클래스는 프레임 단위로 얻어질 수 있다.Referring to FIG. 18, in step 1810, an excitation class is decoded. Here, a class may be generated at the encoder end and sent to the decoder end as a bitstream. On the other hand, the excitation class can be separately generated and used at the decoder end. Here the class can be obtained on a frame basis.

1830 단계에서는 비트스트림에 포함된 저주파 스펙트럼의 양자화 인덱스로부터 복호화된 저주파 스펙트럼을 수신할 수 있다. 양자화 인덱스는 예를 들면 가장 낮은 주파수 대역 이외에는 대역간 차분 인덱스일 수 있다. 저주파 스펙트럼의 양자화 인덱스는 예를 들면 벡터 역양자화될 수 있다. 벡터 역양자화 방법으로는 Pyramid Vector Quantization (PVQ)를 사용할 수 있으나 이에 한정되는 것은 아니다. 역양자화 결과에 대하여 노이즈 필링 처리가 수행되어 복호화된 저주파 스펙트럼을 생성할 수 있다. 노이즈 필링 처리는 제로로 양자화됨으로써 스펙트럼에 존재하는 갭을 필링하기 위한 것이다. 유사 랜덤 노이즈가 갭에 삽입될 수 있다. 노이즈 필링 처리가 처리되는 주파수 빈 구간은 미리 설정될 수 있다. 갭에 삽입되는 노이즈양은 비트스트림으로 전송되는 파라미터에 의해 제어될 수 있다. 노이즈 필링 처리된 저주파 스펙트럼은 추가적으로 역정규화가 수행될 수 있다. 노이즈 필링 처리된 저주파 스펙트럼에 대해서는 추가적으로 안티 스파스니스 처리(anti-sparseness processing)가 수행될 수 있다. 안티 스파스니스 처리를 위하여, 노이즈 필링 처리된 저주파 스펙트럼에서 제로로 남아있는 계수 부분에 랜덤 부호와 일정한 크기의 진폭을 갖는 계수가 삽입될 수 있다. 안티 스파스니스 처리된 저주파 스펙트럼은 추가적으로 저대역의 역양자화된 엔벨로프에 근거하여 에너지가 조절될 수 있다.In step 1830, the low-frequency spectrum decoded from the quantization index of the low-frequency spectrum included in the bitstream may be received. The quantization index may be, for example, an inter-band difference index other than the lowest frequency band. The quantization index of the low frequency spectrum can be vector dequantized, for example. As the vector dequantization method, Pyramid Vector Quantization (PVQ) can be used but is not limited thereto. A noise filling process may be performed on the inverse quantization result to generate a decoded low frequency spectrum. The noise filling process is to fill the gaps present in the spectrum by being quantized to zero. Pseudo random noise can be inserted into the gap. The frequency blanking period in which the noise filling process is processed can be set in advance. The amount of noise inserted into the gap can be controlled by parameters transmitted in the bitstream. The noise-filtered low-frequency spectrum can additionally be subjected to denormalization. Anti-sparseness processing may be additionally performed on the noise-filtered low-frequency spectrum. For anti-sparseness processing, a coefficient having a random code and amplitude of a certain magnitude may be inserted into the coefficient portion remaining zero in the noise-filtered low-frequency spectrum. The anti-sparseness low-frequency spectrum can additionally be energy-controlled based on the low-band dequantized envelope.

1850 단계에서는 복호화된 저주파 스펙트럼을 여기 클래스에 근거하여 변형할 수 있다. 복호화된 저주파 스펙트럼은 역양자화된 스펙트럼, 노이즈 필링 처리된 스펙트럼 혹은 안티 스파스니스 처리된 스펙트럼 중 하나가 될 수 있다. 복호화된 저주파 스펙트럼의 진폭을 여기 클래스에 의하여 조절할 수 있다. 예를 들면, 진폭 감소분을 여기 클래스에 의해 결정할 수 있다.In step 1850, the decoded low-frequency spectrum can be modified based on the excitation class. The decoded low frequency spectrum can be one of an inverse quantized spectrum, a noise-filled spectrum, or an anti-sparseness spectrum. The amplitude of the decoded low frequency spectrum can be adjusted by the excitation class. For example, the amplitude reduction can be determined by the excitation class.

1870 단계에서는 변형된 저주파 스펙트럼을 이용하여 고주파 여기 스펙트럼을 생성할 수 있다. 변형된 저주파 스펙트럼을 대역폭 확장을 위하여 필요로 하는 고대역에 패칭하여 고주파 여기 스펙트럼을 생성할 수 있다. 패칭 방법의 예로는 미리 설정된 구간을 고대역에 복사하거나 폴딩하는 방법을 들 수 있다. In step 1870, a high frequency excitation spectrum can be generated using the modified low frequency spectrum. The modified low-frequency spectrum can be fetched into the high-band required for bandwidth extension to generate a high-frequency excitation spectrum. An example of the patching method is a method of copying or folding a preset section to a high band.

도 19는 일실시예에 따른 저주파 스펙트럼 변형방법의 동작을 설명하기 위한 흐름도이다. 도 19에 도시된 방법은 도 18의 1850 단계에 해당하거나, 독립적으로 구현될 수 있다. 한편, 도 19에 도시된 방법은 도 7의 저주파 스펙트럼 변형부(710)에서 수행되거나, 별도의 프로세서에 의해 수행될 수 있다.19 is a flowchart for explaining the operation of the low frequency spectrum transform method according to an embodiment. The method shown in FIG. 19 corresponds to step 1850 of FIG. 18, or may be implemented independently. On the other hand, the method shown in Fig. 19 may be performed in the low-frequency spectrum transforming unit 710 of Fig. 7 or may be performed by a separate processor.

도 19를 참조하면, 1910 단계에서는 여기 클래스에 근거하여 진폭 조절 정도를 결정할 수 있다. 구체적으로, 1910 단계에서는 진폭 조절 정도를 결정하기 위하여 여기 클래스에 근거하여 제어 파라미터를 생성할 수 있다. 실시예에 따르면, 여기 클래스가 음성 특성, 토널 특성 혹은 넌-토널 특성을 나타내는지에 따라서, 제어 파라미터의 값이 결정될 수 있다. Referring to FIG. 19, in step 1910, the degree of amplitude control can be determined based on the excitation class. Specifically, in step 1910, a control parameter may be generated based on the excitation class to determine the degree of amplitude control. According to an embodiment, the value of the control parameter may be determined depending on whether the excursion class represents a voice characteristic, a tonal characteristic or a non-tonal characteristic.

1930 단계에서는 결정된 진폭 조절 정도에 근거하여 저주파 스펙트럼의 진폭을 조절할 수 있다. 여기 클래스가 음성 특성 혹은 토널 특성을 나타내는 경우와 비교하면, 여기 클래스가 넌-토널 특성을 나타내는 경우, 보다 큰 값의 제어 파라미터가 생성되기 때문에 진폭 감소분이 커질 수 있다. 진폭 조절의 예로는 각 주파수 빈의 진폭 예를 들면 Norm 값과 해당 밴드의 평균 Norm값간의 차이를 제어 파라미터로 곱한 값만큼 감소시킬 수 있다.In step 1930, the amplitude of the low frequency spectrum can be adjusted based on the determined degree of amplitude control. Compared with the case where the class exhibits a voice characteristic or a tonal characteristic, when the exciting class exhibits a non-tonal characteristic, a larger value of the control parameter is generated, so that the amplitude reduction can be increased. An example of the amplitude control may be to reduce the difference between the amplitude of each frequency bin, e.g. Norm, and the average norm value of the band, multiplied by the control parameter.

1950 단계에서는 진폭이 조절된 저주파 스펙트럼에 대하여 부호를 적용할 수 있다. 여기 클래스에 따라서 원래의 부호 혹은 랜덤 부호가 적용될 수 있다. 예를 들면, 여기 클래스가 음성 특성 혹은 토널 특성을 나타내는 경우, 원래의 부호가, 여기 클래스가 넌-토널 특성을 나타내는 경우 랜덤 부호화가 적용될 수 있다.In step 1950, the sign can be applied to the amplitude-controlled low frequency spectrum. Depending on the class here, the original code or random code can be applied. For example, when the excursion class indicates a speech characteristic or a tonal characteristic, random encoding may be applied when the original code indicates that the excursion class exhibits non-tonal characteristics.

1970 단계에서는 1950 단계에서 부호가 적용된 저주파 스펙트럼을 변형된 저주파 스펙트럼으로 생성할 수 있다.In step 1970, the low frequency spectrum to which the sign is applied can be generated as a modified low frequency spectrum in step 1950.

상기 실시예들에 따른 방법은 컴퓨터에서 실행될 수 있는 프로그램으로 작성가능하고, 컴퓨터로 읽을 수 있는 기록매체를 이용하여 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 또한, 상술한 본 발명의 실시예들에서 사용될 수 있는 데이터 구조, 프로그램 명령, 혹은 데이터 파일은 컴퓨터로 읽을 수 있는 기록매체에 다양한 수단을 통하여 기록될 수 있다. 컴퓨터로 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 저장 장치를 포함할 수 있다. 컴퓨터로 읽을 수 있는 기록매체의 예로는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함될 수 있다. 또한, 컴퓨터로 읽을 수 있는 기록매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 전송 매체일 수도 있다. 프로그램 명령의 예로는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다.The method according to the above embodiments can be implemented in a general-purpose digital computer that can be created as a program that can be executed by a computer and operates the program using a computer-readable recording medium. In addition, a data structure, a program command, or a data file that can be used in the above-described embodiments of the present invention can be recorded on a computer-readable recording medium through various means. A computer-readable recording medium may include any type of storage device that stores data that can be read by a computer system. Examples of the computer-readable recording medium include magnetic media such as a hard disk, a floppy disk and a magnetic tape, optical media such as a CD-ROM and a DVD, a floppy disk, Such as magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. The computer-readable recording medium may also be a transmission medium for transmitting a signal designating a program command, a data structure, and the like. Examples of program instructions may include machine language code such as those produced by a compiler, as well as high level language code that may be executed by a computer using an interpreter or the like.

이상과 같이 본 발명의 일실시예는 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명의 일실시예는 상기 설명된 실시예에 한정되는 것은 아니며, 이는 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명의 스코프는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 이의 균등 또는 등가적 변형 모두는 본 발명 기술적 사상의 범주에 속한다고 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limiting the scope of the invention as defined by the appended claims. Various modifications and variations are possible in light of the above teachings. Accordingly, the scope of the present invention is not in the above description, but is expressed in the claims, and all of its equivalents or equivalent variations fall within the scope of the technical idea of the present invention.

610 ... 역다중화부 630 ... BWE 파라미터 복호화부
650 ... 저주파 복호화부 670 ... 고주파 복호화부
710 ... 저주파 스펙트럼 변형부 730 ... 고주파 여기스펙트럼 생성부
1210 ... 부호분리부 1230 ... 제어파라미터 결정부
1250 ... 진폭 조절부 1270 ... 랜덤 부호 생성부
1290 ... 부호적용부
610 ... demultiplexing unit 630 ... BWE parameter decoding unit
650 ... low frequency decoding unit 670 ... high frequency decoding unit
710 ... low frequency spectrum deformation section 730 ... high frequency excitation spectrum generation section
1210 ... code separator 1230 ... control parameter determiner
1250 ... amplitude adjuster 1270 ... random code generator
1290 ... code application unit

Claims (15)

여기 클래스를 복호화하는 단계;
복호화된 저주파 스펙트럼을 상기 여기 클래스에 근거하여 변형하는 단계; 및
변형된 저주파 스펙트럼에 근거하여 고주파 여기 스펙트럼을 생성하는 단계를 포함하는 대역폭 확장을 위한 고주파 복호화방법.
Decoding the class here;
Modifying the decoded low frequency spectrum based on the excitation class; And
And generating a high frequency excitation spectrum based on the modified low frequency spectrum.
제1 항에 있어서, 상기 여기 클래스는 프레임 단위로 비트스트림에 포함되는 대역폭 확장을 위한 고주파 복호화방법.The high frequency decoding method according to claim 1, wherein the excitation class is included in a bitstream on a frame-by-frame basis. 제1 항에 있어서, 상기 저주파 스펙트럼을 변형하는 단계는 상기 여기 클래스에 근거하여 진폭 조절 정도를 결정하는 고주파 복호화방법.The high-frequency decoding method according to claim 1, wherein the modifying the low-frequency spectrum determines an amplitude adjustment degree based on the excitation class. 제1 항에 있어서, 상기 저주파 스펙트럼을 변형하는 단계는 상기 여기 클래스에 근거하여 상기 복호화된 저주파 스펙트럼의 다이나믹 레인지를 조절하는 고주파 복호화방법.The high frequency decoding method according to claim 1, wherein modifying the low frequency spectrum comprises adjusting the dynamic range of the decoded low frequency spectrum based on the excitation class. 제1 항에 있어서, 상기 저주파 스펙트럼을 변형하는 단계는
상기 여기 클래스에 근거하여 제어 파라미터를 생성하는 단계; 및
상기 제어 파라미터에 근거하여 상기 저주파 스펙트럼의 진폭을 조절하는 단계를 포함하는 고주파 복호화방법.
2. The method of claim 1, wherein transforming the low-
Generating a control parameter based on the excitation class; And
And adjusting the amplitude of the low frequency spectrum based on the control parameter.
제5 항에 있어서, 상기 저주파 스펙트럼을 변형하는 단계는 상기 복호화된 저주파 스펙트럼을 정규화하는 단계를 더 포함하고, 상기 제어 파라미터에 근거하여 상기 정규화된 저주파 스펙트럼의 진폭을 조절하는 고주파 복호화방법.6. The method of claim 5, wherein modifying the low frequency spectrum further comprises normalizing the decoded low frequency spectrum, and adjusting the amplitude of the normalized low frequency spectrum based on the control parameter. 제5 항에 있어서, 상기 저주파 스펙트럼의 진폭을 조절하는 단계는 특정 대역에 포함된 스펙트럼 계수의 진폭과 상기 대역의 진폭 평균간의 차이와 상기 제어 파라미터를 이용하여 수행되는 고주파 복호화방법.6. The method of claim 5, wherein the adjusting the amplitude of the low frequency spectrum is performed using the difference between the amplitude of the spectral coefficient included in the specific band and the amplitude average of the band and the control parameter. 제5 항에 있어서, 상기 저주파 스펙트럼을 변형하는 단계는 진폭이 조절된 저주파 스펙트럼에 대하여 여기 클래스에 근거하여 랜덤 부호와 원래의 부호 중 하나를 적용하는 단계를 더 포함하는 고주파 복호화방법.6. The method of claim 5, wherein modifying the low-frequency spectrum further comprises applying one of a random code and an original code based on an excitation class for an amplitude-controlled low-frequency spectrum. 제5 항에 있어서, 상기 여기 클래스가 음성 특성 혹은 토널 특성과 관련된 경우 상기 진폭이 조절된 저주파 스펙트럼에 원래의 부호를 적용하는 고주파 복호화방법.The high frequency decoding method according to claim 5, wherein when the excitation class is related to a voice characteristic or a tonal characteristic, the original code is applied to the amplitude-controlled low frequency spectrum. 제5 항에 있어서, 상기 여기 클래스가 넌-토널 특성과 관련된 경우 저주파 스펙트럼에 랜덤 부호를 적용하는 고주파 복호화방법.6. The method of claim 5, wherein applying the random code to the low frequency spectrum when the excitation class is related to the non-tonal characteristic. 제1 항에 있어서, 상기 복호화된 저주파 스펙트럼은 노이즈 필링 처리된 스펙트럼 혹은 안티 스파스니스 처리된 스펙트럼인 고주파 복호화방법.The method of claim 1, wherein the decoded low-frequency spectrum is a noise-filtered spectrum or an anti-sparseness spectrum. 여기 클래스를 복호화하고, 복호화된 저주파 스펙트럼을 상기 여기 클래스에 근거하여 변형하고, 변형된 저주파 스펙트럼에 근거하여 고주파 여기 스펙트럼을 생성하는 적어도 하나의 프로세서를 포함하는 대역폭 확장을 위한 고주파 복호화장치.And at least one processor for decoding the excitation class, modifying the decoded low-frequency spectrum based on the excitation class, and generating a high-frequency excitation spectrum based on the modified low-frequency spectrum. 제12 항에 있어서, 상기 프로세서는
상기 여기 클래스를 복호화하는 파라미터 복호화부; 및
상기 복호화된 저주파 스펙트럼의 진폭을 상기 여기 클래스에 근거하여 조절하여 상기 변형된 저주파 스펙트럼을 생성하는 저주파 스펙트럼 변형부; 및
상기 변형된 저주파 스펙트럼에 근거하여 상기 고주파 여기 스펙트럼을 생성하는 고주파 여기스펙트럼 생성부를 포함하는 대역폭 확장을 위한 고주파 복호화장치.
13. The system of claim 12, wherein the processor
A parameter decoding unit for decoding the excitation class; And
A low frequency spectrum transformer for adjusting the amplitude of the decoded low frequency spectrum based on the excitation class to generate the modified low frequency spectrum; And
And a high frequency excitation spectrum generation unit for generating the high frequency excitation spectrum based on the modified low frequency spectrum.
제12 항에 있어서, 상기 프로세서는 상기 여기 클래스에 근거하여 상기 복호화된 저주파 스펙트럼의 다이나믹 레인지의 조절 정도를 결정하는 고주파 복호화장치.13. The high-frequency decoding apparatus according to claim 12, wherein the processor determines the degree of adjustment of the decoded low-frequency spectrum dynamic range based on the excitation class. 제12 항에 있어서, 상기 프로세서는 상기 여기 클래스가 넌-토널 특성을 나타내는 경우, 상기 여기 클래스가 음성 특성 혹은 토널 특성을 나타내는 경우보다 상기 복호화된 저주파 스펙트럼의 다이나믹 레인지를 많이 조절하는 고주파 복호화장치.13. The high-frequency decoding apparatus of claim 12, wherein the processor adjusts the dynamic range of the decoded low frequency spectrum much more than when the excitation class indicates a non-speech characteristic or a tonal characteristic, when the excitation class indicates non-tonal characteristics.
KR1020150029865A 2014-03-03 2015-03-03 Method and apparatus for decoding high frequency for bandwidth extension KR102386736B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220044820A KR102491177B1 (en) 2014-03-03 2022-04-11 Method and apparatus for decoding high frequency for bandwidth extension

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201461946985P 2014-03-03 2014-03-03
US61/946,985 2014-03-03
US201461969368P 2014-03-24 2014-03-24
US61/969,368 2014-03-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020220044820A Division KR102491177B1 (en) 2014-03-03 2022-04-11 Method and apparatus for decoding high frequency for bandwidth extension

Publications (2)

Publication Number Publication Date
KR20150103643A true KR20150103643A (en) 2015-09-11
KR102386736B1 KR102386736B1 (en) 2022-04-14

Family

ID=54055542

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020150029865A KR102386736B1 (en) 2014-03-03 2015-03-03 Method and apparatus for decoding high frequency for bandwidth extension
KR1020220044820A KR102491177B1 (en) 2014-03-03 2022-04-11 Method and apparatus for decoding high frequency for bandwidth extension

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020220044820A KR102491177B1 (en) 2014-03-03 2022-04-11 Method and apparatus for decoding high frequency for bandwidth extension

Country Status (2)

Country Link
KR (2) KR102386736B1 (en)
WO (1) WO2015133795A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10468035B2 (en) 2014-03-24 2019-11-05 Samsung Electronics Co., Ltd. High-band encoding method and device, and high-band decoding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080045047A (en) * 2006-11-17 2008-05-22 삼성전자주식회사 Method and apparatus for bandwidth extension encoding and decoding
KR20100134576A (en) * 2008-03-03 2010-12-23 엘지전자 주식회사 Method and apparatus for processing audio signal
EP2273493A1 (en) * 2009-06-29 2011-01-12 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Bandwidth extension encoder, bandwidth extension decoder and phase vocoder
KR20130107257A (en) * 2012-03-21 2013-10-01 삼성전자주식회사 Method and apparatus for encoding and decoding high frequency for bandwidth extension

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602004020765D1 (en) * 2004-09-17 2009-06-04 Harman Becker Automotive Sys Bandwidth extension of band-limited tone signals
KR20070115637A (en) * 2006-06-03 2007-12-06 삼성전자주식회사 Method and apparatus for bandwidth extension encoding and decoding
EP2674942B1 (en) * 2011-02-08 2017-10-25 LG Electronics Inc. Method and device for audio bandwidth extension
BR112013033900B1 (en) * 2011-06-30 2022-03-15 Samsung Electronics Co., Ltd Method to generate an extended bandwidth signal for audio decoding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080045047A (en) * 2006-11-17 2008-05-22 삼성전자주식회사 Method and apparatus for bandwidth extension encoding and decoding
KR20100134576A (en) * 2008-03-03 2010-12-23 엘지전자 주식회사 Method and apparatus for processing audio signal
EP2273493A1 (en) * 2009-06-29 2011-01-12 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Bandwidth extension encoder, bandwidth extension decoder and phase vocoder
KR20130107257A (en) * 2012-03-21 2013-10-01 삼성전자주식회사 Method and apparatus for encoding and decoding high frequency for bandwidth extension
US20130290003A1 (en) * 2012-03-21 2013-10-31 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding high frequency for bandwidth extension

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ETSI TS 126 445 V12.0.0, EVS Codec Detailed Algorithmic Description, 2014.11. *
ISO/IEC FDIS 23003-3:2011(E), Information technology - MPEG audio technologies - Part 3: Unified speech and audio coding. ISO/IEC JTC 1/SC 29/WG 11. 2011.09.20. *
Minjie Xie, et al. ITU-T G. 719: A new low-complexity full-band (20 kHz) audio coding standard for high-quality conversational applications. IEEE Workshop on Applications of Signal Processing to Audio *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10468035B2 (en) 2014-03-24 2019-11-05 Samsung Electronics Co., Ltd. High-band encoding method and device, and high-band decoding method and device
US10909993B2 (en) 2014-03-24 2021-02-02 Samsung Electronics Co., Ltd. High-band encoding method and device, and high-band decoding method and device
US11688406B2 (en) 2014-03-24 2023-06-27 Samsung Electronics Co., Ltd. High-band encoding method and device, and high-band decoding method and device

Also Published As

Publication number Publication date
WO2015133795A1 (en) 2015-09-11
KR20220051317A (en) 2022-04-26
KR102491177B1 (en) 2023-01-20
KR102386736B1 (en) 2022-04-14

Similar Documents

Publication Publication Date Title
KR102248252B1 (en) Method and apparatus for encoding and decoding high frequency for bandwidth extension
JP6980871B2 (en) Signal coding method and its device, and signal decoding method and its device
US11688406B2 (en) High-band encoding method and device, and high-band decoding method and device
US11676614B2 (en) Method and apparatus for high frequency decoding for bandwidth extension
KR20160122160A (en) Signal encoding method and apparatus, and signal decoding method and apparatus
KR102491177B1 (en) Method and apparatus for decoding high frequency for bandwidth extension
KR20150032220A (en) Signal encoding method and apparatus and signal decoding method and apparatus

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
A107 Divisional application of patent
GRNT Written decision to grant