CN104519454B - A kind of audio frequency signal output and device - Google Patents
A kind of audio frequency signal output and device Download PDFInfo
- Publication number
- CN104519454B CN104519454B CN201310446453.2A CN201310446453A CN104519454B CN 104519454 B CN104519454 B CN 104519454B CN 201310446453 A CN201310446453 A CN 201310446453A CN 104519454 B CN104519454 B CN 104519454B
- Authority
- CN
- China
- Prior art keywords
- signal
- channel signal
- sound channel
- output
- enhanced
- 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
Landscapes
- Stereophonic System (AREA)
Abstract
本发明公开了一种音频信号输出方法及装置,解决了多个终端采用多声道格式协作输出一个音频信号时效果较差的问题。该方法包括:终端在参与多声道格式协作输出一个音频信号时,确定该终端需要输出的声道信号;当确定该终端需要输出的是该音频信号的预设声道信号时,在该预设声道信号中混入该音频信号中与该预设声道信号对应的声道信号,得到混音后的声道信号;其中,该预设声道信号为左后声道信号和右后声道信号中的至少一个;并对该混音后的声道信号进行低频增强处理,得到低频增强后的声道信号;输出该低频增强后的声道信号。
The invention discloses an audio signal output method and device, which solves the problem of poor effect when a plurality of terminals cooperatively output an audio signal in a multi-channel format. The method includes: when the terminal participates in multi-channel format cooperation to output an audio signal, determining the channel signal that the terminal needs to output; when determining that the terminal needs to output the preset channel signal of the audio signal, the preset The channel signal corresponding to the preset channel signal in the audio signal is mixed into the channel signal to obtain the mixed channel signal; wherein, the preset channel signal is the left rear channel signal and the right rear channel signal At least one of the channel signals; performing low-frequency enhancement processing on the mixed channel signal to obtain a low-frequency enhanced channel signal; outputting the low-frequency enhanced channel signal.
Description
技术领域technical field
本发明涉及终端技术领域,尤其涉及一种音频信号输出方法及装置。The present invention relates to the technical field of terminals, in particular to an audio signal output method and device.
背景技术Background technique
传统的音频信号的输出多是在一个终端上进行的,例如,使用一个手机播放音乐。近年来,随着手机、平板电脑等终端用户越来越多,人们开始希望能够使用多个终端采用多声道格式协作输出一个音频信号,例如,使用五个手机采用五声道格式协作播放同一首音乐,这样可以扩展音乐的声场,提升音乐播放效果。The output of traditional audio signals is mostly carried out on a terminal, for example, a mobile phone is used to play music. In recent years, with the increasing number of terminal users such as mobile phones and tablet computers, people began to hope to use multiple terminals to cooperatively output an audio signal in a multi-channel format. For example, use five mobile phones to cooperatively play the same This can expand the sound field of the music and improve the music playback effect.
现有技术中,当使用五个手机采用五声道格式协作播放同一首音乐时,五个手机分别用于输出音乐的一路声道信号,如图1所示。由于手机等终端自带的扬声器体积较小,对声道信号中的低频信号的呈现效果不理想,因此为了提高低频呈现效果,在每一路声道信号输出前,均会进行低频增强处理。In the prior art, when five mobile phones are used to cooperatively play the same music in a five-channel format, the five mobile phones are respectively used to output one channel signal of the music, as shown in FIG. 1 . Since the built-in speakers of mobile phones and other terminals are small in size, the rendering effect of low-frequency signals in channel signals is not ideal. Therefore, in order to improve the low-frequency rendering effect, low-frequency enhancement processing will be performed before each channel signal is output.
然而,在对各路声道信号进行低频增强处理时,各路声道信号的增强程度可能会不一致,信号相位可能会发生改变。通常情况下,位于听众后方的声道信号(如图1中的左后声道信号、右后声道信号)的相位改变并不会对听众产生较大的影响,而位于听众前方的声道信号(如图1中的左声道信号、中声道信号、右声道信号)的相位改变将会导致听众听觉感知的位置信息发生变化,并且,现有技术中的很多低频增强技术会削弱声道信号的响度,最终导致音频信号的输出效果较差。However, when the low-frequency enhancement processing is performed on the signals of various channels, the degree of enhancement of the signals of various channels may be inconsistent, and the phase of the signals may change. Under normal circumstances, the phase change of the channel signal located behind the listener (such as the left rear channel signal and the right rear channel signal in Figure 1) does not have a great impact on the listener, while the channel located in front of the listener The phase change of the signal (such as the left channel signal, center channel signal, and right channel signal in Figure 1) will cause the position information of the listener's auditory perception to change, and many low-frequency enhancement techniques in the prior art will weaken The loudness of the channel signal, which ultimately leads to poor output of the audio signal.
发明内容Contents of the invention
本发明实施例提供一种音频信号输出方法及装置,用以解决多个终端采用多声道格式协作输出一个音频信号时效果较差的问题。Embodiments of the present invention provide an audio signal output method and device to solve the problem of poor effect when multiple terminals cooperatively output an audio signal in a multi-channel format.
第一方面,提供一种音频信号输出方法,包括:In a first aspect, an audio signal output method is provided, including:
终端在参与多声道格式协作输出一个音频信号时,确定所述终端需要输出的声道信号;When the terminal participates in multi-channel format cooperation to output an audio signal, determine the channel signal that the terminal needs to output;
当确定所述终端需要输出的是所述音频信号的预设声道信号时,在所述预设声道信号中混入所述音频信号中与所述预设声道信号对应的声道信号,得到混音后的声道信号;其中,所述预设声道信号为左后声道信号和右后声道信号中的至少一个;并When it is determined that the terminal needs to output a preset channel signal of the audio signal, mixing a channel signal corresponding to the preset channel signal in the audio signal into the preset channel signal, A mixed channel signal is obtained; wherein, the preset channel signal is at least one of a left rear channel signal and a right rear channel signal; and
对所述混音后的声道信号进行低频增强处理,得到低频增强后的声道信号;performing low-frequency enhancement processing on the mixed channel signal to obtain a low-frequency enhanced channel signal;
输出所述低频增强后的声道信号。and outputting the low-frequency enhanced channel signal.
结合第一方面,在第一种可能的实现方式中,在输出所述低频增强后的声道信号之前,还包括:With reference to the first aspect, in a first possible implementation manner, before outputting the low-frequency enhanced channel signal, the method further includes:
对所述低频增强后的声道信号进行响度控制处理;performing loudness control processing on the low-frequency enhanced channel signal;
所述输出所述低频增强后的声道信号,具体为:Said outputting the channel signal after said low-frequency enhancement is specifically:
输出经过所述响度控制处理的低频增强后的声道信号。Outputting the low-frequency enhanced channel signal processed by the loudness control.
结合第一方面,或者第一方面的第一种可能的实现方式,在第二种可能的实现方式中,当终端在参与五声道格式协作输出一个音频信号时,若确定所述终端需要输出的预设声道信号是左后声道信号时,则与所述预设声道信号对应的声道信号包括左声道信号和中声道信号中的至少一个;若确定所述终端需要输出的预设声道信号是右后声道信号时,则与所述预设声道信号对应的声道信号包括右声道信号和中声道信号中的至少一个;In combination with the first aspect, or the first possible implementation of the first aspect, in the second possible implementation, when the terminal participates in the five-channel format cooperation to output an audio signal, if it is determined that the terminal needs to output When the preset channel signal is the left rear channel signal, the channel signal corresponding to the preset channel signal includes at least one of the left channel signal and the center channel signal; if it is determined that the terminal needs to output When the preset channel signal is a right rear channel signal, the channel signal corresponding to the preset channel signal includes at least one of a right channel signal and a center channel signal;
当终端在参与七声道格式协作输出一个音频信号时,若确定所述终端需要输出的预设声道信号是左后声道信号时,则与所述预设声道信号对应的声道信号包括左声道信号、前左声道信号和中声道信号中的至少一个;若确定所述终端需要输出的预设声道信号是右后声道信号时,则与所述预设声道信号对应的声道信号包括右声道信号、前右声道信号和中声道信号中的至少一个。When the terminal participates in the seven-channel format cooperation to output an audio signal, if it is determined that the preset channel signal that the terminal needs to output is the left rear channel signal, then the channel signal corresponding to the preset channel signal Including at least one of the left channel signal, the front left channel signal and the center channel signal; if it is determined that the preset channel signal that the terminal needs to output is the right rear channel signal, then the The channel signal corresponding to the signal includes at least one of a right channel signal, a front right channel signal and a center channel signal.
结合第一方面,在第三种可能的实现方式中,所述对所述混音后的声道信号进行低频增强处理,得到低频增强后的声道信号,具体包括:With reference to the first aspect, in a third possible implementation manner, the low-frequency enhancement processing is performed on the mixed channel signal to obtain the low-frequency enhanced channel signal, which specifically includes:
获取所述混音后的声道信号中的低频信号,并对所述低频信号进行增强,得到增强后的低频信号;以及Obtaining a low-frequency signal in the mixed channel signal, and enhancing the low-frequency signal to obtain an enhanced low-frequency signal; and
获取所述预设声道信号中的高频信号;Obtaining a high-frequency signal in the preset channel signal;
基于所述增强后的低频信号与所述高频信号确定低频增强后的声道信号。A low-frequency enhanced channel signal is determined based on the enhanced low-frequency signal and the high-frequency signal.
结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中,在基于所述增强后的低频信号与所述高频信号确定低频增强后的声道信号之前,还包括:With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, before determining the low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal, further comprising: :
对所述增强后的低频信号进行音色控制处理;performing tone color control processing on the enhanced low-frequency signal;
所述基于所述增强后的低频信号与所述高频信号确定低频增强后的声道信号,具体为:The determination of the low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal is specifically:
基于经过所述音色控制处理的增强后的低频信号与所述高频信号确定低频增强后的声道信号。A low-frequency enhanced channel signal is determined based on the enhanced low-frequency signal processed by the timbre control and the high-frequency signal.
第二方面,提供一种音频信号输出装置,包括:In a second aspect, an audio signal output device is provided, comprising:
确定单元,用于终端在参与多声道格式协作输出一个音频信号时,确定所述终端需要输出的声道信号;A determination unit, configured to determine the channel signal that the terminal needs to output when the terminal participates in multi-channel format cooperation to output an audio signal;
信号处理单元,用于当确定所述终端需要输出的是所述音频信号的预设声道信号时,在所述预设声道信号中混入所述音频信号中与所述预设声道信号对应的声道信号,得到混音后的声道信号;其中,所述预设声道信号为左后声道信号和右后声道信号中的至少一个;并对所述混音后的声道信号进行低频增强处理,得到低频增强后的声道信号;A signal processing unit, configured to mix the audio signal with the preset channel signal into the preset channel signal when it is determined that the terminal needs to output the preset channel signal of the audio signal The corresponding channel signal is obtained as a mixed channel signal; wherein, the preset channel signal is at least one of the left rear channel signal and the right rear channel signal; and the mixed sound The low-frequency enhancement processing is performed on the channel signal to obtain the low-frequency enhanced channel signal;
输出单元,用于输出所述低频增强后的声道信号。An output unit, configured to output the low-frequency enhanced channel signal.
结合第二方面,在第一种可能的实现方式中,所述信号处理单元,还用于在输出所述低频增强后的声道信号之前,对所述低频增强后的声道信号进行响度控制处理;With reference to the second aspect, in a first possible implementation manner, the signal processing unit is further configured to perform loudness control on the low-frequency enhanced channel signal before outputting the low-frequency enhanced channel signal deal with;
所述输出单元,具体用于输出经过所述响度控制处理的低频增强后的声道信号。The output unit is specifically configured to output the low-frequency enhanced channel signal processed by the loudness control.
结合第二方面,或者第二方面的第一种可能的实现方式,在第二种可能的实现方式中,当终端在参与五声道格式协作输出一个音频信号时,若所述确定单元确定所述终端需要输出的预设声道信号是左后声道信号时,则与所述预设声道信号对应的声道信号包括左声道信号和中声道信号中的至少一个;若所述确定单元确定所述终端需要输出的预设声道信号是右后声道信号时,则与所述预设声道信号对应的声道信号包括右声道信号和中声道信号中的至少一个;With reference to the second aspect, or the first possible implementation of the second aspect, in the second possible implementation, when the terminal participates in the five-channel format cooperative output of an audio signal, if the determining unit determines that the When the preset channel signal that the terminal needs to output is the left rear channel signal, the channel signal corresponding to the preset channel signal includes at least one of the left channel signal and the center channel signal; if the When the determining unit determines that the preset channel signal to be output by the terminal is a right rear channel signal, the channel signal corresponding to the preset channel signal includes at least one of a right channel signal and a center channel signal ;
当终端在参与七声道格式协作输出一个音频信号时,若所述确定单元确定所述终端需要输出的预设声道信号是左后声道信号时,则与所述预设声道信号对应的声道信号包括左声道信号、前左声道信号和中声道信号中的至少一个;若所述确定单元确定所述终端需要输出的预设声道信号是右后声道信号时,则与所述预设声道信号对应的声道信号包括右声道信号、前右声道信号和中声道信号中的至少一个。When the terminal participates in the cooperation of the seven-channel format to output an audio signal, if the determination unit determines that the preset channel signal to be output by the terminal is the left rear channel signal, it corresponds to the preset channel signal The channel signal includes at least one of a left channel signal, a front left channel signal, and a center channel signal; if the determining unit determines that the preset channel signal that the terminal needs to output is a right rear channel signal, Then the channel signal corresponding to the preset channel signal includes at least one of a right channel signal, a front right channel signal and a center channel signal.
结合第二方面,在第三种可能的实现方式中,所述信号处理单元,具体用于获取所述混音后的声道信号中的低频信号,并对所述低频信号进行增强,得到增强后的低频信号;以及获取所述预设声道信号中的高频信号;基于所述增强后的低频信号与所述高频信号确定低频增强后的声道信号。With reference to the second aspect, in a third possible implementation manner, the signal processing unit is specifically configured to acquire a low-frequency signal in the mixed channel signal, and enhance the low-frequency signal to obtain an enhanced and obtaining a high-frequency signal in the preset channel signal; and determining a low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal.
结合第二方面的第三种可能的实现方式,在第四种可能的实现方式中,所述信号处理单元,还用于在基于所述增强后的低频信号与所述高频信号确定低频增强后的声道信号之前,对所述增强后的低频信号进行音色控制处理;所述信号处理单元,具体用于基于经过所述音色控制处理的增强后的低频信号与所述高频信号确定低频增强后的声道信号。With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the signal processing unit is further configured to determine a low-frequency enhancement based on the enhanced low-frequency signal and the high-frequency signal Before the enhanced channel signal, perform timbre control processing on the enhanced low-frequency signal; the signal processing unit is specifically configured to determine the low-frequency signal based on the enhanced low-frequency signal and the high-frequency signal after the timbre control process. Enhanced channel signal.
根据第一方面提供的音频信号输出方法,第二方面提供的音频信号输出装置,终端在参与多声道格式协作输出一个音频信号时,当确定该终端需要输出的是该音频信号的预设声道信号时,在该预设声道信号中混入其它声道信号后,再进行低频增强处理后输出,不但可以使预设声道信号中的低频信号得到增强,其它声道信号中的低频信号也可以得到增强,因此需要输出该音频信号的其它声道信号的终端可以直接输出,无需再进行低频增强处理,并且预设声道信号为左后声道信号和右后声道信号中的至少一个,即该方案中,前方声道信号的低频增强可以在后方声道信号的低频增强处理中实现,需要输出该音频信号的前方声道信号的终端可以直接输出,无需进行低频增强处理,因此不会改变前方声道信号的相位,从而能够提高多个终端采用多声道格式协作输出一个音频信号时的效果。According to the audio signal output method provided in the first aspect, and the audio signal output device provided in the second aspect, when the terminal participates in multi-channel format cooperative output of an audio signal, when it is determined that the terminal needs to output the preset sound of the audio signal When the channel signal is used, the preset channel signal is mixed with other channel signals, and then output after low-frequency enhancement processing. Not only can the low-frequency signal in the preset channel signal be enhanced, but the low-frequency signal in other channel signals It can also be enhanced, so the terminal that needs to output the other channel signals of the audio signal can directly output without further low-frequency enhancement processing, and the preset channel signal is at least one of the left rear channel signal and the right rear channel signal One, that is, in this solution, the low-frequency enhancement of the front channel signal can be realized in the low-frequency enhancement processing of the rear channel signal, and the terminal that needs to output the front channel signal of the audio signal can directly output without low-frequency enhancement processing, so The phase of the front channel signal will not be changed, thereby improving the effect when multiple terminals cooperatively output an audio signal in a multi-channel format.
附图说明Description of drawings
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:
图1为五个终端采用五声道格式协作输出一个音频信号的示意图;FIG. 1 is a schematic diagram of five terminals cooperatively outputting an audio signal in a five-channel format;
图2为本发明实施例提供的音频信号输出方法的流程图;FIG. 2 is a flowchart of an audio signal output method provided by an embodiment of the present invention;
图3为本发明实施例提供的音频信号输出方法的详细流程图;FIG. 3 is a detailed flowchart of an audio signal output method provided by an embodiment of the present invention;
图4为本发明实施例提供的音频信号输出装置的结构示意图;FIG. 4 is a schematic structural diagram of an audio signal output device provided by an embodiment of the present invention;
图5为本发明实施例提供的终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
具体实施方式detailed description
为了给出提高多个终端采用多声道格式协作输出一个音频信号时效果的实现方案,本发明实施例提供了一种音频信号输出方法及装置,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。In order to provide an implementation plan for improving the effect of multiple terminals cooperatively outputting an audio signal in a multi-channel format, an embodiment of the present invention provides an audio signal output method and device. The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. Note, it should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, not to limit the present invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
本发明实施例提供一种音频信号输出方法,如图2所示,包括:An embodiment of the present invention provides an audio signal output method, as shown in FIG. 2 , including:
步骤201、终端在参与多声道格式协作输出一个音频信号时,确定该终端需要输出的声道信号。Step 201. When the terminal participates in multi-channel format cooperation to output an audio signal, it determines the channel signal that the terminal needs to output.
步骤202、当确定该终端需要输出的是该音频信号的预设声道信号时,在该预设声道信号中混入该音频信号中与该预设声道信号对应的声道信号,得到混音后的声道信号;其中,该预设声道信号为左后声道信号和右后声道信号中的至少一个。Step 202. When it is determined that the terminal needs to output the preset channel signal of the audio signal, mix the channel signal corresponding to the preset channel signal in the audio signal into the preset channel signal to obtain a mixed A rear channel signal; wherein, the preset channel signal is at least one of a left rear channel signal and a right rear channel signal.
步骤203、对该混音后的声道信号进行低频增强处理,得到低频增强后的声道信号。Step 203: Perform low-frequency enhancement processing on the mixed channel signal to obtain a low-frequency enhanced channel signal.
步骤204、输出该低频增强后的声道信号。Step 204, output the low-frequency enhanced channel signal.
进一步的,当确定该终端需要输出的是该音频信号的预设声道信号以外的其它声道信号时,直接输出即可。Further, when it is determined that the terminal needs to output a channel signal other than the preset channel signal of the audio signal, it can directly output it.
上述终端具体可以为手机、平板电脑等。The above-mentioned terminal may specifically be a mobile phone, a tablet computer, and the like.
上述音频信号输出方法适用于多个终端采用多声道格式协作输出一个音频信号时的应用场景,例如多个终端采用五声道格式协作输出一个音频信号时,或者多个终端采用七声道格式协作输出一个音频信号时。The above audio signal output method is applicable to the application scenario when multiple terminals cooperatively output an audio signal in a multi-channel format, for example, when multiple terminals cooperatively output an audio signal in a five-channel format, or multiple terminals adopt a seven-channel format When outputting an audio signal collaboratively.
进一步的,当终端在参与五声道格式协作输出一个音频信号时,若确定该终端需要输出的预设声道信号是左后声道信号时,则与该预设声道信号对应的声道信号包括左声道信号和中声道信号中的至少一个;若确定该终端需要输出的预设声道信号是右后声道信号时,则与该预设声道信号对应的声道信号包括右声道信号和中声道信号中的至少一个;Further, when the terminal participates in the five-channel format cooperation to output an audio signal, if it is determined that the preset channel signal that the terminal needs to output is the left rear channel signal, the channel corresponding to the preset channel signal The signal includes at least one of a left channel signal and a center channel signal; if it is determined that the preset channel signal that the terminal needs to output is a right rear channel signal, then the channel signal corresponding to the preset channel signal includes at least one of a right channel signal and a center channel signal;
进一步的,当终端在参与七声道格式协作输出一个音频信号时,若确定该终端需要输出的预设声道信号是左后声道信号时,则与该预设声道信号对应的声道信号包括左声道信号、前左声道信号和中声道信号中的至少一个;若确定该终端需要输出的预设声道信号是右后声道信号时,则与该预设声道信号对应的声道信号包括右声道信号、前右声道信号和中声道信号中的至少一个。Further, when the terminal participates in the seven-channel format cooperation to output an audio signal, if it is determined that the preset channel signal that the terminal needs to output is the left rear channel signal, then the channel corresponding to the preset channel signal The signal includes at least one of the left channel signal, the front left channel signal and the middle channel signal; if it is determined that the preset channel signal that the terminal needs to output is the right rear channel signal, then the preset channel signal The corresponding channel signal includes at least one of a right channel signal, a front right channel signal and a center channel signal.
由于低频增强处理可能会改变原声道信号的响度,为防止输出的声道信号的响度过小或者过大,较佳的,在步骤204输出该低频增强后的声道信号之前,还包括对该低频增强后的声道信号进行响度控制处理。此时,步骤204具体为输出经过该响度控制处理的低频增强后的声道信号。Since the low-frequency enhancement processing may change the loudness of the original sound channel signal, in order to prevent the loudness of the output sound channel signal from being too small or too large, preferably, before outputting the low-frequency enhanced sound channel signal in step 204, it is also included. Loudness control processing is performed on the channel signal after low-frequency enhancement. At this time, step 204 is specifically to output the low-frequency enhanced channel signal after the loudness control processing.
步骤203对混音后的声道信号进行低频增强处理,具体可以为:Step 203 performs low-frequency enhancement processing on the mixed channel signal, which can be specifically:
获取该混音后的声道信号中的低频信号,并对该低频信号进行增强,得到增强后的低频信号;以及获取预设声道信号中的高频信号;基于该增强后的低频信号与该高频信号确定低频增强后的声道信号。Obtain the low-frequency signal in the mixed channel signal, and enhance the low-frequency signal to obtain the enhanced low-frequency signal; and obtain the high-frequency signal in the preset channel signal; based on the enhanced low-frequency signal and The high frequency signal determines the low frequency enhanced channel signal.
具体可以基于下述公式对混音后的声道信号中的低频信号进行增强,得到增强后的低频信号:Specifically, the low-frequency signal in the mixed channel signal can be enhanced based on the following formula to obtain the enhanced low-frequency signal:
x_lp_2[i]=x_lp[i]+x_lp[i]×x_lp[i];x_lp_2[i]=x_lp[i]+x_lp[i]×x_lp[i];
其中,x_lp_2[i]为增强后的低频信号;x_lp[i]为混音后的声道信号中的低频信号。Wherein, x_lp_2[i] is the enhanced low-frequency signal; x_lp[i] is the low-frequency signal in the mixed channel signal.
具体可以基于下述公式确定低频增强后的声道信号:Specifically, the channel signal after low-frequency enhancement can be determined based on the following formula:
y[i]=x_hp[i]+boost_f×x_lp_2[i];y[i]=x_hp[i]+boost_f×x_lp_2[i];
其中,y[i]为低频增强后的声道信号;x_hp[i]为预设声道信号中的高频信号;boost_f为低频增强因子。Among them, y[i] is the low-frequency enhanced channel signal; x_hp[i] is the high-frequency signal in the preset channel signal; boost_f is the low-frequency enhancement factor.
较佳的,在基于该增强后的低频信号与该高频信号确定低频增强后的声道信号之前,还包括对该增强后的低频信号进行音色控制处理。此时,基于该增强后的低频信号与该高频信号确定低频增强后的声道信号,具体为基于经过该音色控制处理的增强后的低频信号与该高频信号确定低频增强后的声道信号。Preferably, before determining the low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal, it further includes performing tone color control processing on the enhanced low-frequency signal. At this time, the low-frequency enhanced channel signal is determined based on the enhanced low-frequency signal and the high-frequency signal, specifically, the low-frequency enhanced channel signal is determined based on the enhanced low-frequency signal and the high-frequency signal after the timbre control process. Signal.
下面结合附图,以多个终端采用五声道格式协作输出一个音频信号为例,用具体实施例对本发明提供的方法及装置进行详细描述。The method and device provided by the present invention will be described in detail with specific embodiments below, taking multiple terminals cooperatively outputting an audio signal in a five-channel format in conjunction with the accompanying drawings as an example.
图3所示为本发明实施例提供的音频信号输出方法的详细流程图,具体包括:Figure 3 is a detailed flowchart of the audio signal output method provided by the embodiment of the present invention, specifically including:
步骤301、确定终端需要输出的声道信号。Step 301. Determine the channel signal to be output by the terminal.
在本发明实施例中,由五个终端采用五声道格式协作输出一个音频信号,每个终端需要输出一路声道信号。在本发明的其它实施例中,也可以由多于五个的终端采用五声道格式协作输出一个音频信号,此时,可以由多个终端共同输出一路声道信号。In the embodiment of the present invention, five terminals cooperatively output one audio signal in a five-channel format, and each terminal needs to output one channel signal. In other embodiments of the present invention, more than five terminals may cooperatively output one audio signal in a five-channel format, and at this time, multiple terminals may jointly output one channel signal.
终端需要输出哪一路声道信号可以由用户进行设定,也可以由终端根据自身所处的位置进行确定。例如,可采用现有技术中的人脸识别技术,由终端获取用户图像,根据获取到的用户图像确定自身处于用户的正前方、左前方、右前方、左后方或是右后方,进而确定需要输出中声道信号、左声道信号、右声道信号、左后声道信号或是右后声道信号。Which channel signal the terminal needs to output can be set by the user, or can be determined by the terminal according to its own location. For example, the face recognition technology in the prior art can be used to obtain the user image by the terminal, and according to the obtained user image, it can be determined that it is in the front, left front, right front, left rear or right rear of the user, and then determine the needs Output center channel signal, left channel signal, right channel signal, left rear channel signal or right rear channel signal.
在本发明实施例中,预设声道信号为左后声道信号和右后声道信号。In the embodiment of the present invention, the preset channel signal is a left rear channel signal and a right rear channel signal.
因此,当确定终端需要输出音频信号的左声道信号、中声道信号或右声道信号时,进入步骤302;当确定终端需要输出音频信号的左后声道信号或右后声道信号时,进入步骤303。Therefore, when it is determined that the terminal needs to output the left channel signal, the middle channel signal or the right channel signal of the audio signal, enter step 302; when it is determined that the terminal needs to output the left rear channel signal or the right rear channel signal of the audio signal , go to step 303.
步骤302、直接输出音频信号中的对应的声道信号,该流程结束。Step 302, directly output the corresponding channel signal in the audio signal, and the process ends.
步骤303、将预设声道信号中混入一定比例的其它信号,得到混音后的声道信号。Step 303 , mixing a certain proportion of other signals into the preset channel signal to obtain a mixed channel signal.
在本发明实施例中,可以将左后声道信号中混入一定比例的左预设声道信号,得到混音后的左后声道信号;可以右后声道信号中混入一定比例的右声道信号,得到混音后的右后声道信号。In the embodiment of the present invention, a certain proportion of the left preset channel signal can be mixed into the left rear channel signal to obtain a mixed left rear channel signal; a certain proportion of the right sound channel can be mixed into the right rear channel signal. channel signal to obtain the right rear channel signal after mixing.
以将左后声道信号in_LS[i]混入一定比例的左预设声道信号in_L[i]为例,具体可以基于下述公式得到混音后的左声道信号in_LS2[i]:Taking the left rear channel signal in_LS[i] mixed into a certain proportion of the left preset channel signal in_L[i] as an example, the mixed left channel signal in_LS2[i] can be obtained based on the following formula:
in_LS2[i]=a×in_LS[i]+b×in_L[i];in_LS2[i]=a×in_LS[i]+b×in_L[i];
其中,a为左后声道信号in_LS[i]的加权因子,b为左声道信号in_L[i]的加权因子。并且,a和b均为小于1的正实数,a>b且a+b=1。Wherein, a is the weighting factor of the left rear channel signal in_LS[i], and b is the weighting factor of the left channel signal in_L[i]. And, both a and b are positive real numbers less than 1, a>b and a+b=1.
具体实施时,a和b可以根据实际情况、用户需求进行具体设定。在本发明实施例中,a=0.8,b=0.2。During specific implementation, a and b may be specifically set according to actual conditions and user requirements. In the embodiment of the present invention, a=0.8, b=0.2.
步骤304、获取混音后的声道信号中的低频信号,并对其进行增强,得到增强后的低频信号。Step 304: Obtain the low-frequency signal in the mixed channel signal, and enhance it to obtain the enhanced low-frequency signal.
具体可以对混音后的声道信号进行低通滤波获取混音后的声道信号中的低频信号,对该低频信号进行增强的方式现有技术中有很多种,在本发明实施例中,以对混音后的左后声道信号中的低频信号x_llp[i]进行增强为例,具体可以基于下述公式得到增强后的低频信号x_llp_2[i]:Specifically, the mixed channel signal can be low-pass filtered to obtain the low-frequency signal in the mixed channel signal, and there are many ways to enhance the low-frequency signal in the prior art. In the embodiment of the present invention, Taking the enhancement of the low-frequency signal x_llp[i] in the mixed left rear channel signal as an example, the enhanced low-frequency signal x_llp_2[i] can be obtained based on the following formula:
x_llp_2[i]=x_llp[i]+x_llp[i]×x_llp[i]。x_llp_2[i]=x_llp[i]+x_llp[i]×x_llp[i].
高通滤波和低通滤波的分界频点可以选定为终端对低频信号呈现不良的频带上限,在本发明实施例中可以为500Hz。The cutoff frequency point of the high-pass filter and the low-pass filter may be selected as the upper limit of the frequency band where the terminal exhibits poor performance to low-frequency signals, which may be 500 Hz in the embodiment of the present invention.
步骤305、对增强后的低频信号进行音色控制处理,得到音色控制后的低频信号。Step 305 , performing tone color control processing on the enhanced low frequency signal to obtain a tone color controlled low frequency signal.
为避免输出的音频信号太尖锐,在本步骤中可以通过对增强后的低频信号进行低通滤波实现音色控制,得到音色控制后的低频信号。In order to prevent the output audio signal from being too sharp, in this step, low-pass filtering can be performed on the enhanced low-frequency signal to realize timbre control, and obtain the timbre-controlled low-frequency signal.
步骤306、获取预设声道信号中的高频信号。Step 306. Obtain a high-frequency signal in the preset channel signal.
具体可以对预设声道信号进行高通滤波获取其中的高频信号。Specifically, high-pass filtering may be performed on the preset channel signal to obtain the high-frequency signal therein.
上述步骤304-305和步骤306没有必然的先后顺序,在本发明的其它实施例中也可以先执行步骤306,后执行步骤304-305。The above-mentioned steps 304-305 and step 306 do not have a necessary sequence, and in other embodiments of the present invention, step 306 may be executed first, followed by steps 304-305.
步骤307、基于音色控制后的低频信号与该高频信号确定低频增强后的声道信号。Step 307: Determine a low-frequency enhanced channel signal based on the timbre-controlled low-frequency signal and the high-frequency signal.
以基于左后声道信号对应的音色控制后的低频信号x_llp_nlp[i]与左后声道信号中的高频信号x_lhp[i]确定低频增强后的左后声道信号yl[i]为例,具体可以基于下述公式确定低频增强后的左后声道信号yl[i]:Taking the low-frequency signal x_llp_nlp[i] after the timbre control corresponding to the left rear channel signal and the high-frequency signal x_lhp[i] in the left rear channel signal to determine the low-frequency enhanced left rear channel signal yl[i] as an example , specifically, the low-frequency enhanced left rear channel signal yl[i] can be determined based on the following formula:
yl[i]=x_lhp[i]+boost_f×x_llp_nlp[i];yl[i]=x_lhp[i]+boost_f×x_llp_nlp[i];
其中,boost_f为低频增强因子,为大于1的正实数。Wherein, boost_f is a low-frequency enhancement factor, which is a positive real number greater than 1.
具体实施时,boost_f可以根据实际情况、用户需求进行具体设定。在本发明实施例中,boost_f=2。During specific implementation, boost_f can be specifically set according to the actual situation and user needs. In the embodiment of the present invention, boost_f=2.
步骤308、对低频增强后的声道信号进行响度控制处理,得到响度控制后的声道信号。Step 308: Perform loudness control processing on the low-frequency enhanced channel signal to obtain a loudness-controlled channel signal.
本步骤中响度控制处理具体可以采用现有技术中的任一一种响度控制实现方式。In this step, the loudness control processing may specifically adopt any loudness control implementation manner in the prior art.
以对低频增强后的左后声道信号yl[i]进行响度控制处理为例,可以将yl[i]乘以一个响度控制因子f,得到响度控制后的左后声道信号yl'[i]=f×yl[i],选择合适的响度控制因子f使yl'[i]落在允许的数值区间内。Taking the loudness control processing of the left rear channel signal yl[i] after low-frequency enhancement as an example, yl[i] can be multiplied by a loudness control factor f to obtain the left rear channel signal yl'[i after loudness control ]=f×yl[i], choose the appropriate loudness control factor f to make yl'[i] fall within the allowed value range.
也可以基于下述公式进行响度控制处理:Loudness control processing can also be performed based on the following formula:
其中,thr1为响度增强阈值,ratio1为响度增强比例因子,为大于1的正实数;在本发明实施例中,ratio1=2;thr2为响度削弱阈值,ratio2为响度削弱比例因子,为大于1的正实数。在本发明实施例中,ratio2=3。Wherein, thr1 is the loudness enhancement threshold, ratio1 is the loudness enhancement scale factor, which is a positive real number greater than 1; in the embodiment of the present invention, ratio1=2; thr2 is the loudness weakening threshold, and ratio2 is the loudness weakening scale factor, which is greater than 1 positive real number. In the embodiment of the present invention, ratio2=3.
步骤309、输出响度控制后的声道信号,该流程结束。Step 309 , output the loudness-controlled channel signal, and the process ends.
可见,采用本发明实施例提供的方法,在上述实例中,需要输出音频信号的左后声道信号的终端将左后声道信号中混入左声道信号后进行低频增强处理,需要输出音频信号的右后声道信号的终端将右后声道信号中混入右声道信号后进行低频增强处理,不但使左后声道信号和右后声道信号的低频信号得到了增强,也能使左声道信号和右声道信号的低频信号得到了增强,而需要输出左声道信号、中声道信号和右声道信号的终端不需要再执行低频增强处理操作,因此终端输出的左声道信号、中声道信号和右声道信号的相位不会改变,提高了多个终端采用多声道格式协作输出一个音频信号时的效果,不会导致听众听觉感知的位置信息发生变化,提高了用户的使用体验。It can be seen that, using the method provided by the embodiment of the present invention, in the above example, the terminal that needs to output the left rear channel signal of the audio signal mixes the left rear channel signal into the left channel signal and then performs low frequency enhancement processing, and needs to output the audio signal The terminal of the right rear channel signal mixes the right rear channel signal into the right channel signal and then performs low-frequency enhancement processing, which not only enhances the low-frequency signals of the left rear channel signal and the right rear channel signal, but also makes the left The low-frequency signals of the channel signal and the right channel signal have been enhanced, and the terminal that needs to output the left channel signal, the middle channel signal and the right channel signal does not need to perform low-frequency enhancement processing operations, so the left channel output by the terminal The phases of the signal, the center channel signal and the right channel signal will not change, which improves the effect when multiple terminals use the multi-channel format to collaboratively output an audio signal, and will not cause changes in the position information of the listener's auditory perception, which improves the User experience.
本发明的上述实施例中,将左后声道信号混入了左声道信号,将右后声道信号混入了右声道信号。在本发明的另一实施例中,还可以采取类似方法将左后声道信号同时混入左声道信号和中声道信号,且各信号的加权因子之和为1,例如左后声道信号的加权因子为0.7,左声道信号的加权因子为0.2,中声道信号的加权因子为0.1;采取同样方法将右后声道信号同时混入右声道信号和中声道信号。此时,中声道信号中的低频信号也得到了增强。In the above embodiments of the present invention, the left rear channel signal is mixed into the left channel signal, and the right rear channel signal is mixed into the right channel signal. In another embodiment of the present invention, a similar method can also be adopted to mix the left rear channel signal into the left channel signal and the center channel signal at the same time, and the sum of the weighting factors of each signal is 1, for example, the left rear channel signal The weighting factor of the left channel signal is 0.7, the weighting factor of the left channel signal is 0.2, and the weighting factor of the middle channel signal is 0.1; adopt the same method to mix the right rear channel signal into the right channel signal and the center channel signal at the same time. At this time, the low-frequency signal in the center channel signal is also enhanced.
基于同一发明构思,根据本发明上述实施例提供的音频信号输出方法,相应地,本发明实施例还提供一种音频信号输出装置,其结构示意图如图4所示,具体包括:Based on the same inventive concept, according to the audio signal output method provided by the above-mentioned embodiments of the present invention, correspondingly, the embodiment of the present invention also provides an audio signal output device, the structural diagram of which is shown in Figure 4, specifically including:
确定单元401,用于终端在参与多声道格式协作输出一个音频信号时,确定该终端需要输出的声道信号;The determination unit 401 is used to determine the channel signal that the terminal needs to output when the terminal participates in multi-channel format cooperation to output an audio signal;
信号处理单元402,用于当确定该终端需要输出的是该音频信号的预设声道信号时,在该预设声道信号中混入该音频信号中与该预设声道信号对应的声道信号,得到混音后的声道信号;其中,该预设声道信号为左后声道信号和右后声道信号中的至少一个;并对该混音后的声道信号进行低频增强处理,得到低频增强后的声道信号;A signal processing unit 402, configured to mix a channel corresponding to the preset channel signal in the audio signal into the preset channel signal when it is determined that the terminal needs to output the preset channel signal of the audio signal signal, to obtain a mixed channel signal; wherein, the preset channel signal is at least one of the left rear channel signal and the right rear channel signal; and low-frequency enhancement processing is performed on the mixed channel signal , to obtain the low-frequency enhanced channel signal;
输出单元403,用于输出该低频增强后的声道信号。The output unit 403 is configured to output the low frequency enhanced channel signal.
较佳的,信号处理单元402,还用于在输出该低频增强后的声道信号之前,对该低频增强后的声道信号进行响度控制处理;Preferably, the signal processing unit 402 is further configured to perform loudness control processing on the low-frequency enhanced channel signal before outputting the low-frequency enhanced channel signal;
输出单元403,具体用于输出经过该响度控制处理的低频增强后的声道信号。The output unit 403 is specifically configured to output the low frequency enhanced channel signal after the loudness control processing.
进一步的,当终端在参与五声道格式协作输出一个音频信号时,若确定单元401确定该终端需要输出的预设声道信号是左后声道信号时,则与该预设声道信号对应的声道信号包括左声道信号和中声道信号中的至少一个;若确定单元401确定该终端需要输出的预设声道信号是右后声道信号时,则与该预设声道信号对应的声道信号包括右声道信号和中声道信号中的至少一个;Further, when the terminal participates in the five-channel format cooperation to output an audio signal, if the determining unit 401 determines that the preset channel signal that the terminal needs to output is the left rear channel signal, then the corresponding preset channel signal The channel signal includes at least one of the left channel signal and the center channel signal; if the determination unit 401 determines that the preset channel signal that the terminal needs to output is the right rear channel signal, then the preset channel signal The corresponding channel signal includes at least one of a right channel signal and a center channel signal;
当终端在参与七声道格式协作输出一个音频信号时,若确定单元401确定该终端需要输出的预设声道信号是左后声道信号时,则与该预设声道信号对应的声道信号包括左声道信号、前左声道信号和中声道信号中的至少一个;若确定单元401确定该终端需要输出的预设声道信号是右后声道信号时,则与该预设声道信号对应的声道信号包括右声道信号、前右声道信号和中声道信号中的至少一个。When the terminal participates in the seven-channel format cooperation to output an audio signal, if the determining unit 401 determines that the preset channel signal that the terminal needs to output is the left rear channel signal, then the channel corresponding to the preset channel signal The signal includes at least one of a left channel signal, a front left channel signal, and a center channel signal; if the determination unit 401 determines that the preset channel signal that the terminal needs to output is a right rear channel signal, then The channel signal corresponding to the channel signal includes at least one of a right channel signal, a front right channel signal and a center channel signal.
进一步的,信号处理单元402,具体用于获取该混音后的声道信号中的低频信号,并对该低频信号进行增强,得到增强后的低频信号;以及获取该预设声道信号中的高频信号;基于该增强后的低频信号与该高频信号确定低频增强后的声道信号。Further, the signal processing unit 402 is specifically configured to obtain the low-frequency signal in the mixed channel signal, and enhance the low-frequency signal to obtain the enhanced low-frequency signal; and obtain the low-frequency signal in the preset channel signal. A high-frequency signal; determining a low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal.
较佳的,信号处理单元402,还用于在基于该增强后的低频信号与该高频信号确定低频增强后的声道信号之前,对该增强后的低频信号进行音色控制处理;信号处理单元402,具体用于基于经过该音色控制处理的增强后的低频信号与该高频信号确定低频增强后的声道信号。Preferably, the signal processing unit 402 is further configured to perform timbre control processing on the enhanced low-frequency signal before determining the low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal; the signal processing unit 402, specifically for determining a low-frequency enhanced channel signal based on the enhanced low-frequency signal processed by the timbre control and the high-frequency signal.
上述各单元的功能可对应于图2或图3所示流程中的相应处理步骤,在此不再赘述。The functions of the above units may correspond to the corresponding processing steps in the flow shown in FIG. 2 or FIG. 3 , and will not be repeated here.
参阅图5所示,本发明还提供一种终端,包括接收器501、存储器502、处理器503和发送器504,其中:Referring to FIG. 5, the present invention also provides a terminal, including a receiver 501, a memory 502, a processor 503, and a transmitter 504, wherein:
接收器501,用于终端在参与多声道格式协作输出一个音频信号时,接收该音频信号,并将该音频信号发送至处理器503;The receiver 501 is configured to receive the audio signal when the terminal participates in multi-channel format cooperative output of an audio signal, and send the audio signal to the processor 503;
存储器502,用于存储应用程序;memory 502, for storing application programs;
处理器503,用于调用存储器502中存储的应用程序执行如下操作:The processor 503 is configured to invoke the application program stored in the memory 502 to perform the following operations:
确定该终端需要输出的声道信号;当确定该终端需要输出的是该音频信号的预设声道信号时,在该预设声道信号中混入该音频信号中与该预设声道信号对应的声道信号,得到混音后的声道信号;其中,该预设声道信号为左后声道信号和右后声道信号中的至少一个;并对该混音后的声道信号进行低频增强处理,得到低频增强后的声道信号;Determine the channel signal that the terminal needs to output; when it is determined that the terminal needs to output the preset channel signal of the audio signal, mix the audio signal into the preset channel signal corresponding to the preset channel signal channel signal to obtain a mixed channel signal; wherein, the preset channel signal is at least one of the left rear channel signal and the right rear channel signal; and the mixed channel signal is performed Low-frequency enhancement processing to obtain the channel signal after low-frequency enhancement;
发送器504,用于输出该低频增强后的声道信号。The transmitter 504 is configured to output the low-frequency enhanced channel signal.
较佳的,处理器503,还用于在输出该低频增强后的声道信号之前,对该低频增强后的声道信号进行响度控制处理;Preferably, the processor 503 is further configured to perform loudness control processing on the low-frequency enhanced channel signal before outputting the low-frequency enhanced channel signal;
发送器504,具体用于输出经过该响度控制处理的低频增强后的声道信号。The transmitter 504 is specifically configured to output the low-frequency enhanced channel signal after the loudness control processing.
进一步的,当终端在参与五声道格式协作输出一个音频信号时,若处理器503确定该终端需要输出的预设声道信号是左后声道信号时,则与该预设声道信号对应的声道信号包括左声道信号和中声道信号中的至少一个;若处理器503确定该终端需要输出的预设声道信号是右后声道信号时,则与该预设声道信号对应的声道信号包括右声道信号和中声道信号中的至少一个;Further, when the terminal participates in the five-channel format cooperation to output an audio signal, if the processor 503 determines that the preset channel signal to be output by the terminal is the left rear channel signal, then the corresponding preset channel signal The channel signal includes at least one of the left channel signal and the center channel signal; if the processor 503 determines that the preset channel signal that the terminal needs to output is the right rear channel signal, The corresponding channel signal includes at least one of a right channel signal and a center channel signal;
当终端在参与七声道格式协作输出一个音频信号时,若处理器503确定该终端需要输出的预设声道信号是左后声道信号时,则与该预设声道信号对应的声道信号包括左声道信号、前左声道信号和中声道信号中的至少一个;若处理器503确定该终端需要输出的预设声道信号是右后声道信号时,则与该预设声道信号对应的声道信号包括右声道信号、前右声道信号和中声道信号中的至少一个。When the terminal participates in the seven-channel format cooperation to output an audio signal, if the processor 503 determines that the preset channel signal to be output by the terminal is the left rear channel signal, the channel corresponding to the preset channel signal The signal includes at least one of a left channel signal, a front left channel signal, and a center channel signal; if the processor 503 determines that the preset channel signal that the terminal needs to output is a right rear channel signal, then the preset The channel signal corresponding to the channel signal includes at least one of a right channel signal, a front right channel signal and a center channel signal.
进一步的,处理器503,具体用于获取该混音后的声道信号中的低频信号,并对该低频信号进行增强,得到增强后的低频信号;以及获取该预设声道信号中的高频信号;基于该增强后的低频信号与该高频信号确定低频增强后的声道信号。Further, the processor 503 is specifically configured to acquire the low-frequency signal in the mixed channel signal, and enhance the low-frequency signal to obtain the enhanced low-frequency signal; and acquire the high-frequency signal in the preset channel signal. a frequency signal; and determine a low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal.
较佳的,处理器503,还用于在基于该增强后的低频信号与该高频信号确定低频增强后的声道信号之前,对该增强后的低频信号进行音色控制处理;处理器503,具体用于基于经过该音色控制处理的增强后的低频信号与该高频信号确定低频增强后的声道信号。Preferably, the processor 503 is further configured to perform timbre control processing on the enhanced low-frequency signal before determining the low-frequency enhanced channel signal based on the enhanced low-frequency signal and the high-frequency signal; the processor 503, Specifically, it is used to determine the low-frequency enhanced channel signal based on the enhanced low-frequency signal processed by the tone color control and the high-frequency signal.
综上所述,本发明实施例中,终端在参与多声道格式协作输出一个音频信号时,确定该终端需要输出的声道信号;当确定该终端需要输出的是该音频信号的预设声道信号时,在该预设声道信号中混入该音频信号中与该预设声道信号对应的声道信号,得到混音后的声道信号;其中,该预设声道信号为左后声道信号和右后声道信号中的至少一个;并对该混音后的声道信号进行低频增强处理,得到低频增强后的声道信号;输出该低频增强后的声道信号。采用本发明实施例提供的方案,能够提高多个终端采用多声道格式协作输出一个音频信号时的效果,进而提高用户的使用体验。To sum up, in the embodiment of the present invention, when the terminal participates in multi-channel format cooperation to output an audio signal, it determines the channel signal that the terminal needs to output; when it is determined that the terminal needs to output the preset sound of the audio signal channel signal, the channel signal corresponding to the preset channel signal in the audio signal is mixed into the preset channel signal to obtain the mixed channel signal; wherein, the preset channel signal is the left rear At least one of the channel signal and the right rear channel signal; performing low-frequency enhancement processing on the mixed channel signal to obtain a low-frequency enhanced channel signal; outputting the low-frequency enhanced channel signal. By adopting the solution provided by the embodiment of the present invention, the effect of multiple terminals cooperatively outputting an audio signal in a multi-channel format can be improved, thereby improving user experience.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and combinations of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. In this way, if the modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310446453.2A CN104519454B (en) | 2013-09-26 | 2013-09-26 | A kind of audio frequency signal output and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310446453.2A CN104519454B (en) | 2013-09-26 | 2013-09-26 | A kind of audio frequency signal output and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104519454A CN104519454A (en) | 2015-04-15 |
| CN104519454B true CN104519454B (en) | 2016-12-07 |
Family
ID=52794071
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310446453.2A Expired - Fee Related CN104519454B (en) | 2013-09-26 | 2013-09-26 | A kind of audio frequency signal output and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104519454B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107920310A (en) * | 2017-11-14 | 2018-04-17 | 维沃移动通信有限公司 | A kind of method and mobile terminal of multi-microphone recording |
| CN114040317B (en) * | 2021-09-22 | 2024-04-12 | 北京车和家信息技术有限公司 | Sound channel compensation method and device for sound, electronic equipment and storage medium |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1275301A (en) * | 1998-07-09 | 2000-11-29 | 索尼公司 | Audio signal processing device and audio device |
| CN1669357A (en) * | 2000-08-29 | 2005-09-14 | 松下电器产业株式会社 | Signal processing device, signal processing method, program, and recording medium |
| CN1748442A (en) * | 2003-06-25 | 2006-03-15 | 哈曼国际工业有限公司 | Multi-channel sound processing system |
| CN101465910A (en) * | 2009-01-12 | 2009-06-24 | 深圳华为通信技术有限公司 | Control method, terminal and system for playing stereo based on mobile terminal |
| CN101826356A (en) * | 2009-03-06 | 2010-09-08 | 索尼公司 | Audio device and audio processing method |
| CN102196338A (en) * | 2010-03-19 | 2011-09-21 | 宏碁股份有限公司 | Loudspeaker system and control method thereof |
| CN102270456A (en) * | 2010-06-07 | 2011-12-07 | 华为终端有限公司 | Method and device for audio signal mixing processing |
| CN103002384A (en) * | 2011-09-08 | 2013-03-27 | 比亚迪股份有限公司 | Signal processing device and method for four-speaker virtual surround sound |
| CN103024634A (en) * | 2012-11-16 | 2013-04-03 | 新奥特(北京)视频技术有限公司 | Method and device for processing audio signal |
-
2013
- 2013-09-26 CN CN201310446453.2A patent/CN104519454B/en not_active Expired - Fee Related
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1275301A (en) * | 1998-07-09 | 2000-11-29 | 索尼公司 | Audio signal processing device and audio device |
| CN1669357A (en) * | 2000-08-29 | 2005-09-14 | 松下电器产业株式会社 | Signal processing device, signal processing method, program, and recording medium |
| CN1748442A (en) * | 2003-06-25 | 2006-03-15 | 哈曼国际工业有限公司 | Multi-channel sound processing system |
| CN101465910A (en) * | 2009-01-12 | 2009-06-24 | 深圳华为通信技术有限公司 | Control method, terminal and system for playing stereo based on mobile terminal |
| CN101826356A (en) * | 2009-03-06 | 2010-09-08 | 索尼公司 | Audio device and audio processing method |
| CN102196338A (en) * | 2010-03-19 | 2011-09-21 | 宏碁股份有限公司 | Loudspeaker system and control method thereof |
| CN102270456A (en) * | 2010-06-07 | 2011-12-07 | 华为终端有限公司 | Method and device for audio signal mixing processing |
| CN103002384A (en) * | 2011-09-08 | 2013-03-27 | 比亚迪股份有限公司 | Signal processing device and method for four-speaker virtual surround sound |
| CN103024634A (en) * | 2012-11-16 | 2013-04-03 | 新奥特(北京)视频技术有限公司 | Method and device for processing audio signal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104519454A (en) | 2015-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2248352B1 (en) | Stereophonic widening | |
| KR101827032B1 (en) | Stereo image widening system | |
| CN107979796B (en) | System and method for stereo field enhancement in a two-channel audio system | |
| US10284955B2 (en) | Headphone audio enhancement system | |
| US9344826B2 (en) | Method and apparatus for communicating with audio signals having corresponding spatial characteristics | |
| CN105630586B (en) | Information processing method and electronic equipment | |
| CN110191396B (en) | Audio processing method, device, terminal and computer readable storage medium | |
| JP6306713B2 (en) | Reproduction loudness adjustment method and apparatus | |
| CN107980225B (en) | Apparatus and method for driving speaker array using driving signal | |
| US9668081B1 (en) | Frequency response compensation method, electronic device, and computer readable medium using the same | |
| EP2939443B1 (en) | System and method for variable decorrelation of audio signals | |
| CN106604167B (en) | A kind of method and mobile terminal of adjust automatically earphone left and right acoustic channels output volume | |
| CN104238990A (en) | Electronic device and audio output method | |
| CN103456334B (en) | Audio file play method and playing device | |
| CN105679345A (en) | Audio processing method and electronic equipment | |
| CN114245271A (en) | Audio signal processing method and electronic device | |
| CN114299976A (en) | Audio data processing method and electronic equipment | |
| CN111857473A (en) | Audio playback method, device and electronic device | |
| CN106170114A (en) | Control method, device and the audio-frequence player device of a kind of audio frequency output | |
| CN104519454B (en) | A kind of audio frequency signal output and device | |
| CN107393568A (en) | Method, system and terminal equipment for recording multimedia file | |
| US20120020483A1 (en) | System and method for robust audio spatialization using frequency separation | |
| JP2015080068A (en) | Equalizer device and equalizer program | |
| CN211352437U (en) | Audio output device and electronic equipment | |
| CN116156413A (en) | Audio playing method, device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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 | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20171211 Address after: 402260 Chongqing city Jiangjin Luohuang Industrial Park B District Patentee after: CHONGQING HANYUAN MACHINERY Co.,Ltd. Address before: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401 Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Effective date of registration: 20171211 Address after: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401 Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161207 |