CN107681993A - A kind of method and mobile terminal for adjusting audio frequency parameter - Google Patents
A kind of method and mobile terminal for adjusting audio frequency parameter Download PDFInfo
- Publication number
- CN107681993A CN107681993A CN201710850337.5A CN201710850337A CN107681993A CN 107681993 A CN107681993 A CN 107681993A CN 201710850337 A CN201710850337 A CN 201710850337A CN 107681993 A CN107681993 A CN 107681993A
- Authority
- CN
- China
- Prior art keywords
- gain
- pass filter
- module
- mbdrc
- audio
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000001914 filtration Methods 0.000 claims abstract description 153
- 230000005236 sound signal Effects 0.000 claims abstract description 80
- 230000015654 memory Effects 0.000 claims description 30
- 238000012545 processing Methods 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 9
- 230000002238 attenuated effect Effects 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H21/00—Adaptive networks
Landscapes
- Telephone Function (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
本发明提供一种调整音频参数的方法及移动终端,该方法包括:检测所述移动终端的剩余电量;根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。这样,可以使得移动终端在音频播放时进行省电不需降低音量,从而降低了省电导致的对移动终端的音频播放效果的影响。
The present invention provides a method for adjusting audio parameters and a mobile terminal, the method comprising: detecting the remaining power of the mobile terminal; adjusting the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power , and adjusting the gain of the MBDRC module, wherein the adjusted filtering frequency of the audio high-pass filter is higher than the adjusted filtering frequency, and the filtering gain of the audio high-pass filter is lower than the adjusted filtering gain, The gain of the MBDRC module is higher than the gain before adjustment; the adjusted audio high-pass filter is used to filter the target audio signal, and the adjusted MBDRC module is used to perform dynamic range control on the target audio signal . In this way, the mobile terminal can save power without lowering the volume during audio playback, thereby reducing the impact of power saving on the audio playback effect of the mobile terminal.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种调整音频参数的方法及移动终端。The invention relates to the field of communication technology, in particular to a method for adjusting audio parameters and a mobile terminal.
背景技术Background technique
随着移动终端的迅速发展,移动终端已经成为人们生活中必不可少的一种工具,移动终端其丰富的功能为用户的生活的各个方面带来了极大的便捷。其中,音频播放功能是广大用户最常用的功能之一,活跃于生活的各种场景之中,譬如,利用移动终端播放音乐、观看视频、玩游戏、进行语音或视频聊天等诸多场景,几乎都需要利用到音频播放功能。而现有的移动终端的电池的电池容量普遍偏小,因此其电量难以维持长时间的音频播放状态。为此,用户为了在音频播放状态下获得更长的使用时间,只好通过降低移动终端的音量的方式来进行省电,此时由于音量降低,移动终端的音频播放效果也随之下降。由此,现有的移动终端在音频播放时若要进行省电,必须降低音量,导致移动终端的音频播放效果较差。With the rapid development of mobile terminals, mobile terminals have become an indispensable tool in people's lives, and their rich functions bring great convenience to all aspects of users' lives. Among them, the audio playback function is one of the most commonly used functions by the majority of users, and it is active in various scenes of life. Need to take advantage of the audio playback function. And the battery capacity of the battery of the existing mobile terminal is generally too small, so its power is difficult to maintain the audio playing state for a long time. For this reason, in order to obtain a longer usage time in the audio playing state, the user has to lower the volume of the mobile terminal to save power. At this time, due to the lowering of the volume, the audio playing effect of the mobile terminal also decreases. Therefore, if the existing mobile terminal wants to save power during audio playback, the volume must be lowered, resulting in poor audio playback effect of the mobile terminal.
发明内容Contents of the invention
本发明实施例提供一种调整音频参数的方法及移动终端,以解决移动终端在音频播放时若要进行省电,必须降低音量,导致移动终端的音频播放效果较差的问题。Embodiments of the present invention provide a method for adjusting audio parameters and a mobile terminal to solve the problem that if the mobile terminal wants to save power during audio playback, the volume must be lowered, resulting in a poor audio playback effect of the mobile terminal.
第一方面,本发明实施例提供了一种调整音频参数的方法,包括:In the first aspect, the embodiment of the present invention provides a method for adjusting audio parameters, including:
检测所述移动终端的剩余电量;Detecting the remaining power of the mobile terminal;
根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述多段动态范围控制(Multi-Band Dynamic Range Control,简称MBDRC)模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;Adjust the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjust the gain of the multi-band dynamic range control (Multi-Band Dynamic Range Control, MBDRC) module, wherein , the adjusted filtering frequency of the audio high-pass filter is higher than the adjusted filtering frequency, the filtering gain of the audio high-pass filter is lower than the adjusted filtering gain, and the gain of the MBDRC module is higher than the adjusted gain;
使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。The adjusted audio high-pass filter is used to filter the target audio signal, and the adjusted MBDRC module is used to control the dynamic range of the target audio signal.
第二方面,本发明实施例还提供一种移动终端,包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, including:
检测模块,用于检测所述移动终端的剩余电量;A detection module, configured to detect the remaining power of the mobile terminal;
调整模块,用于根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;An adjustment module, configured to adjust the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjust the gain of the MBDRC module, wherein the audio high-pass filter is adjusted The filter frequency is higher than the filter frequency before adjustment, the filter gain of the audio high-pass filter is lower than the filter gain before adjustment, and the gain of the MBDRC module is higher than the gain before adjustment;
处理模块,用于使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。A processing module, configured to use the adjusted audio high-pass filter to filter the target audio signal, and use the adjusted MBDRC module to control the dynamic range of the target audio signal.
第三方面,本发明实施例还提供一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述调整音频参数的方法中的步骤。In the third aspect, the embodiment of the present invention also provides a mobile terminal, including: a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the computer program When implementing the steps in the above method for adjusting audio parameters.
第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述调整音频参数的方法中的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method for adjusting audio parameters are implemented .
本发明实施例中,检测所述移动终端的剩余电量;根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。这样,通过使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,可以使所述移动终端的耗电降低,通过使用调整后的MBDRC模块对所述目标音频信号进行动态范围控制,可以提高所述移动终端输出的音频信号的声压级;从而使得移动终端在音频播放时,进行省电不需降低音量,降低了省电导致的对移动终端的音频播放效果的影响。In the embodiment of the present invention, the remaining power of the mobile terminal is detected; according to the size of the remaining power, the filtering frequency and the filtering gain of the audio high-pass filter are adjusted, and the gain of the MBDRC module is adjusted, Wherein, the adjusted filtering frequency of the audio high-pass filter is higher than that before adjustment, the filtering gain of the audio high-pass filter is lower than that before adjustment, and the gain of the MBDRC module is higher than that before adjustment ; Use the adjusted audio high-pass filter to perform filtering processing on the target audio signal, and use the adjusted MBDRC module to perform dynamic range control on the target audio signal. In this way, by using the adjusted audio high-pass filter to filter the target audio signal, the power consumption of the mobile terminal can be reduced, and by using the adjusted MBDRC module to perform dynamic range control on the target audio signal, The sound pressure level of the audio signal output by the mobile terminal can be increased; thus, when the mobile terminal is playing audio, power saving does not need to lower the volume, and the impact of power saving on the audio playing effect of the mobile terminal is reduced.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例提供的一种调整音频参数的方法的流程图;FIG. 1 is a flowchart of a method for adjusting audio parameters provided by an embodiment of the present invention;
图2是本发明实施例提供的一种音频高通滤波器的幅频特性图;Fig. 2 is an amplitude-frequency characteristic diagram of an audio high-pass filter provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种调整音频参数的方法的流程图;Fig. 3 is a flowchart of another method for adjusting audio parameters provided by an embodiment of the present invention;
图4是本发明实施例提供的MBDRC模块的增益特性图;Fig. 4 is the gain characteristic diagram of the MBDRC module provided by the embodiment of the present invention;
图5是本发明实施例提供的一种音频高通滤波器的另一幅频特性图;FIG. 5 is another amplitude-frequency characteristic diagram of an audio high-pass filter provided by an embodiment of the present invention;
图6是本发明实施例提供的一种移动终端的结构图;FIG. 6 is a structural diagram of a mobile terminal provided by an embodiment of the present invention;
图7是本发明实施例提供的另一种移动终端的结构图;FIG. 7 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图8是本发明实施例提供的另一种移动终端的结构图;FIG. 8 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图9是本发明实施例提供的另一种移动终端的结构图;FIG. 9 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图10是本发明实施例提供的另一种移动终端的结构图;FIG. 10 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图11是本发明实施例提供的另一种移动终端的结构图。FIG. 11 is a structural diagram of another mobile terminal provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参见图1,图1是本发明实施例提供的一种调整音频参数的方法的流程图,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a method for adjusting audio parameters provided by an embodiment of the present invention, as shown in FIG. 1, including the following steps:
步骤101、检测所述移动终端的剩余电量。Step 101, detecting the remaining power of the mobile terminal.
其中,上述剩余电量可以理解为是指电池内的可用电量占标称容量的比例。Wherein, the above-mentioned remaining power can be understood as referring to the ratio of the available power in the battery to the nominal capacity.
步骤102、根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高。Step 102: Adjust the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjust the gain of the MBDRC module, wherein the adjusted filtering frequency of the audio high-pass filter The frequency is higher than the filter frequency before adjustment, the filter gain of the audio high-pass filter is lower than the filter gain before adjustment, and the gain of the MBDRC module is higher than the gain before adjustment.
其中,首先需要说明的是所述音频高通滤波器可以理解为是组成(Equalize,简称EQ)均衡器的众多滤波器中的其中一种,上述滤波频率也可以指滤波频点,如图2所示,设定了滤波频率即滤波频点和滤波增益后,这个点之前的频点对应的信号都会被衰减掉,即小于上述滤波频率的信号会被衰减掉,只有比这个频率点高的频率的信号才能够通过,也就是说大于上述滤波频率的信号不会受到影响;而滤波增益可以理解为是小于上述滤波频率的信号所衰减的最大值;应当注意,滤波频率越高,滤波增益越大,则小于上述滤波频率的频率的信号衰减的程度就越高。Wherein, it should first be explained that the audio high-pass filter can be understood as one of many filters forming (Equalize, referred to as EQ) equalizer, and the above-mentioned filtering frequency can also refer to the filtering frequency point, as shown in Figure 2 After setting the filter frequency, that is, the filter frequency point and filter gain, the signals corresponding to the frequency points before this point will be attenuated, that is, the signals smaller than the above filter frequency will be attenuated, and only the frequency higher than this frequency point will be attenuated. Only the signal can pass through, that is to say, the signal greater than the above filtering frequency will not be affected; and the filter gain can be understood as the maximum value attenuated by the signal smaller than the above filtering frequency; it should be noted that the higher the filtering frequency, the greater the filtering gain. The larger the value, the higher the degree of attenuation of the signal at a frequency lower than the above-mentioned filtering frequency.
此外,还需要说明的是,上述小于上述滤波频率的频率的信号可以理解为是低频信号,低频信号通常对目标音频信号的声压级的影响较小,而对目标音频信号的听感影响较大,在这里通过音频高通滤波器来衰减低频信号的话,对声压级的影响不大,可以说只降低了一部分声压级,主要降低了输出的音频信号的听感,但是却可以降低大量低频信号所需要的耗电;由于衰减低频信号会伴随着声压级的下降,因此,需要把降低的声压级再提升回来;而通过对上述MBDRC模块的增益进行提升,则可以对应的提升声压级,只要确保提高的声压级和衰减低频信号所降低的声压级相同,并且保证提升上述MBDRC模块的增益所需要的耗电小于衰减低频信号所降低的耗电即可。In addition, it should be noted that the above-mentioned signal with a frequency lower than the above-mentioned filtering frequency can be understood as a low-frequency signal, and the low-frequency signal usually has less influence on the sound pressure level of the target audio signal, but has a greater impact on the hearing of the target audio signal. Large, if the low-frequency signal is attenuated by the audio high-pass filter here, it will have little effect on the sound pressure level. It can be said that only a part of the sound pressure level is reduced, mainly reducing the sense of hearing of the output audio signal, but it can reduce a lot Power consumption required by low-frequency signals; since attenuation of low-frequency signals will be accompanied by a drop in sound pressure level, it is necessary to increase the reduced sound pressure level back; and by increasing the gain of the above-mentioned MBDRC module, it can be increased accordingly Sound pressure level, as long as the increased sound pressure level is the same as the sound pressure level reduced by attenuating low-frequency signals, and the power consumption required to increase the gain of the above-mentioned MBDRC module is less than the power consumption reduced by attenuating low-frequency signals.
步骤103、使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。Step 103: Use the adjusted audio high-pass filter to filter the target audio signal, and use the adjusted MBDRC module to perform dynamic range control on the target audio signal.
其中,需要说明的是,上述滤波处理在此主要是指对目标音频信号进行衰减处理;还需要说明的是,上述动态范围可以理解为音频信号中大信号与小信号的比例,其中,大信号是指大于某一幅度的音频信号,小信号是指小于某一幅度的音频信号,上述动态范围控制是指可以对上述大信号或者上述小信号的幅度进行相应的调整处理。还需注意的是,本实例中先执行使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理的流程,之后再执行使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制的流程。需要补充说明的是,本实施例除了可应用于驱动扬声器进行播放的场景外,还可以对耳机、蓝牙耳机、音响、蓝牙音响等音频输出设备进行驱动以输出音频信号。Wherein, it should be noted that the above-mentioned filter processing here mainly refers to attenuation processing of the target audio signal; it should also be noted that the above-mentioned dynamic range can be understood as the ratio of a large signal to a small signal in an audio signal, wherein the large signal Refers to an audio signal greater than a certain amplitude, a small signal refers to an audio signal smaller than a certain amplitude, and the above-mentioned dynamic range control means that the amplitude of the above-mentioned large signal or the above-mentioned small signal can be adjusted accordingly. It should also be noted that in this example, the process of using the adjusted audio high-pass filter to filter the target audio signal is first performed, and then the adjusted MBDRC module is used to perform dynamic processing on the target audio signal. Scope control process. It needs to be added that, in addition to being applicable to driving a speaker for playback, this embodiment can also drive audio output devices such as earphones, bluetooth earphones, stereos, and bluetooth stereos to output audio signals.
本发明实施例中,上述移动终端可以是手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digitalassistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet PersonalComputer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet device (Mobile Internet Device, MID) Or wearable device (Wearable Device) and so on.
本发明实施例中,检测所述移动终端的剩余电量;根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。这样,通过使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,可以使所述移动终端的耗电降低,通过使用调整后的MBDRC模块对所述目标音频信号进行动态范围控制,可以提高所述移动终端输出的音频信号的声压级;从而使得移动终端在音频播放时,进行省电不需降低音量,降低了省电导致的对移动终端的音频播放效果的影响。In the embodiment of the present invention, the remaining power of the mobile terminal is detected; according to the size of the remaining power, the filtering frequency and the filtering gain of the audio high-pass filter are adjusted, and the gain of the MBDRC module is adjusted, Wherein, the adjusted filtering frequency of the audio high-pass filter is higher than that before adjustment, the filtering gain of the audio high-pass filter is lower than that before adjustment, and the gain of the MBDRC module is higher than that before adjustment ; Use the adjusted audio high-pass filter to perform filtering processing on the target audio signal, and use the adjusted MBDRC module to perform dynamic range control on the target audio signal. In this way, by using the adjusted audio high-pass filter to filter the target audio signal, the power consumption of the mobile terminal can be reduced, and by using the adjusted MBDRC module to perform dynamic range control on the target audio signal, The sound pressure level of the audio signal output by the mobile terminal can be increased; thus, when the mobile terminal is playing audio, power saving does not need to lower the volume, and the impact of power saving on the audio playing effect of the mobile terminal is reduced.
参见图3,图3是本发明实施例提供的另一种调整音频参数的方法的流程图。本实施例与上个实施例的主要区别在于本方法是在使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制后,增加了一个充电状态判断机制。如图3所示,包括以下步骤:Referring to FIG. 3 , FIG. 3 is a flowchart of another method for adjusting audio parameters provided by an embodiment of the present invention. The main difference between this embodiment and the previous embodiment is that this method uses the adjusted audio high-pass filter to filter the target audio signal, and uses the adjusted MBDRC module to filter the target audio signal. After the dynamic range control, a charge status judging mechanism is added. As shown in Figure 3, the following steps are included:
步骤301、检测所述移动终端的剩余电量;Step 301, detecting the remaining power of the mobile terminal;
其中,上述剩余电量可以理解为是指电池内的可用电量占标称容量的比例。Wherein, the above-mentioned remaining power can be understood as referring to the ratio of the available power in the battery to the nominal capacity.
步骤302、根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高。Step 302: Adjust the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjust the gain of the MBDRC module, wherein the adjusted filtering frequency of the audio high-pass filter The frequency is higher than the filter frequency before adjustment, the filter gain of the audio high-pass filter is lower than the filter gain before adjustment, and the gain of the MBDRC module is higher than the gain before adjustment.
其中,在这里通过音频高通滤波器来衰减信号的话,可以降低大量低频信号所需要的耗电;由于衰减低频信号会伴随着声压级的下降,因此,需要把降低的声压级再提升回来;而通过对上述MBDRC模块的增益进行提升,则可以对应的提升声压级,只要确保提高的声压级和衰减低频信号所降低的声压级相同,并且保证提升上述MBDRC模块的增益所需要的耗电小于衰减低频信号所降低的耗电即可。关于其他需要的说明在前一个实施例中进行了详细阐述,在此不再赘述。Among them, if the signal is attenuated by the audio high-pass filter here, the power consumption required by a large number of low-frequency signals can be reduced; since the attenuation of low-frequency signals will be accompanied by a drop in the sound pressure level, it is necessary to raise the reduced sound pressure level back. ; By increasing the gain of the above-mentioned MBDRC module, the sound pressure level can be increased correspondingly, as long as it is ensured that the improved sound pressure level is the same as the sound pressure level reduced by attenuating the low-frequency signal, and it is guaranteed to increase the gain of the above-mentioned MBDRC module. The power consumption needs to be less than the power consumption reduced by attenuating low-frequency signals. Explanations about other needs have been elaborated in the previous embodiment, and will not be repeated here.
可选的,所述根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整的步骤,包括:Optionally, the steps of adjusting the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjusting the gain of the MBDRC module include:
若所述剩余电量小于预设阈值,则将音频高通滤波器的滤波频率调整为第一预设频率,将所述音频高通滤波器的滤波增益调整为第一预设增益,以及将MBDRC模块的增益调整为第二预设增益,其中,所述第一预设频率比所述音频高通滤波器调整前的滤波频率高,所述第一预设增益比所述音频高通滤波器调整前的滤波增益低,所述第二预设增益比所述MBDRC模块调整前的增益高。If the remaining power is less than the preset threshold, adjust the filter frequency of the audio high-pass filter to the first preset frequency, adjust the filter gain of the audio high-pass filter to the first preset gain, and adjust the MBDRC module The gain is adjusted to a second preset gain, wherein the first preset frequency is higher than the filtering frequency before the adjustment of the audio high-pass filter, and the first preset gain is higher than the filtering frequency before the adjustment of the audio high-pass filter The gain is low, and the second preset gain is higher than the gain before the adjustment of the MBDRC module.
其中,需要说明的是,当检测到剩余电量小于所述预设阈值时,移动终端可以自动对滤波增益、滤波频率和MBDRC模块的增益进行调整,或者也可以输出视觉信息或者语音信息的方式提示用户手动进行调整。举例而言,用户设定预设阈值为50%,当移动终端检测到剩余电量小于50%时,此时移动终端可以自动将滤波增益、滤波频率和MBDRC模块的增益调整为对应的数值,也可以通过在手机屏幕输出文字消息提示用户需要手动调整相关音频参数,即上述音频高通滤波器的滤波增益、上述音频高通滤波器的滤波频点和MBDRC模块的增益。Wherein, it should be noted that when it is detected that the remaining power is less than the preset threshold, the mobile terminal can automatically adjust the filter gain, filter frequency and the gain of the MBDRC module, or can output visual information or voice information to prompt Adjustments are made manually by the user. For example, the user sets the preset threshold to 50%. When the mobile terminal detects that the remaining power is less than 50%, the mobile terminal can automatically adjust the filter gain, filter frequency, and MBDRC module gain to the corresponding values. A text message can be output on the screen of the mobile phone to prompt the user to manually adjust the relevant audio parameters, namely the filter gain of the above-mentioned audio high-pass filter, the filter frequency point of the above-mentioned audio high-pass filter and the gain of the MBDRC module.
此外,用户需要提前设定预设阈值,通常以剩余电量的百分比进行设置。而且为了提高省电效率,可以设置多个阈值,从而更加有效的省电。例如预设阈值可以包括第一预设阈值、第二预设阈值、第三预设阈值和第四预设阈值,其中,第一预设阈值、第二预设阈值、第三预设阈值和第四预设阈值的大小依次递减,即第一预设阈值>第二预设阈值>第三预设阈值>第四预设阈值;例如:第一预设阈值为60%,第二预设阈值为45%,第三预设阈值为35%,第四预设阈值为20%。In addition, the user needs to set a preset threshold in advance, usually set as a percentage of the remaining power. Moreover, in order to improve the power saving efficiency, multiple thresholds can be set, so as to save power more effectively. For example, the preset threshold may include a first preset threshold, a second preset threshold, a third preset threshold and a fourth preset threshold, wherein the first preset threshold, the second preset threshold, the third preset threshold and The size of the fourth preset threshold decreases successively, that is, the first preset threshold > the second preset threshold > the third preset threshold > the fourth preset threshold; for example: the first preset threshold is 60%, the second preset The threshold is 45%, the third preset threshold is 35%, and the fourth preset threshold is 20%.
还需注意的是,滤波增益、滤波频率和MBDRC模块的增益的数值可以由厂商提前设置好预留存储在移动终端里,即第一预设频率、第一预设增益和第二预设增益的数值可以提前设置预留好,例如厂商根据调试后将第一预设频率设定为A,将第一预设增益设定为B,将第二预设增益设定为C,设定好后作为第一组省电参数保存在移动终端里,用户需要使用的时候只需直接调用即可,也可以将第一预设频率设定为D,将第一预设增益设定为E,将第二预设增益设定为F,作为第二组省电参数保存在移动终端里,也就是说可以保存多组参数,以灵活调用。It should also be noted that the value of the filter gain, filter frequency and the gain of the MBDRC module can be set in advance by the manufacturer and stored in the mobile terminal, that is, the first preset frequency, the first preset gain and the second preset gain The values can be set and reserved in advance. For example, after debugging, the manufacturer sets the first preset frequency to A, the first preset gain to B, and the second preset gain to C. Afterwards, it is stored in the mobile terminal as the first set of power-saving parameters. When users need to use it, they only need to call it directly. They can also set the first preset frequency to D and the first preset gain to E. The second preset gain is set to F, and stored in the mobile terminal as the second set of power saving parameters, that is to say, multiple sets of parameters can be stored for flexible calling.
当然,用户也可以根据自己的需要和经验自行预先设定好滤波增益、滤波频点和MBDRC模块的增益等相关音频参数,当需要使用的时候调用即可。应当注意,厂商或者用户也可以提前设置好一组正常参数,即移动终端处于音频播放状态且不需要省电的时候的音频参数。Of course, users can also pre-set relevant audio parameters such as filter gain, filter frequency point, and MBDRC module gain according to their own needs and experience, and call them when they need to use them. It should be noted that the manufacturer or the user may also set a set of normal parameters in advance, that is, the audio parameters when the mobile terminal is in the audio playing state and does not need to save power.
这样,该实施方式通过厂商或者用户提前设定好滤波频率、滤波增益以及MBDRC模块的增益,可以更加方便的进行省电。In this way, in this embodiment, the filter frequency, the filter gain, and the gain of the MBDRC module are set in advance by the manufacturer or the user, so that power can be saved more conveniently.
可选的,所述根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整的步骤,包括:Optionally, the steps of adjusting the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjusting the gain of the MBDRC module include:
根据所述剩余电量、所述音频高通滤波器的滤波频率以及所述音频高通滤波器的滤波增益三者之间的第一预设关系,确定所述检测到的剩余电量对应的滤波频率和滤波增益;According to the first preset relationship between the remaining power, the filtering frequency of the audio high-pass filter, and the filtering gain of the audio high-pass filter, determine the filtering frequency and filter corresponding to the detected remaining power gain;
将所述音频高通滤波器的滤波频率调整为所述检测到的剩余电量对应的滤波频率,以及将所述音频高通滤波器的滤波增益调整为所述检测到的剩余电量对应的滤波频率,其中,所述检测到的剩余电量对应的滤波频率比所述音频高通滤波器调整前的滤波频率高,所述检测到的剩余电量对应的滤波增益比所述音频高通滤波器调整前的滤波增益低;adjusting the filtering frequency of the audio high-pass filter to the filtering frequency corresponding to the detected remaining power, and adjusting the filtering gain of the audio high-pass filter to the filtering frequency corresponding to the detected remaining power, wherein , the filtering frequency corresponding to the detected remaining power is higher than the filtering frequency before the adjustment of the audio high-pass filter, and the filtering gain corresponding to the detected remaining power is lower than the filtering gain before the adjustment of the audio high-pass filter ;
根据所述剩余电量与MBDRC模块的增益的第二预设关系,确定所检测到的剩余电量对应的MBDRC模块的增益;Determine the gain of the MBDRC module corresponding to the detected remaining power according to a second preset relationship between the remaining power and the gain of the MBDRC module;
将所述MBDRC模块的增益调整为所述确定的所检测到的剩余电量对应的MBDRC模块的增益,其中,所述确定的所检测到的剩余电量对应的MBDRC模块的增益比所述MBDRC模块调整前的增益高。Adjusting the gain of the MBDRC module to the gain of the MBDRC module corresponding to the determined detected remaining power, wherein the determined gain of the MBDRC module corresponding to the detected remaining power is greater than that of the MBDRC module adjusted The previous gain is high.
该实施方式中,首先需要说明的是,若采用只要低于预设阈值则调整音频参数的方式,则由于音频参数可能会突然发生改变,因此用户听到的声音可能也会突然发生改变,从而使得用户难以适应这种变化。其中,例如第一预设关系可以如图5所示来建立,其中剩余电量越低,音频高通滤波器的滤波频率越高,同时滤波增益也越来越高,110%剩余电量对应的滤波频率推荐设置为200赫兹。此外,所述第二预设关系中,剩余电量110%对应的MBDRC增益推荐设置为0dB,即此时MBDRC模块是不生效的,不会提升小信号的幅度,当前剩余电量降低,则对应的MBDRC模块的增益会逐渐升高,小信号的幅度也会越来越高,即剩余电量越低,小信号的幅度的提升会越多。In this embodiment, it should first be explained that if the method of adjusting the audio parameters is adopted as long as the audio parameters are lower than the preset threshold value, since the audio parameters may change suddenly, the sound heard by the user may also change suddenly, thus Make it difficult for users to adapt to this change. Among them, for example, the first preset relationship can be established as shown in Figure 5, wherein the lower the remaining power, the higher the filtering frequency of the audio high-pass filter, and the higher the filtering gain, the filtering frequency corresponding to 110% of the remaining power The recommended setting is 200 Hz. In addition, in the second preset relationship, the MBDRC gain corresponding to 110% of the remaining power is recommended to be set to 0dB, that is, the MBDRC module is not effective at this time, and the amplitude of the small signal will not be increased. If the current remaining power is reduced, the corresponding The gain of the MBDRC module will gradually increase, and the amplitude of the small signal will also become higher and higher, that is, the lower the remaining power, the greater the increase of the amplitude of the small signal.
这样,该实施方式通过建立剩余电量与省电参数即滤波频率、滤波增益和MBDRC模块的增益的映射关系,采用的是动态调节的自然过渡方式,从而使得声音不再发生突然的变化,而是缓慢逐渐发生变化,使用户难以感受出来其中的变化。In this way, this embodiment adopts the natural transition method of dynamic adjustment by establishing the mapping relationship between the remaining power and the power saving parameters, namely the filter frequency, filter gain and the gain of the MBDRC module, so that the sound no longer changes suddenly, but Changes occur slowly and gradually, making it difficult for users to feel the changes.
步骤303、使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。Step 303: Use the adjusted audio high-pass filter to perform filtering processing on the target audio signal, and use the adjusted MBDRC module to perform dynamic range control on the target audio signal.
其中,需要说明的是,上述滤波处理在此主要是指对目标音频信号进行衰减处理;还需要说明的是,上述动态范围可以理解为音频信号中大信号与小信号的比例,其中,大信号是指大于某一幅度的音频信号,小信号是指小于某一幅度的音频信号,上述动态范围控制是指可以对上述大信号或者小信号的幅度进行相应的调整处理。还需注意的是,本实例中先执行使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理的流程,之后再执行使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制的流程。Wherein, it should be noted that the above-mentioned filter processing here mainly refers to attenuation processing of the target audio signal; it should also be noted that the above-mentioned dynamic range can be understood as the ratio of a large signal to a small signal in an audio signal, wherein the large signal Refers to an audio signal larger than a certain amplitude, and a small signal refers to an audio signal smaller than a certain amplitude. The above-mentioned dynamic range control means that the amplitude of the above-mentioned large signal or small signal can be adjusted accordingly. It should also be noted that in this example, the process of using the adjusted audio high-pass filter to filter the target audio signal is first performed, and then the adjusted MBDRC module is used to perform dynamic processing on the target audio signal. Scope control process.
可选的,所述使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制的步骤,包括:Optionally, the steps of using the adjusted audio high-pass filter to filter the target audio signal, and using the adjusted MBDRC module to control the dynamic range of the target audio signal include:
使用调整后的所述音频高通滤波器对所述目标音频信号中小于所述第一预设频率的信号进行衰减处理;using the adjusted audio high-pass filter to attenuate signals of the target audio signal that are less than the first preset frequency;
使用调整后的所述MBDRC模块对所述目标音频信号中小于预设幅度的信号进行放大处理。The adjusted MBDRC module is used to amplify the signals of the target audio signal that are smaller than the preset amplitude.
该实施方式,需要说明的是,滤波频率可以设置为0,上述第一预设频率通常指低频,可以理解为2k赫兹以下的信号;上述预设幅度的信号主要指动态范围中小幅度的信号,即通常所指的小信号,由于小信号的电声转化效率较高,通过提升小信号的幅度可以以更少的电量获得更多的声压;而大信号较多时,扬声器、耳机或者其他音频输出装置的电声转化效率会降低。故通过MBDRC模块提升小信号的幅度后,可以获得较多的声压增量。因此,如图4所示,主要采取对小信号的幅度进行提升,对大信号的幅度维持不变来降低音频信号的动态范围。In this embodiment, it should be noted that the filtering frequency can be set to 0. The above-mentioned first preset frequency usually refers to a low frequency, which can be understood as a signal below 2k Hz; the above-mentioned preset amplitude signal mainly refers to a signal with a small amplitude in the dynamic range. That is, the small signal usually referred to, because the electro-acoustic conversion efficiency of the small signal is high, by increasing the amplitude of the small signal, more sound pressure can be obtained with less power; when there are more large signals, speakers, earphones or other audio The electro-acoustic conversion efficiency of the output device will decrease. Therefore, after increasing the amplitude of the small signal through the MBDRC module, more sound pressure increments can be obtained. Therefore, as shown in FIG. 4 , the amplitude of the small signal is mainly increased, and the amplitude of the large signal is kept unchanged to reduce the dynamic range of the audio signal.
这样,该实施方方式,通过MBDRC模块提升小信号的幅度后,可以获得较多的声压增量,从而可以以以更少的电量获得更多的声压。In this way, in this embodiment, after the amplitude of the small signal is increased by the MBDRC module, more sound pressure increments can be obtained, so that more sound pressure can be obtained with less power.
需要说明的是,步骤304是可选的。It should be noted that step 304 is optional.
步骤304、若检测到所述移动终端处于充电状态,则将所述音频高通滤波器的滤波频率调整为第二预设频率,将所述音频高通滤波器的滤波增益调整为第三预设增益,将所述MBDRC模块的增益调整为第四预设增益。Step 304, if it is detected that the mobile terminal is in the charging state, adjust the filtering frequency of the audio high-pass filter to the second preset frequency, and adjust the filtering gain of the audio high-pass filter to the third preset gain , adjusting the gain of the MBDRC module to a fourth preset gain.
其中,需要说明的是,当移动终端处于充电状态时,通常意味着不再需要省电,因此可以将音频参数恢复成默认的参数,即第二预设频率、第三预设增益和第四预设增益可以理解为是厂商或者用户提前预留的正常音频参数。这样,可以减少移动终端不必要的功耗,同时也可以恢复成更好的音频播放效果。Among them, it should be noted that when the mobile terminal is in the charging state, it usually means that power saving is no longer needed, so the audio parameters can be restored to the default parameters, that is, the second preset frequency, the third preset gain and the fourth preset gain. The preset gain can be understood as a normal audio parameter reserved in advance by the manufacturer or the user. In this way, unnecessary power consumption of the mobile terminal can be reduced, and a better audio playback effect can also be restored.
可选的,所述使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制的步骤之后,所述方法还包括:Optionally, after the step of using the adjusted audio high-pass filter to filter the target audio signal, and using the adjusted MBDRC module to perform dynamic range control on the target audio signal, the method Also includes:
若所检测到的剩余电量大于预设阈值,则将所述音频高通滤波器的滤波频率调整为第二预设频率,将所述音频高通滤波器的滤波增益调整为第三预设增益,将所述MBDRC模块的增益调整为第四预设增益。If the detected remaining power is greater than the preset threshold, the filter frequency of the audio high-pass filter is adjusted to the second preset frequency, the filter gain of the audio high-pass filter is adjusted to the third preset gain, and The gain of the MBDRC module is adjusted to a fourth preset gain.
其中,当剩余电量恢提高到预设阈值以上时,亦可将音频参数恢复成默认的参数,即第二预设频率、第三预设增益和第四预设增益可以理解为是厂商或者用户提前预留的正常音频参数。这样,可以智能的判断用户是否不再需要节电,从而恢复成更好的音频播放效果。Among them, when the remaining power level increases above the preset threshold value, the audio parameters can also be restored to the default parameters, that is, the second preset frequency, the third preset gain and the fourth preset gain can be understood as the manufacturer or user Normal audio parameters reserved in advance. In this way, it can intelligently judge whether the user no longer needs to save power, so as to restore a better audio playback effect.
本发明实施例中,检测所述移动终端的剩余电量;若所述剩余电量小于预设阈值,则将音频高通滤波器的滤波频率调整为第一预设频率,将所述音频高通滤波器的滤波增益调整为第一预设增益,以及将MBDRC模块的增益调整为第二预设增益,其中,所述第一预设频率比所述音频高通滤波器调整前的滤波频率高,所述第一预设增益比所述音频高通滤波器调整前的滤波增益低,所述第二预设增益比所述MBDRC模块调整前的增益高;使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。这样,可以使得移动终端在音频播放时进行省电不需降低音量,从而降低了省电对移动终端的音频播放效果的影响。In the embodiment of the present invention, the remaining power of the mobile terminal is detected; if the remaining power is less than a preset threshold, the filtering frequency of the audio high-pass filter is adjusted to the first preset frequency, and the frequency of the audio high-pass filter is adjusted to the first preset frequency. The filter gain is adjusted to a first preset gain, and the gain of the MBDRC module is adjusted to a second preset gain, wherein the first preset frequency is higher than the filter frequency before the adjustment of the audio high-pass filter, and the second A preset gain is lower than the filter gain before the adjustment of the audio high-pass filter, and the second preset gain is higher than the gain before the adjustment of the MBDRC module; use the adjusted audio high-pass filter for the target audio signal Perform filtering processing, and use the adjusted MBDRC module to perform dynamic range control on the target audio signal. In this way, the mobile terminal can save power without lowering the volume during audio playback, thereby reducing the impact of power saving on the audio playback effect of the mobile terminal.
参见图6,图6是本发明实施例提供的移动终端的结构图,能实现上述实施例调整音频参数的方法的细节,并达到相同的效果。如图6所示,移动终端600包括检测模块601、调整模块602和处理模块603,检测模块601和调整模块602连接,调整模块602处理模块603连接,其中:Referring to FIG. 6 , FIG. 6 is a structural diagram of a mobile terminal provided by an embodiment of the present invention, which can implement the details of the method for adjusting audio parameters in the above embodiment, and achieve the same effect. As shown in Figure 6, the mobile terminal 600 includes a detection module 601, an adjustment module 602 and a processing module 603, the detection module 601 is connected to the adjustment module 602, and the adjustment module 602 is connected to the processing module 603, wherein:
检测模块601,用于检测所述移动终端的剩余电量;A detection module 601, configured to detect the remaining power of the mobile terminal;
调整模块602,用于根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;The adjustment module 602 is configured to adjust the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjust the gain of the MBDRC module, wherein the audio high-pass filter adjusts The filtered frequency after the adjustment is higher than the filtered frequency before the adjustment, the filter gain of the audio high-pass filter is lower than the filter gain before the adjustment, and the gain of the MBDRC module is higher than the gain before the adjustment;
处理模块603,用于使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。The processing module 603 is configured to use the adjusted audio high-pass filter to perform filtering processing on the target audio signal, and use the adjusted MBDRC module to perform dynamic range control on the target audio signal.
可选的,所述调整模块602,用于若所述剩余电量小于预设阈值,则将音频高通滤波器的滤波频率调整为第一预设频率,将所述音频高通滤波器的滤波增益调整为第一预设增益,以及将MBDRC模块的增益调整为第二预设增益,其中,所述第一预设频率比所述音频高通滤波器调整前的滤波频率高,所述第一预设增益比所述音频高通滤波器调整前的滤波增益低,所述第二预设增益比所述MBDRC模块调整前的增益高。Optionally, the adjusting module 602 is configured to adjust the filtering frequency of the audio high-pass filter to a first preset frequency if the remaining power is less than a preset threshold, and adjust the filtering gain of the audio high-pass filter to be the first preset gain, and adjust the gain of the MBDRC module to a second preset gain, wherein the first preset frequency is higher than the filtering frequency before the adjustment of the audio high-pass filter, and the first preset The gain is lower than the filter gain before the adjustment of the audio high-pass filter, and the second preset gain is higher than the gain before the adjustment of the MBDRC module.
可选的,如图7所示,所述处理模块603,包括:Optionally, as shown in FIG. 7, the processing module 603 includes:
第一处理单元6031,用于使用调整后的所述音频高通滤波器对所述目标音频信号中小于所述第一预设频率的信号进行衰减处理;The first processing unit 6031 is configured to use the adjusted audio high-pass filter to attenuate signals in the target audio signal that are less than the first preset frequency;
第二处理单元6032,用于使用调整后的所述MBDRC模块对所述目标音频信号中小于预设幅度的信号进行放大处理。The second processing unit 6032 is configured to use the adjusted MBDRC module to amplify signals in the target audio signal that are smaller than a preset amplitude.
可选的,如图8所示,所述调整模块602,包括:Optionally, as shown in FIG. 8, the adjustment module 602 includes:
第一确定单元6021,用于根据所述剩余电量、所述音频高通滤波器的滤波频率以及所述音频高通滤波器的滤波增益三者之间的第一预设关系,确定所述检测到的剩余电量对应的滤波频率和滤波增益;The first determining unit 6021 is configured to determine the detected power according to the first preset relationship among the remaining power, the filtering frequency of the audio high-pass filter, and the filtering gain of the audio high-pass filter. The filter frequency and filter gain corresponding to the remaining power;
第一调整单元6022,用于将所述音频高通滤波器的滤波频率调整为所述检测到的剩余电量对应的滤波频率,以及将所述音频高通滤波器的滤波增益调整为所述检测到的剩余电量对应的滤波频率,其中,所述检测到的剩余电量对应的滤波频率比所述音频高通滤波器调整前的滤波频率高,所述检测到的剩余电量对应的滤波增益比所述音频高通滤波器调整前的滤波增益低;The first adjustment unit 6022 is configured to adjust the filtering frequency of the audio high-pass filter to the filtering frequency corresponding to the detected remaining power, and adjust the filtering gain of the audio high-pass filter to the detected The filtering frequency corresponding to the remaining power, wherein, the filtering frequency corresponding to the detected remaining power is higher than the filtering frequency before the adjustment of the audio high-pass filter, and the filtering gain corresponding to the detected remaining power is higher than that of the audio high-pass filter The filter gain before filter adjustment is low;
第二确定单元6023,用于根据所述剩余电量与MBDRC模块的增益的第二预设关系,确定所检测到的剩余电量对应的MBDRC模块的增益;The second determining unit 6023 is configured to determine the gain of the MBDRC module corresponding to the detected remaining power according to the second preset relationship between the remaining power and the gain of the MBDRC module;
第二调整单元6024,用于将所述MBDRC模块的增益调整为所述确定的所检测到的剩余电量对应的MBDRC模块的增益,其中,所述确定的所检测到的剩余电量对应的MBDRC模块的增益比所述MBDRC模块调整前的增益高。The second adjustment unit 6024 is configured to adjust the gain of the MBDRC module to the gain of the MBDRC module corresponding to the determined detected remaining power, wherein the determined detected remaining power corresponds to the MBDRC module The gain is higher than the gain of the MBDRC module before adjustment.
可选的,如图9所示,所述移动终端600还包括:Optionally, as shown in FIG. 9, the mobile terminal 600 further includes:
第二调整模块604,用于若检测到所述移动终端处于充电状态,则将所述音频高通滤波器的滤波频率调整为第二预设频率,将所述音频高通滤波器的滤波增益调整为第三预设增益,将所述MBDRC模块的增益调整为第四预设增益;The second adjustment module 604 is configured to adjust the filtering frequency of the audio high-pass filter to a second preset frequency if it is detected that the mobile terminal is in a charging state, and adjust the filtering gain of the audio high-pass filter to be a third preset gain, adjusting the gain of the MBDRC module to a fourth preset gain;
可选的,如图11所示,所述移动终端600还包括:Optionally, as shown in FIG. 11, the mobile terminal 600 further includes:
第三调整模块605,用于若所检测到的剩余电量大于预设阈值,则将所述音频高通滤波器的滤波频率调整为第二预设频率,将所述音频高通滤波器的滤波增益调整为第三预设增益,将所述MBDRC模块的增益调整为第四预设增益。The third adjustment module 605 is configured to adjust the filtering frequency of the audio high-pass filter to a second preset frequency if the detected remaining power is greater than the preset threshold, and adjust the filtering gain of the audio high-pass filter For the third preset gain, adjust the gain of the MBDRC module to a fourth preset gain.
移动终端600能实现图1和图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 600 can implement various processes implemented by the mobile terminal in the method embodiments in FIG. 1 and FIG. 3 , and details are not repeated here to avoid repetition.
本发明实施例的移动终端600,检测所述移动终端的剩余电量;根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。这样,通过使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,可以使所述移动终端的耗电降低,通过使用调整后的MBDRC模块对所述目标音频信号进行动态范围控制,可以提高所述移动终端输出的音频信号的声压级;从而使得移动终端在音频播放时,进行省电不需降低音量,降低了省电导致的对移动终端的音频播放效果的影响。The mobile terminal 600 of the embodiment of the present invention detects the remaining power of the mobile terminal; adjusts the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjusts the gain of the MBDRC module Adjusting, wherein, the adjusted filtering frequency of the audio high-pass filter is higher than that before adjustment, the filtering gain of the audio high-pass filter is lower than that before adjustment, and the gain of the MBDRC module is lower than that before adjustment The gain is high; the adjusted audio high-pass filter is used to filter the target audio signal, and the adjusted MBDRC module is used to control the dynamic range of the target audio signal. In this way, by using the adjusted audio high-pass filter to filter the target audio signal, the power consumption of the mobile terminal can be reduced, and by using the adjusted MBDRC module to perform dynamic range control on the target audio signal, The sound pressure level of the audio signal output by the mobile terminal can be increased; thus, when the mobile terminal is playing audio, power saving does not need to lower the volume, and the impact of power saving on the audio playing effect of the mobile terminal is reduced.
参见图11,图11是本发明实施例提供的移动终端的结构图,能实现上述实施例中调整音频参数的方法的细节,并达到相同的效果。如图11所示,移动终端1100包括:至少一个处理器1101、存储器1102、至少一个网络接口1104和用户接口1103。移动终端1100中的各个组件通过总线系统1105耦合在一起。可理解,总线系统1105用于实现这些组件之间的连接通信。总线系统1105除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图11中将各种总线都标为总线系统1105。Referring to FIG. 11 , FIG. 11 is a structural diagram of a mobile terminal provided by an embodiment of the present invention, which can realize the details of the method for adjusting audio parameters in the above embodiment and achieve the same effect. As shown in FIG. 11 , a mobile terminal 1100 includes: at least one processor 1101 , a memory 1102 , at least one network interface 1104 and a user interface 1103 . Various components in the mobile terminal 1100 are coupled together through the bus system 1105 . It can be understood that the bus system 1105 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1105 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled bus system 1105 in FIG. 11 for clarity of illustration.
其中,用户接口1103可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(track ball)、触感板或者触摸屏等。Wherein, the user interface 1103 may include a display, a keyboard or a pointing device (for example, a mouse, a track ball (track ball), a touch panel or a touch screen, and the like.
可以理解,本发明实施例中的存储器1102可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable P ROM,EPROM)、电可擦除可编程只读存储器(Electrically EP ROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous D RAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleData Rate SD RAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SD RAM,ESDRAM)、同步连接动态随机存取存储器(Synch link D RAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器1102旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1102 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable P ROM, EPROM), electronic Erasable programmable read-only memory (Electrically EP ROM, EEPROM) or flash memory. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM) , SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SD RAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SD RAM, ESDRAM), synchronous connection dynamic random access memory (Synch link D RAM, SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). Memory 1102 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器1102存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统11021和应用程序11022。In some implementations, the memory 1102 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 11021 and an application program 11022 .
其中,操作系统11021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序11022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序9022中。Among them, the operating system 11021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 11022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to realize various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 9022 .
在本发明实施例中,通过调用存储器1102存储的程序或指令,具体的,可以是应用程序11022中存储的程序或指令,计算机程序被处理器1101执行时可实现如下步骤:检测所述移动终端的剩余电量;根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。In the embodiment of the present invention, by calling the program or instruction stored in the memory 1102, specifically, the program or instruction stored in the application program 11022, when the computer program is executed by the processor 1101, the following steps can be implemented: detect the mobile terminal the remaining power; according to the size of the remaining power, adjust the filter frequency and filter gain of the audio high-pass filter, and adjust the gain of the MBDRC module, wherein the adjusted audio high-pass filter The filter frequency is higher than the filter frequency before adjustment, the filter gain of the audio high-pass filter is lower than the filter gain before adjustment, and the gain of the MBDRC module is higher than the gain before adjustment; the adjusted audio high-pass filter is used Filtering the target audio signal, and using the adjusted MBDRC module to control the dynamic range of the target audio signal.
本发明实施例中,所述音频高通滤波器和所述MBDRC模块均可以为软件模块。In the embodiment of the present invention, both the audio high-pass filter and the MBDRC module may be software modules.
上述本发明实施例揭示的方法可以应用于处理器1101中,或者由处理器1101实现。处理器1101可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1101中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1101可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1102,处理器1101读取存储器1102中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1101 or implemented by the processor 1101 . The processor 1101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 1101 or instructions in the form of software. The aforementioned processor 1101 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1102, and the processor 1101 reads the information in the memory 1102, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选的,处理器1101执行的根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,包括:Optionally, the processing performed by the processor 1101 to adjust the filtering frequency and filtering gain of the audio high-pass filter and the gain of the MBDRC module according to the size of the remaining power includes:
若所述剩余电量小于预设阈值,则将音频高通滤波器的滤波频率调整为第一预设频率,将所述音频高通滤波器的滤波增益调整为第一预设增益,以及将MBDRC模块的增益调整为第二预设增益,其中,所述第一预设频率比所述音频高通滤波器调整前的滤波频率高,所述第一预设增益比所述音频高通滤波器调整前的滤波增益低,所述第二预设增益比所述MBDRC模块调整前的增益高。If the remaining power is less than the preset threshold, adjust the filter frequency of the audio high-pass filter to the first preset frequency, adjust the filter gain of the audio high-pass filter to the first preset gain, and adjust the MBDRC module The gain is adjusted to a second preset gain, wherein the first preset frequency is higher than the filtering frequency before the adjustment of the audio high-pass filter, and the first preset gain is higher than the filtering frequency before the adjustment of the audio high-pass filter The gain is low, and the second preset gain is higher than the gain before the adjustment of the MBDRC module.
可选的,处理器1101执行的所述使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制,包括:Optionally, the performing filtering processing on the target audio signal by using the adjusted audio high-pass filter performed by the processor 1101, and performing dynamic range control on the target audio signal by using the adjusted MBDRC module include :
使用调整后的所述音频高通滤波器对所述目标音频信号中小于所述第一预设频率的信号进行衰减处理;using the adjusted audio high-pass filter to attenuate signals of the target audio signal that are less than the first preset frequency;
使用调整后的所述MBDRC模块对所述目标音频信号中小于预设幅度的信号进行放大处理。The adjusted MBDRC module is used to amplify the signals of the target audio signal that are smaller than the preset amplitude.
可选的,处理器1101执行的所述根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,包括:Optionally, the adjusting the filtering frequency and filtering gain of the audio high-pass filter and adjusting the gain of the MBDRC module according to the size of the remaining power performed by the processor 1101 includes:
根据所述剩余电量、所述音频高通滤波器的滤波频率以及所述音频高通滤波器的滤波增益三者之间的第一预设关系,确定所述检测到的剩余电量对应的滤波频率和滤波增益;According to the first preset relationship between the remaining power, the filtering frequency of the audio high-pass filter, and the filtering gain of the audio high-pass filter, determine the filtering frequency and filter corresponding to the detected remaining power gain;
将所述音频高通滤波器的滤波频率调整为所述检测到的剩余电量对应的滤波频率,以及将所述音频高通滤波器的滤波增益调整为所述检测到的剩余电量对应的滤波频率,其中,所述检测到的剩余电量对应的滤波频率比所述音频高通滤波器调整前的滤波频率高,所述检测到的剩余电量对应的滤波增益比所述音频高通滤波器调整前的滤波增益低;adjusting the filtering frequency of the audio high-pass filter to the filtering frequency corresponding to the detected remaining power, and adjusting the filtering gain of the audio high-pass filter to the filtering frequency corresponding to the detected remaining power, wherein , the filtering frequency corresponding to the detected remaining power is higher than the filtering frequency before the adjustment of the audio high-pass filter, and the filtering gain corresponding to the detected remaining power is lower than the filtering gain before the adjustment of the audio high-pass filter ;
根据所述剩余电量与MBDRC模块的增益的第二预设关系,确定所检测到的剩余电量对应的MBDRC模块的增益;Determine the gain of the MBDRC module corresponding to the detected remaining power according to a second preset relationship between the remaining power and the gain of the MBDRC module;
将所述MBDRC模块的增益调整为所述确定的所检测到的剩余电量对应的MBDRC模块的增益,其中,所述确定的所检测到的剩余电量对应的MBDRC模块的增益比所述MBDRC模块调整前的增益高。Adjusting the gain of the MBDRC module to the gain of the MBDRC module corresponding to the determined detected remaining power, wherein the determined gain of the MBDRC module corresponding to the detected remaining power is greater than that of the MBDRC module adjusted The previous gain is high.
可选的,计算机程序被处理器1101执行时还可实现如下步骤:Optionally, when the computer program is executed by the processor 1101, the following steps may also be implemented:
若检测到所述移动终端处于充电状态,则将所述音频高通滤波器的滤波频率调整为第二预设频率,将所述音频高通滤波器的滤波增益调整为第三预设增益,将所述MBDRC模块的增益调整为第四预设增益;或者,If it is detected that the mobile terminal is in the charging state, then adjust the filtering frequency of the audio high-pass filter to the second preset frequency, adjust the filtering gain of the audio high-pass filter to the third preset gain, and adjust the filtering frequency of the audio high-pass filter to the third preset gain. The gain of the MBDRC module is adjusted to a fourth preset gain; or,
若所检测到的剩余电量大于预设阈值,则将所述音频高通滤波器的滤波频率调整为第二预设频率,将所述音频高通滤波器的滤波增益调整为第三预设增益,将所述MBDRC模块的增益调整为第四预设增益。If the detected remaining power is greater than the preset threshold, the filter frequency of the audio high-pass filter is adjusted to the second preset frequency, the filter gain of the audio high-pass filter is adjusted to the third preset gain, and The gain of the MBDRC module is adjusted to a fourth preset gain.
移动终端1100能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1100 is capable of implementing various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
本发明实施例的移动终端1100,检测所述移动终端的剩余电量;根据所述剩余电量的大小,对所述音频高通滤波器的滤波频率和滤波增益进行调整,以及对所述MBDRC模块的增益进行调整,其中,所述音频高通滤波器调整后的滤波频率比调整前的滤波频率高,所述音频高通滤波器的滤波增益比调整前的滤波增益低,所述MBDRC模块的增益比调整前的增益高;使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,以及使用调整后的所述MBDRC模块对所述目标音频信号进行动态范围控制。这样,通过使用调整后的所述音频高通滤波器对目标音频信号进行滤波处理,可以使所述移动终端的耗电降低,通过使用调整后的MBDRC模块对所述目标音频信号进行动态范围控制,可以提高所述移动终端输出的音频信号的声压级;从而使得移动终端在音频播放时,进行省电不需降低音量,降低了省电导致的对移动终端的音频播放效果的影响。The mobile terminal 1100 of the embodiment of the present invention detects the remaining power of the mobile terminal; adjusts the filtering frequency and filtering gain of the audio high-pass filter according to the size of the remaining power, and adjusts the gain of the MBDRC module Adjusting, wherein, the adjusted filtering frequency of the audio high-pass filter is higher than that before adjustment, the filtering gain of the audio high-pass filter is lower than that before adjustment, and the gain of the MBDRC module is lower than that before adjustment The gain is high; the adjusted audio high-pass filter is used to filter the target audio signal, and the adjusted MBDRC module is used to control the dynamic range of the target audio signal. In this way, by using the adjusted audio high-pass filter to filter the target audio signal, the power consumption of the mobile terminal can be reduced, and by using the adjusted MBDRC module to perform dynamic range control on the target audio signal, The sound pressure level of the audio signal output by the mobile terminal can be increased; thus, when the mobile terminal is playing audio, power saving does not need to lower the volume, and the impact of power saving on the audio playing effect of the mobile terminal is reduced.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710850337.5A CN107681993B (en) | 2017-09-14 | 2017-09-14 | A method and mobile terminal for adjusting audio parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710850337.5A CN107681993B (en) | 2017-09-14 | 2017-09-14 | A method and mobile terminal for adjusting audio parameters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107681993A true CN107681993A (en) | 2018-02-09 |
CN107681993B CN107681993B (en) | 2020-10-23 |
Family
ID=61136582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710850337.5A Active CN107681993B (en) | 2017-09-14 | 2017-09-14 | A method and mobile terminal for adjusting audio parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107681993B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413525A (en) * | 2018-09-30 | 2019-03-01 | Oppo广东移动通信有限公司 | Coding rate adjustment method, device, electronic device and storage medium |
CN115134675A (en) * | 2021-03-26 | 2022-09-30 | 北京小米移动软件有限公司 | Sound output method and device, electronic equipment and storage medium |
US11689655B2 (en) | 2018-10-15 | 2023-06-27 | Huawei Technologies Co., Ltd. | Method for adjusting parameter of audio service and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101188409A (en) * | 2006-11-21 | 2008-05-28 | 三洋电机株式会社 | Sound quality adjustment circuit and signal characteristic adjustment circuit |
JP2010098712A (en) * | 2008-10-15 | 2010-04-30 | Kotatsu Kokusai Denshi Kofun Yugenkoshi | Method and electronic device for driving capacitance electro-acoustic transducer |
CN102804598A (en) * | 2009-06-17 | 2012-11-28 | 索尼爱立信移动通讯有限公司 | Method and circuit for controlling an output of an audio signal of a battery-powered device |
US20150110292A1 (en) * | 2012-07-02 | 2015-04-23 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Device, method and computer program for freely selectable frequency shifts in the subband domain |
CN106125880A (en) * | 2016-06-14 | 2016-11-16 | 乐视控股(北京)有限公司 | The method for controlling volume of a kind of intelligent terminal and device and storage medium |
-
2017
- 2017-09-14 CN CN201710850337.5A patent/CN107681993B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101188409A (en) * | 2006-11-21 | 2008-05-28 | 三洋电机株式会社 | Sound quality adjustment circuit and signal characteristic adjustment circuit |
JP2010098712A (en) * | 2008-10-15 | 2010-04-30 | Kotatsu Kokusai Denshi Kofun Yugenkoshi | Method and electronic device for driving capacitance electro-acoustic transducer |
CN102804598A (en) * | 2009-06-17 | 2012-11-28 | 索尼爱立信移动通讯有限公司 | Method and circuit for controlling an output of an audio signal of a battery-powered device |
US20150110292A1 (en) * | 2012-07-02 | 2015-04-23 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Device, method and computer program for freely selectable frequency shifts in the subband domain |
CN106125880A (en) * | 2016-06-14 | 2016-11-16 | 乐视控股(北京)有限公司 | The method for controlling volume of a kind of intelligent terminal and device and storage medium |
Non-Patent Citations (2)
Title |
---|
WAN-RONE LIOU等: "Integrated Low-Voltage Filter-less Class-D Audio Power Amplifier with PWM DC/DC Buck Converter", 《 2010 INTERNATIONAL CONFERENCE ON COMMUNICATIONS, CIRCUITS AND SYSTEMS (ICCCAS)》 * |
莫爱雄 等: "数码超重低音处理器M51134P", 《电子制作》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413525A (en) * | 2018-09-30 | 2019-03-01 | Oppo广东移动通信有限公司 | Coding rate adjustment method, device, electronic device and storage medium |
CN109413525B (en) * | 2018-09-30 | 2020-01-14 | Oppo广东移动通信有限公司 | Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium |
US11689655B2 (en) | 2018-10-15 | 2023-06-27 | Huawei Technologies Co., Ltd. | Method for adjusting parameter of audio service and terminal |
US12069201B2 (en) | 2018-10-15 | 2024-08-20 | Huawei Technologies Co., Ltd. | Method for adjusting parameter of audio service and terminal |
CN115134675A (en) * | 2021-03-26 | 2022-09-30 | 北京小米移动软件有限公司 | Sound output method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107681993B (en) | 2020-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105068692B (en) | A kind of volume adjusting method and user terminal | |
WO2017215657A1 (en) | Sound effect processing method, and terminal device | |
CN107277268B (en) | A kind of audio playback method and mobile terminal | |
JP2012530431A (en) | Method and circuit for controlling the output of an audio signal of a battery powered device | |
CN110187861B (en) | Volume adjusting method, electronic equipment and computer readable storage medium | |
CN111033614B (en) | Volume adjustment method, device, mobile terminal and storage medium | |
US10268443B2 (en) | Earphone status detection method and terminal | |
CN107681993B (en) | A method and mobile terminal for adjusting audio parameters | |
CN110022515A (en) | Electronic equipment and its control method | |
WO2017032012A1 (en) | Volume adjusting method and user terminal | |
WO2016187946A1 (en) | Volume control method, electronic device and computer storage medium | |
CN107526570B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN107465824A (en) | volume adjusting method, device, mobile terminal and storage medium | |
CN106126184A (en) | A kind of audio signal player method and mobile terminal | |
CN107040661A (en) | Method and device for controlling playback volume of mobile terminal and mobile terminal | |
WO2017032031A1 (en) | Volume adjustment method and user terminal | |
CN106878868A (en) | A loudspeaker control device, method and mobile terminal | |
CN105022297A (en) | Sound box parameter configuration method, mobile terminal, server and system | |
CN107436751A (en) | Volume adjustment method, device, terminal equipment and storage medium | |
CN107506168B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN106954138A (en) | A kind of information processing method and electronic equipment | |
CN104639719A (en) | Calling method and communication terminal | |
CN105472128A (en) | Call control method and call control device | |
CN106454508A (en) | Volume adjustment method and playback terminal | |
CN106856537B (en) | Volume adjustment method and device |
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 |