A7 B7 經濟部中央標準局員工消費合作社印製 五、發明説明(1 ) 發明領域 本發明係關於一種音效處理裝置及方法,特別係關於一 種多聲道音效模擬裝置及方法。 發明背景 數位多功能影音光碟機(Digital Versatile Disk, DVD),影像及 聲音品質皆勝過VCD與LD,所以在數位化高晝質高音質影 片逐漸走入家庭時,其重要性曰益增加。一般而言,DVD 所採用的AC - 3數位音源壓縮標準,須有左(Left),右(Right), 中間(Center),左環繞(Left Surround),右環繞(Right Surround),重低音 (Low Frequency Effects )等六個音源頻道,所以要用六個制口八 來作爲其相對之輸出設備,其中重低音喇▽八的擺放位置可 随意,故俗稱5.1或5 + 1,而不用6 °然而,一般個人電腦 或家庭音響,因空間的關係,僅配備兩個喇叭,無法體驗 六個音源頻道的高品質聲音。如爲享受高品質聲音而又.另 外再買一套音響設備,實又過度浪費。 因此,在DVD即將全面以DVD - Player之型式走入家電, 或DVD Rom之型式走入個人電腦的潮流下,一種僅用兩個 喇v八或一副耳機即可模擬6個音源頻道之裝置及方法是極 其需要的。 發明之簡單説明 本發明主要目的在於使用一對喇队或一副耳機來模擬多 聲道之環場效果。主要原理係採用3D音源定位之技術,於 空間中產生若干個虛擬之音源(即多聲道系統之各個喇 叭),稱爲虚擬喇叭,故能模擬多聲道之效果。至於3D音 —---------扣衣-- -- - (#先閲讀背面之注意事項W. "V本頁) 訂 線 -r— 1— 本紙張尺度適用中圉S家棣準(CNS ) A4規格(210 X 297公釐) 經濟部中央標準局員工消費合作社印製 1 1 A7 '一 B7五、發明説明(2 ) 源定位的原理,是將空間中某個方向的音源導入人左右耳 的物理系統,以一個數學模型來描述,稱爲HRTF (head related transfer ftrnction)。將音源訊號與HRTF作迴旋積分 (convo丨ution)運算後再經由一對制p八或一副耳機播放出來, 即可產生聲音來自該方向的效果。由於不同位置的音源所 相對應之HRTF參數均不同,故於記憶體中須存放多組不同 方向的HRTF,以產生各個不同方向的虚擬制p八。 本發明之另一目的在於藉由3D Sound的定位技術,由兩 個喇叭直接模擬出類似5.1個喇队的效果,而且將此技術以 硬體晶片實施,以内建在DVD中,故可適用於家電或個人 電腦。 本發明之再一目的在於應用3D Sound之定位技術以提供 —種利用兩個喇叭以模擬出類似5 . 1個喇叭效果之方法。 圖式之簡單説明 爲説明本發明之其他目的及其優點,現以下列較佳實施 例配合附圓之説明敘述如後,其中 圖1所示爲本發明所揭示之多聲道音效模擬裝置架構之 示意圖; 圖2所示爲實施本發明所揭示之多聲道音效模擬裝置架 構之方法之流程圖; 圖3所示爲利用3D - sound技術作音源處理之示意圖;及 圖4所示爲本發明所揭示之多聲道音效模擬裝置之方塊 圖。 發明之詳細説明 -5 - 本紙張尺度適用中國圉家橾準{ CNS >八4規格(2丨0X 297公釐) —--------裝-- . . _ (請先閱讀背面之注意事項* f本f ) 線 A7 B7A7 B7 Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the Invention (1) Field of the Invention The present invention relates to a sound effect processing device and method, and particularly to a multi-channel sound effect simulation device and method. BACKGROUND OF THE INVENTION Digital Versatile Disk (DVD) has better image and sound quality than VCD and LD. Therefore, as digital high-day-quality and high-quality video gradually enters the home, its importance will increase. Generally speaking, the AC-3 digital audio compression standard used by DVDs must have Left, Right, Center, Left Surround, Right Surround, and Bass ( Low Frequency Effects) and other six audio source channels, so it is necessary to use six mouthpieces as its relative output device, where the placement of the subwoofer can be freely called, so it is commonly called 5.1 or 5 + 1, instead of 6 ° However, due to space, ordinary personal computers or home audio systems are only equipped with two speakers and cannot experience the high-quality sound of six audio channels. If you want to enjoy high-quality sound, and buy another set of audio equipment, it is too wasteful. Therefore, under the trend that DVD will soon enter the home appliances in the form of DVD-Player, or DVD Rom will enter the personal computer, a device that can simulate 6 audio channels with only two DVDs or a pair of headphones And methods are extremely needed. Brief description of the invention The main purpose of the present invention is to use a pair of squadrons or a pair of headphones to simulate a multi-channel ring field effect. The main principle is to use 3D sound source localization technology to generate several virtual sound sources in space (ie, the speakers of a multi-channel system), called virtual speakers, so they can simulate the effects of multi-channels. As for the 3D sound —--------- button clothes---(#Please read the notes on the back W. " V page) Thread-r— 1— This paper size is suitable for 圉 S Furniture Standard (CNS) A4 (210 X 297 mm) Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 1 1 A7 '一 B7 V. Description of the invention (2) The principle of source positioning is to move a certain direction in space The sound source is introduced into the physical system of the human left and right ears, and is described by a mathematical model called HRTF (head related transfer ftrnction). After the audio signal and the HRTF are convolved, they are played back through a pair of p-8 or a pair of headphones, and the effect of sound coming from that direction can be produced. Since the HRTF parameters corresponding to the sound sources at different positions are different, multiple sets of HRTFs in different directions must be stored in the memory to generate virtual p-8 in different directions. Another object of the present invention is to use 3D Sound positioning technology to directly simulate the effect of 5.1 raids by two speakers, and implement this technology with a hardware chip and built in DVD, so it can be applied to Appliances or personal computers. Another object of the present invention is to apply the positioning technology of 3D Sound to provide a method of using two speakers to simulate the effect of 5.1 speakers. Brief description of the drawings In order to illustrate the other objects and advantages of the present invention, the following preferred embodiments are described below with a circled description. Among them, FIG. 1 shows the structure of the multi-channel sound simulation device disclosed by the present invention. Schematic diagram; Figure 2 shows a flowchart of a method for implementing the multi-channel sound simulation device architecture disclosed in the present invention; Figure 3 shows a schematic diagram of using 3D-sound technology for sound source processing; and Figure 4 shows this Block diagram of a multi-channel sound simulation device disclosed by the invention. Detailed description of the invention -5-This paper size is applicable to Chinese family standard {CNS > 8 4 specifications (2 丨 0X 297 mm) —-------- install-.. _ (Please read first Note on the back side * f this f) cable A7 B7
..'ΓΑ'ΗΆΊ·'修正。 經濟部中央樣準局員工消费合作社印製 4445 1 1 第87105772號專利申請案 中文說明書修正頁(89年9月) 五、發明説明(3 知參考圖1,圖1所示者為本發明所揭示之多聲道音效模 擬裝置之架構。一經AC-3標準編碼之音頻信號首先'由AC_ 3解碼器(1)加以解碼為六個經解碼之音頻信號,亦即左聲 道、右聲道、中間聲道、左環繞聲道、右環繞聲道及重低 音聲道。該等六個經解碼還原之音頻信號再送至犯s〇und to AC-3模擬器⑵以進行信號處理,以將六個信號個別定 位在其應有的方位上。例如,把原本六個音源頻道中的中 間聲道,疋位在聽者正前方’左聲道定位在左前方等。等 六個音源頻道全部定位之後再混音,最後透過一對,p八或 耳機(3 )播出,而把原本應有六個不同方位的喇队才能有 之臨場方向感,原始的重現出來。其中3D s〇und的技術是 用 HRTF (Head Related Transfer Function),將一個音源定位,也 就是把音源處理成為具有人耳用來判別方位之兩耳時間差 (Intemural Time Difference)與兩耳強度差(Intemural Intensity.. 'ΓΑ'ΗΆΊ ·' Correction. Printed by the Consumer Cooperatives of the Central Procurement Bureau of the Ministry of Economic Affairs 4445 1 1 Revised Chinese Manual of Patent Application No. 87105772 (September 89) V. Description of the Invention (3 Refer to Figure 1, which is shown in Figure 1. Revealed the structure of the multi-channel sound simulation device. Once the AC-3 standard encoded audio signal is first 'decoded by the AC_3 decoder (1) into six decoded audio signals, namely left channel and right channel , Center channel, left surround channel, right surround channel, and subwoofer channel. The six decoded and restored audio signals are sent to the sund to AC-3 simulator for signal processing to The six signals are individually positioned in their proper orientation. For example, the middle channel of the original six sound source channels is positioned directly in front of the listener, and the left channel is positioned in front of the left. Etc. All six sound source channels After positioning, mix again, and finally broadcast it through a pair of p, eight or headphones (3), and reproduce the original sense of presence that should have been obtained from six teams with different orientations. Among them, 3D s〇 und's technology uses HRTF (Head Related Trans fer Function), to locate a sound source, that is, to process the sound source to have the Intemural Time Difference and the Intemural Intensity
Difference)的左右兩個聲道,再用耳機或喇叭傳入我們的耳 朵*使人耳聽起來誤以為此聲音是從空間中某一方位所傳 來,此外更可加入都卜勒效應、反射、殘響、交互干擾消 除等,而達成真正的3D效果。 其次’對實施本發明之方法所需之步驟加以說明。如圖 2所示’首先,計算聽者與AC - 3規格中5 + 1個喇叭的個別 相對位置向量(21)以取得多聲道系統中各音源(喇。八)之位 置*由於不同之多聲道系統各有不同之輸出音源(喇PA )配 置方式’本步驟目的是藉由使用者所選取不同之多聲道系 統,以設定系統中各音源(喇叭)之位置。接著根據上述位 -6 - 本紙乐尺度適珣中國國家揉準(CNS > Α4規格(210X297公釐) I-------一裝-- (錆先閱讀背面之注意事項再填寫本f )Difference) left and right channels, and then use earphones or speakers to pass into our ears * make human ears sound like they are coming from a certain position in space, in addition to the Doppler effect, reflection , Reverberation, interactive interference elimination, etc., to achieve a true 3D effect. Next, the steps required to implement the method of the present invention will be described. As shown in Figure 2 'First, calculate the individual relative position vector (21) of the listener and the 5 + 1 speaker in the AC-3 specification to obtain the position of each sound source (la. 8) in the multi-channel system * due to the difference Multi-channel systems have different output sound source (LA PA) configuration methods. The purpose of this step is to set the position of each sound source (speaker) in the system by selecting different multi-channel systems. Then according to the above position -6-this paper music scale is suitable for Chinese national standards (CNS > Α4 size (210X297mm) I ------- one pack-(锖 read the precautions on the back before filling in this f)
*1T* 1T
A㉟舜〇?772號專利申請案 中文說明書修正頁(89年9月) 五、發明説明(4 ) 置向量揭取所需的頭部相關轉換函數(Head Related Transfer Function,HRTF)係數(22)。本步驟接續上個步驟所得·之各音 源位置’於β憶體中取得相對應之HRTF係數。然後讀取 輸入之AC - 3六個聲道之音源資料(23)。然後執行HRTF 3 Ο 運算(24)。根據讀入之各音源資料,及其相對應之HRTF參 數作3D運算(迴旋積分),以求得其左右輸出。其中音源的 HRTF 3D處理之示意圖係如圖3所示,其中h(〇),h(l),...h(N _ 1) 為HRTF係數’ Z 1為早位時間延遲(unit time如一)。然後判 斷疋否使用制队(25)。由於只有使用制队時才有交互干擾 的現象’本步驊判別是否使用味! V八以決定接續的步驟是否 要執行交互干擾消除運算。如果係使用喇ΡΛ則執行交互干 擾消除運算(26)以消除左右喇ρ八交互干擾的現象。最後即 時輸出3D定位處理後的结果到一對制ρ八或耳機以藉由一對 喇队或耳機的左右輸出,虛擬出AC _ 3所需的5 + 1個來ρΛ 之多聲道系统中各音源Ρ八)之位置(27) a 按著’藉一實施例來說明本發明所揭示之模擬裝置。請 參考圖4,經AC - 3編碼之音頻信號在經過AC _ 3解碼器〇) 解碼還原成六個聲道後送至本發明之模擬裝置以進行信號 處理’其中六個聲道的音頻信號係由提供控制信號以控制 及協調整個裝置運作之控制器(42)發出控制信號而送至— 輸入緩衝器(43),由於重低音聲道信號之定位效果並非可 被人耳非常明顯的感受,因此,重低音聲道之信號可不必 (但亦可以)送入輸入緩衝器(43)以進行後續之信號處理, 而是在其餘五個聲道之音頻信號進行信號處理後,再與之 本紙張尺度適用中國國家標率(CNS ) A4規格(210X297公釐) 1---------W,裝-- (請先W讀背面之注意事項再填寫本頁) ,ιτ ¾ 經濟部中央橾準局男工消費合作社印製 Λ4Α5 A7 B7 五、發明説明(5 ) a成送至輸出裝置(制p八或耳機)^送至輸入緩衝器(43)之 五個聲道之音頻彳3波係被送至一由第一乘法器(46)及第一 加法器(48)所組成之第一信號處理器(54)。一儲存有多組 HRTF係數及交互干擾消除濾波器係數之記憶體(41) a亦會 將一組預先儲存之HRTF係數送至第一暫存器(44),然後再 送至第一 js號信號處理器(54)。第一乘法器(46)包含多個平 行乘法器以將輸入之多聲道信號與HRTF係數相乘,然後將 相乘之結果送至包含有多個平行及串列加法器之第一加法 器(48)進行相加之運算。亦即,此第一信號處理器(54)所作 之運算即是作迴旋積分(convolution)運算。經HRTF 3D運算處 理後之左及右聲道信號再分別送至第一輸出缓衝器(5〇)儲: 存。如果輸出裝置係用一副耳機時,則此左、右聲道之信_ 號即可與重低音信號經合成器(53)合成後直接輸出至耳 機’而達成以一副耳機模擬六個聲道之立體環繞效果。 經濟部中央標準局員工消费合作社印製 ---;--------^-- (請先閲讀背面之注意事項κ f本頁) 如所使用的輸出裝置爲一對喇11八時,則將左、右聲道之 輸出信號再加以進行交互干擾消除處理,以消除交互干擾 之k號,而使音質更爲提升。該义互干擾消除處理運算將 由以下之實施例説明之。 爲消除左、右聲道信號之交互干擾’—交互干擾消除濾 波器55 (由第二暫存器(45)、第二乘法'器(47)及第二加法器 (49)所组成)係被用來進行進一步的信號處理。第一暫存器 (45)係用以儲存運算過程之暫態係數’其與第二乘法器(47) 及第二加法器(49)形成回授迴路’其中第二加法器(49)之輸 出係耦合至第二暫存器(45)之輸入,第二暫存器(45)之輸出 -8 -___ 本紙張尺度適用中國®家標準(CNS ) A4規格(210X297公釐) Λ |45 1 * ψ Α7 Β7 五、發明説明(6 ) —i $! {請先聞讀背面之注意事項本頁) 係耦合至第二乘法器(47)之輸入◊第二乘法器(47)更包本多 個平行乘法器以將來自記憶體(41)之交互干擾消除遽波器 係數及HRTF(即上述左、右聲道信號)之輸出結果相乘,然 後再將相乘之結果送至包含多個平行及串列加法器之第_ 加法器(49)進行相加運算。經交互干擾消除濾波處理後之 左、右聲道信號再分別送至第二輸出緩衝器(5丨)儲存。此 經交互干擾消除濾波處理後之信號與重低音信號經合成器 (53)合成後直接輸出至一對制队’而達成以—對,n八模擬 六個聲道之立體環繞效果。 本發明亦可在上述實施例中再加入一資料選擇器(52), 用以選擇輸出裝置爲一副耳機或一對剩八。 經濟部中央標準扃貝工消費合作社印製 本發明首揭利用一副耳機或一對喇队來模擬DV〇之六個 聲道之裝置及方法。本發明所揭示之模擬裝置及方法可利 用現有之家庭音響或個人電腦之一對制P八來趙驗六個音源 頻道之高品質聲音,因而節省了額外四個劍IT八之費用及擺 置之空間。此外’本發明所揭示之模擬裝置及方法可以一 晶片來完成而内建於DVD Player、DVD - Rom或其他具有多 聲道環場音響效果之裝置中,因此並不會增加整個裝置之 額外空間》 唯上述實施例僅爲説明本發明之原理及其功效,而非F艮 制本發明’因此,習於此藝之人士對上述實施.例所做之修 改及變化仍不達背本發明之精神。本發明之權限應如後述 之申請專利範圍所列。 9 - 本紙法尺度逋用中國國家揉率(CNS ) ( 2丨0X297公釐> 經濟部中央標準局員工消费合作社印策 在445 Ο 第87105772號專利申請案 中文說明書修正頁(89年9月) 五、發明説明(6a ) 元件符號說明 1 AC-3解碼器 45 交互干擾消除濾波器 2 3D Sound-AC-3模擬器 46 * 47 乘法器 3 制11八或耳機 48,49 加法器 41 記憶體 50,51 輸出緩衝器 42 控制器 52 資料選擇器 43 輸入緩衝器 53 合成器 44 暫存器 54 信號處理器 -9a - (誚先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS > A4*t格(210X297公釐)Revised page of Chinese specification of A 修正 Shun No. 772 patent application (September 89) V. Description of the invention (4) Head related transfer function (HRTF) coefficient required for vector extraction (22) . This step continues from the previous step to obtain the corresponding HRTF coefficient for each sound source position 'in the β memory. Then read the input AC-6 audio source data (23). Then perform HRTF 3 0 operation (24). Perform 3D operation (rotational integration) according to the data of each audio source and its corresponding HRTF parameters to obtain its left and right output. The schematic diagram of the HRTF 3D processing of the sound source is shown in Figure 3, where h (〇), h (l), ... h (N _ 1) are the HRTF coefficients' Z 1 is the early bit time delay (unit time is one ). It is then judged whether to use team formation (25). Because there is a phenomenon of interactive interference only when using a team, this step is to determine whether to use flavor! V eight to determine whether to perform interactive interference cancellation in subsequent steps. If LaPΛ is used, the interactive interference cancellation operation (26) is performed to eliminate the phenomenon of left and right Lap8 interactive interference. Finally, the result of the 3D positioning processing is output to a pair of ρ-8 or headphones in real time to virtually output 5 + 1 required for AC _ 3 to a multi-channel system of ρΛ through the left and right output of a pair of headphones or headphones. The position (27) a of each sound source P8) a will be described with reference to an embodiment of the simulation device disclosed in the present invention. Please refer to FIG. 4. The AC-3 encoded audio signal is decoded and restored to six channels by the AC_3 decoder, and then sent to the analog device of the present invention for signal processing. The six channels of audio signals It is sent by the controller (42) that provides control signals to control and coordinate the operation of the entire device to the input buffer (43), because the positioning effect of the subwoofer channel signal is not very obvious to the human ear. Therefore, the signals of the subwoofer channel need not (but also) be sent to the input buffer (43) for subsequent signal processing, but after the remaining five channels of audio signals are signal processed, This paper size applies to China National Standards (CNS) A4 specification (210X297 mm) 1 --------- W, installed-(Please read the precautions on the back before filling this page), ιτ ¾ Printed by Male Worker Consumer Cooperative of Central Bureau of Standards of the Ministry of Economic Affairs Λ4Α5 A7 B7 V. Description of invention (5) A is sent to the output device (manufactured by P8 or headphones) ^ sent to the five channels of the input buffer (43) The audio 3 wave system is sent to a first multiplier (46) and the first A first signal processor (54) composed of an adder (48). A memory (41) storing multiple sets of HRTF coefficients and interactive interference cancellation filter coefficients a will also send a set of pre-stored HRTF coefficients to the first register (44), and then to the first js signal Processor (54). The first multiplier (46) includes a plurality of parallel multipliers to multiply the input multi-channel signal by the HRTF coefficient, and then sends the multiplied result to a first multiplier including a plurality of parallel and serial adders. (48) Perform the addition operation. That is, the operation performed by the first signal processor (54) is a convolution operation. The left and right channel signals after HRTF 3D operation processing are sent to the first output buffer (50), respectively: If the output device uses a pair of headphones, then the signal _ of the left and right channels can be combined with the subwoofer signal and output directly to the headphones after being synthesized by the synthesizer (53) to achieve the simulation of six sounds with one pair of headphones. The stereo surround effect of the Tao. Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs ---; -------- ^-(Please read the precautions on the back κ f page) If the output device used is a pair of 11 , The output signals of the left and right channels are further subjected to interactive interference cancellation processing to eliminate the k number of the interactive interference, and the sound quality is further improved. The mutual interference cancellation processing operation will be explained by the following embodiments. In order to eliminate the mutual interference of left and right channel signals'—Interactive interference cancellation filter 55 (composed of the second register (45), the second multiplier (47) and the second adder (49)) Used for further signal processing. The first register (45) is used to store the transient coefficients of the operation process, which forms a feedback loop with the second multiplier (47) and the second adder (49), of which the second adder (49) The output is coupled to the input of the second register (45), and the output of the second register (45) -8 -___ This paper size applies to China® Home Standard (CNS) A4 specification (210X297 mm) Λ | 45 1 * ψ Α7 Β7 V. Description of the invention (6) —i $! {Please read the note on the back page first) This is the input coupled to the second multiplier (47). The second multiplier (47) is more packaged. The multiple parallel multipliers multiply the output of the interactive interference cancellation wave filter coefficients from the memory (41) and the output results of the HRTF (the above left and right channel signals), and then send the multiplied results to the The _th adder (49) of a plurality of parallel and serial adders performs an addition operation. The left and right channel signals after the interactive interference cancellation filtering are sent to the second output buffer (5 丨) for storage. The signal processed by the cross-interference cancellation filtering and the subwoofer signal are synthesized by the synthesizer (53) and then directly output to a pair of teams' to achieve a pair of, n eight analog three-dimensional surround effect of six channels. In the present invention, a data selector (52) can be added to the above embodiment to select whether the output device is a pair of headphones or a pair of eight. Printed by the Central Standard of the Ministry of Economic Affairs, Cooper ’s Consumer Cooperative. The present invention first discloses a device and method for simulating the six channels of DV0 using a pair of headphones or a pair of slaves. The simulation device and method disclosed by the present invention can use one of the existing home stereos or personal computers to produce high-quality sound of six sound source channels of P Balai Zhao, thus saving the cost and placement of four additional IT swords Space. In addition, the simulation device and method disclosed in the present invention can be completed on a chip and built into DVD Player, DVD-Rom or other devices with multi-channel surround sound effects, so it does not increase the extra space of the entire device. 》 The above-mentioned embodiments are only for explaining the principle and effect of the present invention, and not for making the present invention. Therefore, those skilled in the art will make modifications and changes to the above embodiments. spirit. The rights of the present invention should be listed in the patent application scope mentioned later. 9-Chinese Standard Kneading Rate (CNS) (2 丨 0X297 mm) of the paper method is printed on the Chinese Manual of the Patent Application No. 87105772 of the Central Standards Bureau of the Ministry of Economic Affairs. ) 5. Description of the invention (6a) Component symbol description 1 AC-3 decoder 45 Interference cancellation filter 2 3D Sound-AC-3 simulator 46 * 47 Multiplier 3 system 11 8 or headphones 48, 49 adder 41 memory Body 50, 51 Output Buffer 42 Controller 52 Data Selector 43 Input Buffer 53 Synthesizer 44 Temporary Register 54 Signal Processor-9a-(诮 Please read the precautions on the back before filling this page) This paper size applies to China National Standard (CNS > A4 * t grid (210X297 mm)