TW200931396A - Apparatus for encoding and decoding audio signal and method thereof - Google Patents

Apparatus for encoding and decoding audio signal and method thereof Download PDF

Info

Publication number
TW200931396A
TW200931396A TW98105155A TW98105155A TW200931396A TW 200931396 A TW200931396 A TW 200931396A TW 98105155 A TW98105155 A TW 98105155A TW 98105155 A TW98105155 A TW 98105155A TW 200931396 A TW200931396 A TW 200931396A
Authority
TW
Taiwan
Prior art keywords
downmix
signal
gain
audio signal
decoding
Prior art date
Application number
TW98105155A
Other languages
Chinese (zh)
Other versions
TWI409803B (en
Inventor
Hee-Suk Pang
Hyen-O Oh
Dong-Soo Kim
Jae-Hyun Lim
Yang-Won Jung
Sung-Yong Yoon
Original Assignee
Lg Electronics Inc
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
Priority claimed from KR1020060030653A external-priority patent/KR20070003544A/en
Priority claimed from KR1020060056480A external-priority patent/KR20070003574A/en
Priority claimed from KR1020060058142A external-priority patent/KR20070076363A/en
Priority claimed from KR1020060058141A external-priority patent/KR20070075237A/en
Priority claimed from KR1020060058120A external-priority patent/KR20070005477A/en
Priority claimed from KR1020060058139A external-priority patent/KR20070003593A/en
Application filed by Lg Electronics Inc filed Critical Lg Electronics Inc
Publication of TW200931396A publication Critical patent/TW200931396A/en
Application granted granted Critical
Publication of TWI409803B publication Critical patent/TWI409803B/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Stereophonic System (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

A method and/or apparatus for encoding and/or decoding an audio signal is disclosed, in which a downmix gain is applied to a downmix signal in an encoding apparatus which, in turn, transmits, to a decoding apparatus, a bitstream containing information as to the applied downmix gain. The decoding apparatus recovers the downmix signal, using the downmix gain information. A method and/or apparatus for encoding and/or decoding an audio signal is also disclosed, in which the encoding apparatus can apply an arbitrary downmix gain (ADG) to the downmix signal, and can transmit a bitstream containing information as to the applied ADG to the decoding apparatus. The decoding apparatus recovers the downmix signal, using the ADG information. A method and/or apparatus for encoding and/or decoding an audio signal is also disclosed, in which the method and/or apparatus can also vary the energy level of a specific channel, and can recover the varied energy level.

Description

200931396 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種音頻訊號之編碼及/或解碼方法及/或裝置。 【先前技術】 本發明係關於一多頻道(multi-channel)音頻訊號之空間資訊之 編碼及/或解碼。近年來,各種用於數位音頻訊號之編碼技術及方 法已被開發出,並且各種與此相關之產品也相應製造。 然而’富夕頻道之音頻訊號以單聲道(m〇n〇)或身歷聲(stere〇) 音頻訊號之形式縮混時,將可能存在音頻訊號之聲級(s〇und levd) 損失問題。特別地,由於編碼訊號具有有限的大小,例如16位元, 因此甚至在核心編碼解碼器之編碼之後,編碼訊號仍存在一聲級 損失現象。音頻峨之上述聲鋪失現象影響了音親號之輸出 特性’並導致聲音品質的下降。 【發明内容】 鑒於以上的問題’本發_主要目的在於透過應用一縮混增 益至多頻道音頻職之職峨,藉贿決多頻道音頻訊號所存 在之聲級損失問題。 本發明之另-目的在於透過應用—任意縮混增益至多頻道音 頻訊號,藉以解衫頻道音舰號之聲級損失問題。 本發明之再-目的在於透過應用_特定頻道增益至多頻道音 頻訊號之特定頻道,萌決多頻道音頻訊號之聲級損失問題。 200931396 本發明之又一目的在於透過使用一縮混增益、一任意縮混增 益及一特定頻道增益中至少其中兩個,以解決多頻道音頻訊號之 聲級損失問題。 因此,為達上述優點及依照本發明之目的,本發明所揭露之 解碼音頻訊號之方法包含下列步驟:分離一縮混訊號自此音頻訊 號之位元流;以及應用一縮混增益至縮混訊號,以修正此縮混訊 號。 〇 另外為達上述優點及依照本發明之目的,本發明還提供了一 種解碼音頻訊號之方法包含下列步驟:分離一縮混訊號及一空間 資訊訊號自音頻訊號之位元流;藉由此空間資訊訊號,轉變此縮 混訊號為一多頻道音頻訊號;以及應用一縮混增益至多頻道音頻 訊號。 再者,為達上述優點及依照本發明之自的,本發明又提供了 一種音頻訊號之編碼方法’包含下列步驟:產生一縮混訊號及一 〇 空間資訊訊號自一多頻道音頻訊號;以及應用一縮混增益至此縮 混訊號。 此外’為達上述優點及依照本發明之目的,本發明再提供了 一種音頻訊號之編碼方法,包含下列步驟:應用一縮混增益至一 多頻道音頻訊號;以及產生一縮混訊號自應用有此縮混增益之多 頻道音頻訊號。 ' 為達上述優點及依照本發明之目的,本發明還提供了一種音 200931396 頻訊號之解碼裝置包含:-解多工器,係分離-縮混訊號及一空 間資訊訊號自-音頻訊號之位元流;一縮混增益應用單元,係應 用一縮混增益至此縮混訊號;以及一多頻道產生單元,係藉由此 空間資訊訊號,以轉變應时縮混增益之縮混訊號為_多頻道音 頻訊號。 又,為達上述優點及依照本發明之目的,本發明提供了一種 音頻訊號之編碼裝置包含:-紐單元,係由—多頻道音頻訊號 Ο產生-縣訊號,-空間資訊產生單元,係提取空間資訊自多頻 道音頻訊號,以及-、祕增益細單元m祕增益至縮 混訊號。 【實施方式】 有關本發_特徵與實作’茲配合圖式作最佳實施例詳細說 明如下。 「第1圖」為用以使人類能夠識別音頻訊號之空間資訊之方 ◎法示意圖。 多頻道音頻訊號之編碼利用之事實為,由於人類三維地識別 一音頻訊號,因此利用複數個參數設定,能夠以三維空間資訊之 形式表現音頻訊號。 表示多頻道音頻訊號之空間資訊的〃空間參數〃包含頻道能 階差(channel level difference,CLD)、頻道間相關(inter channel • coherence,ICC)和頻道時差(channel time difference, CTD)。頻道能 200931396 階差表示兩頻道之間之能量偏差。頻道間相關表示兩頻道之間之 相關性。頻道時差表示兩頻道之間之時間差。 「第1圖」顯示為人類如何空間地識別音頻訊號,以及空間 參數之概念是如何產生的。 請參考「第1圖」’自一遠程聲源101發出之直傳聲波1〇3到 達人的左耳107,並且另一直傳聲波1〇2於繞著人頭繞射後到達人 的右耳106。 Ο * 兩直傳聲波102和1〇3依據到達時間及能階係存在偏差。由 於廷種偏差,產生上述之頻道時差及頻道能階差參數。 另一方面,如果被反射的聲波1〇4及1〇5均到達人的兩耳, 或者饭如遠程聲源101包含分散的聲源,則具有較少相關性之聲 波均觀人㈣耳。因此’產生上述之頻道_關參數。 利用依照上述原理產生之空間參數,可以單聲道或身歷聲訊 ❹號之形式傳鮮紐音親號,並衫頻道音賴狀形式輸出 所傳輸之單聲道或身歷聲訊號。 本發明提供了一種當所混訊號被轉變為一多頻道音頻訊號 時,藉由上述空間資訊修正所混訊號之方法。 第2圖」為音頻訊號編碼過程中所產生音頻訊號之聲階損 失。。音頻訊號之聲階損失主要由兩個因素所導致。首先,當初始 訊號之聲階較高時,產生上述聲階損失。第二,當㈣縮混之輸 入鱗數量也較大時’產生上述聲階損失。例如,與三個頻道縮 200931396 .混成-個頻道之情況相比,t七個頻道縮混為—個頻道時更經常 產生聲階損失。「第2圖」所示之聲階損失係對應於五個頻道縮混 為一個頻道讀況。㈣,本發日脸獨限糊示情況。上述聲 級損失產生可以由各種因素,例如紐(dipping)所導致。 「第2圖」巾⑻部份係描繪了由五侧道組紅初始訊號之 聲級。初始訊號之各個頻道均可使用限定大小(例如16位元)的幾 乎全部範圍。「第2圖」中(b)部份描緣了依照五個頻道之縮混所產 〇生之縮混訊號。如「第2圖」中⑻部份所示,縮混訊號可具有多 個超出限定大小之波峰。「第2 ®」中(e)部份顯示了 _核心編碼 解碼器(如進階音頻频編码解碼器(ACC c〇dec))編碼/解碼縮混訊 號後產生之音頻訊號。即使在音頻訊號係依照核心編碼解瑪器之 編碼/解碼操作產生之情況下,由於音頻訊號係呈現於限定大小 内(例如16位元),因此仍可能存在聲級損失。這種聲級損失可影 響多頻道音頻訊號之輸出特性,並導致聲音品質的下降。 〇 「第3圖」為本發明一實施例之第一編碼裝置之示意圖,在 此第一編碼裝置中’一縮混增益係應用至一縮混訊號,以修正此 縮混訊號。第一編碼裝置包含一縮混單元302、一空間資訊產生單 元303、一縮混增益應用單元306及一多工器308。 請參考「第3圖」,縮混單元302縮混一多頻道音頻訊號301, 進而產生一縮混訊號304。在「第3圖」中,,η"表示輸入頻道 • 數目。縮混訊號304可為單聲道、身歷聲或多頻道音頻訊號。 8 200931396 空間資訊產生單元303自多頻道音頻訊號301中提取空間資 訊。這裡,〃空間資訊〃表示關於音頻訊號通道之資訊,其中音 頻訊號通道係使用於上混(upmix)縮混訊號為多頻道音頻訊號中, 其中縮混訊號係透過縮混多頻道音頻訊號而產生。 縮混增益應用單元306應用一縮混增益至縮混訊號304,以減 少縮混訊號304之聲級。這裡,〃縮混增益夕表示應用(例如相乘) 至縮混訊號或多頻道音頻訊號之值,以變化縮混訊號之聲級。在 〇 編碼裝置中’應用縮混增益至縮混訊號主要用於減少縮混訊號之 聲級。例如’當使用大於1之縮混增益時’縮混訊號乘以縮混增 益的倒數’以減少縮混訊號之總聲級。 特定頻道增益,例如低頻增益(LFE)或環繞增益可應用至多頻 道音頻訊號301之至少一個頻道。如上文所述,在一特定頻道增 益已應用至多頻道音頻訊號301之至少一個頻道的情況下,縮混 單元302可產生與多頻道音頻訊號301相關之縮混訊號3〇4。然 〇 後,應用縮混增益至縮混訊號304。當然,縮混增益應用單元306 可在自多頻道音頻訊號301生成縮混訊號304之過程中應用縮混 增益。 多工器308產生位元流309,其中位元流309包含已經應用有 縮混增益之縮混訊號307及一空間資訊訊號305。空間資訊訊號 305由自空間資訊產生單元303提取之空間資訊組成。位元流309 r 被傳輸至一解碼裝置。位元流309也可包含關於縮混增益之資訊, 200931396 即縮混增益資訊。 「第4圖」為本發明一實施例之第一解碼裝置之示意圖,在 第一解碼裝置中,一縮混增益係應用至一縮混訊號,以修正縮混 訊號。第一解碼裝置包含一解多工器402、一縮混訊號解碼單元 405、一空間資訊訊號解碼單元406、一縮混增益應用單元409及 一多頻道產生單元411。 參考「第4圖」,解多工器402接收音頻訊號之位元流4〇1, 並分離一編碼縮混訊號403及一編碼空間資訊訊號4〇4自位元流 401 中。 縮混訊號解瑪單元405解碼此編碼縮混訊號403 ’並輸出產生 之解碼訊號為一縮混訊號407。空間資訊訊號解碼單元4〇6解碼此 編妈空間資訊訊號404 ’並輸出結果解碼訊號為空間資訊4〇8。 縮混增益應用單元409係應用一縮混增益至縮混訊號4〇7,進 q 而輸出具有初始聲級之縮混訊號410。例如,當縮混增益大於j 時’縮混訊號被乘以此縮混增益,以增加其聲級。同時,縮混增 i應用單元409在轉變縮混訊號為多頻道音頻訊號之過程中執行 縮混增益之應用。 多頻道產生單元411藉由空間資訊408輸出應用有縮混增益 之縮混訊號410為一多頻道音頻訊號(out2)。 「第5圖」為本發明一實施例之第二編碼裝置之示意圖,在 第二編碼裝置中,一縮混增益係應用至多頻道音頻訊號,以修正 200931396 多頻道音頻訊號。與第一編碼裝置相似,第二編碼裝置包含一縮 混單元504、一空間資訊產生單元505、一縮混增益應用單元502 及一多工器508。 如「第5圖」所示,第二編碼裝置係類似於第一編碼裝置。 第二編碼裝置與第一編碼裝置之區別在於縮混增益應用單元502 的位置。也就是說,儘管在第一編碼裝置中縮混增益應用至縮混 訊號,但在第二編碼裝置中縮混增益係應用至多頻道音頻訊號。 〇 更詳細地說,縮混增益應用單元502應用一縮混增益至多頻 道音頻訊號501,進而產生一應用有縮混增益之多頻道音頻訊號 503。縮混單元504縮混多頻道音頻訊號5〇3,進而產生縮混訊號 506。空間資訊產生單元505提取空間資訊自應用有縮混增益之多 頻道音頻訊號503。多工器508產生包含縮混訊號5〇6及空間資訊 訊號507之位元流509。 ◎ 「第6圖」為本發明—實施例之第二解碼裝置之示意圖,在 第—解碼裝置中,-縮混增麵應m頻道音頻訊號,以修 正多頻道音頻訊號。與第-解碼裝置相似,第二解碼裝置包含一 解多工器602、-縮混訊號解解元6〇5、一空間資訊訊號解碼單 元606、一多頻道產生單元609及一縮混增益應用單元611。 由於解多工器6〇2、縮混訊號解嗎單元0〇5及空間資訊訊號解 碼單元606係相同或相似於「第4圖」所示之第一解碼裝置之解 多工器4〇2、縮混訊號解碼單元4〇5及空間資訊訊號解碼單元 11 200931396 406 ’因此下文將不再對其作詳細說明。 多頻道產生單元609利用空間資訊608轉變縮混訊號607為 多頻道音頻訊號610。 縮混增益應用單元611應用一縮混增益至多頻道音頻訊號 610,並因此輸出應用有縮混增益之多頻道音頻訊號(out2)。當解 碼裝置利用空間資訊不能夠輸出一多頻道音頻訊號時,縮混訊號 607可直接自縮混訊號解碼單元605輸出(outl)。 〇 「第7圖」為本發明一實施例之第三編碼裝置之示意圖,在 第三編碼裝置中,一縮混增益係應用至一縮混訊號,以修正縮混 訊號。第三編碼裝置包含一縮混單元702、一空間資訊產生單元 703、一縮混增增益確定單元706、一縮混增益應用單元708及一 多工器710。 請參考「第7圖」’第三編碼裝置係類似於第一編碼裝置。第 三編碼裝置與第一編碼裝置之區別之處在於,第三編碼裝置包含 〇 , 一 縮混增益確定單元706。由於縮混單元702、空間資訊產生單元 703、縮混增益應用單元708及多工器710與「第3圖」所示之第 一編碼裝置之縮混單元302、空間資訊產生單元303、縮混增益應 用單元306及多工器308,因此下文將不再給出其詳細說明。 縮混增益確定單元706確定即將應用至縮混訊號之縮混增益 707。縮混增益確定單元706可透過測量當多頻道音頻訊號7〇1被 , 縮混以產生一縮混訊號704時所產生之聲級損失頻率及聲級損失 12 200931396 程度至少其中之一確定縮混增益。 當假設“xk(n),’(k = 1,2, 3,…,N)表示多頻道音頻訊號之各個200931396 VI. Description of the Invention: [Technical Field of the Invention] The present invention relates to a method and/or apparatus for encoding and/or decoding an audio signal. [Prior Art] The present invention relates to the encoding and/or decoding of spatial information of a multi-channel audio signal. In recent years, various encoding techniques and methods for digital audio signals have been developed, and various related products have been manufactured accordingly. However, when the audio signal of the Fuxi channel is downmixed in the form of a mono (m〇n〇) or a stereo (stere〇) audio signal, there may be a loss of the sound level of the audio signal (s〇und levd). In particular, since the encoded signal has a finite size, e.g., 16 bits, there is still a loss of sound level in the encoded signal even after encoding by the core codec. The above-mentioned sound drop phenomenon of the audio 影响 affects the output characteristic of the timbre and causes a decrease in sound quality. SUMMARY OF THE INVENTION In view of the above problems, the main purpose of the present invention is to reduce the sound level loss problem of multi-channel audio signals by applying a shrinking gain to the multi-channel audio job. Another object of the present invention is to solve the problem of loss of sound level of the singular channel sound carrier by applying - arbitrarily downmixing the gain to the multi-channel audio signal. A further object of the present invention is to solve the problem of loss of sound level of a multi-channel audio signal by applying a specific channel gain to a specific channel of the multi-channel audio signal. Another object of the present invention is to solve the problem of loss of sound level of multi-channel audio signals by using at least two of a downmix gain, an arbitrary downmix gain, and a specific channel gain. Therefore, in order to achieve the above advantages and in accordance with the purpose of the present invention, a method for decoding an audio signal disclosed by the present invention includes the steps of: separating a bit stream of a downmix signal from the audio signal; and applying a downmix gain to downmixing Signal to correct this downmix signal. In addition, in order to achieve the above advantages and in accordance with the purpose of the present invention, the present invention further provides a method for decoding an audio signal comprising the steps of: separating a downmix signal and a spatial information signal from a bit stream of the audio signal; The information signal converts the downmix signal to a multi-channel audio signal; and applies a downmix gain to the multi-channel audio signal. Furthermore, in order to achieve the above advantages and in accordance with the present invention, the present invention further provides an audio signal encoding method comprising the steps of: generating a downmix signal and a spatial information signal from a multi-channel audio signal; Apply a downmix gain to this downmix signal. In addition, in order to achieve the above advantages and in accordance with the purpose of the present invention, the present invention further provides an audio signal encoding method, comprising the steps of: applying a downmix gain to a multi-channel audio signal; and generating a downmix signal from the application. Multi-channel audio signal with this downmix gain. In order to achieve the above advantages and in accordance with the purpose of the present invention, the present invention further provides a decoding apparatus for a sound 200931396 frequency signal comprising: a demultiplexer, a separate-downmix signal and a spatial information signal self-audio signal bit. a streamer; a downmix gain application unit that applies a downmix gain to the downmix signal; and a multichannel generation unit that uses the spatial information signal to convert the downmix signal of the time downmix gain to _ Channel audio signal. Moreover, in order to achieve the above advantages and in accordance with the purpose of the present invention, the present invention provides an audio signal encoding apparatus comprising: - a button unit, which is generated by a multi-channel audio signal, a county signal, and a spatial information generating unit. Spatial information from the multi-channel audio signal, as well as -, the secret gain unit m secret gain to the downmix signal. [Embodiment] A preferred embodiment of the present invention is described in detail with reference to the drawings. "Figure 1" is a schematic diagram of the method used to enable humans to recognize spatial information of audio signals. The use of multi-channel audio signals is based on the fact that since humans recognize an audio signal three-dimensionally, audio signals can be represented in three-dimensional spatial information using a plurality of parameter settings. The spatial parameter 表示 representing the spatial information of the multi-channel audio signal 〃 includes channel level difference (CLD), inter-channel correlation (interchannel • coherence, ICC), and channel time difference (CTD). The channel can be 200931396. The step difference indicates the energy deviation between the two channels. The correlation between channels indicates the correlation between the two channels. The channel time difference represents the time difference between the two channels. Figure 1 shows how humans spatially identify audio signals and how the concept of spatial parameters is generated. Please refer to "1" "The direct sound wave from a remote source 101 reaches the left ear 107 of the person, and the other direct sound wave 1〇2 reaches the person's right ear after being circulated around the head. 106. Ο * Two direct sound waves 102 and 1〇3 are biased according to the arrival time and energy level. Due to the deviation of the scheme, the above-mentioned channel time difference and channel energy step difference parameters are generated. On the other hand, if the reflected sound waves 1 〇 4 and 1 〇 5 both reach the two ears of the person, or if the rice such as the remote sound source 101 contains a dispersed sound source, the sound waves having less correlation are observed in the human (4) ear. Therefore, the above channel_off parameter is generated. By using the spatial parameters generated according to the above principle, the new tone number can be transmitted in the form of a mono or a voice nickname, and the transmitted mono or physical voice signal can be outputted in the form of a voice channel. The present invention provides a method for correcting a mixed signal by using the spatial information when the mixed signal is converted into a multi-channel audio signal. Figure 2 is the loss of the audio level of the audio signal generated during the audio signal encoding process. . The loss of the audio signal is mainly caused by two factors. First, when the initial signal has a higher sound level, the above-mentioned level loss is generated. Second, when the number of input scales of the (4) downmix is also large, the above-mentioned order loss is generated. For example, compared with the case where three channels are converged into one channel, t-channels are more often caused to lose the volume loss when they are downmixed into one channel. The scale loss shown in Figure 2 corresponds to the downmixing of five channels into one channel reading. (4) The face of this hair is limited to the situation. The above-mentioned loss of sound level can be caused by various factors such as dipping. The section (8) of the "Fig. 2" section depicts the sound level of the initial signal from the five-sided group. Almost all ranges of a limited size (e.g., 16 bits) can be used for each channel of the initial signal. Part (b) of Figure 2 depicts the downmix signal produced by the downmix of the five channels. As shown in part (8) of Figure 2, the downmix signal can have multiple peaks that exceed the limit. Part (e) of “2®” shows the audio signal generated by the _ core codec (such as the Advanced Audio Frequency Codec (ACC c〇dec)) after encoding/decoding the downmix signal. Even in the case where the audio signal is generated in accordance with the encoding/decoding operation of the core code decimator, since the audio signal is present within a limited size (e.g., 16 bits), there may still be a loss of sound level. This loss of sound level can affect the output characteristics of multi-channel audio signals and result in a degradation in sound quality.第 FIG. 3 is a schematic diagram of a first encoding device according to an embodiment of the present invention, in which a downmixing gain is applied to a downmix signal to correct the downmix signal. The first encoding device includes a downmixing unit 302, a spatial information generating unit 303, a downmix gain applying unit 306, and a multiplexer 308. Referring to FIG. 3, the downmixing unit 302 downmixes a multi-channel audio signal 301 to generate a downmix signal 304. In "Picture 3", η" indicates the number of input channels. The downmix signal 304 can be a mono, stereo or multi-channel audio signal. 8 200931396 The spatial information generating unit 303 extracts spatial information from the multi-channel audio signal 301. Here, the spatial information 〃 indicates information about the audio signal channel, wherein the audio signal channel is used in the upmix downmix signal as a multi-channel audio signal, wherein the downmix signal is generated by downmixing the multi-channel audio signal. . The downmix gain application unit 306 applies a downmix gain to the downmix signal 304 to reduce the level of the downmix signal 304. Here, the collapsing gains indicate the application (eg, multiplication) to the value of the downmix signal or the multichannel audio signal to change the sound level of the downmix signal. In the 〇 encoding device, the application of the downmix gain to the downmix signal is mainly used to reduce the sound level of the downmix signal. For example, 'When a downmix gain greater than one is used, the 'downmix signal is multiplied by the reciprocal of the downmix gain' to reduce the total sound level of the downmix signal. A particular channel gain, such as low frequency gain (LFE) or surround gain, can be applied to at least one channel of the multi-channel audio signal 301. As described above, in the case where a particular channel gain has been applied to at least one of the channels of the multi-channel audio signal 301, the downmixing unit 302 can generate the downmix signal 3〇4 associated with the multi-channel audio signal 301. Then, the downmix gain is applied to the downmix signal 304. Of course, the downmix gain application unit 306 can apply the downmix gain in the process of generating the downmix signal 304 from the multichannel audio signal 301. The multiplexer 308 generates a bit stream 309, wherein the bit stream 309 includes a downmix signal 307 and a spatial information signal 305 to which the downmix gain has been applied. The spatial information signal 305 is composed of spatial information extracted from the spatial information generating unit 303. The bit stream 309r is transmitted to a decoding device. The bit stream 309 may also contain information about the downmix gain, 200931396, which is the downmix gain information. Fig. 4 is a schematic diagram of a first decoding apparatus according to an embodiment of the present invention. In the first decoding apparatus, a downmixing gain is applied to a downmix signal to correct the downmix signal. The first decoding device includes a demultiplexer 402, a downmix signal decoding unit 405, a spatial information signal decoding unit 406, a downmix gain application unit 409, and a multichannel generating unit 411. Referring to Fig. 4, the multiplexer 402 receives the bit stream 4〇1 of the audio signal and separates a coded downmix signal 403 and a coded spatial information signal 4〇4 from the bit stream 401. The downmix signal decoding unit 405 decodes the encoded downmix signal 403' and outputs the generated decoded signal to a downmix signal 407. The spatial information signal decoding unit 4〇6 decodes the encoded mother space information signal 404′ and outputs the resultant decoded signal as spatial information 4〇8. The downmix gain application unit 409 applies a downmix gain to the downmix signal 4〇7 to output a downmix signal 410 having an initial sound level. For example, when the downmix gain is greater than j, the downmix signal is multiplied by this downmix gain to increase its sound level. At the same time, the downmixing application unit 409 performs the application of downmixing gain in the process of converting the downmix signal into a multichannel audio signal. The multichannel generating unit 411 outputs the downmix signal 410 to which the downmixing gain is applied by using the spatial information 408 as a multichannel audio signal (out2). Fig. 5 is a schematic diagram of a second encoding apparatus according to an embodiment of the present invention. In the second encoding apparatus, a downmixing gain is applied to the multichannel audio signal to correct the 200931396 multichannel audio signal. Similar to the first encoding device, the second encoding device includes a downmixing unit 504, a spatial information generating unit 505, a downmix gain applying unit 502, and a multiplexer 508. As shown in "Fig. 5", the second encoding device is similar to the first encoding device. The second encoding device differs from the first encoding device in the position of the downmix gain application unit 502. That is, although the downmix gain is applied to the downmix signal in the first encoding device, the downmix gain is applied to the multichannel audio signal in the second encoding device. In more detail, the downmix gain application unit 502 applies a downmix gain to the multi-channel audio signal 501 to generate a multi-channel audio signal 503 to which the downmix gain is applied. The downmixing unit 504 downmixes the multi-channel audio signal 5〇3 to generate a downmix signal 506. The spatial information generating unit 505 extracts the spatial information from the multi-channel audio signal 503 to which the downmixing gain is applied. The multiplexer 508 generates a bit stream 509 comprising a downmix signal 5〇6 and a spatial information signal 507. ◎ "FIG. 6" is a schematic diagram of a second decoding apparatus according to the embodiment of the present invention. In the first decoding apparatus, the - downmixing surface should be an m channel audio signal to correct the multichannel audio signal. Similar to the first decoding device, the second decoding device includes a demultiplexer 602, a downmix signal decoding unit 6〇5, a spatial information signal decoding unit 606, a multichannel generating unit 609, and a downmixing gain application. Unit 611. Since the demultiplexer 6〇2, the downmix signal solution unit 0〇5, and the spatial information signal decoding unit 606 are the same or similar to the demultiplexer 4〇2 of the first decoding device shown in “Fig. 4” The downmix signal decoding unit 4〇5 and the spatial information signal decoding unit 11 200931396 406 ' are therefore not described in detail below. The multi-channel generation unit 609 uses the spatial information 608 to convert the downmix signal 607 into a multi-channel audio signal 610. The downmix gain application unit 611 applies a downmix gain to the multichannel audio signal 610 and thus outputs a multichannel audio signal (out2) to which the downmix gain is applied. When the decoding device cannot output a multi-channel audio signal by using spatial information, the downmix signal 607 can be directly output (outl) from the downmix signal decoding unit 605.第 FIG. 7 is a schematic diagram of a third encoding device according to an embodiment of the present invention. In the third encoding device, a downmixing gain is applied to a downmix signal to correct the downmix signal. The third encoding device includes a downmixing unit 702, a spatial information generating unit 703, a downmix gain determining unit 706, a downmix gain applying unit 708, and a multiplexer 710. Please refer to "Fig. 7". The third encoding device is similar to the first encoding device. The third encoding device is different from the first encoding device in that the third encoding device includes 〇, a downmix gain determining unit 706. The downmixing unit 702, the spatial information generating unit 703, the downmixing gain applying unit 708, and the multiplexer 710 and the first encoding device of the first encoding device shown in FIG. 3, the spatial mixing unit 302, and the downmixing The gain application unit 306 and the multiplexer 308 are therefore not described in detail below. The downmix gain determining unit 706 determines the downmix gain 707 to be applied to the downmix signal. The downmix gain determining unit 706 can determine the downmixing by measuring at least one of the sound level loss frequency and the sound level loss 12 200931396 when the multichannel audio signal 7〇1 is downmixed to generate a downmix signal 704. Gain. When it is assumed that "xk(n),' (k = 1, 2, 3, ..., N) represents each of the multichannel audio signals

N 頻道訊號,並且縮混訊號被產生為〃 ·〜(《)夕時,縮混增益N channel signal, and the downmix signal is generated as 〃 · ~ (") evening, downmix gain

N 之最大值可確定為"例如,當ai = l,a2=l,a3=1,% = 1/万,% = 1Λ^以及知=丨/#時,縮混增益的最大值可確定為 4.73。當縮混增益之最大值被捨入時,可確定其為4。 〇 「第8圖」為本發明一實施例之第三解碼裝置之示意圖,在 第三解碼裝置中一縮混增益應用至一縮混訊號,以修正此縮混訊 號。第二解碼裝置包含一解多工器8〇2、一縮混訊號解碼單元8〇5、 一空間資訊訊號解瑪單元8〇7、一縮混增益提取單元8〇8、一縮混 增益應用单元809及一多頻道產生單元812。 清參考「第8圖」’第三解碼裝置係類似於第一解碼裝置。第 ❹三解瑪裝置與第一解碼裝置之區別為縮混增益提取單元8〇8。由於 解多工器802、縮混訊號解碼單元8〇5、空間資訊訊號解碼單元 807、縮混增益應用單元809及多頻道產生單元812係相同或相似 於「第4圖」所示之第一解碼裝置之解多工器4〇2、縮混訊號解碼 單元405、空間資訊訊號解碼單元4〇6、縮混增益應用單元4〇9及 多頻道產生單元411,因此下文不再給出其詳細說明。 縮混增益提取單元808可提取縮混增益資訊自一解碼空間資 " 訊訊號804或一解碼縮混訊號803。 13 200931396 「第9圖」分別為本發明實施例之包含縮混增益資訊之位元 流不意圖。如「第9圖」(a)部份所示,縮混增益資訊可插入每框 之位元抓之空間資訊訊號9〇2中,其中位元流包含一縮混訊號9〇1 及一空間資訊訊號902。 如「第9圖」(b)部份所示,縮混增益資訊也可插入每框之位 το流之縮混訊號903中。並且,縮混增益資訊可插入每複數個框 之位兀流中。對於位元流之所有框,縮混增益可為一定值,或者 〇 對於每框或每複數個框,縮混增益為一變化值。 依照本發明’可執行-方法,其中空間資訊訊號之每框或每 複數個框具有一標頭(或構造資訊區域),並且標頭中包含縮混增益 資訊。對於空間資訊訊號之每框具有標頭的,解碼裝置自標頭提 取縮混增益資訊,並應用縮混增益至此框。另一方面,對於空間 資訊訊號之每複數個框具有標頭的,解碼裝置自具有標頭的框提 ❹取縮混增益資訊。然後,解碼裝置應用一縮混增益至具有標頭的 框’並應用自前一標頭提取之縮混增益至沒有標頭的其餘框。標 頭可周期性或非周期性地包含於空間資訊訊號之框中。 如「第9圖」(c)部份所示’縮混增益資訊還可插入位元流之 標頭904中。標頭904包含構造資訊等。在這種情況下,縮混增 益資訊可以單獨值之形式插入標頭中,或可在與其它值,例如特 定頻道增益組成群組後以群組值之形式插入標頭中。 - 依照本發明,可執行另一方法,其中縮混增益資訊係插入位 200931396 7G流之保留區域中而不使用附加位元。 此外,依照本發明,可執行另一方法,其中使用結合「第9 ®」(a) ' (b)和(c)部份所示之方法。例如如「第9圖」中⑹部 示,縮混增益插入標頭中,並如「第9圖」中@)部份所示,標頭 可同時插入空間資訊訊號中。此外,縮混增益可直接插入位元流 中,或依照關於是否使用縮混增益之識別資訊選擇性地插入位元 流中。例如,位元流之標頭可具有關於是否使用縮混增益之第一 © 識別資訊。當依據縮混增益被使用之第一識別資訊確定後,位元 流之各個框具有關於是否使用縮混增益之第二識別資訊。當確定 縮混增益應當使用於一框内時,縮混增益則被包含於此框内。 「第10A圖」和「第10B圖」為本發明一實施例之各類型之 縮混增益示意圖。縮混增益可具有各種值。例如「第1〇Α圖」和 「第10B圖」所示’表由特定頻道增益(例如環繞增益及低頻增益) 與縮混增益組成。如表1所示,M/sqrt(2)々及1/Sqrt(10广可 ® 分別用於環繞增益及低頻增益。對於縮混增益,可使用夕或夕 1/2" 〇 參考表2,M/sqrt(2广及々l/sqrt(10广可分別用於環繞增 益及低頻增益。對於縮混增益’可使用"Γ、1/2夕或々1/4"。 如表3所示〆l/sqrtp/及,l/sqrt(10)々可分別用於環繞 增益及低頻增益。對於縮混增益,可使用"Γ、夕l/sqrt(2)〃或" 1/2"。 15 200931396 參考表4," l/sqrt(2广及,1//sqrt(10广可分別用於環繞增 益及低頻增益。對於縮混增益,可使用,Γ、夕l/sqrt(2)々、,1 /2’ 或夕 l/(2xsqrt(2)广。 參考表5, l/sqrt(2)々及夕l/Sqrt(l〇)e可分別用於環繞增 益和低頻增益。對於縮混增益,可使用夕广、"3/4,、,,2/3夕 或夕1/2"。 如表6所示,夕i/sqr^r及〃 i/sqrtdO),可分別用於環繞 〇 增益和低頻增益。對於縮混增益,可使用"丨〃、夕3/4〃、,2/4" 或夕1/4"。 雖然「第10Α圖」和「第1〇Β圖」中所述之環繞增益及低頻 增益被固定為一特定值(例如分別為"丨/叫枚幻〃及夕 sqrt(10)) ’但本發明不僅限於此。依照本發明,如同縮混增益一 樣,環繞增益與低頻增益可選擇自複數個特定值。依照本發明, ❹除職增益和鋪增益之外可錢㈣定頻道增益。 「第11圖」為本發明防止框周圍聲音品質降低之方法,其中 聲音品質降低係由概增益之_解致。#由於顧縮混增益 而導致聲級變化時’聲音品質下降可能出現於親增益值突然變 的周圍這疋因為聲級之突然變化出現於縮混增益值突然 變化之框關。因此’需要設定—過渡週期,以促使縮混增益變 化產生之影響能解穩地纽。為此,—平穩過程可使用下述公 - 式埶杆。 200931396 DG⑻=adiPGWn-l) + (l-a(n)DGt⑻,其中 n = 〇, l 2,, N。在上述公式中’ K可為第一序列線性函數或普通n序列 多項式函數。當縮混增益(DG)發生變化時,夕a(n,也可為可展現 平穩變化之函數’如高士函數、漢寧窗函數(hanningfUneti〇n)或海 明函數(hamming function) 〇 同時,儘管執行上述之平穩過程,但由於縮混增益之突然變 化所導致之不利影響仍然存在。因此,一限制可執行於編碼過程 〇 中’⑽止縮混增益之突然變化。當然,即使當編碼裝置不包含 能防止縮混增益突然變化之結構時,可在解碼裝置中執行防止縮 混增益突然變化之分析。例如,當使用具有增量變化或減量變化 之值的縮混增益時,可透過控制縮混增益變量位於連續框之間之 一個增量或減量内,或者位於每一預定數量框(η框)之一個增量或 減量内,以防止突然的縮混增益變化。 〇 「第12圖」為本發明一實施例之音頻訊號編碼方法之流程 圖,其中此編碼方法應用一縮混增益至縮混訊號。請參考「第12 圖」,執行音頻訊號編碼方法之編碼裝置首先接收一多頻道音頻訊 號(步驟1201)。接著,編碼裝置之縮混單元縮混此多頻道音頻訊 號,然後產生一縮混訊號(步驟1202)。雖然如上所述,縮混訊號 係依照多頻道音頻訊號之縮混而獲得,但也可使用自編碼裝置外 部直接輪入之縮混訊號,如任意縮混訊號(arbitrary downmix -signal)。一空間資訊訊號係透過編碼裝置之空間資訊產生單元自多 17 200931396 頻道音頻訊號產生(步驟1202)。 然後,一縮混增益透過編碼裝置之縮混增益應用單元應用至 縮混訊號(步驟1203)。例如,當縮混增益大於1時,縮混訊號乘 以縮混增益之倒數,以減少縮混訊號之聲級。另一方面,當縮混 訊號小於1時,縮混訊號乘以此縮混增益,以降低縮混訊號之聲 級。 接著,透過編碼裝置之多工器生成包含應用有縮混增益之縮 〇 混訊號及空間資訊訊號的位元流(步驟1204)。生成之位元流可被 傳輸至一解碼裝置(步驟1204)。 縮混增益可被應用至位元流之縮混訊號的所有框。雖然本方 法較佳用於具有較高聲級之縮混訊號框,但當此方法應用於具有 低聲級之縮混訊號時,由於可能出現訊號-雜訊比(SNR)的下降, 因此仍會產生缺陷。因此,可以一預定時間間隔使用不同之縮混 增益值。 〇 一縮混增益應用語法(syntax)可定義於位元流之每框中。在這 種情況下,依照縮混增益應用語法可選擇性地應用縮混增益於每 個框。例如,應用縮混增益至縮混信號可執行如下。 第一,設置一縮混增益於位元流之標頭中。這時,縮混增益 可應用至受標頭影響之縮混訊號的所有框。 第二,依照單獨定義之語法,應用一獨立縮混增益至縮混訊 * 號之每個框。 18 200931396 第二’使用上述第一方法及第二方法之結合。即,設置即將 應用至縮混訊號之所有框之縮混增益(下文稱為第一縮混增益)。第 一縮混增益可用於全部週期或較長週期範圍,如丨至2秒。獨立 於第一縮混增益’另一縮混增益(下文稱為第二縮混增益)係應用至 每框之縮混訊號,以用於未被第一縮混增益覆蓋之週期的增益控 制。 當解碼縮混訊號以單聲道或身歷聲訊號之形式被複製時,如 Ο 上文所述,已應用有縮混增益之縮混訊號之解碼能夠直接執行, 而無需考慮應用至縮混訊號之縮混增益。然而,當縮混訊號被解 碼並以多頻道音頻訊號之形式複製時,則可使用下述方法。 第一方法係應用一縮混增益至縮混訊號之全部範圍或者至縮 混訊號之應用有標頭的範圍,以復原相關音頻訊號之聲級。 第二方法係應用一縮滬增益至每框之縮混訊號,或者至小於 應用有報頭範圍之複數個框的縮混訊號。 ® 第三方法為第一方法及第二方法之結合。就是說,一縮混增 益係應用至每框或每複數個框之縮混訊號,然後,另一縮混增益 被應用至縮混訊號之所有範圍。 「第13圖」為本發明一實施例之音頻訊號解碼方法之流程 圖,在此解碼方法中,一縮混增益係應用至縮混訊號。請參考「第 13圖」’應用此音頻訊號解碼方法之解碼裝置接收一音頻訊號之位 . 元流(步驟1301)。位元流包含一編碼縮混訊號及一編碼空間資訊 200931396 訊號。 解碼装置之解多工器自所接收之位元流中分離出編碼縮混訊 號及編碼空間資訊訊號(步驟13〇2)。解瑪裝置之縮混訊號解瑪單 元解碼此編碼縮混訊號,並輸出一解碼縮混訊號(步驟1303)。 冨解喝裝置不能夠利用空間資訊輸出一多頻道音頻訊號時(步 驟1304)解碼袋置可直接輸出由縮混訊號解碼單元解碼之縮混訊 號(步驟1308)。另一方面,當解碼裝置能夠輸出多頻道音頻訊號 〇 時(步驟1304) ’則執行下面步驟。 也就是說’解碼裝置之空間資訊訊號解碼被分離之空間資訊 訊號並生成空間資訊。解碼裝置之縮混增益提取單元自空間資訊 訊號或縮混訊號提取縮混增益資訊(步驟1305)。依照提取之縮混 增益資訊可確定一縮混增益。解碼裝置之縮混增益應用單元應用 確定之縮混增益至縮混訊號(步驟1306)。解碼裝置之多频道產生 單元利用空間資訊以轉變應用有縮混增益之縮混訊號為多頻道音 ❹ 頻訊號(步驟1307)。 「第14圖」為本發明一實施例之編碼裝置之示意圖,其中一 任意縮混增益(ADG)係應用至一縮混訊號’以修正此縮混訊號。編 碼裝置包含一縮混單元1402、一空間資訊產生單元14〇3、一任音 縮混增益產生單元1407、一任意縮混增益應用單元14〇9及一多工 器141卜 - 請參考「第14圖」,縮混單元1402縮混多頻道音頻訊號14〇1, 200931396 進而產生一縮混訊號1404。在「第14圖」中,夕〆表示輸入頻 道的數量。空間資訊產生單元1403自多頻道音頻訊號14〇ι提取 空間資訊。 任意縮混增益產生單元14〇7可比較由縮混單元14〇2生成之 縮混訊號1404(下文稱為第一縮混訊號)與自編碼裝置外部直接輸 入之縮混訊號1405(下文稱為第二縮混訊號),以確定一任意縮混 增益。例如’任意縮混增益可依據表示第一及第二縮混訊號14〇4、 〇 1405之間差異之資訊,即偏差資訊而生成。於此,,,任意縮混增 益"表示用以減少第二縮混訊號與第一縮混訊號之間差異之資 訊。在本發明中,〃任意縮混增益〃也可應用至第二縮混訊號或 第一縮混訊號以修正縮混訊號。 任意縮混增益應用單元1409應用由任意縮混增益產生單元 1407生成之任意縮混增益至一縮混訊號14〇8。當縮混訊號14〇8 為第二縮混訊號1405時,任意縮混增益不僅用於減少第二縮混訊The maximum value of N can be determined as "for example, when ai = l, a2 = l, a3 = 1, % = 1 / 10,000, % = 1 Λ ^ and know = 丨 / #, the maximum value of the downmix gain can be determined It is 4.73. When the maximum value of the downmix gain is rounded, it can be determined to be 4.第 FIG. 8 is a schematic diagram of a third decoding apparatus according to an embodiment of the present invention. In the third decoding apparatus, a downmixing gain is applied to a downmix signal to correct the downmix signal. The second decoding device comprises a demultiplexer 8〇2, a downmix signal decoding unit 8〇5, a spatial information signal decoding unit 8〇7, a downmix gain extraction unit 8〇8, and a downmix gain application. Unit 809 and a multi-channel generating unit 812. Referring to "Fig. 8", the third decoding device is similar to the first decoding device. The difference between the third third decoding device and the first decoding device is the downmix gain extracting unit 8〇8. The demultiplexer 802, the downmix signal decoding unit 8〇5, the spatial information signal decoding unit 807, the downmix gain application unit 809, and the multichannel generation unit 812 are the same or similar to the first shown in FIG. The decoding device demultiplexer 4〇2, the downmix signal decoding unit 405, the spatial information signal decoding unit 4〇6, the downmix gain application unit 4〇9, and the multichannel generating unit 411, so the details are not given below. Description. The downmix gain extraction unit 808 can extract the downmix gain information from a decoding space " signal number 804 or a decoded downmix signal 803. 13 200931396 "FIG. 9" is a schematic diagram of a bit stream containing downmix gain information according to an embodiment of the present invention. As shown in part (a) of Figure 9, the downmix gain information can be inserted into the space information signal 9〇2 of each frame, where the bit stream contains a downmix signal 9〇1 and a space. Information signal 902. As shown in part (b) of Figure 9, the downmix gain information can also be inserted into the downmix signal 903 of each frame. Also, the downmix gain information can be inserted into the bit stream of each of the multiple frames. For all boxes of a bit stream, the downmix gain can be a certain value, or 缩 for each box or every multiple box, the downmix gain is a change value. According to the 'executable-method' of the present invention, each frame or each of the frames of the spatial information signal has a header (or a construction information area), and the header includes downmix gain information. For each frame of the spatial information signal having a header, the decoding device extracts the downmix gain information from the header and applies the downmix gain to this block. On the other hand, for each of the plurality of frames of the spatial information signal having a header, the decoding device extracts the downmix gain information from the frame having the header. The decoding device then applies a downmix gain to the frame with headers and applies the downmix gain extracted from the previous header to the remaining blocks without the header. The header can be included in the frame of the spatial information signal periodically or non-periodically. The 'downmix gain information' can also be inserted into the header stream 904 of the bit stream as shown in section (c) of Figure 9. The header 904 contains construction information and the like. In this case, the downmix gain information can be inserted into the header as a separate value, or can be inserted into the header as a group value after grouping with other values, such as a particular channel gain. - In accordance with the present invention, another method can be performed in which the downmix gain information is inserted into the reserved area of the bit 200931396 7G stream without the use of additional bits. Furthermore, in accordance with the present invention, another method can be performed in which the method shown in part (b) and (c) of "9®" (a) is used. For example, as shown in (6) of Figure 9, the downmix gain is inserted into the header, and as shown in the @) section of Figure 9, the header can be inserted into the spatial information signal at the same time. In addition, the downmix gain can be inserted directly into the bit stream or selectively inserted into the bit stream in accordance with identification information as to whether or not the downmix gain is used. For example, the header of the bit stream may have a first © identification information as to whether or not to use the downmix gain. When the first identification information used based on the downmix gain is determined, each block of the bit stream has second identification information as to whether or not the downmix gain is used. When it is determined that the downmix gain should be used in a frame, the downmix gain is included in this frame. "10A" and "10B" are schematic diagrams of various types of downmix gains according to an embodiment of the present invention. The downmix gain can have various values. For example, the "1" and "10B" tables are composed of specific channel gains (such as surround gain and low frequency gain) and downmix gains. As shown in Table 1, M/sqrt(2)々 and 1/Sqrt (10G can be used for surround gain and low frequency gain respectively. For downmix gain, you can use eve or eve 1/2" 〇refer to Table 2, M/sqrt (2 wide and 々l/sqrt (10 wide can be used for surround gain and low frequency gain respectively. For downmix gain' can use "Γ, 1/2 々 or 々1/4". As shown in Table 3 〆l/sqrtp/ and l/sqrt(10)々 can be used for surround gain and low frequency gain respectively. For downmix gain, use "Γ, 夕 l/sqrt(2)〃 or " 1/2&quot 15 200931396 Refer to Table 4, " l/sqrt (2 wide and 1//sqrt (10 wide can be used for surround gain and low frequency gain respectively. For downmix gain, can be used, Γ, 夕 l/sqrt ( 2) 々,, 1 /2' or 夕 l/(2xsqrt(2) wide. Refer to Table 5, l/sqrt(2)々 and 夕 l/Sqrt(l〇)e for surround gain and low frequency gain, respectively. For the downmix gain, you can use 夕广, "3/4,,,, 2/3 or eve 1/2" as shown in Table 6, 夕 i/sqr^r and 〃 i/sqrtdO), Can be used for surround gain and low frequency gain respectively. For downmix gain, use "丨〃, 夕3/4〃,, 2/ 4" or eve 1/4". Although the surround gain and low frequency gain described in "Picture 10" and "Picture 1" are fixed to a specific value (for example, respectively "丨/叫枚〃 And the present invention is not limited to this. According to the present invention, as with the downmix gain, the surround gain and the low frequency gain can be selected from a plurality of specific values. According to the present invention, the deviation gain and the spread gain are selected. The external money can be used to determine the channel gain. "11th picture" is a method for preventing the sound quality around the frame from being lowered, wherein the sound quality is reduced by the approximate gain. ## As the sound level changes due to the downmix gain 'The drop in sound quality may occur around the sudden change in the pro-gain value. This is because the sudden change in the sound level occurs in the frame where the downmix gain value suddenly changes. Therefore, 'the setting is required—the transition period to cause the change in the downmix gain to occur. The influence can be stabilized. For this, the following process can be used for the stationary process. 200931396 DG(8)=adiPGWn-l) + (la(n)DGt(8), where n = 〇, l 2,, N. 'K can be the first in the above formula Column linear function or ordinary n-sequence polynomial function. When the downmix gain (DG) changes, a (a, can also be a function that can exhibit a smooth change such as a Gaussian function, a Hanning window function (hanningfUneti〇n) or Hamming function 〇 At the same time, despite the smoothing process described above, the adverse effects due to sudden changes in the downmix gain still exist. Therefore, a limitation can be performed in the encoding process ’ '(10) a sudden change in the stop-mix gain. Of course, even when the encoding device does not include a structure capable of preventing a sudden change in the downmixing gain, analysis for preventing a sudden change in the downmixing gain can be performed in the decoding device. For example, when using a downmix gain with a value of incremental or decremental change, the controllable downmix gain variable is located within an increment or decrement between successive boxes, or at each predetermined number of boxes (η box) One increment or decrement to prevent sudden downmix gain changes.第 FIG. 12 is a flow chart of an audio signal encoding method according to an embodiment of the present invention, wherein the encoding method applies a downmix gain to a downmix signal. Referring to Fig. 12, the encoding device performing the audio signal encoding method first receives a multi-channel audio signal (step 1201). Next, the downmixing unit of the encoding device downmixes the multichannel audio signal and then generates a downmix signal (step 1202). Although the downmix signal is obtained in accordance with the downmixing of the multichannel audio signal as described above, it is also possible to use a downmix signal directly input from the outside of the encoding device, such as an arbitrary downmix-signal. A spatial information signal is generated by a spatial information generating unit of the encoding device from a plurality of 2009 31396 channel audio signals (step 1202). Then, a downmix gain is applied to the downmix signal through the downmix gain application unit of the encoding device (step 1203). For example, when the downmix gain is greater than 1, the downmix signal is multiplied by the reciprocal of the downmix gain to reduce the level of the downmix signal. On the other hand, when the downmix signal is less than 1, the downmix signal is multiplied by this downmix gain to reduce the sound level of the downmix signal. Next, a bit stream including the condensed mixed signal and the spatial information signal to which the downmix gain is applied is generated by the multiplexer of the encoding device (step 1204). The generated bit stream can be transmitted to a decoding device (step 1204). The downmix gain can be applied to all boxes of the downmix signal of the bit stream. Although the method is preferably used for a downmix signal frame having a higher sound level, when the method is applied to a downmix signal having a low sound level, since a signal-to-noise ratio (SNR) may decrease, Will produce defects. Therefore, different downmix gain values can be used at predetermined time intervals. 〇 A downmix gain application syntax (syntax) can be defined in each box of the bit stream. In this case, the downmix gain can be selectively applied to each frame in accordance with the downmix gain application syntax. For example, applying the downmix gain to the downmix signal can be performed as follows. First, set a downmix gain in the header of the bit stream. At this point, the downmix gain can be applied to all boxes of the downmix signal affected by the header. Second, apply a separate downmix gain to each frame of the downmix * in accordance with a separately defined syntax. 18 200931396 The second 'uses a combination of the first method and the second method described above. That is, the downmix gain (hereinafter referred to as the first downmix gain) of all the blocks to be applied to the downmix signal is set. The first downmix gain can be used for all cycles or longer cycle ranges, such as 丨 to 2 seconds. Independent of the first downmix gain, the other downmix gain (hereinafter referred to as the second downmix gain) is applied to the downmix signal of each frame for gain control of the period not covered by the first downmix gain. When the decoded downmix signal is copied in the form of a mono or audible voice signal, as described above, the decoding of the downmix signal to which the downmix gain has been applied can be directly performed without considering the application to the downmix signal. The downmix gain. However, when the downmix signal is decoded and copied in the form of a multi-channel audio signal, the following method can be used. The first method applies a downmix gain to the full range of the downmix signal or to the range of the header of the downmix signal application to recover the sound level of the associated audio signal. The second method applies a shrink-mix signal to the downmix signal of each frame, or to a downmix signal that is smaller than a plurality of frames to which the header range is applied. ® The third method is a combination of the first method and the second method. That is to say, a downmix is applied to the downmix signal of each frame or every plurality of frames, and then another downmix gain is applied to all ranges of the downmix signal. Fig. 13 is a flow chart showing an audio signal decoding method according to an embodiment of the present invention, in which a downmix gain is applied to a downmix signal. Please refer to "Fig. 13" for the decoding device applying the audio signal decoding method to receive the bit stream of the audio signal (step 1301). The bit stream contains a coded downmix signal and a code space information 200931396 signal. The demultiplexer of the decoding device separates the encoded downmix signal and the encoded spatial information signal from the received bit stream (step 13〇2). The downmixed signal decoding unit of the gamma device decodes the encoded downmix signal and outputs a decoded downmix signal (step 1303). When the decanting device is unable to output a multi-channel audio signal by using the spatial information (step 1304), the decoding packet directly outputs the downmix signal decoded by the downmix signal decoding unit (step 1308). On the other hand, when the decoding device is capable of outputting the multi-channel audio signal ( (step 1304)', the following steps are performed. That is to say, the spatial information signal of the decoding device decodes the separated spatial information signal and generates spatial information. The downmix gain extraction unit of the decoding device extracts the downmix gain information from the spatial information signal or the downmix signal (step 1305). A downmix gain can be determined based on the extracted downmix gain information. The downmix gain application unit of the decoding device applies the determined downmix gain to the downmix signal (step 1306). The multichannel generating unit of the decoding device utilizes the spatial information to convert the downmix signal to which the downmix gain is applied to the multichannel tone signal (step 1307). Fig. 14 is a view showing an encoding apparatus according to an embodiment of the present invention, wherein an arbitrary downmix gain (ADG) is applied to a downmix signal to correct the downmix signal. The encoding device comprises a downmixing unit 1402, a spatial information generating unit 14〇3, a pitch mixing gain generating unit 1407, an arbitrary downmixing gain applying unit 14〇9 and a multiplexer 141b - please refer to "14th" The downmixing unit 1402 downmixes the multi-channel audio signals 14〇1, 200931396 to generate a downmix signal 1404. In "Figure 14," the number of input channels is indicated by Xi Xi. The spatial information generating unit 1403 extracts spatial information from the multi-channel audio signal 14〇ι. The arbitrary downmix gain generating unit 14〇7 can compare the downmix signal 1404 (hereinafter referred to as the first downmix signal) generated by the downmixing unit 14〇2 with the downmix signal 1405 directly input from the outside of the self-encoding device (hereinafter referred to as The second downmix signal) determines an arbitrary downmix gain. For example, the arbitrary downmix gain can be generated based on information indicating the difference between the first and second downmix signals 14〇4, 〇 1405, that is, the deviation information. Here, the arbitrary downmix gain " indicates the information used to reduce the difference between the second downmix signal and the first downmix signal. In the present invention, the 缩 arbitrary downmix gain 〃 can also be applied to the second downmix signal or the first downmix signal to correct the downmix signal. The arbitrary downmix gain application unit 1409 applies any downmix gain generated by any downmix gain generating unit 1407 to a downmix signal 14〇8. When the downmix signal 14〇8 is the second downmix signal 1405, the arbitrary downmix gain is not only used to reduce the second downmix signal.

Q 號1405與第一縮混訊號1404之差異,而且還用於修正縮混訊號 1408,例如降低縮混訊號1408之聲級。在這種情況下,任意縮混 增益應用至縮混訊號1408可對每框執行。 多工器1411產生包含已應用有任意縮混增益之縮混訊號1410 及空間資訊訊號1406之位元流1412。空間資訊訊號1406由被空 間資訊產生單元1403提取的空間資訊組成。位元流1412被傳輸 至一解碼裝置,位元流1412也可包含關於任意縮混增益之資訊。 21 200931396 「第15圖」所示為本發明一實施例之解褐裴置之示意圖,其 中-任意縮混增益係制麵混贿,時正驗訊I解碼裝 置包含-解多工II 15G2、-縮混訊號解碼單元娜、—空間資訊 訊號解碼單元1507、一任意縮混增益提取單元15〇8、一任意縮混 增益應用單元1509及一多頻道產生單元1512。 請參考「第15圖」,解多工器15〇2自位元流15〇1分離一編 碼縮混訊號1503及一編碼空間資訊訊號15〇4。 縮混訊號解碼單元1505解碼此編碼縮混訊號15〇3,並輸出產 生之解碼訊號為縮混訊號1506,其中縮混訊號1506可為單聲道、 身歷聲或者多頻道音頻訊號。縮混訊號解碼單元15〇5可使用一核 心編碼解碼器。當解碼裝置無法處理縮混訊號15〇6以輸出多頻道 音頻訊號時,縮混訊號1506可直接自解碼裝置輸出(〇utl)e 空間資訊訊號解碼單元1507解碼此編碼空間資訊訊號 1504,並且輸出產生之解碼訊號為空間資訊1511。 任意縮混增盈提取單元1508自空間資訊訊號1504提取關於 任意縮混增益之資訊,即任意縮混增益資訊。任意縮混增益提取 單元1508也可自縮混訊號1506提取任意縮混增益資訊。 任意縮混增益應用單元1509應用任意縮混增益至縮混訊號 1506 ’其中任意縮混增益係依照由任意縮混增益提取單元15〇8提 取的任意縮混增益資訊來確定。多頻道產生單元1512利用空間資 訊1511轉變應用有任意縮混增益之縮混訊號151〇為多頻道音頻 22 200931396 訊號’並輸出多頻道音頻訊號(out2)。 「第16圖」為本發明—實施例之編观置之示意圖,在此編 碼裝置帽混增益及㈣縮混增益絲用至驗訊號,以修正縮 混訊號。編碼裝置包含-縮混單元16〇2、一空間資訊產生單元 1603、-縮混增益應用單元1606、一任意縮混增益應用單元_ 及一多工器1610。 如「第16圖」所示,由於縮混單元16〇2、空間資訊產生單元 〇廳及多工器刪與「第14圖」所示之上述對應相同或相似, 因此這裡不再給出其詳細說明。 「第16圖」之編碼裝置與「第14圖」之編碼裝置之不同之 處在於,「第16圖」之編碼裝置包含縮混增益應用單元16〇6與任 意縮混增ϋ細單元麵,制可執行親戦及任意縮混增益 之應用。雖然「第16圖」中未顯示,但「第16圖」之編碼装置 ❹也可包含與縮混增益產生單元及一任意縮混增益產生單元。 詳細來說,縮混增益朗單元祕朗縮輯益至—縮混訊 號1604 °縮混增益可均勻地應用至縮混訊號1604之全部範圍。並 且,縮混增益之應用可執行於縮混單元1602縮混多頻道音頻訊號 1601之過程中’並因此產生縮混訊號1604。 7 任意縮混增益應用單元16〇8應用一任意縮混增益至已應用有 縮混增益之縮混訊號丽。如上文所述,應用任意縮混増益至縮 混訊號1607可執行於每個框。依照任意縮混增益之應用,應用有 23 200931396 任意縮混增益之縮混訊號的波形,係具有類似於當應用動態範圍 控制(DRC)時出現之相似影響。任意縮混增益可在頻域,更確且地 說在混合域中被應用至縮混訊號。依照本發明,也能夠應用縮混 增益及任意縮混增益至由編碼裝置外部輸入之縮混訊號(「第16 圖」未顯示)。 多工器1610生成包含應用有任意縮混增益的縮混訊號16〇9 和空間資訊訊號1605的位元流1611。 〇 「第17圖」為本發明一實施例之解碼裝置之示意圖,其中縮 混增益及任意縮混增益係應用至縮混訊號,以修正縮混訊號。解 碼裝置包含一解多工器1702、一縮混訊號解碼單元17〇5、一空間 貝訊訊號解碼單το HG7、-賴增益與任意縮混增益提取單元 17〇8、一任意縮混增益應用單元17〇9、一縮混增益應用單元η。 及一多頻道產生單元1714。 ◎ 參考「第17圖」,解多工器1702、縮混訊贿碼單元17〇5、 空間資觀麟碼單元㈣及多頻道產生單元⑺4具有相同或 類似於「第15圖」之上述對應元件之魏,耻這财再給出其 詳細說明。 、 「第Π圖」之解碼裝置與「第15圖」之解碼裝置之區別之 處在於,「第Π圖」之解碼裝置包含親增益與任意觀増益提 取單元_、任意縮混增益應用單元及縮混增益應^翠元 1711因此可執行縮混增益與任意縮混增益之應用。 24 200931396 , 舰增益與任意縮混增益提取單元丨自㈣資訊訊號 Π04提取縮混增益_意縮混增益。縮混增益及任意縮混增益資 訊可透過侧元倾取。或者,縮明益和任意觀料資訊可 分別由單獨的元件(「第17圖」未示)提取。此外,縮混增益和任 意縮混增益資訊也可提取自一縮混訊號1706。 任意縮混增益應用單元17G9應用—任意縮混增益至縮混訊號 17G6 ’其巾絲意縮混增益魏照提取之任意舰增益資訊產 生,縮混訊號1706係依照縮混訊號解碼單元17〇5之解碼操作生 成。如上文所述,應用任意縮混增益至縮混訊號17〇6可對每框執 行。 縮混增益應用單元1711應用依照縮混增益資訊產生之縮混增 益至縮混訊號1710,其中縮混訊號1710已經應用有任意縮混增 益。多頻道產生單元1714利用空間資訊1713輸出已應用有任意 〇 縮混增益及縮混增益之縮混訊號1712為多頻道音頻訊號(〇ut2)。 田解碼裝置不能夠輸出這樣一多頻道音頻訊號時,解碼裝置可直 接輪出依照縮混訊號解碼單元1705之解碼操作生成之縮混訊號 I7〇6(〇utl) 〇 「第18圖」為本發明一實施例之應用有任意縮混增益之複數 個頰帶之示意圖。在應用任意縮混增益至音頻訊號之頻帶時,任 意縮混增益可具有與音頻訊號之頻道能階偏差(CLD)相同的值。例 如’任意縮混增益可具有與頻道能階偏差數量相同之參數頻帶。 25 200931396 ,因此,當執行任意縮混增益之應用於解碼裝置中時,能夠依照「第 18圖」所示之’ bsFreqResStridexxx、確定群組數量,其中所有 頻帶應當被劃分至此群組中。 當、Stride,,為i時,不執行所有頻帶之分組。在這種情況 下,執行讀取各個鮮之料縮混增益,並賴出之任音縮 混增益應用至頻帶。當〃 pb㈣e〃為5時,每五個頻帶讀取^ 意縮混增益’並將讀出之任意縮混增益應用至這五個頻帶。另一 〇方面,當夕pbstrif為28時,執行任意縮混增益之讀取,並將 讀出之任意親增益朗至所錢帶。因此,當„邮獅為烈 時,執行總頻帶增益控制,而當、咖^值不是Μ時則執 行多頻帶增益控制。 也可執仃基於㈣縮混職之增益㈣’肋親訊號之各 個頻道。 〇 此外,任意縮輯益朗也仰級啸行。這裡,, 時間槽表示一時間間隔,透過此時間間隔音頻訊號於時域内被 均勻地劃分。因此,當聲級朝向高聲之突然變化出現在特定時間 位置時,能夠於此特定時間位置執行此高聲之增益控制。當出現 任意縮混增益值變化時,則對任意縮混增益執行-初始内插 (interpolation)。否則’鱗任意縮混增益值。因此,在總頻帶增益 控制之If況下,每個時間槽之一任意縮混增益存在用於所有頻帶 中另方面’在多頻帶增益控制之情況下,每個時間槽之一任 26 200931396 意縮混增益存在用於多頻帶中。 「第19圖」為本發明—實施例之音頻峨編碼方法之流程 圖’其中—任意祕增益應用至縮混訊號,以修正縮混訊號。應 用此音舰韻碼練之編碼裝置首先接㈣猶音娜號(步驟 1901)。 然後’藉由編碼裝置之縮鱗元縮混Μ道音親號,然後 產生第一縮混訊號(步驟1902)。 〇 透過編碼裝置之空職訊產生單元,自S頻道音頻訊號生成 一空間資訊訊號(步驟19〇2)。 而後,透過編碼裝置之任意縮混增益產生單元,比較第一縮 混訊號與自編碼裝置外部直接輸入之縮混訊號,即第二縮混訊 號。依照比較結果,任意縮混增益產生單元產生—任意縮混增益(步 驟1903)。接著,於編碼裝置之任意縮混訊號應用單元中,生成之 ❹任意縮混增益係應用至第一縮混訊號或第二縮混訊號(步驟 1904)然後,透過編碼裝置之多工器生成包含應用有任意縮混增 益之縮混訊號及空間資訊訊號之位元流(步驟19〇5)。傳輸生成的 位元流至一解碼裝置(步驟19〇5)。 依照本發明,也可執行另一音頻訊號編碼方法,其中縮混增 益及任意縮混增益均應用至縮混訊號,以修正縮混訊號。此編碼 方法相似於「第19圖」所示之編碼方法。此編碼方法與r第19 圖」所示之編碼方法之區別在於,此編碼方法更包含在如「第19 27 200931396 圖」所示生成縮混訊號及空間資訊訊號後,應用縮混增益至縮混 訊號之步驟。在這種編碼方法中,然後一任意縮混增益可應用至 已應用有縮混增益之縮混訊號中。 依照本發明,任意縮混增益之產生係依照下述方式,即任意 縮混增益之低頻率部不生成為一增益,而是透過執行第一縮混訊 號之低頻成分之殘留編碼(residual coding)而生成,並且與習知方法 相同’任意縮混增益之高頻率部係生成為一增益,以使得生成之 〇 任意縮混增益具有一改善特性。這裡,〃殘留編碼〃表示直接編 碼部份之縮混訊號。 在上述方法中,任意縮混增益之低頻部係透過執行用以第一 縮混訊號之低頻成分之直接殘留編碼而生成。然而,任意縮混增 益之低頻部可透過執行用以第一及第二縮混訊號之間差異之殘留 編碼生成。 @ 產生為增益之任意縮混增益及依照第一縮混訊號之低頻成分 殘留編碼生成之任意縮混增益係應用至—魅訊號,以修正此縮 混訊號。依照本發明,與縮混訊號之聲級損失產生點相關之復原 資訊可被加入任意縮混增益,或可隨同任意縮混增益一起傳輸, 以使得具有復原資訊之任意縮混增益可用於解碼裝置中縮混訊號 之修正。 依照本㈣,収航域修正(例如㈣航魏振幅)之資 •訊及用以復原第二縮混訊號以減少第二縮混訊號與第—縮混訊號 28 200931396 之間偏差之資訊,也可以包含於一任意縮混增益中。依據上述方 式產生之任意縮混增益可以包含於空間資訊訊號中之狀態被傳 輸0 「第20圖」為本發明一實施例之音頻訊號解碼方法流程圖, 在此解瑪方法中一任意縮混增益(ADG)被應用於一縮混訊號,以修 正縮混訊號。請參考「第20圖」,應用此音頻訊號解碼方法之解 碼裝置接收一音頻訊號之位元流(步驟2001)。位元流中包含一編 〇 碼縮混訊號及一編碼空間資訊訊號。 編碼縮混訊號及編碼空間資訊訊號係透過編碼裝置之一解多 工器,而分離於所接收之位元流(步驟2002)。分離之縮混訊號由 解碼裝置之縮混訊號解碼單元解踢(步驟2〇〇3)。 當解碼裳置藉由空間資訊不能輸出縮混訊號為一多頻道音頻 訊號時,解碼裝置可透過縮混訊號解碼單元直接輸出被解碼之縮 混磁(倾2GG8)m當解補置能簡_混訊號為 一多頻道音頻訊號時(步驟2004),則執行下面之步驟。 也就是說,分離之空間資訊訊號係透過解碼裂置之空間資訊 訊號解碼單元被解竭,因此產生空間資訊。透過解碼裝置之任意 縮混增益提取單元’任意麟增益資訊也可自空㈣訊訊號或縮 混訊號中被提取出(步驟2_。一任意縮混增益可基於提取之任 意縮混增益資訊而確定。透過解碼裝置之任意縮混增益應用單 元’確疋之任t魯明難_顧麵翻步驟2⑽6)。依據空 29 200931396 間資訊,應用任意縮混增益之縮混訊號透過解碼裝置之多頻道產 生單元而被轉換為一多頻道音頻訊號,並且自解碼裝置輸出此多 頻道音頻訊號(步驟2007)。 依照本發明也可以執行另一解碼方法,此解媽方法中一縮混 增益及一任意縮混增益係應用於一縮混訊號,以修正縮混訊號。 此解碼方法類似於「第20圖」顯示之解碼方法。此解碼方法區別 於「第20圖」顯示之解碼方法之處在於,此方法在應用任意縮混 〇 增益至縮混訊號(步驟2006)之前,更包含應用一縮混增益至此縮 混訊號之步驟。 縮混增益資訊及任意縮混增益資訊係透過一縮混增益與任意 縮混增益提取單元(圖中未顯示)自一空間資訊訊號或一縮混訊號 中提取。然後,基於提取之縮混增益資訊產生之縮混增益被應用 於此縮混訊號。縮混增益可以應用至縮混訊號之全部範圍。因此, 0 基於提取之任意縮混增益資訊而產生的任意縮混增益被應用於此 縮混訊號。應用任意縮混增益至縮混訊號可以執行於各框。 「第21圖」為本發明一實施例之編碼裝置之方塊圖,其中此 編碼裝置用以修正一特定頻道之能階(energy levd)。此編碼裝置包 含一特定頻道能階處理單元2102,一縮混單元21〇4,一空間資訊 產生早元2105 ’以及一多工器2108。 凊參考「第21圖」,特定頻道能階處理單元21〇2接收一多頻 道音頻訊號2101,修正所接收多頻道音頻訊號21〇1之特定頻道之 30 200931396 能階,並輸出修正之多頻道音頻訊號2103。於此,〃能階〃表示 與相關訊號之振幅成比例的值,並包含聲級。特定頻道之能階是 否變化以及如何變化可透過測量或計算判斷。較佳的是,透過應 用一特定頻道增益至能階出現變化之頻道訊號,以實現能階修 正。例如’透過應用一環繞(surround)增益或一低頻(LFE)增益至一 環繞頻道或一低頻頻道,能夠實現此能階修正。縮混單元2014縮 混能階修正之多頻道音頻訊號2103,進而產生一縮混訊號2106。 Ο 並且’空間資訊產生單元2105提取空間資訊自多頻道音頻訊號 2103。 多工器2108產生包含有縮混訊號2106及一空間資訊訊號 21〇7之位元流2109。空間資訊訊號2107由透過空間資訊產生單 元2105提取之空間資訊組成。位元流21〇9被傳輸至一解碼裝置, 位元流2109也可以包含特定頻道增益資訊。 「第22圖」為本發明一實施例之解碼裝置之方塊圖,此解碼 裝置用以修正一特定頻道之能階。解碼裝置包含一解多工器 2202,一縮混訊號解碼單元2205,一空間資訊訊號解碼單元2206, 一多頻道產生單元2210,以及一特定頻道能階處理單元2212。 請參考「第22圖」,解多工器2202係接收一音頻訊號之位元 流2201 ’並自位元流2210中分離出一編碼縮混訊號22〇3及一編 碼空間資訊訊號2204。 縮混讯號解碼單元2205解碼此編碼縮混訊號22〇3,並輸出產 31 200931396 生之解碼縮混訊號2208。縮混訊號解碼單元2205也可以透過解碼 此編碼縮混訊號2203 ’以產生一具有脈波碼調制(PCM)資料形式 之縮混訊號2209。 空間資訊訊號解碼單元2206解碼空間資訊訊號2204,並輸出 產生之空間資訊2207。多頻道產生單元2210轉變縮混訊號2209 為一多頻道音頻訊號2211。 特定頻道能階處理單元2212接收多頻道音頻訊號2211、空間 〇 貝訊2207及縮混訊號2208,並依據所接收之訊號,執行各頻道之 能階修正。 特定頻道能階處理單元2212包含一頻道能階偵測單元 2213 ’ 一修正判別單元2214及一頻道能階修正單元2215。頻道能 階偵測單το 2213偵測多頻道音頻訊號2211之頻道能階是否及如 何變化於各頻道中。修正判別單元2214依據執行於頻道能階債測 ◎ 早70 2213之侧結果’關斷—紐修正是魏#執行於各頻 道。頻道能階修正單元2215依據執行於修正判別單元 2214之判 別結果’峰正-特物道之能階。 备解碼裝置不能輪出一多頻道音頻訊號時,解碼裝置可以直 接輸出縮混訊號22〇8(outl),其中縮混訊號纖係依照縮混訊號 碼單元2205之解碼操作而產生。另一方面,當解碼裝置能夠輸 出彡頻道音頻訊號時,解碼裝置可以在修正各頻道之多頻道音 頻訊號之能階之後輪出此多猶音頻訊號㈣)。 32 200931396 , 當不存在自—編碼裝置發出之關於特定頻道之能階修正資訊 時,「第22圖」顯示之解碼裝置能夠自己修正此特定頻道之能階。 此解碼裝置具有-特點為,特定頻道能階處理單元2212由多頻道 產生單元2210獨立構成。包含於特定頻道能階處理單元2212中 之頻道此階彻彳單元2213,能夠依據空間資訊包含之頻道能階偏 差(CLD)及縮混訊號2208計算初始音頻訊號之能階。所計算之能 階與自多頻道產生單元2210輸入之多頻道音頻訊號2211之能階 ® 相比較。 依據此比較結果’當躺存在-麟偏糾,則—能階修正 操作執行棚道雜修正單元2215巾。滅魏,頻道能階修正 單疋如5乘以多頻道音頻訊號則之能階以一預定特定頻道增 盈’進而修正多頻道音頻訊號2211之能階。這種情況下,當存在 -能階偏差時,修正卿單元2214可饌必麻行頻道能階修 ❹ 或者僅g存在之成階偏差超出一預定界限時,修正判別單 元2214可以判斷必須執行此頻道能階修正。 根據本判’射啸補嫌「第Μ圖」所狄解碼裝置 之另解碼裝置,但其不同於「第η圖」所示之解碼裳置之處在 於·其頻道触侧單元及修正卿單元係包含於多通道產生單 元中’且頻道能階修正單元制f立設置。 根據本發明’還可吨供類條「S 22 ®」麻之解碼裝置 之又解竭裝置’但其不同於「第22圖」所示之解碼裂置之處在 33 200931396 於··頻道雜侧單元、修正_單元賴觀祕正單元係包 3於多頻道產生單TL中。這種情況下,解碼裝置舰夠利用多頻 道產生単7C之内部功能’以執行各頻道之能階修正。使用内部功 能之能階修正方法可吨含以下方法,即#使肛交編滤波器The difference between the Q number 1405 and the first downmix signal 1404 is also used to correct the downmix signal 1408, such as reducing the sound level of the downmix signal 1408. In this case, any downmix gain applied to the downmix signal 1408 can be performed for each block. The multiplexer 1411 generates a bit stream 1412 containing the downmix signal 1410 and the spatial information signal 1406 to which any downmix gain has been applied. The spatial information signal 1406 is composed of spatial information extracted by the spatial information generating unit 1403. The bit stream 1412 is transmitted to a decoding device, and the bit stream 1412 can also contain information about any downmix gain. 21 200931396 "Figure 15" is a schematic diagram of a browning device according to an embodiment of the present invention, wherein - the arbitrary downmixing gain system is a bribe, and the positive interrogation I decoding device comprises - demultiplexing II 15G2 a downmix signal decoding unit, a spatial information signal decoding unit 1507, an arbitrary downmix gain extraction unit 15〇8, an arbitrary downmix gain application unit 1509, and a multichannel generation unit 1512. Please refer to "Fig. 15". The multiplexer 15〇2 separates a coded downmix signal 1503 and a coded space information signal 15〇4 from the bit stream 15〇1. The downmix signal decoding unit 1505 decodes the encoded downmix signal 15〇3, and outputs the generated decoded signal to the downmix signal 1506, wherein the downmix signal 1506 can be a mono, stereo or multi-channel audio signal. The downmix signal decoding unit 15〇5 can use a core codec. When the decoding device cannot process the downmix signal 15〇6 to output the multi-channel audio signal, the downmix signal 1506 can be directly output from the decoding device (〇utl) e spatial information signal decoding unit 1507 to decode the coded space information signal 1504, and output The generated decoded signal is spatial information 1511. The arbitrary downmix gain extraction unit 1508 extracts information about the arbitrary downmix gain from the spatial information signal 1504, that is, any downmix gain information. The arbitrary downmix gain extraction unit 1508 can also extract arbitrary downmix gain information from the downmix signal 1506. The arbitrary downmix gain application unit 1509 applies any downmix gain to the downmix signal 1506' where any downmix gain is determined in accordance with any downmix gain information extracted by any downmix gain extraction unit 15A8. The multi-channel generating unit 1512 uses the spatial information 1511 to convert the downmix signal 151 having an arbitrary downmixing gain into a multi-channel audio 22 200931396 signal 'and outputs a multi-channel audio signal (out2). Fig. 16 is a schematic view of the arrangement of the present invention, in which the encoding device cap gain and (4) the downmix gain wire are used for the test signal to correct the downmix signal. The encoding device includes a downmixing unit 16〇2, a spatial information generating unit 1603, a downmix gain applying unit 1606, an arbitrary downmix gain application unit_, and a multiplexer 1610. As shown in Figure 16, the downmixing unit 16〇2, the spatial information generating unit, the multiplexer and the multiplexer are the same or similar to the above-mentioned correspondences shown in Figure 14 and therefore are not given here. Detailed description. The coding device of "Fig. 16" is different from the coding device of "Fig. 14" in that the coding device of "Fig. 16" includes a downmix gain application unit 16〇6 and an arbitrary downmixing and thinning unit surface. An application that can perform relatives and arbitrary downmix gains. Although not shown in "Fig. 16," the encoding device of "Fig. 16" may include a downmix gain generating unit and an arbitrary downmix gain generating unit. In detail, the downmix gain unit is used to reduce the gain of the 1604 ° downmix signal to the full range of the downmix signal 1604. Moreover, the application of the downmix gain can be performed during the downmixing unit 1602 to downmix the multi-channel audio signal 1601 and thus generate the downmix signal 1604. 7 The arbitrary downmix gain application unit 16〇8 applies an arbitrary downmix gain to the downmix signal that has been applied with the downmix gain. As described above, applying any downmixing benefit to the downmix signal 1607 can be performed on each block. In accordance with the application of any downmix gain, the waveform of the downmix signal with 23 200931396 arbitrary downmix gain is applied, similar to the similar effect that occurs when dynamic range control (DRC) is applied. Any downmix gain can be applied to the downmix signal in the frequency domain, more specifically in the hybrid domain. According to the present invention, it is also possible to apply the downmix gain and the arbitrary downmix gain to the downmix signal input from the outside of the encoding device ("16th figure" is not shown). The multiplexer 1610 generates a bit stream 1611 containing a downmix signal 16〇9 and a spatial information signal 1605 applied with any downmix gain. Figure 17 is a schematic diagram of a decoding apparatus according to an embodiment of the present invention, wherein a downmixing gain and an arbitrary downmixing gain are applied to a downmix signal to correct a downmix signal. The decoding device comprises a demultiplexer 1702, a downmix signal decoding unit 17〇5, a spatial sub-signal decoding unit το HG7, a lag gain and an arbitrary downmix gain extracting unit 17〇8, and an arbitrary downmixing gain application. Unit 17〇9, a downmix gain application unit η. And a multi-channel generating unit 1714. ◎ Referring to "17th picture", the multiplexer 1702, the condensed code bribe unit 17〇5, the space 观 麟 num code unit (4), and the multi-channel generating unit (7) 4 have the same or similar correspondences as the "fifteenth figure" The component of Wei, shame this wealth and then give its detailed description. The difference between the decoding device of the "figure map" and the decoding device of the "figure 15" is that the decoding device of the "figure map" includes the pro-gain and arbitrary viewing gain extraction unit _, the arbitrary downmix gain application unit and The downmix gain should be ^Cui 1711 so the application of the downmix gain and any downmix gain can be performed. 24 200931396 , Ship gain and arbitrary downmix gain extraction unit ( from (4) information signal Π 04 extraction downmix gain _ intentional downmix gain. The downmix gain and any downmix gain information can be drawn through the side elements. Alternatively, the information can be extracted from individual components (not shown in Figure 17). In addition, the downmix gain and any downmix gain information may also be extracted from a downmix signal 1706. Arbitrary downmix gain application unit 17G9 application - arbitrary downmix gain to downmix signal 17G6 'its towel extension mixed gain Wei Zhao extracted arbitrary ship gain information generated, downmix signal 1706 according to the downmix signal decoding unit 17〇5 The decoding operation is generated. As described above, applying any downmix gain to the downmix signal 17〇6 can be performed for each frame. The downmix gain application unit 1711 applies the downmix gain generated in accordance with the downmix gain information to the downmix signal 1710, wherein the downmix signal 1710 has been applied with any downmix gain. The multichannel generating unit 1714 outputs the downmix signal 1712 to which the arbitrary downmixing gain and the downmixing gain have been applied, using the spatial information 1713, as a multichannel audio signal (〇ut2). When the field decoding device is unable to output such a multi-channel audio signal, the decoding device can directly rotate the downmix signal I7〇6 (〇utl) generated by the decoding operation of the downmix signal decoding unit 1705. A schematic diagram of a plurality of cheek bands with arbitrary downmixing gain applied to an embodiment of the invention. When applying any downmix gain to the frequency band of the audio signal, any downmix gain may have the same value as the channel energy level deviation (CLD) of the audio signal. For example, the 'arbitrary downmix gain can have the same number of parameter bands as the channel energy level deviation. 25 200931396 Therefore, when an arbitrary downmix gain is applied to the decoding apparatus, the number of groups can be determined in accordance with 'bsFreqResStridexxx' shown in Fig. 18, in which all frequency bands should be divided into this group. When, Stride, is i, grouping of all frequency bands is not performed. In this case, the reading of each fresh material downmix gain is performed, and the pitch-mixed gain is applied to the frequency band. When 〃pb(iv)e〃 is 5, the downmix gain is read every five bands and the arbitrary downmix gain of the read is applied to the five bands. On the other hand, when the pbstrif is 28, the reading of the arbitrary downmix gain is performed, and any pro-gain of the readout is applied to the money band. Therefore, when the lion is strong, the total band gain control is performed, and when the value of the gamma is not 则, the multi-band gain control is performed. It is also possible to perform the gain based on (4) the shrinkage of the job (4) Channel 〇 In addition, any reduction of the ylang also rises to the level. Here, the time slot represents a time interval through which the audio signal is evenly divided in the time domain. Therefore, when the sound level is facing the loud sound suddenly When the change occurs at a specific time position, the high-pitched gain control can be performed at this particular time position. When an arbitrary downmix gain value change occurs, an initial interpolation is performed on the arbitrary downmix gain. Otherwise, the scale Arbitrarily downmix the gain value. Therefore, in the case of the total band gain control, an arbitrary downmix gain for each time slot exists for all other bands. In the case of multi-band gain control, each time slot One of the 26 200931396 is intended to be used in multiple frequency bands. "19th picture" is a flowchart of the audio coding method of the present invention - an arbitrary secret gain Use the downmix signal to correct the downmix signal. The coding device that uses this sound ship rhyme code is first connected to the (4) Uyin Na (step 1901). Then, the squad number is shrunk by the scale element of the encoding device, and then the first downmix signal is generated (step 1902).产生 A spatial information signal is generated from the S channel audio signal through the empty service generating unit of the encoding device (step 19〇2). Then, the downmix signal directly input from the first downmix signal and the self-encoding device, that is, the second downmix signal, is compared by any downmix gain generating unit of the encoding device. According to the comparison result, the arbitrary downmix gain generating unit generates an arbitrary downmix gain (step 1903). Then, in any of the downmix signal application units of the encoding device, the generated arbitrary downmix gain is applied to the first downmix signal or the second downmix signal (step 1904) and then generated by the multiplexer of the encoding device. A bit stream with a downmix signal and a spatial information signal of any downmix gain is applied (step 19〇5). The generated bit stream is transmitted to a decoding device (step 19〇5). In accordance with the present invention, another audio signal encoding method can also be implemented in which the downmix gain and any downmix gain are applied to the downmix signal to correct the downmix signal. This encoding method is similar to the encoding method shown in Figure 19. The difference between the encoding method and the encoding method shown in Figure 19 is that the encoding method further includes applying the downmix gain to the reduction after generating the downmix signal and the spatial information signal as shown in "No. 19 27 200931396". The step of mixing the number. In this encoding method, then an arbitrary downmix gain can be applied to the downmix signal to which the downmix gain has been applied. According to the present invention, any downmix gain is generated in such a manner that the low frequency portion of any downmix gain is not generated as a gain, but is transmitted by performing residual coding of the low frequency component of the first downmix signal. The high frequency portion generated and, as in the conventional method, 'arbitrarily downmixed gain is generated as a gain such that the generated arbitrary downmix gain has an improved characteristic. Here, the residual code 〃 indicates the downmix signal of the directly coded portion. In the above method, the low frequency portion of any downmix gain is generated by performing direct residual coding for the low frequency component of the first downmix signal. However, the low frequency portion of any downmix gain can be generated by performing residual encoding for the difference between the first and second downmix signals. @ Any downmix gain generated as a gain and any downmix gain generated according to the low frequency component residual code of the first downmix signal is applied to the charm signal to correct the downmix signal. According to the present invention, the restoration information associated with the sound level loss generation point of the downmix signal can be added to any downmix gain, or can be transmitted along with any downmix gain, so that any downmix gain with restoration information can be used for the decoding device. Correction of the medium-mixed mixed signal. According to this (4), the information of the navigation domain correction (for example, (4) Airborne amplitude) and the information used to restore the second downmix signal to reduce the deviation between the second downmix signal and the first downmix signal 28 200931396, Can be included in an arbitrary downmix gain. The arbitrary downmixing gain generated according to the above manner may be included in the state in the spatial information signal transmitted. FIG. 20 is a flowchart of the audio signal decoding method according to an embodiment of the present invention, where an arbitrary downmix is used in the solution method. The gain (ADG) is applied to a downmix signal to correct the downmix signal. Referring to Fig. 20, the decoding device applying the audio signal decoding method receives a bit stream of an audio signal (step 2001). The bit stream includes a coded downmix signal and an encoded space information signal. The coded downmix signal and the coded spatial information signal are separated from the received bit stream by one of the encoding devices (step 2002). The separated downmix signal is kicked off by the downmix signal decoding unit of the decoding device (step 2〇〇3). When the decoding device can not output the downmix signal as a multi-channel audio signal by using the spatial information, the decoding device can directly output the decoded downmixed magnetic (pitch 2GG8) m through the downmix signal decoding unit. When the mixed signal is a multi-channel audio signal (step 2004), perform the following steps. That is to say, the separated spatial information signal is depleted by decoding the spatial information signal decoding unit of the split, thereby generating spatial information. Any of the downmix gain extraction units of the decoding device can also be extracted from the space (four) signal or downmix signal (step 2_. An arbitrary downmix gain can be determined based on the extracted arbitrary downmix gain information) Any of the downmix gain application units of the decoding device is determined to be a step-by-step (2) 6). According to the information of the space 29 200931396, the downmix signal applying the arbitrary downmix gain is converted into a multi-channel audio signal through the multi-channel generating unit of the decoding device, and the multi-channel audio signal is output from the decoding device (step 2007). Another decoding method can also be implemented in accordance with the present invention in which a downmix gain and an arbitrary downmix gain are applied to a downmix signal to correct the downmix signal. This decoding method is similar to the decoding method shown in Figure 20. The decoding method differs from the decoding method shown in FIG. 20 in that the method includes the step of applying a downmix gain to the downmix signal before applying any downmix gain to the downmix signal (step 2006). . The downmix gain information and any downmix gain information are extracted from a spatial information signal or a downmix signal by a downmix gain and an arbitrary downmix gain extraction unit (not shown). Then, the downmix gain generated based on the extracted downmix gain information is applied to the downmix signal. The downmix gain can be applied to the full range of downmix signals. Therefore, any downmix gain generated by 0 based on the extracted arbitrary downmix gain information is applied to this downmix signal. Applying any downmix gain to the downmix signal can be performed on each frame. Fig. 21 is a block diagram of an encoding apparatus for correcting an energy levd of a specific channel according to an embodiment of the present invention. The encoding device includes a specific channel level processing unit 2102, a downmixing unit 21〇4, a spatial information generating early element 2105' and a multiplexer 2108. Referring to "21st picture", the specific channel level processing unit 21〇2 receives a multi-channel audio signal 2101, corrects the 30 200931396 energy level of the specific channel of the received multi-channel audio signal 21〇1, and outputs the corrected multi-channel. Audio signal 2103. Here, the energy level represents a value proportional to the amplitude of the associated signal and includes a sound level. Whether the energy level of a particular channel changes and how it changes can be judged by measurement or calculation. Preferably, the energy level correction is achieved by applying a specific channel gain to a channel signal whose energy level changes. For example, by applying a surround gain or a low frequency (LFE) gain to a surround channel or a low frequency channel, this level correction can be achieved. The downmixing unit 2014 downmixes the multi-channel audio signal 2103 of the energy level correction, thereby generating a downmix signal 2106. Ο and the spatial information generating unit 2105 extracts spatial information from the multi-channel audio signal 2103. The multiplexer 2108 generates a bit stream 2109 containing a downmix signal 2106 and a spatial information signal 21〇7. The spatial information signal 2107 is composed of spatial information extracted by the spatial information generating unit 2105. The bit stream 21〇9 is transmitted to a decoding device, and the bit stream 2109 may also contain specific channel gain information. Fig. 22 is a block diagram of a decoding apparatus for correcting the energy level of a specific channel according to an embodiment of the present invention. The decoding device comprises a demultiplexer 2202, a downmix signal decoding unit 2205, a spatial information signal decoding unit 2206, a multichannel generating unit 2210, and a specific channel level processing unit 2212. Referring to Fig. 22, the multiplexer 2202 receives a bit stream 2201' of an audio signal and separates a coded downmix signal 22〇3 and a coded space information signal 2204 from the bit stream 2210. The downmix signal decoding unit 2205 decodes the encoded downmix signal 22〇3 and outputs a decoded downmix signal 2208 generated by the 31 200931396. The downmix signal decoding unit 2205 can also generate the downmix signal 2209 in the form of pulse code modulation (PCM) data by decoding the encoded downmix signal 2203'. The spatial information signal decoding unit 2206 decodes the spatial information signal 2204 and outputs the generated spatial information 2207. The multi-channel generating unit 2210 converts the downmix signal 2209 into a multi-channel audio signal 2211. The specific channel level processing unit 2212 receives the multi-channel audio signal 2211, the space 〇 2 signal 2207, and the downmix signal 2208, and performs energy level correction of each channel according to the received signal. The specific channel level processing unit 2212 includes a channel energy level detecting unit 2213', a correction determining unit 2214, and a channel level changing unit 2215. The channel level detection unit το 2213 detects whether and how the channel level of the multi-channel audio signal 2211 changes in each channel. The correction discriminating unit 2214 performs a shutdown based on the side of the channel energy level measurement ◎ early 70 2213. The shutdown-new correction is performed by each of the channels. The channel level correcting unit 2215 is based on the energy level of the peak positive-special path of the result of the discrimination performed by the correction determining unit 2214. When the standby decoding device is unable to rotate a multi-channel audio signal, the decoding device can directly output the downmix signal 22〇8 (outl), wherein the downmix signal is generated according to the decoding operation of the downmix signal unit 2205. On the other hand, when the decoding device is capable of outputting the channel audio signal, the decoding device can rotate the multi-sound audio signal (4) after correcting the energy level of the multi-channel audio signal of each channel. 32 200931396, When there is no energy level correction information about a specific channel issued by the self-encoding device, the decoding device shown in "Fig. 22" can correct the energy level of the specific channel by itself. This decoding apparatus has a feature that the specific channel level processing unit 2212 is independently constituted by the multichannel generating unit 2210. The channel-ordering unit 2213 included in the specific channel level processing unit 2212 can calculate the energy level of the initial audio signal according to the channel energy level deviation (CLD) and the downmix signal 2208 included in the spatial information. The calculated energy level is compared with the energy level ® of the multi-channel audio signal 2211 input from the multi-channel generating unit 2210. According to the comparison result, when the lying-in-the-edge correction is performed, the energy level correction operation is performed on the shed trimming unit 2215. Destroy Wei, the channel energy level correction, such as 5 multiplying the multi-channel audio signal, then the energy level is adjusted by a predetermined channel to further improve the multi-channel audio signal 2211. In this case, when there is a - energy level deviation, the correction unit 2214 may correct the channel energy level correction or only if the step deviation of the g existence exceeds a predetermined limit, the correction determination unit 2214 may determine that this must be performed. Channel level correction. According to this judgment, the other decoding device of the "decoding" of the "figure map" is different from the decoding device shown in the "nth diagram" in that the channel touch side unit and the correction unit It is included in the multi-channel generation unit' and the channel level correction unit is set up. According to the present invention, it is also possible to provide a decommissioning device for the decoding device of the "S 22 ®" hemp "but it is different from the decoding crack shown in the "Fig. 22" in 33 200931396 The side unit, the correction unit, and the unit 3 are generated in a single channel in the multi-channel. In this case, the decoding device ship can use the multi-channel generation of the internal function of the 単7C to perform the energy level correction of each channel. The energy level correction method using the internal function can contain the following method, that is, the # anal filter

(QMF)或混合濾波器時肋調整上麟波器增益之方法,用以調整 總增益之方㈣簡整—___她)錢矩物。馳她) 值之方法’用以調整關於次頻帶包跡(subband envel〇pe)應用工具 或時間包峰meenvebpe)_4魏之綠,當—去_訊號 ’、、初始訊號求和時’用以調整上述兩種訊號增益之方法,或者 取代上述方法,使用-特賴組之綠。#使肛交鏡相遽波器 (QMF)姐合齡n實__,簡分料鋪道續帶特性。 田使用-人頻帶包跡(subband envd〇pe)應用王具或時間包跡㈣ envelope)顧工具實簡碼時,則能夠使好產生提供現實效果 之一最終訊號。 第23圖」為本發明一實施例之解碼裝置之方麵此編碼 裝置用以修正-特定财之能階。此解碼裝置具有類似於「第^ 圖」斤示解碼裝置之構架。因此’關於類似構造,例如解多工器 2302縮此戒號解碼單元23〇5以及空間資訊訊號解碼單元細, 將不再詳細說^「第23圖」之解碼裝置區別於「第力圖」之解 碼裝置之處在於’其狀頻道能階處理單元Μ⑽之位置^_ 22圖」之解碼裝置。 、第 34 200931396 請參考「第23圖」,特定頻道能階處理單元2308包含一頻道 能階偵測單元2309,一修正判別單元2310,以及一頻道能階修正 單元2311。特定頻道能階處理單元2308能夠修正各頻道之縮混訊 號2307之能階,其中縮混訊號2307具有一脈波碼調制(PCM)資料 形式。 詳細來說’當假設依據初始訊號與複製訊號之能階比較,能 夠偵測初始訊號與複製訊號之間的能階差別時,頻道能階修正單 〇 元2311則於一頻道基礎上修正縮混訊號2307之能階。 特定頻道能階處理單元2308傳輸一縮混訊號2312至多頻道 產生單元2313。在藉由一空間資訊訊號2304處理縮混訊號2312 之後,多頻道產生單元2313能夠輸出此縮混訊號2312為一多頻 道音頻訊號2314(out2) ’其中依照空間資訊訊號解碼單元23〇3用 於空間資訊訊號之解碼操作,而產生空間資訊於空間資訊訊號 2304 中。 〇 同時,依照本發明,可執行利用相關音頻訊號之位元流之特 疋頻道之能階修正。詳細地,當一編碼裝置修正特定頻道之能階, 並以修正資訊包含於一位元流中之狀態傳輸修正資訊時,一解碼 裝置接收此位元流,並能夠提取此修正資訊自位元流,並且能夠 依據提取之修正資訊復原特定頻道之能階。例如,編碼裝置設置 具有不同值之環繞增益,應用其中選擇一環繞增益至一環繞頻 ’道’並包含關於應用環繞增益之資訊,即環繞增益資訊於一位元 35 200931396 流中。這時,環繞增益資訊可以被包含於位元流之空間資訊訊號 中。解碼裝置自位元流提取環繞增益資訊。利用此提取資訊,解 碼裝置能夠復原環繞頻道之能階至一初始能階。在下文中,將詳 細描述插入修正資訊至位元流之方法。 首先,格式化一空間資訊訊號,使其每框或每複數個個框具 有一標頭。關於特定頻道之修正資訊(例如環繞增益資訊)係包含於 此標頭中。當空間資訊訊號每複數個框具有一標頭時,標頭可以 〇 每複數個框週期性地或非週期性地包含於空間資訊訊號中。 位疋流也可以包含位元資訊,以表示〃哪個頻道應當被放大 或者減弱’以及此頻道如何被放大或減弱(分貝)〃。這種情況下, 位元流可以包含關於一特定頻道之能階是否應當修正之資訊,或 者當執行修正時先前資料是否應當連續使用之資訊。位元流也可 以包含關於哪個頻道應當被修正之資訊。此外,位元流可以包含 ^ 關於即將修正頻道之減弱或放大能階(分貝)之資訊。 依照本發明,一方法可執行於分為一組之特定頻道中,進而 特疋頻道增益之調整可每組執行。換言之,於一編碼裝置中,不 同頻道增益被分別朗於不同的特定頻道組。在祕操作之後, 編碼裝置以特疋頻道增益資訊包含於_位元流巾之狀態傳輸此特 定頻道增益資訊,其巾位元流係依社雜混操作*產生。一解 碼裝置透過應用編碼装置所使用之頻道增益互逆(recipr〇cal)至每 組之多頻道音頻訊號,進而復原多頻道音頻訊號之能階至一初始 36 200931396 能階。 例如,-音頻訊號之頻道可分為w,即第—組由—中心頻 道、一左前頻道及-右觸道組成,m左後頻道及一 右後頻道組成,以及-第三組由—低_道組成。上述情況下, 可使用—第-特錢道增益職方咏執行各财—特定頻道增 益應用至各個頻道時,並且由此所得之頻道求和以產生一單聲道 縮混訊號。在解碼裝置巾,此單聲道__被傳輸至多個頻道, Ο 並且每組之各個多頻道被乘以—侧特摘道增益,進而單聲道 縮混訊號錢原至-擁績翻^。上料定舰增益乘法可 以在轉變步驟之後或過程中執行。 -第一特定紐增益調整方法也可以使用。依照此第二方 法,-特定頻道增益被應用至每組之各個頻道。因此,左前頻道 與左後頻道求和以產生-左頻道,並且右前頻道與右後頻道求和 產生右頻道。-特疋頻道增益被應用至各個中心頻道及低頻頻 道,其依次乘以1/2a(1/2)。由此制之親分職增加至左頻道 及右頻道’身歷聲縮混訊號。當上述產生之身歷聲縮混 訊號被解碼產生-最終訊麟,特定頻道增益應關執行於各 組。特別地,自縮混訊號之左頻道及右頻道提取之訊號被乘以 2Λ(1/2),並增加至中心頻道及低頻頻道。雖然上述描述之本實施 例係關於一單聲道或身歷聲訊號,但本發明不局限於此。 依照本發明,還可以執行另一種方法,其中在應用特定頻道 37 200931396 增益至每組之各個頻道之後產生_縮混訊號,以及執行一縮混增 益之應用以用於所產生之縮混訊號。 雖然本發明以前述之較佳實施例揭露如上,然其並非用以限 疋本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍 内,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視 本說明書所附之申請專利範圍所界定者為準。 【工業應用】 〇 如上文之描述可顯然瞭解,透過應用一縮混增益至依據多頻 道音頻訊號之縮混所產生之一縮混訊號,或者在應用一縮混增益 至多頻道音頻訊號之後,透過縮混此多頻道音頻訊號,本發明能 夠有效地防止一多頻道音頻訊號之聲級損失。 透過應用一任意縮混增益至依據多頻道音頻訊號之縮混所產 生之一縮混訊號,或者在應用一縮混增益至縮混訊號之後,透過 執行應用任意縮混增益至此縮混訊號,也能夠防止多頻道音頻訊 ® 號之聲級損失問題。 此外’透過修正多頻道音頻訊號之特定頻道之能階,以及縮 混此修正多頻道音頻訊號以產生一縮混訊號,也能夠防止多頻道 音頻訊號之聲級損失問題。 【圖式簡單說明】 第1圖係顯示使得人類識別音頻訊號包含之空間資訊之方法 示意圖; 38 200931396 第2圖為音頻訊號編碼過程中出現之音頻訊號聲級損失現象 之波形圖; 第3圖為本發明一實施例之第一編碼裝置之示意圖,其中一 縮混增益係應用至一縮混訊號,以修正此縮混訊號; 第4圖為本發明一實施例之第一解碼裝置之示意圖,其中一 縮混增益係應用至一縮混訊號,以修正縮混訊號; 第5圖為本發明一實施例之第二編碼裝置之示意圖,其中一 〇 縮混增益係應用至多頻道音頻訊號,以修正多頻道音頻訊號; 第6圖為本發明一實施例之第二解碼裝置之示意圖,其中一 縮混增益係應用至一多頻道音頻訊號,以修正多頻道音頻訊號; 第7圖為本發明一實施例之第三編碼裝置之示意圖,其中一 縮混增益係應用至一縮混訊號,以修正縮混訊號; 第8圖為本發明一實施例之第三解碼裝置之示意圖,器中一 縮混增益應用至一縮混訊號,以修正此縮混訊號; 〇 第9圖分別為本發明實施例之包含縮混增益資訊之位元流示 意圖; 第10A圖與第10B圖為本發明一實施例之各類型之縮混增益 不意圖, 第11圖為本發明防止縮混增益之應用所導致框周圍聲音品 質降低之方法; . 第12圖為本發明一實施例之音頻訊號編碼方法之流程圖,其 39 200931396 中此編碼方法應用一縮混增益至縮混訊號; 第13圖為本發明一實施例之音頻訊號解碼方法之流程圖,其 中一縮混增益係應用至縮混訊號; 第14圖為本發明一實施例之編碼裝置之示意圖,其中一任意 縮混增益(ADG)係應用至一縮混訊號,以修正此縮混訊號; 第15圖為本發明一實施例之解碼裝置之示意圖,其中一任意 縮混增益係應用至縮混訊號,以修正縮混訊號; 第16圖為本發明一實施例之編碼裝置之示意圖,其中縮混增 益及任意縮混增益係應用至縮混訊號,以修正縮混訊號; 第17圖為本發明一實施例之解碼裝置之示意圖,其中縮混增 益及任意縮混增益係應用至縮混訊號,以修正縮混訊號; 第18圖為本發明一實施例之應用有任意縮混增益之複數個 頻帶之示意圖; 第19圖為本發明一實施例之音頻訊號編碼方法之流程圖,其 中一任意縮混增益應用至縮混訊號,以修正縮混訊號; 第20圖為本發明一實施例之音頻訊號解碼方法流程圖,此解 碼方法中一任意縮混增益應用至一縮混訊號,以修正縮混訊號; 第21圖為本發明一實施例之編碼裝置之方塊圖,其中此編碼 裝置用以修正一特定頻道之聲級; 第22為本發明一實施例之解碼裝置之方塊圖,此解碼裝置用 以修正一特定頻道之聲級;以及 200931396 第23圖為本發明一實施例之解碼裝置之方塊圖,此編碼裝置 用以修正一特定頻道之聲級。 【主要元件符號說明】 101 遠程聲源 102 直傳聲波 103 直傳聲波 104 反射聲波(QMF) or hybrid filter rib adjustment of the upper arm gain method, used to adjust the total gain side (four) simple - ___ her) money moments. Chi) The method of value 'to adjust the subband envel〇pe application tool or time peak meenvebpe) _4 Wei Zhi green, when - go _ signal ', initial signal sum when 'used To adjust the above two signal gains, or to replace the above method, use the Green of the Terai group. #使肛镜相相器 (QMF) sister ageing n real __, simple material paving continuation characteristics. Field use-subband envd〇pe application of the king or time envelope (four) envelope) When the tool is short-coded, it can produce a final signal that provides realistic results. Fig. 23 is a view showing the aspect of the decoding apparatus according to an embodiment of the present invention for correcting the energy level of the specific money. This decoding device has a structure similar to that of the "figure" decoding device. Therefore, regarding the similar configuration, for example, the demultiplexer 2302 is reduced by the ring decoding unit 23〇5 and the spatial information signal decoding unit, the decoding device of the "23rd picture" will not be described in detail. The decoding device is located in the decoding device of 'the position of the channel level processing unit Μ(10). 34, 2009, 396, Please refer to FIG. 23, the specific channel energy level processing unit 2308 includes a channel energy level detecting unit 2309, a correction determining unit 2310, and a channel energy level correcting unit 2311. The specific channel level processing unit 2308 is capable of correcting the energy level of the downmix signal 2307 of each channel, wherein the downmix signal 2307 has a pulse code modulation (PCM) data format. In detail, when it is assumed that the energy level difference between the initial signal and the reproduced signal can be detected according to the energy level of the initial signal and the reproduced signal, the channel level correction unit 2311 corrects the downmix on a channel basis. The energy level of signal 2307. The specific channel level processing unit 2308 transmits a downmix signal 2312 to a multichannel generating unit 2313. After processing the downmix signal 2312 by a spatial information signal 2304, the multichannel generating unit 2313 can output the downmix signal 2312 as a multichannel audio signal 2314 (out2) 'where the space information signal decoding unit 23 〇 3 is used. The decoding operation of the spatial information signal generates spatial information in the spatial information signal 2304. Meanwhile, in accordance with the present invention, energy level correction of a special channel using a bit stream of the associated audio signal can be performed. In detail, when an encoding device corrects the energy level of a specific channel and transmits the correction information in a state in which the correction information is included in the one-bit stream, a decoding device receives the bit stream and can extract the correction information self-bit element. Streaming, and can restore the energy level of a particular channel based on the extracted correction information. For example, the encoding device sets a surround gain having a different value, in which a surround gain is selected to a surround frequency 'channel' and contains information about the applied surround gain, i.e., surround gain information in a bit 35 200931396 stream. At this time, the surround gain information can be included in the spatial information signal of the bit stream. The decoding device extracts surround gain information from the bit stream. Using this extraction information, the decoding device can restore the energy level of the surrounding channel to an initial level. In the following, a method of inserting correction information into a bit stream will be described in detail. First, format a spatial information signal so that each frame or each of the multiple frames has a header. Correction information about a particular channel (such as surround gain information) is included in this header. When each of the plurality of frames of the spatial information signal has a header, the header may be included in the spatial information signal periodically or non-periodically. Bitstreams can also contain bit information to indicate which channel should be amplified or attenuated' and how this channel is amplified or attenuated (decibel). In this case, the bit stream may contain information as to whether the energy level of a particular channel should be corrected, or whether the previous data should be used continuously when the correction is performed. The bitstream can also contain information about which channel should be corrected. In addition, the bitstream can contain information about the attenuation or amplification level (decibel) of the channel to be corrected. In accordance with the present invention, a method can be performed in a particular group of channels, and the adjustment of the characteristic channel gain can be performed for each group. In other words, in an encoding device, different channel gains are respectively differentiated from different specific channel groups. After the secret operation, the encoding device transmits the specific channel gain information in the state of the special channel gain information included in the _bit stream towel, and the towel bit stream is generated according to the cooperative operation*. A decoding device reciprocates the channel gain used by the encoding device to each group of multi-channel audio signals, thereby restoring the energy level of the multi-channel audio signal to an initial 36 200931396 energy level. For example, the channel of the audio signal can be divided into w, that is, the first group consists of a central channel, a left front channel, and a right touch channel, m left rear channel and a right rear channel, and - the third group consists of - low _ Road composition. In the above case, the channel-specific channel gain can be applied to each channel, and the resulting channel is summed to generate a mono downmix signal. In the decoding device, the mono __ is transmitted to a plurality of channels, Ο and each of the multi-channels of each group is multiplied by the side special singular gain, and then the mono downmix signal Qianyuan to - the performance is turned over ^ . The loading and landing gain multiplication can be performed after or during the transition step. - The first specific gain adjustment method can also be used. According to this second method, a specific channel gain is applied to each channel of each group. Therefore, the left front channel and the left rear channel are summed to generate a left channel, and the right front channel and the right rear channel are summed to generate a right channel. The characteristic channel gain is applied to each of the center channel and the low frequency channel, which is multiplied by 1/2 a (1/2) in turn. The resulting division is added to the left channel and the right channel's experience. When the generated live downmix signal is decoded and generated - the final channel gain, the specific channel gain should be performed in each group. In particular, the signals extracted from the left channel and the right channel of the downmix signal are multiplied by 2 Λ (1/2) and added to the center channel and the low frequency channel. Although the present embodiment described above relates to a mono or stereo signal, the present invention is not limited thereto. In accordance with the present invention, another method can also be practiced in which a _ downmix signal is generated after applying a particular channel 37 200931396 gain to each channel of each group, and an application of downmixing is performed for the resulting downmix signal. While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the scope of the present invention, and it is possible to make some modifications and refinements without departing from the spirit and scope of the invention. The patent protection scope of the present invention is defined by the scope of the patent application attached to the specification. [Industrial Applications] As can be apparent from the above description, by applying a downmix gain to a downmix signal generated by downmixing of multichannel audio signals, or after applying a downmix gain to a multichannel audio signal, By downmixing the multi-channel audio signal, the present invention can effectively prevent the loss of sound level of a multi-channel audio signal. By applying an arbitrary downmix gain to a downmix signal generated by the downmixing of the multichannel audio signal, or after applying a downmix gain to the downmix signal, by applying an arbitrary downmix gain to the downmix signal, It can prevent the loss of sound level of multi-channel audio signal®. In addition, by correcting the energy level of the specific channel of the multi-channel audio signal and downmixing the modified multi-channel audio signal to generate a downmix signal, the sound level loss of the multi-channel audio signal can also be prevented. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic diagram showing a method for enabling humans to recognize spatial information contained in an audio signal; 38 200931396 Fig. 2 is a waveform diagram of a sound level loss phenomenon occurring during audio signal encoding; A schematic diagram of a first encoding device according to an embodiment of the present invention, wherein a downmixing gain is applied to a downmix signal to correct the downmix signal; and FIG. 4 is a schematic diagram of a first decoding device according to an embodiment of the present invention; One of the downmix gains is applied to a downmix signal to correct the downmix signal. FIG. 5 is a schematic diagram of a second encoding device according to an embodiment of the present invention, wherein a downmix gain is applied to the multichannel audio signal. To modify the multi-channel audio signal; FIG. 6 is a schematic diagram of a second decoding device according to an embodiment of the present invention, wherein a downmix gain is applied to a multi-channel audio signal to correct a multi-channel audio signal; A schematic diagram of a third encoding device according to an embodiment of the present invention, wherein a downmixing gain is applied to a downmix signal to correct a downmix signal; FIG. 8 is a present invention A schematic diagram of a third decoding device in an embodiment, wherein a downmixing gain is applied to a downmix signal to correct the downmix signal; and FIG. 9 is a bit including a downmix gain information in an embodiment of the present invention, respectively. FIG. 10A and FIG. 10B are diagrams showing various types of downmix gains according to an embodiment of the present invention, and FIG. 11 is a method for preventing sound quality around the frame caused by the application of the downmix gain in the present invention; 12 is a flowchart of an audio signal encoding method according to an embodiment of the present invention. In the method of 39 200931396, the encoding method applies a downmixing gain to a downmix signal. FIG. 13 is a flowchart of an audio signal decoding method according to an embodiment of the present invention. FIG. 14 is a schematic diagram of an encoding apparatus according to an embodiment of the present invention, wherein an arbitrary downmix gain (ADG) is applied to a downmix signal to correct the reduction. FIG. 15 is a schematic diagram of a decoding apparatus according to an embodiment of the present invention, wherein an arbitrary downmix gain is applied to a downmix signal to correct a downmix signal; and FIG. 16 is an implementation of the present invention. The schematic diagram of the encoding device, wherein the downmix gain and any downmix gain are applied to the downmix signal to correct the downmix signal; FIG. 17 is a schematic diagram of the decoding device according to an embodiment of the present invention, wherein the downmix gain and the arbitrary downsizing The hybrid gain system is applied to the downmix signal to correct the downmix signal; FIG. 18 is a schematic diagram of a plurality of frequency bands to which any downmix gain is applied according to an embodiment of the present invention; and FIG. 19 is an audio signal according to an embodiment of the present invention; A flowchart of an encoding method, wherein an arbitrary downmixing gain is applied to the downmix signal to correct the downmix signal; and FIG. 20 is a flowchart of an audio signal decoding method according to an embodiment of the present invention, wherein the decoding method has an arbitrary downmixing gain Applying to a downmix signal to correct a downmix signal; FIG. 21 is a block diagram of an encoding apparatus according to an embodiment of the present invention, wherein the encoding device is used to correct a sound level of a specific channel; a block diagram of a decoding device for correcting a sound level of a specific channel; and 200931396 FIG. 23 is a block diagram of a decoding device according to an embodiment of the present invention This particular coding means for correcting a sound level of the channel. [Main component symbol description] 101 Remote sound source 102 Direct sound wave 103 Direct sound wave 104 Reflected sound wave

105 反射聲波 106 右耳 107 左耳 301 多頻道音頻訊號 302 縮混單元 303 空間資訊產生單元 304 縮混訊號 305 空間資訊訊號 306 縮混增益應用單元 307 應用有縮混增益之縮混訊號 308 多工器 309 位元流 401 位元流 402 解多工器 200931396 403 編碼縮混訊號 404 編碼空間資訊訊號 405 縮混訊號解碼單元 406 空間資訊訊號解碼單元 407 縮混訊號 408 空間資訊 409 縮混增益應用單元105 reflected sound wave 106 right ear 107 left ear 301 multi-channel audio signal 302 downmixing unit 303 spatial information generating unit 304 downmix signal 305 spatial information signal 306 downmix gain application unit 307 application of downmix signal 308 with downmix gain 309 bit stream 401 bit stream 402 demultiplexer 200931396 403 code downmix signal 404 code space information signal 405 downmix signal decoding unit 406 space information signal decoding unit 407 downmix signal 408 space information 409 downmix gain application unit

410 縮混訊號 411 多頻道產生單元 501 多頻道音頻訊號 502 縮混增益應用單元 503 應用有縮混增益之多頻道音頻訊號 504 縮混單元 505 空間資訊產生單元 506 縮混訊號 507 空間資訊訊號 508 多工器 509 位元流 601 位元流 602 解多工器 603 編碼縮混訊號 42 200931396 604 編碼空間資訊訊號 605 縮混訊號解碼單元 606 空間資訊訊號解碼單元 607 縮混訊號 608 空間資訊 609 多頻道產生單元 610 縮混訊號410 downmix signal 411 multi-channel generating unit 501 multi-channel audio signal 502 downmix gain application unit 503 multi-channel audio signal 504 with downmixing gain condensing unit 505 spatial information generating unit 506 downmix signal 507 spatial information signal 508 509 bit stream 601 bit stream 602 demultiplexer 603 code downmix signal 42 200931396 604 code space information signal 605 downmix signal decoding unit 606 spatial information signal decoding unit 607 downmix signal 608 space information 609 multi channel generation Unit 610 downmix signal

611 縮混增益應用單元 701 多頻道音頻訊號 702 縮混單元 703 空間資訊產生單元 704 縮混訊號 705 空間資訊訊號 706 縮混增益確定單元 707 縮混增益 708 縮混增益應用單元 709 應用有縮混增益之縮混訊號 710 多工器 711 位元流 801 位元流 802 解多工器 43 200931396 803 解碼縮混訊號 804 解碼空間資訊訊號 805 縮混訊號解碼單元 806 縮混訊號 807 空間資訊訊號解碼單元 808 縮混增益提取單元 809 縮混增益應用單元611 downmix gain application unit 701 multi-channel audio signal 702 downmix unit 703 spatial information generating unit 704 downmix signal 705 spatial information signal 706 downmix gain determining unit 707 downmix gain 708 downmix gain application unit 709 applied with downmix gain Downmix signal 710 multiplexer 711 bit stream 801 bit stream 802 demultiplexer 43 200931396 803 Decode downmix signal 804 Decode spatial information signal 805 Downmix signal decoding unit 806 Downmix signal 807 Space information signal decoding unit 808 Downmix gain extraction unit 809 downmix gain application unit

810 縮混訊號 811 空間資訊 812 多頻道產生單元 901 縮混訊號 902 空間資訊訊號 903 縮混訊號 904 標頭 1401 多頻道音頻訊號 1402 縮混單元 1403 空間資訊產生單元 1404 第一縮混訊號 1405 第二縮混訊號 1406 空間資訊訊號 1407 任意縮混增益產生單元 44 200931396 1408 縮混訊號 1409 任意縮混增益應用單元 1410 應用有任意縮混增益之縮混訊號 1411 多工器 1412 位元流 1501 位元流 1502 解多工器810 Downmix signal 811 Spatial information 812 Multi-channel generating unit 901 Downmix signal 902 Spatial information signal 903 Downmix signal 904 Header 1401 Multi-channel audio signal 1402 Downmixing unit 1403 Spatial information generating unit 1404 First downmix signal 1405 Second Downmix signal 1406 spatial information signal 1407 arbitrary downmix gain generation unit 44 200931396 1408 downmix signal 1409 arbitrary downmix gain application unit 1410 application of downmix signal with arbitrary downmix gain 1411 multiplexer 1412 bit stream 1501 bit stream 1502 solution multiplexer

1503 編碼縮混訊號 1504 編碼空間資訊訊號 1505 縮混訊號解碼單元 1506 縮混訊號 1507 空間資訊訊號解碼單元 1508 任意縮混增益提取單元 1509 任意縮混增益應用單元 1510 應用有任意縮混增益之縮混訊號 1511 空間資訊 1512 多頻道產生單元 1601 多頻道音頻訊號 1602 縮混單元 1603 空間資訊產生單元 1604 縮混訊號 45 2009313961503 coded downmix signal 1504 coded space information signal 1505 downmix signal decoding unit 1506 downmix signal 1507 spatial information signal decoding unit 1508 arbitrary downmix gain extraction unit 1509 arbitrary downmix gain application unit 1510 application of downmixing with arbitrary downmix gain Signal 1511 Spatial Information 1512 Multi-channel generating unit 1601 Multi-channel audio signal 1602 Downmixing unit 1603 Spatial information generating unit 1604 Downmixing signal 45 200931396

1605 1606 1607 1608 1609 1610 1611 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 空間資訊訊號 縮混增益應用單元 應用有縮混增益之縮混訊號 任意縮混增益應用單元 應用有縮混增益及任意縮混增益之縮混訊號 多工器 位元流 位元流 解多工器 編碼縮混訊號 編碼空間資訊訊號 縮混訊號解碼單元 縮混訊號 空間資訊訊號解碼單元 縮混增益與任意縮混增益提取單元 任意縮混增益應用單元 應用有任意縮混增益之縮混訊號 縮混增益應用單元 應用有任意縮混增益及縮混增益之縮混訊號 空間資訊 多頻道產生單元 46 200931396 2101 多頻道音頻訊號 2102 特定頻道能階處理單元 2103 修正多頻道音頻訊號 2104 縮混單元 2105 空間資訊產生單元 2106 縮混訊號 2107 空間資訊訊號1605 1606 1607 1608 1609 1610 1611 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 Spatial information signal downmix gain application unit Application of downmix signal with downmix gain Any downmix gain application unit with downmix gain and Any downmixing gain downmix signal multiplexer bit stream bit stream stream multiplexer code downmix signal code space information signal downmix signal decoding unit downmix signal space information signal decoding unit downmix gain and arbitrary downmix gain Extracting unit arbitrary downmix gain application unit applying downmixing signal with arbitrary downmixing gain downmixing gain application unit applying downmixing signal with arbitrary downmixing gain and downmixing gain spatial information multichannel generating unit 46 200931396 2101 multichannel audio Signal 2102 specific channel energy processing unit 2103 modified multi-channel audio signal 2104 downmix unit 2105 spatial information generating unit 2106 downmix signal 2107 spatial information signal

2108 多工器 2109 位元流 2201 位元流 2202 解多工器 2203 編碼縮混訊號 2204 編碼空間資訊訊號 2205 縮混訊號解碼單元 2206 空間資訊訊號解碼單元 2207 空間資訊 2208 縮混訊號 2209 縮混訊號 2210 多頻道產生單元 2211 多頻道音頻訊號 2212 特定頻道能階處理單元 47 1 200931396 2213 頻道能階偵測單元 2214 修正判別單元 2215 頻道能階修正單元 2301 位元流 2302 解多工器 2303 空間資訊訊號解碼單元 2304 空間資訊訊號2108 multiplexer 2109 bit stream 2201 bit stream 2202 demultiplexer 2203 code downmix signal 2204 code space information signal 2205 downmix signal decoding unit 2206 space information signal decoding unit 2207 space information 2208 downmix signal 2209 downmix signal 2210 Multi-channel generating unit 2211 Multi-channel audio signal 2212 Specific channel level processing unit 47 1 200931396 2213 Channel level detecting unit 2214 Correcting unit 2215 Channel level correcting unit 2301 Bit stream 2302 Demultiplexer 2303 Spatial information signal Decoding unit 2304 spatial information signal

2305 縮混訊號解碼單元 2306 縮混訊號 2307 縮混訊號 2308 特定頻道能階處理單元 2309 頻道能階偵測單元 2310 修正判別單元 2311 頻道能階修正單元 2312 縮混訊號 2313 多頻道產生單元 2314 多頻道音頻訊號 步驟1201 接收多頻道音頻訊號 步驟1202 產生縮混訊號及空間資訊訊號 步驟1203 應用縮混增益 步驟1204 產生並傳輸位元流 48 200931396 步驟1301 接收位元流 步驟1302 分離縮混訊號及空間資訊訊號 步驟1303 解碼縮混訊號 步驟1304 輸出多頻道音頻訊號? 步驟1305 提取關於縮混增益之資訊 步驟1306 應用縮混增益 步驟1307 輸出多頻道音頻訊號 Ο 步驟1308 輸出縮混訊號 步驟1901 接收多頻道音頻訊號 步驟1902 產生縮混訊號及空間資訊訊號 步驟1903 產生任意縮混增益 步驟1904 應用任意縮混增益至縮混訊號 步驟1905 產生並傳輸位元流 步驟2001 接收位元流 ^ 步驟2002 分離縮混訊號及空間資訊訊號 步驟2003 解碼縮混訊號 步驟2004 輸出多頻道音頻訊號? 步驟2005 提取關於任意縮混增益之資訊 步驟2006 應用任意縮混增益至縮混訊號 步驟2007 輸出多頻道音頻訊號 步驟2008 輸出縮混訊號 492305 Downmix signal decoding unit 2306 Downmix signal 2307 Downmix signal 2308 Specific channel energy processing unit 2309 Channel energy level detecting unit 2310 Correction unit 2311 Channel level correction unit 2312 Downmix signal 2313 Multichannel generating unit 2314 Multichannel Audio signal step 1201 Receive multi-channel audio signal Step 1202 Generate downmix signal and spatial information signal Step 1203 Apply downmix gain step 1204 Generate and transmit bit stream 48 200931396 Step 1301 Receive bit stream step 1302 Separate downmix signal and spatial information Signal step 1303 decodes the downmix signal step 1304 to output a multi-channel audio signal? Step 1305: Extracting the information about the downmix gain Step 1306 Apply the downmix gain step 1307 to output the multichannel audio signal Ο Step 1308 Output the downmix signal Step 1901 Receive the multichannel audio signal Step 1902 Generate the downmix signal and the spatial information signal Step 1903 Generate any Downmixing gain step 1904 applies arbitrary downmix gain to downmix signal step 1905 generates and transmits bit stream step 2001 receives bit stream ^ step 2002 separates downmix signal and spatial information signal step 2003 decodes downmix signal step 2004 outputs multichannel Audio signal? Step 2005 Extract information about any downmix gain Step 2006 Apply any downmix gain to the downmix signal Step 2007 Output multichannel audio signal Step 2008 Output downmix signal 49

Claims (1)

200931396 七、申請專利範圍: 1. 一種解碼音頻訊號的方法,包括: 接收一音頻訊號,該音頻訊號包括一縮混訊號(downmix signal)與一空間資訊(spatial information); 從該縮混訊號與該空間資訊其中之一,擷取一任意縮混增 益資訊(arbitrary downmix gain information,ADGI);以及 基於被擷取的該任意縮混增益資訊,應用一任意縮混增益 〇 (arbitrary downmix gain,ADG)至該縮混訊號。 2. 如請求項1所述之解碼音頻訊號的方法,其中該任意縮混增益 係應用於該縮混訊號之每一框(frame)。 3. 如請求項1所述之解碼音頻訊號的方法,其中該任意縮混增益 係應用於該縮混訊號之每一時間槽(time slot)。 4. 如請求項1所述之解碼音頻訊號的方法,其中該任意縮混增益 係獨立應用於該縮混訊號之每一頻帶(frequency band)。 5. 如請求項4所述之解碼音頻訊號的方法,其中該任意縮混增益 係獨立應用於該縮混訊號之該頻帶的每一時間槽。 6. 如請求項1所述之解碼音頻訊號的方法,另包括: 於具有該空間資訊的一訊號的一標頭擷取該任意縮混增 益資訊。 7. 如請求項6所述之解碼音頻訊號的方法,其中該標頭係被包含 ' 於該空間資訊之每一框,或係被包含於該空間資訊之每複數個 50 200931396 框。 8. 如請求項7所述之解碼音頻訊號的方法,其中該標頭係定期或 非定期被包含於該空間資訊之每複數個框。 9. 如請求項1所述之解碼音頻訊號的方法,更包括: 從該縮混訊號與該空間資訊其中之一,擷取一縮混增益資 訊(downmix gain information,DGI);以及 基於擷取的該縮混增益資訊,應用一縮混增益至該縮混訊 〇 號。 10. 如請求項9所述之解碼音頻訊號的方法,其中該縮混增益資訊 係被應用於該縮混訊號之全部,及該任意縮混增益係應用該縮 混訊號之每一框。 11. 如請求項1所述之解碼音頻訊號的方法,其中該任意縮混增益 表示介於一第一縮混訊號與一第二縮混訊號之間的比較結果。 12. 如請求項11所述之解碼音頻訊號的方法,其中該第一縮混 〇 〇 號係於一編碼器中編碼,及該第二縮混訊號係由該編碼器以外 的一裝置所提供的一縮混訊號。 13. 如請求項1所述之解碼音頻訊號的方法,更包括: 根據複數個預定值其中之一,解碼該任意縮混增益資訊。 14. 如請求項1所述之解碼音頻訊號的方法,其中該任意縮混增益 資訊係至少一位元,該位元用以指示是否應用該任意縮混增 • 益。 51 200931396 • 15.如請求項i所述之解辦頻訊賴方法,其中雜意縮混增益 貝訊係包括至少二位元,該二位元用以指㈣用該任意縮混增 益之一程度。 .如請求項15所述之解碼音頻訊號的方法,其中該程度係為】。 17.如請求項1所述之解碼音頻訊號的方法,更包括: 將該任意縮混增益資訊喪入由該音頻訊號之一標頭、該縮 混訊號之一框與該空間資訊所組成群組其中之一。 〇 18. —種編碼音頻訊號的方法,包括: 從一多通道音頻訊號產生一第一縮混訊號與一空間資訊; 從一外部來源接收一第二縮混訊號; 應用一任意縮混增益至一輸出縮混訊號;以及 多工(multiplexing)該輸出縮混訊號與該空間資訊用以產生 該音頻訊號’該音頻訊號敌入有一任意縮混增益資訊。 19. 一種用以將一音頻訊號解碼之解碼器,該音頻訊號係來自於一 〇 編碼*該解碼包括: 一解多工器(demultiplexer),被設定來從該音頻訊號而產生 一縮混訊號與一空間資訊;以及 一任意縮混增益應用單元,基於嵌入於該縮混訊號與該空 間資訊其中之一的一任意縮混增益資訊,該任意縮混增益應用 單元設置來將該任意縮混增益應用於該縮混訊號。 ^ 20.如請求項19所述之用以將該音頻訊號解碼之解碼器,其中該 52 200931396 任意縮混增益係應用該縮混訊號之每一樞。 21. 如請求項19所述之用以將該音頻訊號解碼之解碼器,其中該 任意縮混增益係應用該縮混訊號之每一時間槽。 22. 如請求項19所述之用以將該音頻訊號解碼之解碼器,另包括: 一任意縮混增益資訊擷取單元,被設置來從具有該空間資 訊的一訊號之一標頭中擷取該任意縮混增益資訊。 23. 如請求項22所述之用以將該音頻訊號解碼之解碼器,其中該 〇 標頭係包含於一空間資訊之每一框,或係包含於一空間資訊之 每複數個框。 24. 如請求項19所述之用以將該音頻訊號解碼之解碼器,更包括: 一縮混增益應用單元’基於嵌入於該縮混訊號與該空間資 訊其中之一的一縮混增益資訊’該縮混增益應用單元設置來將 該縮滬增益資訊應用於一縮混增益至該縮混訊號。 25. 如請求項24所述之用以將該音頻訊號解碼之解碼器,其中該 ^ 縮混增益資訊係應用該縮混訊號之全部,及該任意縮混增益係 應用該縮混訊號之每框。 26. 如請求項19所述之用以將該音頻訊號解碼之解碼器,其中該 任意縮混增益表示介於一第一縮混訊號與一第二縮混訊號之 間的比較結果。 27. 如請求項26所述之用以將該音頻訊號解碼之解碼器,其中該 第一縮混訊號係於該編碼器中編碼,及該第二縮混訊號係由該 53 200931396 編碼器以外的一裝置所提供的該縮混訊號。 28. 如請求項19所述之用以將該音頻訊號解碼之解碼器,其中該 任意縮混增益資訊係根據複數個預定值其中之一預定值,來編 碼該任意縮混增益資訊。 29. 如請求項19所述之用以將該音頻訊號解碼之解碼器,其中該 任意縮混增益資訊係至少一位元,該位元用以指示是否應用該 任意縮混增益。 〇 30.如請求項19所述之用以將該音頻訊號解碼之解碼器,其中該 任意縮混增益資訊包括至少二位元,該二位元用以指示應用該 任意縮混增益之一程度。 31. 如請求項30所述之用以將該音頻訊號解碼之解碼器,其中該 程度係為1。 32. 如請求項19所述之用以將該音頻訊號解碼之解碼器,其中該 任意縮混增益資訊嵌入有該音頻訊號之一標頭、該縮混訊號之 Q 一框與該空間資訊其中之一。 33. —種編碼音頻訊號的編碼器,包括: 一縮混單元,設置用以從一多通道音頻訊號中產生一第一 縮混訊號; 一空間資訊產生單元,設置用以從該多通道音頻訊號中產 生一空間資訊; • 一輸入埠,設置用以從一外部來源中接收一第二縮混訊 54 200931396 號; 一任意縮混增益應用單元,設置用以應用一任意縮混增益 至一輸出縮混訊號;以及 一多工器,設置用以多工該輸出縮混訊號與該空間資訊, 其中一任意縮混增益資訊係嵌入於該輸出縮混訊號與該空間 資訊其申之一。200931396 VII. Patent application scope: 1. A method for decoding an audio signal, comprising: receiving an audio signal, the audio signal comprising a downmix signal and a spatial information; and the downmix signal and the One of the spatial information extracts an arbitrary downmix gain information (ADGI); and applies an arbitrary downmix gain (ADG) based on the arbitrary downmix gain information captured. ) to the downmix signal. 2. The method of decoding an audio signal according to claim 1, wherein the arbitrary downmixing gain is applied to each frame of the downmix signal. 3. The method of decoding an audio signal according to claim 1, wherein the arbitrary downmixing gain is applied to each time slot of the downmix signal. 4. The method of decoding an audio signal according to claim 1, wherein the arbitrary downmix gain is independently applied to each frequency band of the downmix signal. 5. The method of decoding an audio signal according to claim 4, wherein the arbitrary downmix gain is independently applied to each time slot of the frequency band of the downmix signal. 6. The method of decoding an audio signal according to claim 1, further comprising: extracting the arbitrary downmix gain information from a header of a signal having the spatial information. 7. The method of decoding an audio signal according to claim 6, wherein the header is included in each box of the spatial information, or is included in each of the plurality of spatial information 50 200931396 boxes. 8. The method of decoding an audio signal according to claim 7, wherein the header is included in each of the plurality of frames of the spatial information periodically or non-periodically. 9. The method for decoding an audio signal according to claim 1, further comprising: extracting a downmix gain information (DGI) from one of the downmix signal and the spatial information; The downmix gain information applies a downmix gain to the downmix nickname. 10. The method of decoding an audio signal according to claim 9, wherein the downmix gain information is applied to all of the downmix signals, and the arbitrary downmix gain is applied to each frame of the downmix signal. 11. The method of decoding an audio signal according to claim 1, wherein the arbitrary downmix gain represents a comparison result between a first downmix signal and a second downmix signal. 12. The method of decoding an audio signal according to claim 11, wherein the first downmix code is encoded in an encoder, and the second downmix signal is provided by a device other than the encoder. A shuffling signal. 13. The method of decoding an audio signal according to claim 1, further comprising: decoding the arbitrary downmix gain information according to one of a plurality of predetermined values. 14. The method of decoding an audio signal according to claim 1, wherein the arbitrary downmix gain information is at least one bit, the bit being used to indicate whether the arbitrary downmix gain is applied. 51 200931396 • 15. The method of claim 16 wherein the ambiguous downmix gain beta comprises at least two bits, the two bits being used to refer to (4) using one of the arbitrary downmix gains degree. The method of decoding an audio signal as claimed in claim 15, wherein the degree is . 17. The method for decoding an audio signal according to claim 1, further comprising: omitting the arbitrary downmix gain information into a group consisting of a header of the audio signal, a frame of the downmix signal, and the spatial information. One of the groups. 〇18. A method for encoding an audio signal, comprising: generating a first downmix signal and a spatial information from a multi-channel audio signal; receiving a second downmix signal from an external source; applying an arbitrary downmix gain to An output downmix signal; and multiplexing the output downmix signal and the spatial information to generate the audio signal 'the audio signal has an arbitrary downmix gain information. 19. A decoder for decoding an audio signal, the audio signal being derived from a code; the decoding comprising: a demultiplexer configured to generate a downmix signal from the audio signal And an arbitrary downmix gain application unit, based on an arbitrary downmix gain information embedded in one of the downmix signal and the spatial information, the arbitrary downmix gain application unit is configured to downmix the arbitrary The gain is applied to the downmix signal. ^ 20. The decoder for decoding the audio signal according to claim 19, wherein the 52 200931396 arbitrary downmix gain system applies each pivot of the downmix signal. 21. The decoder for decoding the audio signal of claim 19, wherein the arbitrary downmix gain applies each time slot of the downmix signal. 22. The decoder for decoding the audio signal according to claim 19, further comprising: an arbitrary downmix gain information capturing unit configured to be from a header of a signal having the spatial information Take any arbitrary downmix gain information. 23. The decoder for decoding the audio signal as claimed in claim 22, wherein the 〇 header is included in each frame of a spatial information, or is included in each of a plurality of frames of spatial information. 24. The decoder for decoding the audio signal according to claim 19, further comprising: a downmix gain application unit based on a downmix gain information embedded in one of the downmix signal and the spatial information The downmix gain application unit is configured to apply the win-up gain information to a downmix gain to the downmix signal. 25. The decoder for decoding the audio signal according to claim 24, wherein the downmix gain information applies all of the downmix signal, and the arbitrary downmix gain system applies the downmix signal frame. 26. The decoder for decoding the audio signal of claim 19, wherein the arbitrary downmix gain represents a comparison between a first downmix signal and a second downmix signal. 27. The decoder for decoding the audio signal according to claim 26, wherein the first downmix signal is encoded in the encoder, and the second downmix signal is other than the 53 200931396 encoder. The downmix signal provided by a device. 28. The decoder for decoding the audio signal of claim 19, wherein the arbitrary downmix gain information encodes the arbitrary downmix gain information based on one of a plurality of predetermined values. 29. The decoder for decoding the audio signal of claim 19, wherein the arbitrary downmix gain information is at least one bit, the bit being used to indicate whether the arbitrary downmix gain is applied. The decoder for decoding the audio signal according to claim 19, wherein the arbitrary downmix gain information includes at least two bits, the two bits are used to indicate a degree of applying the arbitrary downmix gain . 31. The decoder for decoding the audio signal as recited in claim 30, wherein the degree is one. 32. The decoder for decoding the audio signal according to claim 19, wherein the arbitrary downmix gain information is embedded with a header of the audio signal, a Q frame of the downmix signal, and the spatial information. one. 33. An encoder for encoding an audio signal, comprising: a downmixing unit configured to generate a first downmix signal from a multi-channel audio signal; a spatial information generating unit configured to receive audio from the multi-channel A spatial information is generated in the signal; • an input port configured to receive a second downmix 54 from an external source 54 200931396; an arbitrary downmix gain application unit configured to apply an arbitrary downmix gain to And outputting the downmix signal; and a multiplexer configured to multiplex the output downmix signal and the spatial information, wherein an arbitrary downmix gain information is embedded in the output downmix signal and the spatial information. 5555
TW098105155A 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof TWI409803B (en)

Applications Claiming Priority (19)

Application Number Priority Date Filing Date Title
US69500705P 2005-06-30 2005-06-30
US69585805P 2005-07-05 2005-07-05
US74860805P 2005-12-09 2005-12-09
US75700406P 2006-01-09 2006-01-09
US75823606P 2006-01-12 2006-01-12
US75860906P 2006-01-13 2006-01-13
KR20060004065 2006-01-13
KR20060004056 2006-01-13
KR20060004055 2006-01-13
US75962306P 2006-01-18 2006-01-18
US76035906P 2006-01-20 2006-01-20
KR1020060030653A KR20070003544A (en) 2005-06-30 2006-04-04 Clipping restoration by arbitrary downmix gain
KR1020060030671A KR20070003545A (en) 2005-06-30 2006-04-04 Clipping restoration for multi-channel audio coding
KR1020060056480A KR20070003574A (en) 2005-06-30 2006-06-22 Method and apparatus for encoding and decoding an audio signal
KR1020060058142A KR20070076363A (en) 2006-01-18 2006-06-27 Method of encoding and decoding an audio signal
KR1020060058141A KR20070075237A (en) 2006-01-12 2006-06-27 Encoding and decoding method of multi-channel audio signal
KR1020060058120A KR20070005477A (en) 2005-07-05 2006-06-27 Method for compensation of energy levels in specific channel signals for multi-channel audio coding and aparatuses for encoding and deconding multi-channel audio signals performancing the compensation
KR1020060058139A KR20070003593A (en) 2005-06-30 2006-06-27 Encoding and decoding method of multi-channel audio signal
KR1020060058140A KR20070003594A (en) 2005-06-30 2006-06-27 Method of clipping sound restoration for multi-channel audio signal

Publications (2)

Publication Number Publication Date
TW200931396A true TW200931396A (en) 2009-07-16
TWI409803B TWI409803B (en) 2013-09-21

Family

ID=44865299

Family Applications (4)

Application Number Title Priority Date Filing Date
TW098105155A TWI409803B (en) 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof
TW95124112A TWI314722B (en) 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof
TW95124111A TWI376107B (en) 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof
TW95124113A TWI319868B (en) 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof

Family Applications After (3)

Application Number Title Priority Date Filing Date
TW95124112A TWI314722B (en) 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof
TW95124111A TWI376107B (en) 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof
TW95124113A TWI319868B (en) 2005-06-30 2006-06-30 Apparatus for encoding and decoding audio signal and method thereof

Country Status (2)

Country Link
MY (3) MY145249A (en)
TW (4) TWI409803B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI812658B (en) * 2017-12-19 2023-08-21 瑞典商都比國際公司 Methods, apparatus and systems for unified speech and audio decoding and encoding decorrelation filter improvements

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9607624B2 (en) * 2013-03-29 2017-03-28 Apple Inc. Metadata driven dynamic range control

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7110662B1 (en) * 1997-03-25 2006-09-19 Samsung Electronics Co., Ltd. Apparatus and method for recording data on a DVD-audio disk
US6356639B1 (en) * 1997-04-11 2002-03-12 Matsushita Electric Industrial Co., Ltd. Audio decoding apparatus, signal processing device, sound image localization device, sound image control method, audio signal processing device, and audio signal high-rate reproduction method used for audio visual equipment
US5946352A (en) * 1997-05-02 1999-08-31 Texas Instruments Incorporated Method and apparatus for downmixing decoded data streams in the frequency domain prior to conversion to the time domain
BR9804955B1 (en) * 1997-06-03 2009-12-01 apparatus and process for reproducing a digital audio signal from a recording medium.
US6122619A (en) * 1998-06-17 2000-09-19 Lsi Logic Corporation Audio decoder with programmable downmixing of MPEG/AC-3 and method therefor
US7106943B2 (en) * 2000-09-21 2006-09-12 Matsushita Electric Industrial Co., Ltd. Coding device, coding method, program and recording medium
US7139704B2 (en) * 2001-11-30 2006-11-21 Intel Corporation Method and apparatus to perform speech recognition over a voice channel
TW591903B (en) * 2002-12-12 2004-06-11 Conwise Technology Corp Ltd Method for detecting a tone signal through digital signal processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI812658B (en) * 2017-12-19 2023-08-21 瑞典商都比國際公司 Methods, apparatus and systems for unified speech and audio decoding and encoding decorrelation filter improvements

Also Published As

Publication number Publication date
TWI409803B (en) 2013-09-21
TW200713851A (en) 2007-04-01
TW200707402A (en) 2007-02-16
TWI314722B (en) 2009-09-11
MY145249A (en) 2012-01-13
TW200707407A (en) 2007-02-16
TWI319868B (en) 2010-01-21
MY157901A (en) 2016-08-15
MY149615A (en) 2013-09-13
TWI376107B (en) 2012-11-01

Similar Documents

Publication Publication Date Title
US20200335115A1 (en) Audio encoding and decoding
JP7427715B2 (en) Audio encoders and decoders with program information or substream structure metadata
TWI549119B (en) Method for processing an audio signal in accordance with a room impulse response, signal processing unit, audio encoder, audio decoder, and binaural renderer
JP2021114799A (en) Method for processing audio signal, signal processing unit, binaural renderer, audio encoder, and audio decoder
US8082157B2 (en) Apparatus for encoding and decoding audio signal and method thereof
US8023660B2 (en) Apparatus, method and computer program for providing a set of spatial cues on the basis of a microphone signal and apparatus for providing a two-channel audio signal and a set of spatial cues
US8073702B2 (en) Apparatus for encoding and decoding audio signal and method thereof
KR101392546B1 (en) Apparatus, method and computer program for providing a set of spatial cues on the basis of a microphone signal and apparatus for providing a two-channel audio signal and a set of spatial cues
ES2547232T3 (en) Method and apparatus for processing a signal
KR20070003593A (en) Encoding and decoding method of multi-channel audio signal
JP2009511943A5 (en)
TW200932030A (en) Method and apparatus for encoding/decoding multi-channel audio signal
TW201103008A (en) Parametric stereo encoding and decoding
JP2015517121A (en) Inter-channel difference estimation method and spatial audio encoding device
TWI483619B (en) Apparatus for encoding/decoding media signal and method thereof
TW200931396A (en) Apparatus for encoding and decoding audio signal and method thereof
TWI489886B (en) A method of decoding for an audio signal and apparatus thereof
RU2020130054A (en) REPRESENTATION OF SPATIAL SOUND THROUGH A SOUND SIGNAL AND METADATA ASSOCIATED WITH IT
KR20070075237A (en) Encoding and decoding method of multi-channel audio signal

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees