CN113689890B - Multi-channel signal conversion method, device and storage medium - Google Patents
Multi-channel signal conversion method, device and storage medium Download PDFInfo
- Publication number
- CN113689890B CN113689890B CN202110907025.XA CN202110907025A CN113689890B CN 113689890 B CN113689890 B CN 113689890B CN 202110907025 A CN202110907025 A CN 202110907025A CN 113689890 B CN113689890 B CN 113689890B
- Authority
- CN
- China
- Prior art keywords
- audio
- audio output
- signal
- channels
- output modules
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10009—Improvement or modification of read or write signals
- G11B20/10037—A/D conversion, D/A conversion, sampling, slicing and digital quantisation or adjusting parameters thereof
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/10537—Audio or video recording
- G11B2020/10592—Audio or video recording specifically adapted for recording or reproducing multichannel signals
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Stereophonic System (AREA)
Abstract
本公开是关于一种多声道信号的转换方法、装置及存储介质,所述方法应用于包含多个音频输出模组的电子设备,所述方法包括:获取输入的第一音频信号的声道数量;若所述第一音频信号的声道数量不是预设声道数量,将所述第一音频信号转换为所述预设声道数量的第二音频信号;利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。
The present disclosure relates to a method, device and storage medium for converting a multi-channel signal. The method is applied to an electronic device comprising multiple audio output modules, and the method comprises: obtaining the number of channels of an input first audio signal; if the number of channels of the first audio signal is not a preset number of channels, converting the first audio signal into a second audio signal with the preset number of channels; and outputting audio signals of different channels of the second audio signal using different audio output modules.
Description
技术领域Technical Field
本公开涉及信号处理技术领域,尤其涉及一种多声道信号的转换方法、装置及存储介质。The present disclosure relates to the field of signal processing technology, and in particular to a method, device and storage medium for converting a multi-channel signal.
背景技术Background technique
目前大多数手持电子设备受限于音频输出模组的个数,都只能支持立体声这种双声道格式,即使音源为多声道音频,通常情况下,多声道音频指的是多于两个声道的音频,例如5.1多声道音频(即6声道音频)指的是具备5个基本声道(包括左声道、中央声道、右声道、左环绕声道和右环绕声道)和一个超低音(Low Frequency Effects,LFE)声道的环绕声音系统;也需要将多声道音频压缩为双声道音频后,再进行播放。Currently, most handheld electronic devices are limited by the number of audio output modules and can only support stereo, a two-channel format, even if the sound source is multi-channel audio. Generally, multi-channel audio refers to audio with more than two channels. For example, 5.1 multi-channel audio (i.e., 6-channel audio) refers to a surround sound system with 5 basic channels (including left channel, center channel, right channel, left surround channel and right surround channel) and a subwoofer (Low Frequency Effects, LFE) channel; the multi-channel audio also needs to be compressed into two-channel audio before it can be played.
随着用户对手持电子设备的音质需求的提高,开始出现配置有2个以上音频输出模组的电子设备,例如配置有4个音频输出模组的平板电脑。但是在实际应用中,即使电子设备中配置有超过2个的音频输出模组,电子设备的音频处理单元也只支持立体声格式,导致在播放多声道音频时容易出现声场偏差的情况,音频质量受损,降低用户的使用体验。As users' demands for sound quality of handheld electronic devices increase, electronic devices equipped with more than two audio output modules have begun to appear, such as tablet computers equipped with four audio output modules. However, in actual applications, even if an electronic device is equipped with more than two audio output modules, the audio processing unit of the electronic device only supports stereo format, which leads to sound field deviation when playing multi-channel audio, impaired audio quality, and reduced user experience.
发明内容Summary of the invention
本公开提供一种多声道信号的转换方法、装置及存储介质。The present disclosure provides a method, device and storage medium for converting a multi-channel signal.
根据本公开实施例的第一方面,提供一种多声道信号的转换方法,应用于包含多个音频输出模组的电子设备,包括:According to a first aspect of an embodiment of the present disclosure, a method for converting a multi-channel signal is provided, which is applied to an electronic device including multiple audio output modules, and includes:
获取输入的第一音频信号的声道数量;Obtaining the number of channels of the input first audio signal;
若所述第一音频信号的声道数量不是预设声道数量,将所述第一音频信号转换为所述预设声道数量的第二音频信号;If the number of channels of the first audio signal is not a preset number of channels, converting the first audio signal into a second audio signal with the preset number of channels;
利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。Different audio output modules are used to output audio signals of different channels of the second audio signal.
可选地,所述将所述第一音频信号转换为所述预设声道数的第二音频信号,包括:Optionally, converting the first audio signal into a second audio signal with the preset number of channels includes:
基于所述第一音频信号的声道数量从预设的声道转换方式中,确定出目标转换方式;Determining a target conversion method from preset channel conversion methods based on the number of channels of the first audio signal;
基于所述目标转换方式,将所述第一音频信号转换为所述第二音频信号。Based on the target conversion mode, the first audio signal is converted into the second audio signal.
可选地,所述利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:Optionally, the using different audio output modules to output audio signals of different channels of the second audio signal includes:
将所述第二音频信号分离为多个不同声道的音频信号;Separating the second audio signal into a plurality of audio signals of different channels;
根据多个所述音频输出模组的位置和所述多个不同声道的音频信号包含的方位信息,确定多个所述音频输出模组与多个不同声道的音频信号之间的对应关系;Determining a correspondence between the plurality of audio output modules and the plurality of audio signals of different channels according to the positions of the plurality of audio output modules and the orientation information contained in the plurality of audio signals of different channels;
基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。Based on the corresponding relationship, different audio output modules are used to output audio signals of different channels of the second audio signal.
可选地,所述方法还包括:Optionally, the method further comprises:
确定所述多个音频输出模组的分布状况信息不满足第一预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行距离补偿处理;所述距离补偿处理后的音频信号的声像距离大于所述音频信号的声像距离;Determining that the distribution status information of the multiple audio output modules does not meet the first preset condition, performing distance compensation processing on the audio signals of different channels corresponding to the multiple audio output modules; the sound image distance of the audio signal after the distance compensation processing is greater than the sound image distance of the audio signal;
所述基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:The method of outputting audio signals of different channels of the second audio signal by using different audio output modules based on the corresponding relationship includes:
基于所述对应关系,利用不同的音频输出模组输出所述距离补偿处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the audio signal after the distance compensation processing.
可选地,所述方法还包括:Optionally, the method further comprises:
确定所述多个音频输出模组的输出性能是否满足第二预设条件;Determining whether the output performance of the multiple audio output modules meets a second preset condition;
若所述多个音频输出模组的输出性能不满足第二预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行调制处理;所述多个音频输出模组基于所述调制处理后的音频信号确定的输出性能满足所述第二预设条件;If the output performance of the multiple audio output modules does not meet the second preset condition, modulate the audio signals of different channels corresponding to the multiple audio output modules; the output performance of the multiple audio output modules determined based on the modulated audio signals meets the second preset condition;
所述基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:The method of outputting audio signals of different channels of the second audio signal by using different audio output modules based on the corresponding relationship includes:
基于所述对应关系,利用不同的音频输出模组输出所述调制处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the modulated audio signal.
可选地,所述输出性能满足所述第二预设条件,包括:Optionally, the output performance satisfies the second preset condition, including:
所述多个音频输出模组的频响曲线之间的误差值小于第一预设值;The error value between the frequency response curves of the multiple audio output modules is less than a first preset value;
和/或,所述多个音频输出模组之间的响度差异小于第二预设值。And/or, the loudness difference between the multiple audio output modules is less than a second preset value.
可选地,所述利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:Optionally, the using different audio output modules to output audio signals of different channels of the second audio signal includes:
根据多个所述音频输出模组的工作频率范围是否完全覆盖所述不同声道的音频信号的频率,将多个所述音频输出模组确定为第一类音频输出模组和第二类音频输出模组;其中,所述第一类音频输出模组的工作频率范围未完全覆盖所述不同声道的音频信号的频率;Determine the multiple audio output modules as first-category audio output modules and second-category audio output modules according to whether the operating frequency ranges of the multiple audio output modules completely cover the frequencies of the audio signals of the different channels; wherein the operating frequency range of the first-category audio output module does not completely cover the frequencies of the audio signals of the different channels;
对所述第一类音频输出模组对应的第一声道信号进行分频处理,得到第一频率信号和第二频率信号;其中,所述第一频率信号的频率包含在所述第一类音频输出模组的工作频率范围内;Performing frequency division processing on the first channel signal corresponding to the first type of audio output module to obtain a first frequency signal and a second frequency signal; wherein the frequency of the first frequency signal is included in the operating frequency range of the first type of audio output module;
利用所述第一类音频输出模组输出所述第一频率信号,以及所述第二类音频输出模组输出对应的第二声道信号和所述第二频率信号。The first type of audio output module is used to output the first frequency signal, and the second type of audio output module is used to output the corresponding second channel signal and the second frequency signal.
可选地,所述方法还包括:Optionally, the method further comprises:
从所述第二类音频输出模组确定出第三类音频输出模组,其中,所述第三类音频输出模组的第一方向上的位置与所述第一类音频输出模组的第一方向上的位置相同;Determine a third type of audio output module from the second type of audio output module, wherein a position of the third type of audio output module in the first direction is the same as a position of the first type of audio output module in the first direction;
所述利用所述第一类音频输出模组输出所述第一频率信号,以及所述第二类音频输出模组输出对应的第二声道信号和所述第二频率信号,包括:The using the first type of audio output module to output the first frequency signal, and the using the second type of audio output module to output the corresponding second channel signal and the second frequency signal, comprises:
利用第一类音频输出模组输出所述第一频率信号;Outputting the first frequency signal using a first type of audio output module;
利用所述第三类音频输出模组输出对应的第二声道信号和所述第二频率信号。The third type audio output module is used to output the corresponding second channel signal and the second frequency signal.
根据本公开实施例的第二方面,提供一种多声道信号的转换装置,应用于包含多个音频输出模组的电子设备,包括:According to a second aspect of an embodiment of the present disclosure, a multi-channel signal conversion device is provided, which is applied to an electronic device including multiple audio output modules, including:
获取模块,用于获取输入的第一音频信号的声道数量;An acquisition module, used to acquire the number of channels of an input first audio signal;
转换模块,用于若所述第一音频信号的声道数量不是预设声道数量,将所述第一音频信号转换为预设声道数量的第二音频信号;A conversion module, configured to convert the first audio signal into a second audio signal with a preset number of channels if the number of channels of the first audio signal is not a preset number of channels;
输出模块,用于利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。The output module is used to output the audio signals of different channels of the second audio signal by using different audio output modules.
可选地,所述转换模块,用于:Optionally, the conversion module is used to:
基于所述第一音频信号的声道数量从预设的声道转换方式中,确定出目标转换方式;Determining a target conversion method from preset channel conversion methods based on the number of channels of the first audio signal;
基于所述目标转换方式,将所述第一音频信号转换为所述第二音频信号。Based on the target conversion mode, the first audio signal is converted into the second audio signal.
可选地,所述输出模块,用于:Optionally, the output module is used to:
将所述第二音频信号分离为多个不同声道的音频信号;Separating the second audio signal into a plurality of audio signals of different channels;
根据多个所述音频输出模组的位置和所述多个不同声道的音频信号包含的方位信息,确定多个所述音频输出模组与多个不同声道的音频信号之间的对应关系;Determining a correspondence between the plurality of audio output modules and the plurality of audio signals of different channels according to the positions of the plurality of audio output modules and the orientation information contained in the plurality of audio signals of different channels;
基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。Based on the corresponding relationship, different audio output modules are used to output audio signals of different channels of the second audio signal.
可选地,所述装置还包括:补偿模块,用于:Optionally, the device further comprises: a compensation module, configured to:
确定所述多个音频输出模组的分布状况信息不满足第一预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行距离补偿处理;所述距离补偿处理后的音频信号的声像距离大于所述音频信号的声像距离;Determining that the distribution status information of the multiple audio output modules does not meet the first preset condition, performing distance compensation processing on the audio signals of different channels corresponding to the multiple audio output modules; the sound image distance of the audio signal after the distance compensation processing is greater than the sound image distance of the audio signal;
所述输出模块,用于:The output module is used for:
基于所述对应关系,利用不同的音频输出模组输出所述距离补偿处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the audio signal after the distance compensation processing.
可选地,所述装置还包括:补偿模块,用于:Optionally, the device further comprises: a compensation module, configured to:
确定所述多个音频输出模组的输出性能是否满足第二预设条件;Determining whether the output performance of the multiple audio output modules meets a second preset condition;
若所述多个音频输出模组的输出性能不满足第二预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行调制处理;所述多个音频输出模组基于所述调制处理后的音频信号确定的输出性能满足所述第二预设条件。If the output performance of the multiple audio output modules does not meet the second preset condition, the audio signals of different channels corresponding to the multiple audio output modules are modulated; the output performance of the multiple audio output modules determined based on the modulated audio signals meets the second preset condition.
所述输出模块,用于:The output module is used for:
基于所述对应关系,利用不同的音频输出模组输出所述调制处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the modulated audio signal.
可选地,所述输出性能满足所述第二预设条件,包括:Optionally, the output performance satisfies the second preset condition, including:
所述多个音频输出模组的频响曲线之间的误差值小于第一预设值;The error value between the frequency response curves of the multiple audio output modules is less than a first preset value;
和/或,所述多个音频输出模组之间的响度差异小于第二预设值。And/or, the loudness difference between the multiple audio output modules is less than a second preset value.
可选地,所述输出模块,还用于:Optionally, the output module is further used to:
根据多个所述音频输出模组的工作频率范围是否完全覆盖所述不同声道的音频信号的频率,将多个所述音频输出模组确定为第一类音频输出模组和第二类音频输出模组;其中,所述第一类音频输出模组的工作频率范围未完全覆盖所述不同声道的音频信号的频率;Determine the multiple audio output modules as first-category audio output modules and second-category audio output modules according to whether the operating frequency ranges of the multiple audio output modules completely cover the frequencies of the audio signals of the different channels; wherein the operating frequency range of the first-category audio output module does not completely cover the frequencies of the audio signals of the different channels;
对所述第一类音频输出模组对应的第一声道信号进行分频处理,得到第一频率信号和第二频率信号;其中,所述第一频率信号的频率包含在所述第一类音频输出模组的工作频率范围内;Performing frequency division processing on the first channel signal corresponding to the first type of audio output module to obtain a first frequency signal and a second frequency signal; wherein the frequency of the first frequency signal is included in the operating frequency range of the first type of audio output module;
利用所述第一类音频输出模组输出所述第一频率信号,以及所述第二类音频输出模组输出对应的第二声道信号和所述第二频率信号。The first type of audio output module is used to output the first frequency signal, and the second type of audio output module is used to output the corresponding second channel signal and the second frequency signal.
可选地,所述输出模块,还用于:Optionally, the output module is further used to:
从所述第二类音频输出模组确定出第三类音频输出模组,其中,所述第三类音频输出模组的第一方向上的位置与所述第一类音频输出模组的第一方向上的位置相同;Determine a third type of audio output module from the second type of audio output module, wherein a position of the third type of audio output module in the first direction is the same as a position of the first type of audio output module in the first direction;
利用第一类音频输出模组输出所述第一频率信号;Outputting the first frequency signal using a first type of audio output module;
利用所述第三类音频输出模组输出对应的第二声道信号和所述第二频率信号。The third type audio output module is used to output the corresponding second channel signal and the second frequency signal.
根据本公开实施例的第三方面,提供一种多声道信号的转换装置,包括:According to a third aspect of an embodiment of the present disclosure, a multi-channel signal conversion device is provided, including:
处理器;processor;
用于存储可执行指令的存储器;a memory for storing executable instructions;
其中,所述处理器被配置为:执行所述存储器中存储的可执行指令时,实现本公开实施例的第一方面所述多声道信号的转换方法中的步骤。The processor is configured to: when executing the executable instructions stored in the memory, implement the steps in the multi-channel signal conversion method described in the first aspect of the embodiment of the present disclosure.
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由多声道信号的转换装置的处理器执行时,使得多声道信号的转换装置能够执行如本公开实施例的第一方面所述多声道信号的转换方法中的步骤。According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a multi-channel signal conversion device, the multi-channel signal conversion device is enabled to perform the steps in the multi-channel signal conversion method described in the first aspect of the embodiment of the present disclosure.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
本公开实施例通过获取输入的第一音频信号的声道数量,若第一音频信号的声道数量不是预设声道数量时,将第一音频信号的声道数量转换为预设声道数量的第二音频信号,以便将第一音频信号转换为能够适应于电子设备的第二音频信号,并利用不同的音频输出模组输出第二音频信号不同声道的音频信号,从而在适应电子设备的基础上,尽可能减少出现声像偏差的情况,提升电子设备的音质,提升用户的使用体验。The disclosed embodiment obtains the number of channels of an input first audio signal, and if the number of channels of the first audio signal is not a preset number of channels, converts the number of channels of the first audio signal into a second audio signal with a preset number of channels, so as to convert the first audio signal into a second audio signal that can be adapted to the electronic device, and uses different audio output modules to output audio signals of different channels of the second audio signal, thereby minimizing the occurrence of sound and image deviation on the basis of adapting to the electronic device, improving the sound quality of the electronic device, and enhancing the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
图1是根据一示例性实施例示出的一种多声道信号的转换方法的流程示意图一。Fig. 1 is a schematic flow chart 1 showing a method for converting a multi-channel signal according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种多声道信号的转换方法的流程示意图二。Fig. 2 is a second flowchart of a method for converting a multi-channel signal according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种6声道信号映射为4声道信号的映射示意图。Fig. 3 is a schematic diagram showing a mapping of a 6-channel signal to a 4-channel signal according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种电子设备中扬声器的位置分布示意图。Fig. 4 is a schematic diagram showing the position distribution of speakers in an electronic device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种对扬声器对应的音频信号进行分频处理的流程示意图。Fig. 5 is a schematic diagram showing a flow chart of performing frequency division processing on an audio signal corresponding to a speaker according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种多声道信号的转换方法的流程示意图三。Fig. 6 is a third flowchart of a method for converting a multi-channel signal according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种多声道信号的转换装置的结构示意图。Fig. 7 is a schematic structural diagram of a device for converting a multi-channel signal according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种多声道信号的转换装置的框图。Fig. 8 is a block diagram showing a device for converting a multi-channel signal according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
相关技术中,由于电子设备都是基于立体声的扬声器外放,因此,对于2个声道以上的多声道音频信号都会被向下混音为立体声的音频信号(即双声道音频信号),如表1所示,表1是多声道音频信号转换为双声道音频信号的映射表。In the related art, since electronic devices are all based on stereo speakers, multi-channel audio signals with more than two channels will be down-mixed into stereo audio signals (i.e., two-channel audio signals), as shown in Table 1, which is a mapping table for converting multi-channel audio signals into two-channel audio signals.
表1多声道音频信号转换为双声道音频信号的映射表Table 1 Mapping table for converting multi-channel audio signals into dual-channel audio signals
其中,所述c为中央声道,所述l为左声道,所述r为右声道,所述ls为左环绕声道,所述rs为右环绕声道,所述lfe为重低音声道。所述L为所述立体声的音频信号的左声道,所述R为所述立体声的音频信号的右声道。Wherein, c is the center channel, l is the left channel, r is the right channel, ls is the left surround channel, rs is the right surround channel, lfe is the subwoofer channel, L is the left channel of the stereo audio signal, and R is the right channel of the stereo audio signal.
但随着用户对电子设备的音质需求的提高,电子设备上的扬声器数量也逐渐增加,开始出现包含有4个扬声器的电子设备。但是相关技术中对于这种4扬声器的电子设备依旧基于立体声的扬声器播放,当播放5.1多声道(即6声道)或者更多声道的音频信号时,可能会出现声像偏差的情况,降低用户的使用体验。However, as users' demands for sound quality of electronic devices increase, the number of speakers on electronic devices is gradually increasing, and electronic devices with four speakers are beginning to appear. However, in the related art, such electronic devices with four speakers are still based on stereo speaker playback. When playing 5.1 multi-channel (i.e., 6-channel) or more audio signals, sound and image deviation may occur, which reduces the user experience.
对此,本公开实施例提供一种多声道信号的转换方法。图1是根据一示例性实施例示出的一种多声道信号的转换方法的流程示意图一,如图1所示,所述方法包括:In this regard, an embodiment of the present disclosure provides a method for converting a multi-channel signal. FIG1 is a flowchart of a method for converting a multi-channel signal according to an exemplary embodiment. As shown in FIG1 , the method includes:
步骤S101,获取输入的第一音频信号的声道数量;Step S101, obtaining the number of channels of an input first audio signal;
步骤S102,若所述第一音频信号的声道数量不是预设声道数量,将所述第一音频信号转换为预设声道数量的第二音频信号;Step S102: if the number of channels of the first audio signal is not a preset number of channels, convert the first audio signal into a second audio signal with a preset number of channels;
步骤S103,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。Step S103: using different audio output modules to output audio signals of different channels of the second audio signal.
在本公开实施例中,所述多声道信号的转换方法可应用于包含多个音频输出模组的电子设备中,所述电子设备可以是但不限于智能手机、平板电脑、笔记本电脑或车载终端;所述电子设备上安装有用于播放音频的播放器,该播放器可以为能够播放音频的播放器,例如音频播放器,视频播放器中用于播放音频的处理单元也在本公开的保护范围之内。。In the embodiment of the present disclosure, the multi-channel signal conversion method can be applied to an electronic device including multiple audio output modules, and the electronic device can be, but is not limited to, a smart phone, a tablet computer, a laptop computer or a vehicle-mounted terminal; the electronic device is equipped with a player for playing audio, and the player can be a player capable of playing audio, such as an audio player, and the processing unit for playing audio in a video player is also within the protection scope of the present disclosure. .
在步骤S101中,当确定输入至所述电子设备的第一音频信号的情况下,检测所述第一音频信号中的声道数量;In step S101, when it is determined that a first audio signal is input to the electronic device, the number of channels in the first audio signal is detected;
示例性地,可通过获取所述第一音频信号的音频轨道信息,根据所述音频轨道信息,确定所述第一音频信号包含的声道数量。Exemplarily, the audio track information of the first audio signal may be acquired, and the number of channels included in the first audio signal may be determined according to the audio track information.
在步骤S102中,所述预设声道数量可根据电子设备中包含的音频输出模组的数量来确定,所述预设声道数量小于或等于所述电子设备中包含的音频输出模组的数量。In step S102, the preset number of channels may be determined according to the number of audio output modules included in the electronic device, and the preset number of channels is less than or equal to the number of audio output modules included in the electronic device.
在一些实施例中,所述预设声道数量可为所述电子设备中包含的音频输出模组的数量。In some embodiments, the preset number of channels may be the number of audio output modules included in the electronic device.
在获取到所述第一音频信号的声道数量后,确定所述第一音频信号的声道数量是否为所述预设声道数量,若所述第一音频信号的声道数量不是所述预设声道数量,可对所述第一音频信号进行转换,得到预设声道数量的第二音频信号。此处的第一音频信号的声道数量不是预设声道数量包括:第一音频信号的声道数量比预设声道数量少,或者,第一音频信号的声道数量比预设声道数量多。After obtaining the number of channels of the first audio signal, determine whether the number of channels of the first audio signal is the preset number of channels, and if the number of channels of the first audio signal is not the preset number of channels, convert the first audio signal to obtain a second audio signal with the preset number of channels. Here, the number of channels of the first audio signal is not the preset number of channels includes: the number of channels of the first audio signal is less than the preset number of channels, or the number of channels of the first audio signal is more than the preset number of channels.
在一些实施例中,所述预设声道数量可为:输出音频信号的电子设备包含的音频输出模组的数量,或者,输出音频信号的电子设备当前能够用于输出音频的可用音频输出模组的数量。In some embodiments, the preset number of channels may be: the number of audio output modules included in the electronic device that outputs the audio signal, or the number of available audio output modules that the electronic device that outputs the audio signal can currently use to output audio.
示例性地,所述预设声道数量可为2、4、6或者8等取值。Exemplarily, the preset number of channels may be 2, 4, 6 or 8.
在另一些实施例中,所述预设声道数量可包括:第一声道数量和第二声道数量;其中,所述第一声道数量可为所述电子设备中包含的音频输出模组的数量,所述第二声道数量小于所述第一声道数量。示例性地,所述第二声道数量可为2、4或者6等取值。In some other embodiments, the preset number of channels may include: a first number of channels and a second number of channels; wherein the first number of channels may be the number of audio output modules included in the electronic device, and the second number of channels is less than the first number of channels. Exemplarily, the second number of channels may be 2, 4, or 6.
所述方法包括:The method comprises:
获取所述电子设备的剩余电量值;Obtaining a remaining power value of the electronic device;
若所述电子设备的剩余电量值大于所述电量阈值,确定所述第一音频信号的声道数量是否为第一声道数量,若所述第一音频信号的声道数量不是所述第一声道数量,可对所述第一音频信号进行转换,得到第一声道数量的第二音频信号。If the remaining power value of the electronic device is greater than the power threshold, determine whether the number of channels of the first audio signal is the first number of channels; if the number of channels of the first audio signal is not the first number of channels, convert the first audio signal to obtain a second audio signal with the first number of channels.
若所述电子设备的剩余电量值小于电量阈值时,确定所述第一音频信号的声道数量是否大于或等于第二声道数量;If the remaining power value of the electronic device is less than the power threshold, determining whether the number of channels of the first audio signal is greater than or equal to the number of second channels;
若所述第一音频信号的声道数量大于或等于所述第二声道数量,输出所述第一音频信号;If the number of channels of the first audio signal is greater than or equal to the number of the second channels, output the first audio signal;
若所述第一音频信号的声道数量小于所述第二声道数量,可对所述第一音频信号进行转换,得到第二声道数量的第二音频信号。If the number of channels of the first audio signal is smaller than the number of the second channels, the first audio signal may be converted to obtain a second audio signal with the second number of channels.
这里,所述第二声道数量可为电子设备的默认设置的固定值,或者,也可为用户预先设置的固定值。Here, the second number of channels may be a fixed value set by default in the electronic device, or may be a fixed value preset by a user.
本公开实施例考虑到电子设备的剩余电量值,当所述电子设备的剩余电量值小于所述电量阈值时,可认为电子设备的剩余电量值较低;此时,电子设备的使用时长往往更被关注,由于利用电子设备中的所有音频输出模组输出音频的功耗较高,在电子设备的剩余电量值较低时,很容易出现电子设备在短时间内断电关机的情况。The disclosed embodiments take into account the remaining power value of the electronic device. When the remaining power value of the electronic device is less than the power threshold, it can be considered that the remaining power value of the electronic device is low. At this time, the usage time of the electronic device is often more concerned. Since the power consumption of outputting audio using all audio output modules in the electronic device is high, when the remaining power value of the electronic device is low, it is easy for the electronic device to lose power and shut down in a short time.
因此,当电子设备的剩余电量值小于电量阈值时,例如,电子设备的剩余电量值小于总电量的20%;将第一音频信号的声道数量与所述第二声道数量对比,若所述第一音频信号的声道数量不是所述第二声道数量,可对所述第一音频信号进行转换,得到第二声道数量的第二音频信号,从而可以保证电子设备具有较长的待机时间的情况下,同时确保音频输出效果。Therefore, when the remaining power value of the electronic device is less than the power threshold, for example, the remaining power value of the electronic device is less than 20% of the total power; the number of channels of the first audio signal is compared with the number of the second channels. If the number of channels of the first audio signal is not the second number of channels, the first audio signal can be converted to obtain a second audio signal with a second number of channels, thereby ensuring that the electronic device has a longer standby time while ensuring the audio output effect.
在步骤S103中,基于预设声道数量的第二音频信号,为每一个声道分配对应的音频输出模组,使得不同的音频输出模组输出第二音频信号的不同声道的音频信号。In step S103, based on the second audio signal with a preset number of channels, a corresponding audio output module is allocated to each channel, so that different audio output modules output audio signals of different channels of the second audio signal.
本公开实施例通过将多声道的第一音频信号转换为预设声道数量的第二音频信号,再为第二音频信号中不同声道的音频信号分配不同的音频输出模组,进而在通过电子设备输出第二音频信号时,不同音频输出模组输出对应声道的音频信号,提升音频输出效果。若预设声道数量为4或者8时,若第一音频信号的声道数量比预设声道数量少,则实现了少声道音频信号到多声道音频信号的转换,通过多声道音频信号的输出,提升音频的环绕声效。The disclosed embodiment converts a multi-channel first audio signal into a second audio signal with a preset number of channels, and then allocates different audio output modules to audio signals of different channels in the second audio signal, so that when the second audio signal is output through an electronic device, different audio output modules output audio signals of corresponding channels, thereby improving the audio output effect. If the preset number of channels is 4 or 8, if the number of channels of the first audio signal is less than the preset number of channels, the conversion of the audio signal with fewer channels to the audio signal with more channels is achieved, and the surround sound effect of the audio is improved through the output of the multi-channel audio signal.
可选地,所述步骤S102中的将所述第一音频信号转换为所述预设声道数的第二音频信号,包括:Optionally, the converting of the first audio signal into a second audio signal with the preset number of channels in step S102 includes:
基于所述第一音频信号的声道数量从预设的声道转换方式中,确定出目标转换方式;Determining a target conversion method from preset channel conversion methods based on the number of channels of the first audio signal;
基于所述目标转换方式,将所述第一音频信号转换为所述第二音频信号。Based on the target conversion mode, the first audio signal is converted into the second audio signal.
在本公开实施例中,所述预设的声道转换方式可用于指示多个不同声道数量的所述第一音频信号与所述第二音频信号之间的映射关系。In the embodiment of the present disclosure, the preset channel conversion method may be used to indicate a mapping relationship between the first audio signals and the second audio signals having a plurality of different numbers of channels.
可以理解的是,所述第二音频信号的预设声道数量不同,多声道的第一音频信号转换为所述第二音频信号的声道转换方式也不同。并且,同一预设声道数量的第二音频信号也可对应有多个声道转换方式。It is understandable that the second audio signal has different preset channel numbers, and the channel conversion methods for converting the multi-channel first audio signal into the second audio signal are also different. In addition, the second audio signal with the same preset channel number may also correspond to multiple channel conversion methods.
需要说明的是,所述声道转换方式可根据实际需求进行设定。本公开实施例示出一种预设的声道转换方式,所述预设的声道转换方式用于指示多个不同声道数量的第一音频信号与4声道的第二音频信号之间的映射关系,如表2所示,表2是多声道的第一音频信号与4声道的第二音频信号的映射关系表。It should be noted that the channel conversion method can be set according to actual needs. The embodiment of the present disclosure shows a preset channel conversion method, which is used to indicate the mapping relationship between a plurality of first audio signals with different numbers of channels and a second audio signal of 4 channels, as shown in Table 2, which is a mapping relationship table of multi-channel first audio signals and 4-channel second audio signals.
表2映射关系表Table 2 Mapping relationship table
其中,所述c为中央声道,所述l为左声道,所述r为右声道,所述ls为左环绕声道,所述rs为右环绕声道,所述lfe为重低音声道。所述L为所述第二音频信号的左声道,所述R为所述第二音频信号的右声道;所述LS为所述第二音频信号的左环绕声道;所述RS为所述第二音频信号的右环绕声道。Wherein, c is the center channel, l is the left channel, r is the right channel, ls is the left surround channel, rs is the right surround channel, and lfe is the subwoofer channel. L is the left channel of the second audio signal, R is the right channel of the second audio signal; LS is the left surround channel of the second audio signal; and RS is the right surround channel of the second audio signal.
可根据所述第一音频信号的声道数量,从所述预设的多个声道转换方式中确定出与搜索第一音频信号的声道数量对应的目标转换方式;根据所述目标转换方式,将所述第一音频信号转换为所述第二音频信号。According to the number of channels of the first audio signal, a target conversion method corresponding to the number of channels of the searched first audio signal can be determined from the preset multiple channel conversion methods; and according to the target conversion method, the first audio signal is converted into the second audio signal.
示例性地,若所述第一音频信号为6声道音频信号,即所述第一音频信号包含左声道l、右声道r、中央声道c、左环绕声道ls、右环绕声道rs以及低重音声道lfe,所述第二音频信号为4声道信号,即所述第二音频信号包含左声道L、右声道R、左环绕声道LS和右环绕声道RS。Exemplarily, if the first audio signal is a 6-channel audio signal, that is, the first audio signal includes a left channel l, a right channel r, a center channel c, a left surround channel ls, a right surround channel rs and a low-frequency channel lfe, the second audio signal is a 4-channel signal, that is, the second audio signal includes a left channel L, a right channel R, a left surround channel LS and a right surround channel RS.
基于预设的多个声道转换方式,确定出目标转换方式,所述目标转换方式为先将所述第一音频信号的左声道l、右声道r、左环绕声道ls、右环绕声道rs分配到所述第二音频信号的左声道L、右声道R、左环绕声道LS和右环绕声道RS;然后将中央声道c平均分配给所述第二音频信号的左声道L、右声道R;将重低音射到lfe平均分配给所述第二音频信号的左声道L、右声道R、左环绕声道LS和右环绕声道RS,则基于所述目标转换方式,确定出的第二音频信号的左声道L为l+c/2+lfe/4,右声道为r+c/2+lfe/4,左环绕声道为ls+lfe/4,右环绕声道为rs+lfe/4。Based on multiple preset channel conversion methods, a target conversion method is determined, which is to first allocate the left channel l, right channel r, left surround channel ls, and right surround channel rs of the first audio signal to the left channel L, right channel R, left surround channel LS, and right surround channel RS of the second audio signal; then allocate the center channel c evenly to the left channel L and right channel R of the second audio signal; and allocate the subwoofer lfe evenly to the left channel L, right channel R, left surround channel LS, and right surround channel RS of the second audio signal. Based on the target conversion method, the left channel L of the second audio signal is determined to be l+c/2+lfe/4, the right channel is r+c/2+lfe/4, the left surround channel is ls+lfe/4, and the right surround channel is rs+lfe/4.
可选地,所述步骤S103中的利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:Optionally, the step S103 of outputting audio signals of different channels of the second audio signal by using different audio output modules includes:
将所述第二音频信号分离为多个不同声道的音频信号;Separating the second audio signal into a plurality of audio signals of different channels;
根据多个所述音频输出模组的位置和所述多个不同声道的音频信号包含的方位信息,确定多个所述音频输出模组与多个不同声道的音频信号之间的对应关系;Determining a correspondence between the plurality of audio output modules and the plurality of audio signals of different channels according to the positions of the plurality of audio output modules and the orientation information contained in the plurality of audio signals of different channels;
基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。Based on the corresponding relationship, different audio output modules are used to output audio signals of different channels of the second audio signal.
在本公开实施例中,由于第二音频信号包含有预设声道数量的音频信号,而不同声道的音频信号相互独立,因此,可通过将所述第二音频信号根据声道,分离为多个不同声道的音频信号。In the embodiment of the present disclosure, since the second audio signal includes audio signals of a preset number of channels and audio signals of different channels are independent of each other, the second audio signal can be separated into multiple audio signals of different channels according to the channels.
需要说明的是,可采用现有技术将所述第二音频信号分离为多个不同声道的音频信号,此处不赘述。It should be noted that the second audio signal can be separated into multiple audio signals of different channels by using existing technology, which will not be described in detail here.
在得到多个不同声道的音频信号后,根据所述多个不同声道的音频信号包含的方位信息,和多个所述音频输出模组在所述电子设备上的位置,确定多个所述音频输出模组与多个不同声道的音频信号的对应关系;基于对应关系,为每个声道的音频信号分配音频输出模组。After obtaining audio signals of multiple different channels, determine the correspondence between the multiple audio output modules and the audio signals of multiple different channels according to the orientation information contained in the audio signals of the multiple different channels and the positions of the multiple audio output modules on the electronic device; and assign an audio output module to the audio signal of each channel based on the correspondence.
需要说明的是,根据所述多个不同声道的音频信号包含的方位信息和所述多个音频输出模组在所述电子设备上的位置之间的匹配性,确定所述多个音频输出模组和多个不同声道的音频信号的对应关系,从而减少出现声像混乱的情况。It should be noted that, based on the matching between the orientation information contained in the audio signals of the multiple different channels and the positions of the multiple audio output modules on the electronic device, the correspondence between the multiple audio output modules and the audio signals of the multiple different channels is determined, thereby reducing the occurrence of sound and image confusion.
可以理解的是,由于不同声道的音频信号是指在录制或播放时在不同的空间位置采集或回放的相互独立的音频信号,故不同声道的音频信号包含的方位信息不同。例如,左声道音频信号的方位信息和右声道音频信号的方位信息不同。It is understandable that since the audio signals of different channels refer to independent audio signals collected or played back at different spatial positions during recording or playback, the audio signals of different channels contain different azimuth information. For example, the azimuth information of the left channel audio signal is different from the azimuth information of the right channel audio signal.
例如,所述电子设备中包含有4个扬声器,分别为左上角扬声器、右上角扬声器、左下角扬声器和右下角扬声器。所述第二音频信号包含有左声道L、右声道R、左环绕声道LS和右环绕声道RS的音频信号,可基于不同扬声器与不同声道的音频信号之间的对应关系,令左上角扬声器输出左声道L的音频信号,右上角扬声器输出右声道R的音频信号,左下角扬声器输出左环绕声道LS的音频信号,右下角扬声器输出右环绕声道RS的音频信号,从而达到四声环绕的播放效果,提升用户的听觉感受。For example, the electronic device includes four speakers, namely, an upper left speaker, an upper right speaker, a lower left speaker, and a lower right speaker. The second audio signal includes audio signals of a left channel L, a right channel R, a left surround channel LS, and a right surround channel RS. Based on the correspondence between different speakers and audio signals of different channels, the upper left speaker can output the audio signal of the left channel L, the upper right speaker can output the audio signal of the right channel R, the lower left speaker can output the audio signal of the left surround channel LS, and the lower right speaker can output the audio signal of the right surround channel RS, thereby achieving a four-sound surround playback effect and improving the user's auditory experience.
在一些实施例中,根据音频输出模组的分布位置,可以将以设备的某一条中轴线对称分布的两个音频输出模组组合成一个声道组,例如,将在设备上对称式分布的两个音频输出模组,组成输出音频的左声道的音频输出模组和输出右声道的音频输出模组,以提升声音输出效果。In some embodiments, according to the distribution positions of the audio output modules, two audio output modules symmetrically distributed about a central axis of the device can be combined into a channel group. For example, two audio output modules symmetrically distributed on the device can be combined into an audio output module for outputting a left channel of audio and an audio output module for outputting a right channel of audio to improve the sound output effect.
若音频输出模组在设备上的分布位置不对称,此时,可以通过音频参数的设置,实现对称式分布的音频输出效果。具体如何设置,在一些实施例中,所述方法还包括:If the distribution position of the audio output module on the device is asymmetrical, then the audio output effect of symmetrical distribution can be achieved by setting the audio parameters. Specifically, in some embodiments, the method further includes:
确定所述多个音频输出模组的分布状况信息不满足第一预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行距离补偿处理;所述距离补偿处理后的音频信号的声像距离大于所述音频信号的声像距离;Determining that the distribution status information of the multiple audio output modules does not meet the first preset condition, performing distance compensation processing on the audio signals of different channels corresponding to the multiple audio output modules; the sound image distance of the audio signal after the distance compensation processing is greater than the sound image distance of the audio signal;
所述基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:The method of outputting audio signals of different channels of the second audio signal by using different audio output modules based on the corresponding relationship includes:
基于所述对应关系,利用不同的音频输出模组输出所述距离补偿处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the audio signal after the distance compensation processing.
在本公开实施例,所述分布状况信息可用于指示所述多个音频输出模组在所述电子设备上的位置分布情况。所述第一预设条件可根据实际需求进行设定,例如所述第一预设条件可为所述多个音频输出模组与所述电子设备中心点的距离相等。In the embodiment of the present disclosure, the distribution status information can be used to indicate the position distribution of the multiple audio output modules on the electronic device. The first preset condition can be set according to actual needs, for example, the first preset condition can be that the distances between the multiple audio output modules and the center point of the electronic device are equal.
需要说明的是,为了达到更好的播放效果,将多声道的第一音频信号转换为预设声道数量的第二音频信号后,需要对所述第二音频信号进行相应的调整处理,以使得调整处理后的第二音频信号能够与所述电子设备的多个扬声器的硬件环境适配。It should be noted that in order to achieve better playback effects, after converting the first multi-channel audio signal into a second audio signal with a preset number of channels, the second audio signal needs to be adjusted accordingly so that the adjusted second audio signal can adapt to the hardware environment of the multiple speakers of the electronic device.
若所述分布状况信息指示所述多个音频输出模组的位置分布不满足第一预设条件时,可根据多个所述音频输出模组的位置信息,对多个所述音频输出模组对应的不同声道的音频信号进行距离补偿处理。If the distribution status information indicates that the position distribution of the multiple audio output modules does not meet the first preset condition, distance compensation processing can be performed on the audio signals of different channels corresponding to the multiple audio output modules according to the position information of the multiple audio output modules.
可以理解的是,电子设备上音频输出模组的位置分布不同,将直接影响到音频输出模组输出的音频的平衡度、声场深度等。例如,若所述电子设备中左扬声器和右扬声器相对于电子设备的中心点的距离不同,当使用电子设备播放音频时,左扬声器和右扬声器相对于用户耳朵之间的距离存在距离差,左扬声器输出的左声道音频信号的传输距离和右扬声器输出的右声道音频信号的传输距离不同,会影响到音频的播放效果,可能无法实现立体声效果。It is understandable that different position distributions of audio output modules on electronic devices will directly affect the balance, sound field depth, etc. of the audio output by the audio output modules. For example, if the distances between the left speaker and the right speaker in the electronic device relative to the center point of the electronic device are different, when the electronic device is used to play audio, there is a distance difference between the left speaker and the right speaker relative to the user's ear, and the transmission distance of the left channel audio signal output by the left speaker is different from the transmission distance of the right channel audio signal output by the right speaker, which will affect the audio playback effect and may fail to achieve a stereo effect.
但是电子设备中音频输出模组的位置通常是固定的,无法通过调整所述音频输出模组的位置来提升播放效果。对此,本公开实施例可通过在所述多个音频输出模组的位置分布不满足第一预设条件时,对多个所述音频输出模组对应的不同声道的音频信号进行距离补偿处理,扩大不同声道的音频信号的之间的声像距离。However, the position of the audio output module in the electronic device is usually fixed, and the playback effect cannot be improved by adjusting the position of the audio output module. In this regard, the embodiment of the present disclosure can perform distance compensation processing on the audio signals of different channels corresponding to the multiple audio output modules when the position distribution of the multiple audio output modules does not meet the first preset condition, thereby expanding the sound image distance between the audio signals of different channels.
在本公开实施例中,所述距离补偿处理可包括但不限于:通过滤波组件消除多个音频输出模组对应的不同声道的音频信号之间的串扰,以扩大不同声道的音频信号的声像距离。In the embodiment of the present disclosure, the distance compensation processing may include but is not limited to: eliminating the crosstalk between the audio signals of different channels corresponding to the multiple audio output modules through a filtering component to expand the sound image distance of the audio signals of different channels.
将经过距离补偿后的不同声道的音频信号输入至对应的音频输出模组,使得所述多个音频输出模组输出的音频信号的声像距离之间的差值小于预设值,从而减少由于电子设备的音频输出模组的位置分布不合理而导致音频播放效果差的情况。The audio signals of different channels after distance compensation are input to the corresponding audio output modules, so that the difference between the sound and image distances of the audio signals output by the multiple audio output modules is less than a preset value, thereby reducing the poor audio playback effect caused by the unreasonable position distribution of the audio output modules of the electronic device.
可选地,所述第一预设条件包括:Optionally, the first preset condition includes:
所述分布状况信息指示的多个音频输出模组的位置分布满足位置对称条件。The position distribution of the multiple audio output modules indicated by the distribution status information satisfies a position symmetry condition.
在本公开实施例中,所述位置对称条件可为所述多个音频输出模组中任意一对音频输出模组均对称设置在所述电子设备的两侧。In the embodiment of the present disclosure, the position symmetry condition may be that any pair of audio output modules among the multiple audio output modules are symmetrically arranged on both sides of the electronic device.
可以理解的是,若所述多个音频输出模组中存在至少一对音频输出模组不是对称设置在所述电子设备的两侧,则这一对音频输出模组相对于电子设备的中心点的距离也不相同,相应的,这一对音频输出模组输出的音频信号的传输距离也不相同,容易造成声像偏差的情况。It is understandable that if there is at least one pair of audio output modules among the multiple audio output modules that are not symmetrically arranged on both sides of the electronic device, the distances between the pair of audio output modules and the center point of the electronic device are also different. Correspondingly, the transmission distances of the audio signals output by the pair of audio output modules are also different, which can easily cause sound and image deviation.
例如,若所述分布状况信息指示所述多个音频输出模组在所述电子设备上的位置呈矩形分布,必然所述多个音频输出模组中任意一对音频输出模组均对称设置在所述电子设备的两侧,故所述多个音频输出模组的位置分布满足位置对称条件。For example, if the distribution status information indicates that the positions of the multiple audio output modules on the electronic device are distributed in a rectangular shape, any pair of the multiple audio output modules must be symmetrically arranged on both sides of the electronic device, so the position distribution of the multiple audio output modules satisfies the position symmetry condition.
又例如,若所述分布状况信息指示所述多个音频输出模组在所述电子设备上的位置呈梯形分布,所述多个音频输出模组中至少存在一组音频输出模组的位置不对称,故所述多个音频输出模组的位置分布不满足位置对称条件,需要对所述音频输出模组输出的不同声道的音频信号进行距离补偿处理。以使得将经过距离补偿后的不同声道的音频信号输入至对应的音频输出模组,使得所述多个音频输出模组输出的音频信号的声像距离之间的差值小于预设值。For another example, if the distribution status information indicates that the positions of the multiple audio output modules on the electronic device are trapezoidally distributed, and at least one group of the multiple audio output modules is asymmetrically located, the position distribution of the multiple audio output modules does not meet the position symmetry condition, and it is necessary to perform distance compensation processing on the audio signals of different channels output by the audio output modules, so that the audio signals of different channels after distance compensation are input to the corresponding audio output modules, so that the difference between the sound image distances of the audio signals output by the multiple audio output modules is less than a preset value.
可选地,所述方法还包括:Optionally, the method further comprises:
确定所述多个音频输出模组的输出性能是否满足第二预设条件;Determining whether the output performance of the multiple audio output modules meets a second preset condition;
若所述多个音频输出模组的输出性能不满足第二预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行调制处理;所述多个音频输出模组基于所述调制处理后的音频信号确定的输出性能满足所述第二预设条件;If the output performance of the multiple audio output modules does not meet the second preset condition, modulate the audio signals of different channels corresponding to the multiple audio output modules; the output performance of the multiple audio output modules determined based on the modulated audio signals meets the second preset condition;
所述基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:The method of outputting audio signals of different channels of the second audio signal by using different audio output modules based on the corresponding relationship includes:
基于所述对应关系,利用不同的音频输出模组输出所述调制处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the modulated audio signal.
在本公开实施例中,所述多个音频输出模组的输出性能可包括:所述多个音频输出模组的灵敏度、失真度、频响曲线、响度和/或额定阻抗等参数。In the embodiment of the present disclosure, the output performance of the multiple audio output modules may include: parameters such as sensitivity, distortion, frequency response curve, loudness and/or rated impedance of the multiple audio output modules.
通过确定所述多个音频输出模组的输出性能是否满足第二预设条件,确定所述多个音频输出模组的输出性能是否存在较大差异。可以理解的是,输出性能相差较大的两个音频输出模组,即使播放相同的音频,用户的听觉感受差异可能也会相差较大。By determining whether the output performance of the multiple audio output modules meets the second preset condition, it is determined whether there is a large difference in the output performance of the multiple audio output modules. It is understandable that even if two audio output modules with a large difference in output performance play the same audio, the user's auditory experience may also be very different.
这里,所述第二预设条件可根据获取的所述多个音频输出模组的输出性能的具体参数确定。Here, the second preset condition can be determined according to the specific parameters of the output performance of the multiple audio output modules obtained.
在一些实施例中,可基于所述多个音频输出模组的频响曲线和/或响度,确定所述多个音频输出模组的输出性能是否满足第二预设条件。In some embodiments, whether the output performance of the multiple audio output modules meets the second preset condition can be determined based on the frequency response curves and/or loudness of the multiple audio output modules.
需要说明的是,所述频响曲线是指将一个以恒定电压输出的音频信号与音频系统连接时,音频输出模组产生的声压随频率的变化而发生的增大或衰减,用于描述这种声压和频率的相关联的变化的曲线。所述频响曲线能够反映音频输出模组对输入的音频信号全频段内频率响应。可以理解的是,根据不同音频输出模组的频响曲线之间的差异能够较大程度地反映出所述不同音频输出模组的自身特性差异。It should be noted that the frequency response curve refers to the increase or attenuation of the sound pressure generated by the audio output module as the frequency changes when an audio signal output at a constant voltage is connected to the audio system. It is used to describe the associated changes in sound pressure and frequency. The frequency response curve can reflect the frequency response of the audio output module to the input audio signal in the full frequency band. It is understandable that the differences between the frequency response curves of different audio output modules can largely reflect the differences in the characteristics of the different audio output modules.
所述响度是人耳对声音强度的主观感受,它与客观的声音的实际强度并不一致,所述响度与声音在不同强度下的声压比值有关;对于声音强度相同的音频,若频率不同,响度也不同。根据不同音频输出模组之间的响度差值,可反映出不同音频输出模组的输出性能之间的差异。The loudness is the subjective feeling of the human ear on the intensity of the sound. It is not consistent with the actual intensity of the objective sound. The loudness is related to the ratio of the sound pressure at different intensities. For audio with the same sound intensity, if the frequency is different, the loudness is also different. The difference in the output performance of different audio output modules can be reflected according to the loudness difference between different audio output modules.
若所述多个音频输出模组的输出性能不满足第二预设条件,即所述多个音频输出模组的输出性能之间的差异较大,为了补偿电子设备的多个音频输出模组之间的输出性能差异,可通过对所述多个音频输出模组对应的不同声道的音频信号进行调制处理,使得多个音频输出模组输出调制处理后的音频信号时的输出性能满足第二预设条件。If the output performance of the multiple audio output modules does not meet the second preset condition, that is, the difference between the output performance of the multiple audio output modules is large, in order to compensate for the output performance difference between the multiple audio output modules of the electronic device, the audio signals of different channels corresponding to the multiple audio output modules can be modulated so that the output performance of the multiple audio output modules when outputting the modulated audio signals meets the second preset condition.
这里,所述调制处理包括但不限于:基于均衡器进行均衡处理、动态增益控制处理或增益控制处理。Here, the modulation processing includes but is not limited to: equalization processing based on an equalizer, dynamic gain control processing or gain control processing.
例如,可通过动态增益控制的方式,分别对多个音频输出模组对应的不同声道的音频信号的频响曲线和/或响度进行调制,使得所述不同声道的音频信号的频响曲线和/或响度满足第二预设条件。For example, the frequency response curves and/or loudness of audio signals of different channels corresponding to multiple audio output modules can be modulated respectively by dynamic gain control, so that the frequency response curves and/or loudness of audio signals of different channels meet the second preset condition.
可选地,所述输出性能满足所述第二预设条件,包括:Optionally, the output performance satisfies the second preset condition, including:
所述多个音频输出模组的频响曲线之间的误差值小于第一预设值;The error value between the frequency response curves of the multiple audio output modules is less than a first preset value;
和/或,所述多个音频输出模组之间的响度差异小于第二预设值。And/or, the loudness difference between the multiple audio output modules is less than a second preset value.
在本公开实施例中,所述第一预设值和所述第二预设值可根据实际需求进行设定。In the embodiment of the present disclosure, the first preset value and the second preset value can be set according to actual needs.
所述多个音频输出模组的输出性能包括:所述多个音频输出模组的频响曲线和/或响度。The output performance of the multiple audio output modules includes: frequency response curves and/or loudness of the multiple audio output modules.
可通过对所述多个音频输出模组对应的不同声道的音频信号进行调制处理,使得多个音频输出模组输出调制处理后的音频信号时的频响曲线之间的误差值小于第一预设值,和/或,使得多个音频输出模组输出调制处理后的音频信号时的响度之间的误差值小于第二预设值,从而减少由于电子设备中多个音频输出模组输出性能不一致而出现的声场偏差的情况,提升用户的使用体验。The audio signals of different channels corresponding to the multiple audio output modules can be modulated so that the error value between the frequency response curves of the multiple audio output modules when outputting the modulated audio signals is less than a first preset value, and/or the error value between the loudness of the multiple audio output modules when outputting the modulated audio signals is less than a second preset value, thereby reducing the sound field deviation caused by inconsistent output performance of multiple audio output modules in the electronic device and improving the user experience.
可选地,所述利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号,包括:Optionally, the using different audio output modules to output audio signals of different channels of the second audio signal includes:
根据多个所述音频输出模组的工作频率范围是否完全覆盖所述不同声道的音频信号的频率,将多个所述音频输出模组确定为第一类音频输出模组和第二类音频输出模组;其中,所述第一类音频输出模组的工作频率范围未完全覆盖所述不同声道的音频信号的频率;Determine the multiple audio output modules as first-category audio output modules and second-category audio output modules according to whether the operating frequency ranges of the multiple audio output modules completely cover the frequencies of the audio signals of the different channels; wherein the operating frequency range of the first-category audio output module does not completely cover the frequencies of the audio signals of the different channels;
对所述第一类音频输出模组对应的第一声道信号进行分频处理,得到第一频率信号和第二频率信号;其中,所述第一频率信号的频率包含在所述第一类音频输出模组的工作频率范围内;Performing frequency division processing on the first channel signal corresponding to the first type of audio output module to obtain a first frequency signal and a second frequency signal; wherein the frequency of the first frequency signal is included in the operating frequency range of the first type of audio output module;
利用所述第一类音频输出模组输出所述第一频率信号,以及所述第二类音频输出模组输出对应的第二声道信号和所述第二频率信号。The first type of audio output module is used to output the first frequency signal, and the second type of audio output module is used to output the corresponding second channel signal and the second frequency signal.
在本公开实施例中,考虑到电子设备中各个音频输出模组的可播放的音频的频率范围可能存在差异,例如,根据所述音频输出模组的可支持的工作频率范围不同,可将音频输出模组分为高频输出模组、低频输出模组和全频段输出模组等。In the embodiments of the present disclosure, it is taken into account that the frequency ranges of the playable audios of the various audio output modules in the electronic device may be different. For example, the audio output modules may be divided into high-frequency output modules, low-frequency output modules, and full-band output modules, etc., according to the different working frequency ranges that the audio output modules can support.
为了减少由于电子设备中音频输出模组可支持的工作频率范围而导致的音质低的问题,本公开实施例可通过确定多个所述音频输出模组的工作频率范围是否完全覆盖所述不同声道的音频信号的频率,若存在音频输出模组的工作频率范围未完全覆盖所述音频信号的频率时,将所述多个音频输出模组分别确定为工作范围未完全覆盖所述音频信号的频率的第一类音频输出模组和工作范围能够完全覆盖所述音频信号的频率的第二类音频输出模组。In order to reduce the problem of low sound quality caused by the working frequency range that can be supported by the audio output module in the electronic device, the embodiment of the present disclosure can determine whether the working frequency range of the multiple audio output modules completely covers the frequencies of the audio signals of the different channels. If there is an audio output module whose working frequency range does not completely cover the frequency of the audio signal, the multiple audio output modules are respectively determined as a first type of audio output module whose working range does not completely cover the frequency of the audio signal and a second type of audio output module whose working range can completely cover the frequency of the audio signal.
获取所述第一类音频输出模组对应的第一声道信号,对所述第一声道信号进行分频处理,分别得到第一频率信号和第二频率信号,其中,第一频率信号为所述第一声道信号中频率包含在所述第一类音频输出模组的工作频率范围内的信号。所述第二频率信号为所述第一声道信号中频率不包含在所述第一类音频输出模组的工作频率范围内的信号。A first channel signal corresponding to the first type of audio output module is obtained, and the first channel signal is subjected to frequency division processing to obtain a first frequency signal and a second frequency signal respectively, wherein the first frequency signal is a signal whose frequency in the first channel signal is included in the operating frequency range of the first type of audio output module, and the second frequency signal is a signal whose frequency in the first channel signal is not included in the operating frequency range of the first type of audio output module.
需要说明的是,可通过现有技术中的分频处理方法对所述第一声道信号进行分频,得到第一频率信号和第二频率信号,这里就不赘述了。It should be noted that the first channel signal can be frequency-divided by a frequency-dividing processing method in the prior art to obtain a first frequency signal and a second frequency signal, which will not be described in detail here.
在将所述第一声道信号分频为第一频率信号和第二频率信号后,可利用第一类音频输出模组输出第一频率信号,通过第二类音频输出模组输出第二频率信号,从而在电子设备中存在音频输出模组的工作频率范围不能支持第一声道信号的情况,也能保证不丢失音频信号的声道信息。After the first channel signal is divided into a first frequency signal and a second frequency signal, the first frequency signal can be output by a first type of audio output module, and the second frequency signal can be output by a second type of audio output module. This ensures that the channel information of the audio signal is not lost even if the working frequency range of the audio output module in the electronic device cannot support the first channel signal.
可选地,所述方法还包括:Optionally, the method further comprises:
从所述第二类音频输出模组确定出第三类音频输出模组,其中,所述第三类音频输出模组的第一方向上的位置与所述第一类音频输出模组的第一方向上的位置相同;Determine a third type of audio output module from the second type of audio output module, wherein a position of the third type of audio output module in the first direction is the same as a position of the first type of audio output module in the first direction;
所述利用所述第一类音频输出模组输出所述第一频率信号,以及所述第二类音频输出模组输出对应的第二声道信号和所述第二频率信号,包括:The using the first type of audio output module to output the first frequency signal, and the using the second type of audio output module to output the corresponding second channel signal and the second frequency signal, comprises:
利用第一类音频输出模组输出所述第一频率信号;Outputting the first frequency signal using a first type of audio output module;
利用所述第三类音频输出模组输出对应的第二声道信号和所述第二频率信号。The third type audio output module is used to output the corresponding second channel signal and the second frequency signal.
在本公开实施例中,所述第一方向可为水平方向,例如,针对与所述包含有4个扬声器的电子设备,若左上角扬声器为第一类音频输出模组,可将水平方向位置与左上角扬声器位置相同的左下角扬声器确定为第三类音频输出模组。In the disclosed embodiment, the first direction may be a horizontal direction. For example, for an electronic device including four speakers, if the upper left speaker is a first-category audio output module, the lower left speaker whose horizontal position is the same as that of the upper left speaker may be determined as a third-category audio output module.
在确定出第三类音频输出模组后,利用第一类音频输出模组输出所述第一频率信号,利用所述第三类音频输出模组输出与所述第三类音频输出模组对应的第二声道信号和第二频率信号;由于所述第三类音频输出模组和所述第一类音频输出模组在第一方向上的位置相同,从而能够最大程度还原音频信号中各个声道的声像。After determining the third-class audio output module, the first-class audio output module is used to output the first frequency signal, and the third-class audio output module is used to output the second channel signal and the second frequency signal corresponding to the third-class audio output module; since the third-class audio output module and the first-class audio output module have the same position in the first direction, the sound and image of each channel in the audio signal can be restored to the greatest extent.
本公开还提供以下实施例:The present disclosure also provides the following embodiments:
图2是根据一示例性实施例示出的一种多声道信号的转换方法的流程示意图二,所述方法包括:FIG. 2 is a second flow chart of a method for converting a multi-channel signal according to an exemplary embodiment, the method comprising:
步骤S201,获取输入的第一音频信号的声道数量;Step S201, obtaining the number of channels of an input first audio signal;
在本示例中,获取电子设备输入的第一音频信号,并确定所述第一音频信号中包含的声道数量。In this example, a first audio signal input by an electronic device is acquired, and the number of channels included in the first audio signal is determined.
需要说明的是,所述电子设备为包含多个音频输出模组的电子设备;这里所述音频输出模组可为扬声器,在本示例中,所述电子设备为包含4个扬声器的电子设备。It should be noted that the electronic device is an electronic device including a plurality of audio output modules; the audio output module here may be a speaker. In this example, the electronic device is an electronic device including 4 speakers.
步骤S202,若所述第一音频信号的声道数量不是预设声道数量,基于所述第一音频信号的声道数量,从预设的多个声道转换方式中,确定出目标转换方式;基于所述目标转换方式,将所述第一音频信号转换为第二音频信号;Step S202: if the number of channels of the first audio signal is not a preset number of channels, determine a target conversion method from a plurality of preset channel conversion methods based on the number of channels of the first audio signal; and convert the first audio signal into a second audio signal based on the target conversion method;
这里,所述预设声道数量可根据实际情况进行设定,在本示例中,可根据电子设备中包含的音频输出模组的数量,确定所述预设声道数量,即,所述预设声道数量可为4。Here, the preset number of channels may be set according to actual conditions. In this example, the preset number of channels may be determined according to the number of audio output modules included in the electronic device, that is, the preset number of channels may be 4.
其中,所述预设的声道转换方式可根据实际需求进行设定。The preset channel conversion method can be set according to actual needs.
在一些实施例中,可将所述第二音频信号分离为不同声道的音频信号;根据多个所述音频输出模组的位置和所述多个不同声道的音频信号包含的方位信息,确定多个所述音频输出模组与多个不同声道的音频信号之间的对应关系;基于所述对应关系,将所述第二音频信号不同声道的音频信号输入至所述多个音频输出模组中。In some embodiments, the second audio signal can be separated into audio signals of different channels; the correspondence between the multiple audio output modules and the multiple audio signals of different channels is determined according to the positions of the multiple audio output modules and the orientation information contained in the multiple audio signals of different channels; based on the correspondence, the audio signals of different channels of the second audio signal are input into the multiple audio output modules.
示例性地,以第一音频信号为6声道音频信号,第二音频信号为4声道音频信号为例,将所述第一音频信号转换为第二音频信号。图3是根据一示例性实施例示出的一种6声道信号映射为4声道信号的映射示意图。如图3所示,将第一音频信号中的左声道l、右声道r、左环绕声道ls和右环绕声道rs映射到电子设备的左上角扬声器L1,右上角扬声器R1,左下角扬声器L2和右下角扬声器R2。将第一音频信号的中央声道c平均分配到电子设备的左上角扬声器L1和右上角扬声器R1;将第一音频信号的重低音声道lfe平均分配到电子设备的左上角扬声器L1,右上角扬声器R1,左下角扬声器L2和右下角扬声器R2,从而得到包含4声道的第二音频信号。Exemplarily, taking the first audio signal as a 6-channel audio signal and the second audio signal as a 4-channel audio signal as an example, the first audio signal is converted into a second audio signal. FIG3 is a schematic diagram of a mapping of a 6-channel signal to a 4-channel signal according to an exemplary embodiment. As shown in FIG3, the left channel l, the right channel r, the left surround channel ls and the right surround channel rs in the first audio signal are mapped to the upper left speaker L1, the upper right speaker R1, the lower left speaker L2 and the lower right speaker R2 of the electronic device. The center channel c of the first audio signal is evenly distributed to the upper left speaker L1 and the upper right speaker R1 of the electronic device; the subwoofer channel lfe of the first audio signal is evenly distributed to the upper left speaker L1, the upper right speaker R1, the lower left speaker L2 and the lower right speaker R2 of the electronic device, thereby obtaining a second audio signal containing 4 channels.
步骤S203,确定所述多个音频输出模组的分布状态信息是否满足第一预设条件,若所述多个音频输出模组的分布状态信息不满足第一预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行距离补偿处理;所述距离补偿处理后的音频信号的声像距离大于所述音频信号的声像距离;Step S203, determining whether the distribution status information of the multiple audio output modules meets a first preset condition, and if the distribution status information of the multiple audio output modules does not meet the first preset condition, performing distance compensation processing on the audio signals of different channels corresponding to the multiple audio output modules; the sound image distance of the audio signal after the distance compensation processing is greater than the sound image distance of the audio signal;
这里,所述第一预设条件,包括:所述分布状况信息指示的多个音频输出模组的位置分布满足位置对称条件。Here, the first preset condition includes: the position distribution of the multiple audio output modules indicated by the distribution status information satisfies a position symmetry condition.
需要说明的是,若所述多个音频输出模组的位置分布不满足位置对称条件时,所述电子设备输出第二音频信号时,声像会有偏差;但是电子设备中所述多个音频输出模组的位置通常都是固定的,不易移动;为了减少出现声像偏差的情况,需要对电子设备中音频输出模组的硬件环境进行适配。It should be noted that if the position distribution of the multiple audio output modules does not meet the position symmetry condition, there will be deviation in sound and image when the electronic device outputs the second audio signal; however, the positions of the multiple audio output modules in the electronic device are usually fixed and not easy to move; in order to reduce the occurrence of sound and image deviation, the hardware environment of the audio output module in the electronic device needs to be adapted.
在本示例中,将所述第一音频信号转换为4声道的第二音频信号后,获取所述多个扬声器的分布状态信息,若所述分布状态信息指示所述电子设备中的上方两个扬声器之间的距离和下方两个扬声器之间的距离不一致时,即,不满足位置对称条件,需要根据所述多个扬声器的具体位置,对所述多个扬声器对应的不同声道的音频信号进行距离补偿处理。In this example, after converting the first audio signal into a second audio signal of four channels, the distribution status information of the multiple speakers is obtained. If the distribution status information indicates that the distance between the two upper speakers and the distance between the two lower speakers in the electronic device are inconsistent, that is, the position symmetry condition is not met, it is necessary to perform distance compensation processing on the audio signals of different channels corresponding to the multiple speakers according to the specific positions of the multiple speakers.
示例性地,如图4所示,图4是根据一示例性实施例示出的一种电子设备中扬声器的位置分布示意图。其中,电子设备中左下角扬声器L2和右下角扬声器R2之间的距离小于所述左上角扬声器L1和右上角扬声器R1之间的距离。可通过添加一个补偿模块,对所述左下角扬声器L2和右下角扬声器R2对应的左环绕声道ls和右环绕声道rs的音频信号进行距离补偿,以使得左下角扬声器L2和右下角扬声器R2的听感距离扩大。Exemplarily, as shown in FIG4, FIG4 is a schematic diagram of the position distribution of speakers in an electronic device according to an exemplary embodiment. In the electronic device, the distance between the lower left speaker L2 and the lower right speaker R2 is smaller than the distance between the upper left speaker L1 and the upper right speaker R1. A compensation module can be added to perform distance compensation on the audio signals of the left surround channel ls and the right surround channel rs corresponding to the lower left speaker L2 and the lower right speaker R2, so that the listening distance of the lower left speaker L2 and the lower right speaker R2 is expanded.
步骤S204,确定所述多个音频输出模组的输出性能是否满足第二预设条件,若所述多个音频输出模组的输出性能不满足第二预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行调制处理;所述多个音频输出模组基于所述调制处理后的音频信号确定的输出性能满足所述第二预设条件;Step S204, determining whether the output performance of the multiple audio output modules meets the second preset condition, if the output performance of the multiple audio output modules does not meet the second preset condition, modulating the audio signals of different channels corresponding to the multiple audio output modules; the output performance of the multiple audio output modules determined based on the modulated audio signals meets the second preset condition;
这里,所述多个音频输出模组的输出性能可包括:所述音频输出模组的频响曲线以及响度。Here, the output performance of the multiple audio output modules may include: the frequency response curve and loudness of the audio output modules.
所述输出性能满足所述第二预设条件,包括:The output performance satisfies the second preset condition, including:
所述多个音频输出模组的频响曲线之间的误差值小于第一预设值;The error value between the frequency response curves of the multiple audio output modules is less than a first preset value;
和/或,所述多个音频输出模组之间的响度差异小于第二预设值。And/or, the loudness difference between the multiple audio output modules is less than a second preset value.
这里,所述第一预设值、第二预设值可根据实际情况进行设定。Here, the first preset value and the second preset value can be set according to actual conditions.
在本示例中,为了匹配电子设备的多个扬声器之间的输出性能不一致,可通过对每个扬声器对应的音频信号进行调制处理,以保证所述多个扬声器基于调制处理后的不同声道的音频信号确定的频响曲线和响度都很接近,使得多个扬声器播放所述第二音频信号时不会出现只有一侧扬声器在播放音频的感觉。In this example, in order to match the inconsistent output performance between multiple speakers of the electronic device, the audio signal corresponding to each speaker can be modulated to ensure that the frequency response curves and loudness determined by the multiple speakers based on the audio signals of different channels after the modulation processing are very close, so that when the multiple speakers play the second audio signal, there will be no feeling that only one side of the speaker is playing the audio.
步骤S205,根据多个所述音频输出模组的工作频率范围是否完全覆盖所述不同声道的音频信号的频率,将多个所述音频输出模组确定为第一类音频输出模组和第二类音频输出模组;其中,所述第一类音频输出模组的工作频率范围未完全覆盖所述不同声道的音频信号的频率;Step S205, determining the multiple audio output modules as first-category audio output modules and second-category audio output modules according to whether the operating frequency ranges of the multiple audio output modules completely cover the frequencies of the audio signals of the different channels; wherein the operating frequency range of the first-category audio output module does not completely cover the frequencies of the audio signals of the different channels;
需要说明的是,由于电子设备的不同扬声器的工作频率范围可能不同,而距离补偿处理和/或调制处理后的第二音频信号不同声道的音频信号的频率相同,若某一扬声器的工作频率范围不能完全覆盖所述不同声道的音频信号的频率,该扬声器在播放对应的音频信号时可能会丢失音频信号的部分频率信息。It should be noted that since the operating frequency ranges of different speakers of an electronic device may be different, and the frequencies of audio signals of different channels of the second audio signal after distance compensation processing and/or modulation processing are the same, if the operating frequency range of a certain speaker cannot completely cover the frequencies of the audio signals of the different channels, the speaker may lose part of the frequency information of the audio signal when playing the corresponding audio signal.
在本示例中,所述第一类音频输出模组可为电子设备中没有低频播放能力的扬声器;所述第二类音频输出模组可为电子设备中具有低频播放能力的扬声器。In this example, the first type of audio output module may be a speaker in the electronic device that does not have a low-frequency playback capability; the second type of audio output module may be a speaker in the electronic device that has a low-frequency playback capability.
步骤S206,对所述第一类音频输出模组对应的第一声道信号进行分频处理,得到第一频率信号和第二频率信号,其中,所述第一频率信号的频率包含在所述第一类音频输出模组的工作频率范围内;Step S206, performing frequency division processing on the first channel signal corresponding to the first type of audio output module to obtain a first frequency signal and a second frequency signal, wherein the frequency of the first frequency signal is included in the operating frequency range of the first type of audio output module;
在本示例中,所述第一频率信号可为高频音频信号;所述第二频率信号可为低频音频信号。In this example, the first frequency signal may be a high-frequency audio signal; and the second frequency signal may be a low-frequency audio signal.
可对电子设备中没有低频播放能力的扬声器对应声道的音频信号进行分频处理,将音频信号分频为高频音频信号和低频音频信号。The audio signal of the corresponding channel of the speaker in the electronic device without low-frequency playback capability can be frequency-divided into a high-frequency audio signal and a low-frequency audio signal.
步骤S207,从所述第二类音频输出模组确定出第三类音频输出模组,其中,所述第三类音频输出模组的第一方向上的位置与所述第一类音频输出模组的第一方向上的位置相同;利用第一类音频输出模组输出所述第一频率信号;利用所述第三类音频输出模组输出对应的第二声道信号和所述第二频率信号。Step S207, determining a third type of audio output module from the second type of audio output module, wherein the position of the third type of audio output module in the first direction is the same as the position of the first type of audio output module in the first direction; using the first type of audio output module to output the first frequency signal; and using the third type of audio output module to output the corresponding second channel signal and the second frequency signal.
这里,所述第一方向可为水平方向,例如,若所述第一类音频输出模组为左上角扬声器,则第三类音频输出模组为左下角扬声器;若所述第一类音频输出模组为右上角扬声器,则第三类音频输出模组为右下角扬声器。Here, the first direction may be a horizontal direction. For example, if the first type of audio output module is the upper left speaker, the third type of audio output module is the lower left speaker; if the first type of audio output module is the upper right speaker, the third type of audio output module is the lower right speaker.
在本示例中,可通过将分频得到的高频音频信号保留,将低频音频信号输入至具有低频播放能力的扬声器进行播放,从而既不会丢失声道信息、频率信息,也能最大程度还原各个声道的声像。In this example, the high-frequency audio signal obtained by frequency division can be retained, and the low-frequency audio signal can be input into a speaker with low-frequency playback capability for playback, thereby not losing channel information and frequency information, and restoring the sound image of each channel to the greatest extent.
示例性地,如图5所示,图5是根据一示例性实施例示出的一种对扬声器对应的音频信号进行分频处理的流程示意图。其中,左上角扬声器L1不具备低频播放能力,可将左上角扬声器L1对应的左声道l信号进行分频处理,得到低频音频信号l_low和高频音频信号l_high;将所述高频音频信号l_high和所述左下角扬声器L2对应的左环绕声道ls信号进行叠加处理,通过所述左下角扬声器L2输出叠加处理后的音频信号,通过所述左上角扬声器L1输出低频音频信号l_low。Exemplarily, as shown in Fig. 5, Fig. 5 is a schematic diagram of a process of frequency division processing of an audio signal corresponding to a speaker according to an exemplary embodiment. Wherein, the upper left speaker L1 does not have the low-frequency playback capability, and the left channel l signal corresponding to the upper left speaker L1 can be frequency-divided to obtain a low-frequency audio signal l_low and a high-frequency audio signal l_high; the high-frequency audio signal l_high and the left surround channel ls signal corresponding to the lower left speaker L2 are superimposed, and the audio signal after superimposition processing is output through the lower left speaker L2, and the low-frequency audio signal l_low is output through the upper left speaker L1.
下面,本示例还提供一种多声道信号的转换方法,应用于包含4个扬声器的电子设备中,如图6所示,图6是根据一示例性实施例示出的一种多声道信号的转换方法的流程示意图三,具体地:Next, this example further provides a method for converting a multi-channel signal, which is applied to an electronic device including four speakers, as shown in FIG6 , which is a flowchart diagram of a method for converting a multi-channel signal according to an exemplary embodiment. Specifically:
步骤S301,对输入的源音频文件的格式信息;Step S301, format information of the input source audio file;
步骤S302,基于所述源音频文件的格式信息,确定所述源音频文件是否为4声道的音频文件;Step S302, determining whether the source audio file is a 4-channel audio file based on the format information of the source audio file;
步骤S303,若所述源音频文件不是4声道的音频文件,对所述源音频文件进行4声道映射;若所述源音频文件是4声道的音频文件,执行步骤S304;Step S303, if the source audio file is not a 4-channel audio file, perform 4-channel mapping on the source audio file; if the source audio file is a 4-channel audio file, execute step S304;
步骤S304,得到4声道的音频文件;Step S304, obtaining a 4-channel audio file;
步骤S305,确定电子设备中4个扬声器的位置是否对称,以及4个扬声器的输出性能是否一致;Step S305, determining whether the positions of the four speakers in the electronic device are symmetrical, and whether the output performances of the four speakers are consistent;
步骤S306,若4个扬声器的位置不对称,和/或,4个扬声器的输出性能不一致,对所述4声道的音频文件进行扬声器补偿处理;若4个扬声器的位置对称,且4个扬声器的输出性能一致,执行步骤S307;Step S306: if the positions of the four speakers are asymmetrical and/or the output performances of the four speakers are inconsistent, perform speaker compensation processing on the four-channel audio file; if the positions of the four speakers are symmetrical and the output performances of the four speakers are consistent, execute step S307;
步骤S307,得到与所述电子设备进行硬件适配后的4声道的音频文件;Step S307, obtaining a 4-channel audio file after hardware adaptation to the electronic device;
步骤S308,利用所述电子设备输出所述4声道的音频文件。Step S308: output the 4-channel audio file using the electronic device.
本公开实施例还提供一种多声道信号的转换装置。图7是根据一示例性实施例示出的一种多声道信号的转换装置的结构示意图,如图7所示,所述多声道信号的转换装置应用于包含多个音频输出模组的电子设备,所述多声道信号的转换装置100包括:The embodiment of the present disclosure also provides a multi-channel signal conversion device. FIG7 is a structural schematic diagram of a multi-channel signal conversion device according to an exemplary embodiment. As shown in FIG7, the multi-channel signal conversion device is applied to an electronic device including multiple audio output modules. The multi-channel signal conversion device 100 includes:
获取模块101,用于获取输入的第一音频信号的声道数量;An acquisition module 101 is used to acquire the number of channels of an input first audio signal;
转换模块102,用于若所述第一音频信号的声道数量不是预设声道数量,将所述第一音频信号转换为预设声道数量的第二音频信号;A conversion module 102, configured to convert the first audio signal into a second audio signal with a preset number of channels if the number of channels of the first audio signal is not a preset number of channels;
输出模块103,用于利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。The output module 103 is used to output audio signals of different channels of the second audio signal by using different audio output modules.
可选地,所述转换模块102,用于:Optionally, the conversion module 102 is used to:
基于所述第一音频信号的声道数量从预设的声道转换方式中,确定出目标转换方式;Determining a target conversion method from preset channel conversion methods based on the number of channels of the first audio signal;
基于所述目标转换方式,将所述第一音频信号转换为所述第二音频信号。Based on the target conversion mode, the first audio signal is converted into the second audio signal.
可选地,所述输出模块103,用于:Optionally, the output module 103 is used to:
将所述第二音频信号分离为多个不同声道的音频信号;Separating the second audio signal into a plurality of audio signals of different channels;
根据多个所述音频输出模组的位置和所述多个不同声道的音频信号包含的方位信息,确定多个所述音频输出模组与多个不同声道的音频信号之间的对应关系;Determining a correspondence between the plurality of audio output modules and the plurality of audio signals of different channels according to the positions of the plurality of audio output modules and the orientation information contained in the plurality of audio signals of different channels;
基于所述对应关系,利用不同的音频输出模组输出所述第二音频信号不同声道的音频信号。Based on the corresponding relationship, different audio output modules are used to output audio signals of different channels of the second audio signal.
可选地,所述装置还包括:补偿模块104,用于:Optionally, the device further includes: a compensation module 104, configured to:
确定所述多个音频输出模组的分布状况信息是否满足第一预设条件;Determining whether the distribution status information of the plurality of audio output modules meets a first preset condition;
若所述多个音频输出模组的分布状况信息不满足第一预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行距离补偿处理;所述距离补偿处理后的音频信号的声像距离大于所述音频信号的声像距离;If the distribution status information of the multiple audio output modules does not meet the first preset condition, distance compensation processing is performed on the audio signals of different channels corresponding to the multiple audio output modules; the sound image distance of the audio signal after the distance compensation processing is greater than the sound image distance of the audio signal;
所述输出模块103,用于:The output module 103 is used to:
基于所述对应关系,利用不同的音频输出模组输出所述距离补偿处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the audio signal after the distance compensation processing.
可选地,所述第一预设条件,包括:Optionally, the first preset condition includes:
所述分布状况信息指示的多个音频输出模组的位置分布满足位置对称条件。The position distribution of the multiple audio output modules indicated by the distribution status information satisfies a position symmetry condition.
可选地,所述装置还包括:补偿模块104,用于:Optionally, the device further includes: a compensation module 104, configured to:
确定所述多个音频输出模组的输出性能是否满足第二预设条件;Determining whether the output performance of the multiple audio output modules meets a second preset condition;
若所述多个音频输出模组的输出性能不满足第二预设条件,对所述多个音频输出模组对应的不同声道的音频信号进行调制处理;所述多个音频输出模组基于所述调制处理后的音频信号确定的输出性能满足所述第二预设条件。If the output performance of the multiple audio output modules does not meet the second preset condition, the audio signals of different channels corresponding to the multiple audio output modules are modulated; the output performance of the multiple audio output modules determined based on the modulated audio signals meets the second preset condition.
所述输出模块103,用于:The output module 103 is used to:
基于所述对应关系,利用不同的音频输出模组输出所述调制处理后的音频信号。Based on the corresponding relationship, different audio output modules are used to output the modulated audio signal.
可选地,所述输出性能满足所述第二预设条件,包括:Optionally, the output performance satisfies the second preset condition, including:
所述多个音频输出模组的频响曲线之间的误差值小于第一预设值;The error value between the frequency response curves of the multiple audio output modules is less than a first preset value;
和/或,所述多个音频输出模组之间的响度差异小于第二预设值。And/or, the loudness difference between the multiple audio output modules is less than a second preset value.
可选地,所述输出模块103,还用于:Optionally, the output module 103 is further used for:
根据多个所述音频输出模组的工作频率范围是否完全覆盖所述不同声道的音频信号的频率,将多个所述音频输出模组确定为第一类音频输出模组和第二类音频输出模组;其中,所述第一类音频输出模组的工作频率范围未完全覆盖所述不同声道的音频信号的频率;Determine the multiple audio output modules as first-category audio output modules and second-category audio output modules according to whether the operating frequency ranges of the multiple audio output modules completely cover the frequencies of the audio signals of the different channels; wherein the operating frequency range of the first-category audio output module does not completely cover the frequencies of the audio signals of the different channels;
对所述第一类音频输出模组对应的第一声道信号进行分频处理,得到第一频率信号和第二频率信号;其中,所述第一频率信号的频率包含在所述第一类音频输出模组的工作频率范围内;Performing frequency division processing on the first channel signal corresponding to the first type of audio output module to obtain a first frequency signal and a second frequency signal; wherein the frequency of the first frequency signal is included in the operating frequency range of the first type of audio output module;
利用所述第一类音频输出模组输出所述第一频率信号,以及所述第二类音频输出模组输出对应的第二声道信号和所述第二频率信号。The first type of audio output module is used to output the first frequency signal, and the second type of audio output module is used to output the corresponding second channel signal and the second frequency signal.
可选地,所述输出模块103,还用于:Optionally, the output module 103 is further used for:
从所述第二类音频输出模组确定出第三类音频输出模组,其中,所述第三类音频输出模组的第一方向上的位置与所述第一类音频输出模组的第一方向上的位置相同;Determine a third type of audio output module from the second type of audio output module, wherein a position of the third type of audio output module in the first direction is the same as a position of the first type of audio output module in the first direction;
利用第一类音频输出模组输出所述第一频率信号;Outputting the first frequency signal using a first type of audio output module;
利用所述第三类音频输出模组输出对应的第二声道信号和所述第二频率信号。The third type audio output module is used to output the corresponding second channel signal and the second frequency signal.
图8是根据一示例性实施例示出的一种多声道信号的转换装置的框图。例如,装置800可以是移动电话,移动电脑等。Fig. 8 is a block diagram of a device for converting a multi-channel signal according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.
参照图8,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input/output (I/O) interface 812 , a sensor component 814 , and a communication component 816 .
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110907025.XA CN113689890B (en) | 2021-08-09 | 2021-08-09 | Multi-channel signal conversion method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110907025.XA CN113689890B (en) | 2021-08-09 | 2021-08-09 | Multi-channel signal conversion method, device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113689890A CN113689890A (en) | 2021-11-23 |
| CN113689890B true CN113689890B (en) | 2024-07-30 |
Family
ID=78579144
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110907025.XA Active CN113689890B (en) | 2021-08-09 | 2021-08-09 | Multi-channel signal conversion method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113689890B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114866948B (en) * | 2022-04-26 | 2024-07-05 | 北京奇艺世纪科技有限公司 | Audio processing method, device, electronic equipment and readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1469684A (en) * | 2002-07-08 | 2004-01-21 | ���ǵ�����ʽ���� | Method and apparatus for producing multi-channel sound |
| CN104469603A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Electronic device, frequency dividing method and frequency dividing device |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2766466B2 (en) * | 1995-08-02 | 1998-06-18 | 株式会社東芝 | Audio system, reproduction method, recording medium and recording method on recording medium |
| US7164768B2 (en) * | 2001-06-21 | 2007-01-16 | Bose Corporation | Audio signal processing |
| KR100644617B1 (en) * | 2004-06-16 | 2006-11-10 | 삼성전자주식회사 | Apparatus and method for reproducing 7.1 channel audio |
| WO2014034555A1 (en) * | 2012-08-29 | 2014-03-06 | シャープ株式会社 | Audio signal playback device, method, program, and recording medium |
| EP3561809B1 (en) * | 2013-09-12 | 2023-11-22 | Dolby International AB | Method for decoding and decoder. |
| KR102160254B1 (en) * | 2014-01-10 | 2020-09-25 | 삼성전자주식회사 | Method and apparatus for 3D sound reproducing using active downmix |
| JP2019080188A (en) * | 2017-10-25 | 2019-05-23 | パナソニックIpマネジメント株式会社 | Audio system and vehicle |
| CN110853658B (en) * | 2019-11-26 | 2021-12-07 | 中国电影科学技术研究所 | Method and apparatus for downmixing audio signal, computer device, and readable storage medium |
| CN111800713B (en) * | 2020-06-12 | 2022-03-04 | 瑞声科技(新加坡)有限公司 | Signal nonlinear compensation method and device, electronic equipment and storage medium |
-
2021
- 2021-08-09 CN CN202110907025.XA patent/CN113689890B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1469684A (en) * | 2002-07-08 | 2004-01-21 | ���ǵ�����ʽ���� | Method and apparatus for producing multi-channel sound |
| CN104469603A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Electronic device, frequency dividing method and frequency dividing device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113689890A (en) | 2021-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102879681B1 (en) | Active noise cancellation method and device | |
| CN113676804A (en) | Active noise reduction method and device | |
| RU2685041C2 (en) | Device of audio signal processing and method of audio signal filtering | |
| JP2024097827A (en) | Customized voice processing based on user-specific voice information and hardware-specific voice information | |
| CN111131970B (en) | Audio signal processing device and method for filtering audio signal | |
| CN115567831B (en) | A method and apparatus for improving the sound quality of a loudspeaker | |
| CN115696172B (en) | Sound image calibration method and device | |
| US20170195817A1 (en) | Simultaneous Binaural Presentation of Multiple Audio Streams | |
| CN104981866B (en) | Method for determining stereo signal | |
| CN116367050A (en) | Method for processing audio signal, storage medium, electronic device and audio device | |
| WO2019237667A1 (en) | Method and apparatus for playing audio data | |
| US20240015438A1 (en) | Managing low frequencies of an output signal | |
| CN113689890B (en) | Multi-channel signal conversion method, device and storage medium | |
| CN115225997A (en) | Sound playing method, device, earphone and storage medium | |
| CN107197403A (en) | A kind of terminal audio frequency parameter management method, apparatus and system | |
| CN118540630A (en) | Speaker control method and device, electronic equipment and medium | |
| CN114220454A (en) | Audio noise reduction method, medium and electronic equipment | |
| CN119922248B (en) | Audio sharing methods and related equipment | |
| CN114786117B (en) | A kind of audio playing method and related equipment | |
| WO2021057214A1 (en) | Sound field extension method, computer apparatus, and computer readable storage medium | |
| CN115460526B (en) | Method for determining hearing model, electronic equipment and system | |
| US20240223950A1 (en) | Ultra-low frequency sound compensation method and system based on haptic feedback, and computer-readable storage medium | |
| US20240364289A1 (en) | Method and system for audio compression for contextual volume control | |
| US20140372110A1 (en) | Voic call enhancement | |
| WO2023215405A2 (en) | Customized binaural rendering of audio content |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |