CN1236652C - Stereo sound effect production method - Google Patents
Stereo sound effect production method Download PDFInfo
- Publication number
- CN1236652C CN1236652C CN 02140249 CN02140249A CN1236652C CN 1236652 C CN1236652 C CN 1236652C CN 02140249 CN02140249 CN 02140249 CN 02140249 A CN02140249 A CN 02140249A CN 1236652 C CN1236652 C CN 1236652C
- Authority
- CN
- China
- Prior art keywords
- hrtf
- monaural
- itd
- ears
- stereo sound
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 230000000694 effects Effects 0.000 title claims abstract description 53
- 238000004519 manufacturing process Methods 0.000 title claims description 4
- 210000005069 ears Anatomy 0.000 claims abstract description 26
- 238000005259 measurement Methods 0.000 claims abstract description 26
- 238000006243 chemical reaction Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 17
- 230000009466 transformation Effects 0.000 claims abstract description 7
- 230000004044 response Effects 0.000 claims description 12
- 238000012546 transfer Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 abstract description 5
- 210000003128 head Anatomy 0.000 description 27
- 230000006870 function Effects 0.000 description 17
- 210000004556 brain Anatomy 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 210000000883 ear external Anatomy 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 235000009508 confectionery Nutrition 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 210000002832 shoulder Anatomy 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Landscapes
- Stereophonic System (AREA)
Abstract
Description
技术领域technical field
本发明涉及立体音效的处理,尤其是一种可利用单耳头部对应转换演算法(HRTF)技术以自一单耳音源中合成一双声道音效的立体音效的产生方法(implementation method of 3D audio)。The present invention relates to the processing of stereo sound effect, especially a kind of stereo sound effect generation method (implementation method of 3D audio) that can utilize monaural head corresponding conversion algorithm (HRTF) technology to synthesize a binaural sound effect from a monaural sound source ).
背景技术Background technique
一典型的环绕音效系统使用一些简单的延迟电路及相位滤波器将左右声道的资料混合处理,以模拟一立体音效。然而,这种方式通常会因为混合处理使左右声道的资料混淆,以致造成原始资料的失真。又,上述典型的环绕音效系统无法从一聆听者的前、后、上及下四个方向中产生立体音效,尤其是当聆听者不位于所谓的“甜点(sweet spot)时。因此,上述系统需在前后音的位置上安装滤波器,再提供一电性系统,以允许聆听者转头180度从左转至右时,可经由前面的滤波器听到前面的声音,并从右转至左时,可经由后面的滤波器听到后面的声音。根据数值分析所导出的系统计资料,将定标器(scaler)用于滤波器的输出入上,以调整音源产生的范围及位置,以消除例如ITD及两耳闻声音密度差(11D)(后述)。然而,这将需要大量的电路元件及滤波功率,以提供临场音效。因此,进而发展出目前常用于产生立体音效的HRTF技术。上述HRTF提供一资料库,资料库内建在360度空间中测量每个既定位置上所发出的声音传送至两耳时,耳朵及大脑感受到的频率响应特性。利用一数字信号处理器(DSP)将上述频多响应特性作运算,即可计算出具有立体音效持微的音波,此音波传送至耳朵,就可使大脑感受到360度的真实感而产生立体音的效果。图1显示一典型的360度HRTF测量。如图1所示,在一圆圈10的中心处摆放一个假人头12并将圆圈10分割成360段,每段指定一方位角控制参数(360度控制)并代表一个不重复的定位点。如此,当一光源的位置顺利地由一段转至下一段,假人头12可察觉到光源位置的连续性移动。根据上述HRTF测量,假设位置0对准着头12的左耳,以编号14代表。位置90在头12正前方,以编号16代表。同样地,位置180对准着头12的右耳,以编号18代表,位置270在头12正后方,以编号20代表。因为方位角位置参数环绕着圆圈10配置,因此,位置0及360会重叠在编号14的地方。使用一范围参数来表示声源的出声范围或距离。以头12的中心点为原点(位置0),从原点至圆圈10间分割成360个圆圈来代表声源距离。其中位置0至19为头12的范围,如图示编号22。其余位置20至359以图示编号24代表。其中上述位置359为能够听到声音范围上的极限。当然,上述极限可依实际需求做调整。A typical surround sound system uses some simple delay circuits and phase filters to mix the left and right channel data to simulate a stereo sound effect. However, this method usually confuses the data of the left and right channels due to the mixing process, resulting in distortion of the original data. Again, the above-mentioned typical surround sound system cannot produce stereophonic effects from four directions of a listener's front, rear, up and down, especially when the listener is not located in a so-called "sweet spot". Therefore, the above-mentioned system Filters need to be installed at the position of the front and rear sound, and then an electrical system is provided to allow the listener to hear the front sound through the front filter when the listener turns his
前述配置必须架构于一无响室(echoic chamber)内,分别在360度(段)不同的座标空间的各声源下执行双耳测量,以记录48或44.IKHZ取样速率下20HZ到20KHZ的声波。因为声波传送至两耳间的标准时间差约为音波走20公分亦即范围0-19)的时间,以致造成两耳闻声音时间差(ITD)。又,不同人的头、肩、臂会吸收不同的声波能量,这时两耳所听到的大小声音振幅是不同的,因而造成两耳间声音密度差(11D)。如此,利用一单声源分别对左右耳做HRTF测量及记录,以完成HRTF资料库的建立。但是,这种方式如熟知此项技术的人士所熟知的,声波碰到物体都会有反射的效应,经人躯体、肩、头及外耳改变的不同波长的音波会在外耳壳中产生绕射(diffractive)现象,进而使音鼓所感受到的声音的频率响应也是不同的。记录于HRTF资料库中的这些变化不但随着点声源方位角仰角、范围及频率而变,也因人而易,因此若要建立这类HRTF资料库通常相当辛苦,一般来说,加上来回的调整一套完整HRTF参数要花费数个月的时间才能完成。The aforementioned configuration must be built in an echoic chamber, and binaural measurements are performed under each sound source in a 360-degree (segment) different coordinate space to record 20HZ to 20KHZ at a sampling rate of 48 or 44.IKHZ sound waves. Because the standard time difference between the sound waves transmitted to the two ears is about the time for the sound waves to travel 20 centimeters (range 0-19), resulting in the sound time difference between the two ears (ITD). In addition, different people's heads, shoulders, and arms will absorb different sound wave energy. At this time, the amplitudes of the loud and small sounds heard by the two ears are different, resulting in a difference in sound density between the two ears (11D). In this way, a single sound source is used to measure and record the HRTF of the left and right ears respectively, so as to complete the establishment of the HRTF database. But this way is well known to those who are familiar with this technology, the sound wave will have a reflection effect when it hits an object, and the sound waves of different wavelengths changed by the human body, shoulder, head and outer ear will produce diffraction in the outer ear shell ( diffractive) phenomenon, so that the frequency response of the sound felt by the drum is also different. These changes recorded in the HRTF database not only vary with the azimuth, elevation, range and frequency of the point sound source, but also vary from person to person. Therefore, it is usually quite laborious to establish this kind of HRTF database. Generally speaking, adding It takes several months to complete the adjustment of a complete set of HRTF parameters.
发明内容Contents of the invention
有鉴于此,本发明的一目的是提供一种立体音效的产生方法,其使用头部对应转换演算法(HRTF),以自一单耳音源中合成一双声道音效。In view of this, an object of the present invention is to provide a method for generating a stereo sound effect, which uses a Head Response Transformation algorithm (HRTF) to synthesize a binaural sound effect from a monaural sound source.
本发明的立体音效的产生方法包含下列步骤:The generation method of stereophonic effect of the present invention comprises the following steps:
对双耳进行测量以取得两耳的转换函式;Measurements are taken on both ears to obtain the transfer function for both ears;
经由一单耳HRTF测量操作记录一只耳朵的一组HRTF系数,用以建立一单耳头部对应转换演算法(HRTF)资料库;Recording a set of HRTF coefficients of one ear through a monaural HRTF measurement operation to establish a monaural head correspondence transformation algorithm (HRTF) database;
根据所述的两耳的转换函式以计算上述两耳间声音时间差(ITD)补偿曲线;以及According to the conversion function of the two ears to calculate the above-mentioned interaural sound time difference (ITD) compensation curve; and
根据所建立的上述两组单耳HRTF资料库及ITD补偿曲线,将一外部输入的单耳信号转换成一立体音效信号。According to the above two established monaural HRTF databases and ITD compensation curves, an externally input monaural signal is converted into a stereo sound effect signal.
上述立体音效的产生方法进一步包含下列步骤根据该ITD补偿曲线来调整该立体音效信号的ITD模组。上述立体音效的产生方法进一步包含提供一调整工具给一使用者,以设定头部阴影参数至所期待的立体音效环绕效果。The method for generating stereo sound effect further includes the following steps of adjusting the ITD module of the stereo sound effect signal according to the ITD compensation curve. The above method for generating stereo sound effect further includes providing an adjustment tool for a user to set the head shadow parameters to the expected surround effect of stereo sound effect.
本发明指出的另一种立体音效的产生方法,对双耳进行测量以取得两耳的转换函式;Another stereophonic production method pointed out by the present invention is to measure the two ears to obtain the conversion function of the two ears;
经由一单耳HRTF测量操作来记录一只耳朵的一组HRTF系数,用以建立一单耳头部对应转换演算法(HRTF)资料库;Recording a set of HRTF coefficients of one ear through a monaural HRTF measurement operation to establish a monaural head correspondence transformation algorithm (HRTF) database;
根据上述的两耳的上述转换函式以计算上述两耳间的声音时间差(ITD)补偿曲线;Calculate the sound time difference (ITD) compensation curve between the above-mentioned two ears according to the above-mentioned conversion function of the above-mentioned two ears;
根据所建立的HRTF资料库来分开一外部输入单耳信号成为一近端双耳信号及一远端双耳信号;Separate an external input monaural signal into a near-end binaural signal and a far-end binaural signal according to the established HRTF database;
根据所建立的HRTF资料库及ITD补偿曲线来调整上述远端双耳信号的一ITD模组;adjusting an ITD module of the above-mentioned remote binaural signal according to the established HRTF database and ITD compensation curve;
提供一调整工具给一使用者,以设定上述近端双耳信号及上述具有调整过的ITD模组的远端双耳信号两者的头部阴影参数至所期待的立体音效环绕效果。An adjustment tool is provided for a user to set the head shadow parameters of both the near-end binaural signal and the far-end binaural signal with the adjusted ITD module to a desired stereo sound surround effect.
本发明可利用单耳头部对应转换演算法(HRTF)技术以自一单耳音源中合成一双声道音效,从而使立体音效的设定更加便捷,并节约了调整时间。The present invention can use HRTF technology to synthesize a binaural sound effect from a monaural sound source, thereby making stereo sound effect setting more convenient and saving adjustment time.
附图说明Description of drawings
图1显示一具有360度的典型HRTF测量图;Figure 1 shows a typical HRTF measurement map with 360 degrees;
图2显示一本发明的单耳HRTF测量图;Fig. 2 shows a single ear HRTF measurement chart of the present invention;
图3显示一根据本发明的双声道合成结构图;Fig. 3 shows a two-channel synthesizing structure diagram according to the present invention;
图4显示一根据本发明用于图3的ITD波器中的ITD补偿曲线图;Fig. 4 shows a graph of ITD compensation used in the ITD oscillator of Fig. 3 according to the present invention;
图5为一根据本发明图3的操作流程图。FIG. 5 is a flowchart of the operation of FIG. 3 according to the present invention.
具体实施方式Detailed ways
全文中,类似元件功能以相同元件编号代表。Throughout, similar element functions are denoted by the same element number.
图2显示一本发明的单耳HRTF测量图。在图2中上述单耳HRTF测量只记录左耳或右耳的测量资料(一组滤波器数),其不同于典型的HRTF测量,必须分别记录左耳及右耳两者的测量资料。如图2所示,一台扩音器21被放在距离头部22左耳(如同接收麦克风的作用)1.4米远的地方,用以传送声音至左耳中。由于人的脸部大致上呈现对称性,在进行HRTF测量时,可以只对右半面或左半面进行量测,在每一个量测点(例如,在预设好具有方位角θAC及仰角θAB的A点位置上)记录由麦克风以44.1kHZ取样从扩音器播出的声音,在频率领域中记录一组滤波器数(脉冲响应)并求出它们之间的转换函式(transfer function)(从频率领域转换到时间领域),即可完成HRTF资料库。又,可以使用一时间等化器(未显示)来消除测量仪器的影响,例如扩音器21、头部22及接收麦克风(测量侧的耳朵)本身的频率响应。如此,储存于HRTF资料库的量测结果将是和包含头在内的量测仪器本身无关的转换函式。此外,如果想直接实施上述资料库实际上是有因难的,因为它必须用很长的FIR滤波器才有可能,通常是数百阶(tap)以上的程次,我们必须再做进一步的化简。由于到左耳的转换函式和到右耳的转换函式之间的相位差可以包含进ITD模组来补偿,所以我们对两耳的转换函式做最小相位转换,再观察转换后的结果发现大部份的能量都集中在前面32阶(tap)的地方。如此,到测量资料经由最小相位转换后产生的转换函式,只要储存这个转换函式的前32阶即可很有效的模拟出3-D的立体效果。上述包含前32阶的FIR滤波器数的HRTF资料库就可简单地利用一32阶FIR滤波器来实行。只是,考虑到实际应用时每个人的头形都不尽相同,为了把头部22对转换函式的影响去除,参考图3,不管是到左耳还是右耳的声音都会经由头部阴影效应的补偿滤波器32、34来补偿不同头形对3-D立体音效的不同感受。另外,根据音响心理学,近端扩音器至左右耳的延迟小到可被忽略,但远端扩音器至两耳间的时间差无法被忽略,所以需要使用一ITD滤波器来做补偿。这样,利用很简单的滤波器架构,就可达成个别不同的3-D立体音效的感受,以节省计算的花费及时间。图4显示一根据本发明用于图3的ITD滤波器中的ITD补偿曲线图。在图4中,上述补偿曲线在0度仰角(也就是图2中的C轴)时的ITD模组。如图4所示,取出原测量资料库中的同一个量测位置(方位角)上,由左耳测得的转换函式及由右耳测得的转换函式的延迟部分做互相关系运算(crosscorrelation)(可利用高斯函式(Gaussian function)乘以正弦函数(sine)得到),以找出最大的延迟值,这个值即为我们要补偿的ITD参考值。接着,将图4中导出的ITD补偿曲线以图3中显示的ITD滤波器配置于单耳HRTF资料库及远端IIR滤波器之间。又,基于上述每个人的不同头形,除了建立共同的32阶FIR滤波器来模拟立体音效外,还提供一调整工具给使用者,以设定近端及远端阴影效应波波器的头部阴影参数,藉此提供调整个别差异的方法以达到立体音效环绕效果。这个调整工具提供二个参数设定装置,以调整每个IIR滤波器的极点及零点值(pole and zero values)至一让使用者明显感受到立体音效的程度。Figure 2 shows a single-ear HRTF measurement diagram of the present invention. In Fig. 2, the above single-ear HRTF measurement only records the measurement data of the left ear or the right ear (a set of filter numbers), which is different from the typical HRTF measurement, which must record the measurement data of the left ear and the right ear separately. As shown in FIG. 2, a
综合上述,将图3结构的操作流程显示于图5中。在图5中,该操作流程包含下列步骤:建立一单耳HRTF资料库及一ITD补偿曲线(S1);及根据所建立的单耳HRTF资料库及ITD补偿曲线来执行ITD调整及阴影效应调整(S2)。如图5所示,上述建立一单耳HRTF资料库包含32阶FIR滤波器系数及利用一32阶FIR滤波器来实施该单耳HRTF资料库。此处虽以32阶为说明例,然而实务上,可根据实际需求来决定用于配置上述资料库所需用到的阶数,并不限于32阶。所建立的ITD补偿曲线的斜率会呈现一近乎比例常数的曲线(如图4所示),如此,使用者可通过调整本发明ITD模组及远近端头部阴影效应滤波器(IIR滤波器),轻易地找到自己认为3-D效果最明显的设定。因此,经由本发明的立体音效产生方法,不须对个别差异做HRTF测量及/或改变储存于资料库中的滤波器数,就可产生令使用者满意的立体音效。In summary, the operation flow of the structure in FIG. 3 is shown in FIG. 5 . In Fig. 5, the operation flow includes the following steps: establishing a single-ear HRTF database and an ITD compensation curve (S1); and performing ITD adjustment and shadowing effect adjustment according to the established single-ear HRTF database and ITD compensation curve (S2). As shown in FIG. 5 , the above-mentioned establishment of a monaural HRTF database includes 32-order FIR filter coefficients and a 32-order FIR filter is used to implement the monaural HRTF database. Although 32 levels are used as an example for illustration here, in practice, the required level for configuring the above database can be determined according to actual needs, and is not limited to 32 levels. The slope of the established ITD compensation curve will present a curve that is close to a proportional constant (as shown in Figure 4). In this way, the user can adjust the ITD module of the present invention and the far and near end head shadow effect filter (IIR filter) , easily find the setting that you think the 3-D effect is the most obvious. Therefore, through the stereo sound effect generation method of the present invention, it is not necessary to perform HRTF measurement on individual differences and/or change the number of filters stored in the database to generate stereo sound effects that satisfy users.
虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明,任何熟悉此项技艺者,在不脱离本发明之精神和范围内,当可做些许更动与润饰,因此本发明之保护范围当视权利要求书范围所界定者为准。Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone familiar with this art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The scope of protection of an invention shall be defined by the scope of the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02140249 CN1236652C (en) | 2002-07-02 | 2002-07-02 | Stereo sound effect production method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02140249 CN1236652C (en) | 2002-07-02 | 2002-07-02 | Stereo sound effect production method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1466401A CN1466401A (en) | 2004-01-07 |
CN1236652C true CN1236652C (en) | 2006-01-11 |
Family
ID=34147533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02140249 Expired - Fee Related CN1236652C (en) | 2002-07-02 | 2002-07-02 | Stereo sound effect production method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1236652C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938686A (en) * | 2010-06-24 | 2011-01-05 | 中国科学院声学研究所 | A measurement system and method for head-related transfer function in common environment |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR3040807B1 (en) * | 2015-09-07 | 2022-10-14 | 3D Sound Labs | METHOD AND SYSTEM FOR DEVELOPING A TRANSFER FUNCTION RELATING TO THE HEAD ADAPTED TO AN INDIVIDUAL |
CN105611481B (en) * | 2015-12-30 | 2018-04-17 | 北京时代拓灵科技有限公司 | A kind of man-machine interaction method and system based on spatial sound |
CN107889044B (en) * | 2017-12-19 | 2019-10-15 | 维沃移动通信有限公司 | The processing method and processing device of audio data |
CN109005496A (en) * | 2018-07-26 | 2018-12-14 | 西北工业大学 | A Method of Vertical Orientation Enhancement in HRTF |
CN109754825B (en) * | 2018-12-26 | 2021-02-19 | 广州方硅信息技术有限公司 | Audio processing method, device, equipment and computer readable storage medium |
CN114866948B (en) * | 2022-04-26 | 2024-07-05 | 北京奇艺世纪科技有限公司 | Audio processing method, device, electronic equipment and readable storage medium |
-
2002
- 2002-07-02 CN CN 02140249 patent/CN1236652C/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938686A (en) * | 2010-06-24 | 2011-01-05 | 中国科学院声学研究所 | A measurement system and method for head-related transfer function in common environment |
CN101938686B (en) * | 2010-06-24 | 2013-08-21 | 中国科学院声学研究所 | Measurement system and measurement method for head-related transfer function in common environment |
Also Published As
Publication number | Publication date |
---|---|
CN1466401A (en) | 2004-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jot et al. | Digital signal processing issues in the context of binaural and transaural stereophony | |
CN105874820B (en) | Binaural audio is produced by using at least one feedback delay network in response to multi-channel audio | |
Brown et al. | An efficient HRTF model for 3-D sound | |
Møller | Fundamentals of binaural technology | |
CN102440003B (en) | Audio spatialization and environmental simulation | |
US9635484B2 (en) | Methods and devices for reproducing surround audio signals | |
US8270616B2 (en) | Virtual surround for headphones and earbuds headphone externalization system | |
JP2001016697A (en) | Method and device correcting original head related transfer function | |
MX2014011213A (en) | Method and system for head-related transfer function generation by linear mixing of head-related transfer functions. | |
US8229143B2 (en) | Stereo expansion with binaural modeling | |
JP2004526364A (en) | Method and system for simulating a three-dimensional acoustic environment | |
JP2009512364A (en) | Virtual audio simulation | |
Sheaffer et al. | Binaural reproduction of finite difference simulations using spherical array processing | |
Kates et al. | Externalization of remote microphone signals using a structural binaural model of the head and pinna | |
CN1236652C (en) | Stereo sound effect production method | |
Spors et al. | Comparison of modal versus delay-and-sum beamforming in the context of data-based binaural synthesis | |
US20030202665A1 (en) | Implementation method of 3D audio | |
Lee et al. | A real-time audio system for adjusting the sweet spot to the listener's position | |
Oldfield | The analysis and improvement of focused source reproduction with wave field synthesis | |
Gardner | Spatial audio reproduction: toward individualized binaural sound | |
Yuan et al. | Sound image externalization for headphone based real-time 3D audio | |
JP4306815B2 (en) | Stereophonic sound processor using linear prediction coefficients | |
US20230403528A1 (en) | A method and system for real-time implementation of time-varying head-related transfer functions | |
Marschall et al. | A database of near-field head-related transfer functions based on measurements with a laser spark source | |
TW546982B (en) | Implementation method of 3D audio |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060111 Termination date: 20100702 |