CN108848267B - Audio playback method and mobile terminal - Google Patents
Audio playback method and mobile terminal Download PDFInfo
- Publication number
- CN108848267B CN108848267B CN201810678188.3A CN201810678188A CN108848267B CN 108848267 B CN108848267 B CN 108848267B CN 201810678188 A CN201810678188 A CN 201810678188A CN 108848267 B CN108848267 B CN 108848267B
- Authority
- CN
- China
- Prior art keywords
- parameter
- audio
- air pressure
- mobile terminal
- parameters
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
本发明提供了一种音频播放方法及移动终端,涉及音频处理技术领域,所述方法包括:获取气压参数,所述气压参数用于指示移动终端当前所在环境对应的气压;从至少一组音频参数中,获取与所述气压参数相对应的目标音频参数;根据所述目标音频参数播放音频文件。通过获取气压参数,并从至少一组音频参数中,获取与气压参数相对应的目标音频参数,最后根据该目标音频参数播放音频文件。通过在不同气压环境下,扬声器的各个元器件的物理特性发生变化,采用不同的音频参数播放音频文件,消除了由于各个元器件的物理特性发生变化而产生的影响,使得播放的声音更加接近真实的声音,提高了播放音频文件的还原程度,提高了播放音频文件的灵活性。
The present invention provides an audio playback method and a mobile terminal, and relates to the technical field of audio processing. The method includes: acquiring an air pressure parameter, where the air pressure parameter is used to indicate the air pressure corresponding to the current environment of the mobile terminal; from at least one set of audio parameters , obtain the target audio parameter corresponding to the air pressure parameter; play the audio file according to the target audio parameter. By acquiring the air pressure parameter, and from at least one set of audio parameters, the target audio parameter corresponding to the air pressure parameter is obtained, and finally the audio file is played according to the target audio parameter. By changing the physical characteristics of each component of the speaker under different air pressure environments, different audio parameters are used to play audio files, which eliminates the influence caused by the changes in the physical characteristics of each component, and makes the played sound closer to reality. It improves the restoration degree of playing audio files and improves the flexibility of playing audio files.
Description
技术领域technical field
本发明实施例涉及音频处理技术领域,尤其涉及一种音频播放方法及移动终端。Embodiments of the present invention relate to the technical field of audio processing, and in particular, to an audio playback method and a mobile terminal.
背景技术Background technique
随着移动终端的不断发展,用户不但可以通过移动终端与其他用户进行语音通话,还可以通过移动终端的扬声器播放音频文件,例如听歌、看视频等。With the continuous development of mobile terminals, users can not only make voice calls with other users through the mobile terminals, but also play audio files, such as listening to songs and watching videos, through the speakers of the mobile terminals.
相关技术中,移动终端在通过扬声器播放音频文件的过程中,可以先获取预先存储的音频参数,例如,EQ(Equalizer,均衡器)、音效和保护算法等,再采用与音频参数相对应的方式,对音频文件进行播放。其中,该音频参数是在标准大气压下调试得到的。In the related art, in the process of playing the audio file through the speaker, the mobile terminal can first obtain the pre-stored audio parameters, such as EQ (Equalizer, equalizer), sound effects and protection algorithms, etc., and then adopt the method corresponding to the audio parameters. , to play the audio file. Among them, the audio parameters are debugged under standard atmospheric pressure.
但是,当用户所在环境的大气压发生变化时,扬声器内各个元器件的物理特性会发生变化,例如振幅变大,再根据预先调试并存储的音频参数进行播放,则扬声器播放发出的声音无法还原真实的声音。However, when the atmospheric pressure of the user's environment changes, the physical characteristics of each component in the speaker will change, for example, the amplitude will become larger, and then playback according to the pre-tuned and stored audio parameters, the sound from the speaker playback cannot be restored to the real the sound of.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种音频播放方法及移动终端,以解决当用户所在环境的大气压发生变化时,扬声器内各个元器件的物理特性会发生变化,扬声器播放发出的声音无法还原真实的声音的问题。Embodiments of the present invention provide an audio playback method and a mobile terminal, so as to solve the problem that when the atmospheric pressure of the user's environment changes, the physical characteristics of each component in the speaker will change, and the sound produced by the speaker cannot restore the real sound. .
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例还提供了一种音频播放方法,应用于移动终端,所述方法包括:In a first aspect, an embodiment of the present invention further provides an audio playback method, which is applied to a mobile terminal, and the method includes:
获取气压参数,所述气压参数用于指示移动终端当前所在环境对应的气压;acquiring air pressure parameters, where the air pressure parameters are used to indicate the air pressure corresponding to the environment where the mobile terminal is currently located;
从至少一组音频参数中,获取与所述气压参数相对应的目标音频参数;From at least one set of audio parameters, obtain a target audio parameter corresponding to the air pressure parameter;
根据所述目标音频参数播放音频文件。Play the audio file according to the target audio parameters.
第二方面,本发明实施例提供了一种移动终端,所述移动终端包括:In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
第一获取模块,用于获取气压参数,所述气压参数用于指示移动终端当前所在环境对应的气压;a first obtaining module, configured to obtain an air pressure parameter, where the air pressure parameter is used to indicate the air pressure corresponding to the current environment where the mobile terminal is located;
第二获取模块,用于从至少一组音频参数中,获取与所述气压参数相对应的目标音频参数;a second obtaining module, configured to obtain a target audio parameter corresponding to the air pressure parameter from at least one set of audio parameters;
播放模块,用于根据所述目标音频参数播放音频文件。A playing module is used to play the audio file according to the target audio parameter.
第三方面,本发明实施例提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述第一方面中任一项所述的音频播放方法的步骤。In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor When implementing the steps of the audio playback method according to any one of the above-mentioned first aspects.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上述第一方面中任一项所述的音频播放方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of the above-mentioned first aspects is implemented. The steps of the audio playback method described above.
在本发明实施例中,通过获取气压参数,并从至少一组音频参数中,获取与气压参数相对应的目标音频参数,最后根据该目标音频参数播放音频文件。通过在不同气压环境下,扬声器的各个元器件的物理特性发生变化,采用不同的音频参数播放音频文件,消除了由于各个元器件的物理特性发生变化而产生的影响,使得播放的声音更加接近真实的声音,提高了播放音频文件的还原程度,提高了播放音频文件的灵活性。In the embodiment of the present invention, the air pressure parameter is obtained, and the target audio parameter corresponding to the air pressure parameter is obtained from at least one set of audio parameters, and finally the audio file is played according to the target audio parameter. By changing the physical characteristics of each component of the speaker under different air pressure environments, different audio parameters are used to play audio files, which eliminates the influence caused by the changes in the physical characteristics of each component, and makes the played sound closer to reality. It improves the restoration degree of playing audio files and improves the flexibility of playing audio files.
附图说明Description of drawings
图1是本发明实施例提供的一种音频播放方法所涉及的播放系统的示意图;1 is a schematic diagram of a playback system involved in an audio playback method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种音频播放方法的步骤流程图;2 is a flowchart of steps of an audio playback method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种音频播放方法的步骤流程图;3 is a flowchart of steps of an audio playback method provided by an embodiment of the present invention;
图4是本发明实施例提供的一种移动终端的结构框图;4 is a structural block diagram of a mobile terminal provided by an embodiment of the present invention;
图5是本发明实施例提供的一种移动终端的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1是根据部分示例性实施例示出的一种音频播放方法所涉及的播放系统的示意图,如图1所示,该播放系统可以包括:处理器101、存储器102、扬声器103和气压计104。FIG. 1 is a schematic diagram of a playback system involved in an audio playback method according to some exemplary embodiments. As shown in FIG. 1 , the playback system may include: a
其中,处理器101分别与存储器102、扬声器103和气压计104连接。而且,该气压计104可以贴近扬声器103放置,以便采集得到的气压参数能够更加接近扬声器103所处的环境。The
具体地,当检测到播放音频文件之后,处理器101可以获取气压计104所检测的气压参数,处理器101可以根据预先设置的对应关系,从存储器102中查找得到与气压参数相对应的目标音频参数,再采用该目标音频参数,通过扬声器103对音频文件进行播放。Specifically, after detecting the playing of the audio file, the
需要说明的是,处理器101可以为DSP(Digital Signal Processing,数字信号处理),该存储器102可以为MTP(Media Transfer Protocol,媒体传输协议),当然还可以采用其他元器件作为处理器101和存储器102,本发明实施例对此不做限定。It should be noted that the
参照图2,示出了本发明实施例的一种音频播放方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2, a flowchart of steps of an audio playback method according to an embodiment of the present invention is shown, which may specifically include the following steps:
步骤201,获取气压参数。
其中,该气压参数用于指示移动终端当前所在环境对应的气压。The air pressure parameter is used to indicate the air pressure corresponding to the environment where the mobile terminal is currently located.
由于移动终端在播放音频文件的过程中,受到大气压影响,播放音频文件的扬声器的物理特性会发生变化。为了避免播放的音频文件的声音发生变化,需要采用不同的音频参数对音频文件进行播放。Since the mobile terminal is affected by atmospheric pressure in the process of playing the audio file, the physical characteristics of the speaker for playing the audio file will change. In order to prevent the sound of the played audio file from changing, it is necessary to use different audio parameters to play the audio file.
因此,移动终端在播放音频文件时,需要获取气压参数,以便根据该气体参数确定移动终端当前所在环境的气压,以便在后续步骤中,移动终端可以根据该气压参数获取相对应的音频参数。Therefore, when the mobile terminal plays the audio file, it needs to obtain the air pressure parameter, so as to determine the air pressure of the current environment where the mobile terminal is located according to the air parameter, so that in the subsequent steps, the mobile terminal can obtain the corresponding audio parameter according to the air pressure parameter.
具体地,移动终端可以通过预先设置的气压计,对移动终端当前所在环境的气压进行采集,得到气压参数,并向移动终端的处理器发送该气压参数,处理器则可以接收该气压参数,完成对气压参数的获取。Specifically, the mobile terminal can collect the air pressure of the current environment where the mobile terminal is located through a preset barometer, obtain air pressure parameters, and send the air pressure parameters to the processor of the mobile terminal, and the processor can receive the air pressure parameters, and complete Access to air pressure parameters.
需要说明的是,移动终端可以实时获取气压参数,也可以每隔预设时长获取一次气压参数,本发明实施例对此不做限定。It should be noted that the mobile terminal may acquire the air pressure parameter in real time, or may acquire the air pressure parameter every preset time period, which is not limited in this embodiment of the present invention.
步骤202,从至少一组音频参数中,获取与气压参数相对应的目标音频参数。Step 202: Acquire a target audio parameter corresponding to the air pressure parameter from at least one set of audio parameters.
移动终端在获取气压参数后,则可以根据预先存储的气压参数与音频参数之间的对应关系,查找得到与当前采集的气压参数相对应的目标音频参数,以便在后续步骤中,移动终端可以根据该目标音频参数对音频文件进行播放。After acquiring the air pressure parameters, the mobile terminal can search and obtain the target audio parameters corresponding to the currently collected air pressure parameters according to the correspondence between the pre-stored air pressure parameters and the audio parameters, so that in subsequent steps, the mobile terminal can The target audio parameter plays the audio file.
具体地,移动终端可以先获取气压参数与音频参数之间的对应关系,并在该对应关系中的各个气压参数中,查找与本次获取的气压参数相一致的目标气压参数,从而将与该目标气压参数相对应的音频参数作为目标音频参数。Specifically, the mobile terminal can first obtain the corresponding relationship between the air pressure parameters and the audio parameters, and in each air pressure parameter in the corresponding relationship, search for the target air pressure parameter that is consistent with the air pressure parameter obtained this time, so as to compare the air pressure parameter with the air pressure parameter obtained this time. The audio parameter corresponding to the target air pressure parameter is used as the target audio parameter.
需要说明的是,移动终端可以预先根据气压计的检测精度、用户的活动范围所对应的不同气压,以及移动终端的处理器的处理能力,确定多个气压参数,并在每个气压参数所对应的环境中进行测试,得到与各个气压参数相对应的音频参数,从而建立气压参数与音频参数之间的对应关系。It should be noted that the mobile terminal can determine a plurality of air pressure parameters in advance according to the detection accuracy of the barometer, the different air pressures corresponding to the user's range of activities, and the processing capability of the processor of the mobile terminal. The test is carried out in the environment of the device, and the audio parameters corresponding to each air pressure parameter are obtained, so as to establish the corresponding relationship between the air pressure parameter and the audio parameter.
其中,该气压计的检测精度可以为0.03,用户的活动范围可以为盆地至高原分别对应的不同气压。Among them, the detection accuracy of the barometer can be 0.03, and the user's activity range can be different air pressures corresponding to the basin to the plateau.
步骤203,根据目标音频参数播放音频文件。Step 203: Play the audio file according to the target audio parameter.
移动终端在获取目标音频参数后,则可以根据该目标音频参数对音频文件进行播放,使得播放的声音不会因为扬声器的物理特性发生改变而变化,得到更加接近原有品质的声音。After acquiring the target audio parameter, the mobile terminal can play the audio file according to the target audio parameter, so that the played sound will not be changed due to the change of the physical characteristics of the speaker, and the sound closer to the original quality can be obtained.
具体地,移动终端可以先获取音频文件,并对音频文件进行解码,再将解码得到的数字信号转换为模拟信号,通过目标音频参数中的各个参数,对模拟信号进行处理,得到处理后的模拟信号,最后通过扬声器播放处理后的模拟信号,完成对音频文件的播放。Specifically, the mobile terminal can first obtain the audio file, decode the audio file, and then convert the decoded digital signal into an analog signal, and process the analog signal through various parameters in the target audio parameters to obtain the processed analog signal. signal, and finally play the processed analog signal through the speaker to complete the playback of the audio file.
综上所述,本发明实施例提供的音频播放方法,通过获取气压参数,并从至少一组音频参数中,获取与气压参数相对应的目标音频参数,最后根据该目标音频参数播放音频文件。通过在不同气压环境下,扬声器的各个元器件的物理特性发生变化,采用不同的音频参数播放音频文件,消除了由于各个元器件的物理特性发生变化而产生的影响,使得播放的声音更加接近真实的声音,提高了播放音频文件的还原程度,提高了播放音频文件的灵活性。To sum up, the audio playback method provided by the embodiment of the present invention acquires the air pressure parameter, obtains the target audio parameter corresponding to the air pressure parameter from at least one set of audio parameters, and finally plays the audio file according to the target audio parameter. By changing the physical characteristics of each component of the speaker under different air pressure environments, different audio parameters are used to play audio files, which eliminates the influence caused by the changes in the physical characteristics of each component, and makes the played sound closer to reality. It improves the restoration degree of playing audio files and improves the flexibility of playing audio files.
参照图3,示出了本发明实施例的一种音频播放方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 3, a flowchart of steps of an audio playback method according to an embodiment of the present invention is shown, which may specifically include the following steps:
步骤301,检测移动终端是否播放音频文件。
由于在不同的气压环境下,扬声器内各个元器件的物理特性会发生变化,导致播放的声音受到影响。为了避免播放的声音受到影响,还原音频文件的真实声音,移动终端可以获取当前所在环境对应的气压参数,以便根据不同的气压参数采用不同的音频参数进行播放。Due to the different air pressure environment, the physical properties of various components in the speaker will change, which will affect the sound played. In order to prevent the playing sound from being affected and restore the real sound of the audio file, the mobile terminal can obtain the air pressure parameter corresponding to the current environment, so as to use different audio parameters to play according to different air pressure parameters.
但是,在移动终端获取气压参数之前,移动终端需要检测是否正在播放音频文件,当移动终端正在播放音频文件时,则移动终端才需要获取气压参数。However, before the mobile terminal acquires the air pressure parameters, the mobile terminal needs to detect whether an audio file is being played. When the mobile terminal is playing the audio file, the mobile terminal only needs to acquire the air pressure parameters.
具体地,移动终端可以检测用户触发的播放操作,该播放操作用于控制移动终端播放音频文件。当移动终端检测到用户触发的播放操作时,则说明用户需要通过移动终端播放音频文件;但是,如果移动终端并未检测到用户触发的播放操作,则说明移动终端并没有播放音频文件,无需获取当前环境所对应的气压参数,而是需要继续检测用户触发的播放操作,以便在用户触发播放操作时,能够及时根据该播放操作获取气压参数,确定音频参数,完成对音频文件的播放。Specifically, the mobile terminal can detect a play operation triggered by the user, and the play operation is used to control the mobile terminal to play the audio file. When the mobile terminal detects the user-triggered playback operation, it means that the user needs to play the audio file through the mobile terminal; however, if the mobile terminal does not detect the user-triggered playback operation, it means that the mobile terminal does not play the audio file, and there is no need to obtain the audio file. The air pressure parameter corresponding to the current environment needs to continue to detect the playback operation triggered by the user, so that when the user triggers the playback operation, the air pressure parameter can be obtained according to the playback operation in time, the audio parameters can be determined, and the audio file playback can be completed.
步骤302,当移动终端正在播放音频文件时,获取气压参数。
本步骤302与步骤201类似,在此不再赘述。This
步骤303,确定气压参数与标准气压参数之间的气压差值。Step 303: Determine the air pressure difference between the air pressure parameter and the standard air pressure parameter.
由于移动终端所在环境的气压可能发生变化,导致扬声器各个元器件的物理特性发生变化,而移动终端预先存储的针对扬声器的保护措施则在气压发生变化时,失去保护作用。Since the air pressure of the environment where the mobile terminal is located may change, the physical characteristics of each component of the speaker will change, and the protection measures for the speaker pre-stored by the mobile terminal will lose their protective effect when the air pressure changes.
因此,移动终端可以先判断当前环境所对应的气压是否与标准气压相差较大,确定移动终端在当前环境下播放音频文件是否会对扬声器内的各个元器件造成损伤。Therefore, the mobile terminal can first determine whether the air pressure corresponding to the current environment is significantly different from the standard air pressure, and determine whether the playback of the audio file by the mobile terminal in the current environment will cause damage to various components in the speaker.
具体地,移动终端在获取气压参数后,可以根据该气压参数与预先设置的标准气压参数进行计算,得到气压参数与标准气压参数之间的气压差值,并判断该气压差值是否大于预先设置的预设安全阈值。Specifically, after acquiring the air pressure parameter, the mobile terminal can perform calculation according to the air pressure parameter and the preset standard air pressure parameter, obtain the air pressure difference value between the air pressure parameter and the standard air pressure parameter, and determine whether the air pressure difference value is greater than the preset value. preset safety threshold.
其中,该预设安全阈值可以根据扬声器的各个元器件的物理性能进行设置,当然还可以采用其他方式进行设置,本发明实施例对此不做限定。The preset safety threshold may be set according to the physical performance of each component of the speaker, and of course, may also be set in other manners, which is not limited in this embodiment of the present invention.
如果该气压差值不大于预设安全阈值,则说明移动终端当前所在环境的气压与标准气压相差不大,在当前环境中播放音频文件并不会对扬声器的各个元器件造成损伤,则可以执行步骤304。If the air pressure difference is not greater than the preset safety threshold, it means that the air pressure in the current environment of the mobile terminal is not much different from the standard air pressure, and playing audio files in the current environment will not cause damage to various components of the speaker, you can execute Step 304.
但是,如果该气压差值大于预设安全阈值,则说明移动终端当前所在环境的气压与标准气压相差较大,如果播放音频文件会对扬声器的各个元器件造成不可恢复的损伤,则需要执行步骤305。However, if the air pressure difference is greater than the preset safety threshold, it means that the air pressure in the current environment of the mobile terminal is quite different from the standard air pressure. If playing the audio file will cause irreversible damage to various components of the speaker, you need to perform
步骤304,当气压差值不大于预设安全阈值时,从至少一组音频参数中,获取与气压参数相对应的目标音频参数。Step 304, when the air pressure difference is not greater than the preset safety threshold, obtain a target audio parameter corresponding to the air pressure parameter from at least one set of audio parameters.
当气压差值不大于预设安全阈值时,则移动终端可以根据该气压参数,从至少一组音频参数中进行查找,得到与气压参数相对应的目标音频参数。而且,该目标音频参数可以包括第一音频参数和第二音频参数,该第一音频参数为可以根据环境和/或用户喜好进行调节的音频参数,该第二音频参数为预先根据不同的气压参数调试好的音频参数。When the air pressure difference is not greater than the preset safety threshold, the mobile terminal may search from at least one set of audio parameters according to the air pressure parameter to obtain the target audio parameter corresponding to the air pressure parameter. Moreover, the target audio parameter may include a first audio parameter and a second audio parameter, the first audio parameter is an audio parameter that can be adjusted according to the environment and/or user preferences, and the second audio parameter is pre-based on different air pressure parameters Debugged audio parameters.
例如,该第一音频参数可以为音效,该第二音频参数可以为EQ、增益和保护算法中的至少一种参数。For example, the first audio parameter may be a sound effect, and the second audio parameter may be at least one parameter among EQ, gain, and protection algorithm.
因此,移动终端在获取目标音频参数的过程中,可以先向用户展示第一音频参数对应的至少一个参数值,并根据用户触发的选择操作确定第一音频参数对应的参数值,再根据预先设置的气压参数与第二音频参数之间的对应关系,确定与当前气压参数相对应的第二音频参数所对应的参数值,从而确定目标音频参数中各个音频参数对应的参数值。Therefore, in the process of acquiring the target audio parameter, the mobile terminal can first display at least one parameter value corresponding to the first audio parameter to the user, and determine the parameter value corresponding to the first audio parameter according to the selection operation triggered by the user, and then according to the preset The corresponding relationship between the air pressure parameter and the second audio parameter is determined, the parameter value corresponding to the second audio parameter corresponding to the current air pressure parameter is determined, and the parameter value corresponding to each audio parameter in the target audio parameter is determined.
可选的,移动终端可以向用户展示第一音频参数对应的至少一个参数值,并响应于用户触发的选择操作,从至少一个参数值中,确定用户选择的参数值为第一音频参数,再根据预设的气压参数与第二音频参数的对应关系,确定与气压参数对应的第二音频参数。Optionally, the mobile terminal may display at least one parameter value corresponding to the first audio parameter to the user, and in response to a selection operation triggered by the user, determine the parameter value selected by the user from the at least one parameter value as the first audio parameter, and then determine the value of the parameter selected by the user. The second audio parameter corresponding to the air pressure parameter is determined according to the preset correspondence between the air pressure parameter and the second audio parameter.
具体地,移动终端可以先向用户展示第一音频参数对应的至少一个参数值,使得用户可以根据个人喜好对第一音频参数进行选择。移动终端可以检测用户触发的选择操作,当检测到用户触发的选择操作时,可以响应于该选择操作,将与该选择操作相对应的参数值作为第一音频参数的参数值。Specifically, the mobile terminal may first display at least one parameter value corresponding to the first audio parameter to the user, so that the user may select the first audio parameter according to personal preference. The mobile terminal can detect the selection operation triggered by the user, and when detecting the selection operation triggered by the user, can respond to the selection operation and use the parameter value corresponding to the selection operation as the parameter value of the first audio parameter.
移动终端在确定第一音频参数后,可以获取气压参数与第二音频参数之间的对应关系,并从对应关系中查找与当前环境的气压参数相对应的气压参数,再获取与该气压参数相对应的第二音频参数的参数值,最后分别得到了第一音频参数和第二音频参数对应的参数值,得到目标音频参数。After determining the first audio parameter, the mobile terminal can obtain the corresponding relationship between the air pressure parameter and the second audio parameter, search for the air pressure parameter corresponding to the air pressure parameter of the current environment from the corresponding relationship, and then obtain the air pressure parameter corresponding to the air pressure parameter. The parameter values of the corresponding second audio parameters are finally obtained respectively, and the parameter values corresponding to the first audio parameters and the second audio parameters are obtained respectively, and the target audio parameters are obtained.
需要说明的是,在实际应用中,第一音频参数可能包括一个音频参数,也可能包括多个音频参数,而本发明实施例仅是以第一音频参数包括一个音频参数为例进行说明,本发明实施例对第一音频参数所包括的音频参数的数目不做限定。It should be noted that, in practical applications, the first audio parameter may include one audio parameter, or may include multiple audio parameters, and this embodiment of the present invention only takes the first audio parameter including one audio parameter as an example for description. The embodiment of the invention does not limit the number of audio parameters included in the first audio parameter.
进一步地,移动终端在展示至少一个参数值的过程中,可以向用户推荐与当前气压相匹配的参数值,使得用户在收听移动终端播放的音频文件时,可以听到更加悦耳动听的声音。Further, in the process of displaying at least one parameter value, the mobile terminal can recommend a parameter value matching the current air pressure to the user, so that the user can hear a more pleasant sound when listening to the audio file played by the mobile terminal.
例如,当第一音频参数为音效时,对应的参数值可以包括空灵音效、低沉音效和正常音效,如果移动终端当前所在的气压低于标准大气压,则可以推荐用户选取空灵音效;如果移动终端当前所在的气压高于标准大气压,则可以推荐用户选取低沉音效。For example, when the first audio parameter is sound effects, the corresponding parameter values may include ethereal sound effects, deep sound effects, and normal sound effects. If the current air pressure of the mobile terminal is lower than the standard atmospheric pressure, the user may be recommended to select ethereal sound effects; If the air pressure is higher than the standard atmospheric pressure, users can be recommended to select a low sound effect.
步骤305,当气压差值大于预设安全阈值时,停止播放音频文件。
如果移动终端确定气压差值大于预设安全阈值,则说明移动终端当前所在环境的气压与标准气压相差较大,如果移动终端在当前环境中播放音频文件,则会对扬声器的各个元器件造成损伤。If the mobile terminal determines that the air pressure difference is greater than the preset safety threshold, it means that the air pressure in the current environment of the mobile terminal is quite different from the standard air pressure. If the mobile terminal plays audio files in the current environment, it will cause damage to various components of the speaker. .
因此,移动终端在确定气压差值大于预设安全阈值时,可以停止播放音频文件,并提示用户当前气压与标准气压过大,播放音频文件会对扬声器造成损伤。Therefore, when the mobile terminal determines that the air pressure difference is greater than the preset safety threshold, it can stop playing the audio file, and prompt the user that the current air pressure and the standard air pressure are too large, and playing the audio file will cause damage to the speaker.
进一步地,如果移动终端的界面继续停留在播放音频文件的界面时,则移动终端可以循环执行步骤302至步骤303,直至气压差值不大于预设安全阈值,执行步骤304。Further, if the interface of the mobile terminal continues to stay on the interface of playing audio files, the mobile terminal may perform
步骤306,根据目标音频参数播放音频文件。
本步骤306与步骤203的过程类似,在此不做赘述。This
步骤307,当检测到用户触发的停止播放操作时,停止获取气压参数。
其中,该停止播放操作用于指示移动终端停止播放音频文件。The stop playing operation is used to instruct the mobile terminal to stop playing the audio file.
移动终端在根据目标音频参数播放音频文件的过程中,可以检测用户触发的停止播放操作,并在根据该停止播放操作停止播放音频文件的同时,停止获取气压参数。During the process of playing the audio file according to the target audio parameter, the mobile terminal can detect the stop playing operation triggered by the user, and stop acquiring the air pressure parameter while stopping the playing of the audio file according to the stop playing operation.
可选的,移动终端可以检测停止播放操作,当检测到用户触发的停止播放操作时,停止获取气压参数。具体地,移动终端在播放音频文件的过程中,可以检测用户触发的停止播放操作,当检测到该停止播放操作时,移动终端可以停止播放音频文件,并且,停止获取气压参数。Optionally, the mobile terminal may detect the stop playing operation, and stop acquiring the air pressure parameter when detecting the stop playing operation triggered by the user. Specifically, in the process of playing the audio file, the mobile terminal can detect the stop playing operation triggered by the user, and when the stop playing operation is detected, the mobile terminal can stop playing the audio file and stop acquiring the air pressure parameter.
需要说明的是,如果移动终端在步骤302中是持续实时获取气压参数,则在检测到停止播放操作后,移动终端可以立即停止获取气压参数。但是,如果移动终端是周期性的获取气压参数,则在下一个周期内移动终端不再获取气压参数。It should be noted that, if the mobile terminal continuously acquires the air pressure parameter in real time in
综上所述,本发明实施例提供的音频播放方法,通过获取气压参数,并从至少一组音频参数中,获取与气压参数相对应的目标音频参数,最后根据该目标音频参数播放音频文件。通过在不同气压环境下,扬声器的各个元器件的物理特性发生变化,采用不同的音频参数播放音频文件,消除了由于各个元器件的物理特性发生变化而产生的影响,使得播放的声音更加接近真实的声音,提高了播放音频文件的还原程度,提高了播放音频文件的灵活性。To sum up, the audio playback method provided by the embodiment of the present invention acquires the air pressure parameter, obtains the target audio parameter corresponding to the air pressure parameter from at least one set of audio parameters, and finally plays the audio file according to the target audio parameter. By changing the physical characteristics of each component of the speaker under different air pressure environments, different audio parameters are used to play audio files, which eliminates the influence caused by the changes in the physical characteristics of each component, and makes the played sound closer to reality. It improves the restoration degree of playing audio files and improves the flexibility of playing audio files.
进一步地,通过向用户展示第一音频参数对应的至少一个参数值,并根据用户触发的选择操作确定第一音频参数的参数值,并根据预设的气压参数与第二音频参数的对应关系,确定与气压参数对应的第二音频参数,从而确定目标音频参数的各个参数值。通过采用不同方式确定不同的音频参数所对应的参数值,能够提高目标音频参数的准确度,从而进一步优化移动终端所播放的音效,提高了播放音频文件的还原程度。Further, by showing the user at least one parameter value corresponding to the first audio parameter, and determining the parameter value of the first audio parameter according to the selection operation triggered by the user, and according to the preset correspondence between the air pressure parameter and the second audio parameter, A second audio parameter corresponding to the air pressure parameter is determined, thereby determining each parameter value of the target audio parameter. By using different methods to determine the parameter values corresponding to different audio parameters, the accuracy of the target audio parameters can be improved, thereby further optimizing the sound effects played by the mobile terminal and improving the restoration degree of the played audio files.
进一步地,通过检查移动终端是否播放音频文件,当检测到移动终端正在播放音频文件时,再获取气压参数,避免了在并未播放音频文件时就获取气压参数的情况,提高了获取气压参数的有效性。Further, by checking whether the mobile terminal is playing the audio file, when it is detected that the mobile terminal is playing the audio file, the air pressure parameter is obtained, which avoids the situation of obtaining the air pressure parameter when the audio file is not played, and improves the acquisition of the air pressure parameter. effectiveness.
进一步地,通过获取气压参数与标准气压参数之间的气压差值,并判断该气压差值是否大于预设安全阈值,再根据该判断结果确定是否需要对移动终端的扬声器进行保护,从而停止播放音频文件,避免在气压相差较大的情况下播放音频文件,从而对扬声器造成损伤,提高了播放音频文件的安全性。Further, by obtaining the air pressure difference between the air pressure parameter and the standard air pressure parameter, and judging whether the air pressure difference is greater than the preset safety threshold, and then determining whether the speaker of the mobile terminal needs to be protected according to the judgment result, thereby stopping the playback. Audio files are prevented from playing audio files in the case of a large difference in air pressure, thereby causing damage to the speakers, and improving the security of playing audio files.
参照图4,示出了本发明实施例的一种移动终端的结构框图,具体可以包括:Referring to FIG. 4, a structural block diagram of a mobile terminal according to an embodiment of the present invention is shown, which may specifically include:
第一获取模块401,用于获取气压参数,该气压参数用于指示移动终端当前所在环境对应的气压;The first obtaining
第二获取模块402,用于从至少一组音频参数中,获取与该气压参数相对应的目标音频参数;A second obtaining
播放模块403,用于根据该目标音频参数播放音频文件。The
可选的,该目标音频参数包括第一音频参数和第二音频参数;Optionally, the target audio parameter includes a first audio parameter and a second audio parameter;
该第二获取模块402包括:The second obtaining
展示子模块,用于向用户展示该第一音频参数对应的至少一个参数值;a display submodule, configured to display at least one parameter value corresponding to the first audio parameter to the user;
第一确定子模块,用于响应于用户触发的选择操作,从该至少一个参数值中,确定用户选择的参数值为第一音频参数;a first determination submodule, configured to, in response to a selection operation triggered by the user, determine the parameter value selected by the user from the at least one parameter value as the first audio parameter;
第二确定子模块,用于根据预设的气压参数与第二音频参数的对应关系,确定与该气压参数对应的第二音频参数。The second determination sub-module is configured to determine the second audio parameter corresponding to the air pressure parameter according to the preset correspondence between the air pressure parameter and the second audio parameter.
可选的,该第一获取模块401包括:Optionally, the first obtaining
获取子模块,用于当该移动终端正在播放该音频文件时,获取该气压参数。The acquiring submodule is used to acquire the air pressure parameter when the mobile terminal is playing the audio file.
可选的,该移动终端还包括:Optionally, the mobile terminal further includes:
确定模块,用于确定该气压参数与标准气压参数之间的气压差值;a determination module for determining the air pressure difference between the air pressure parameter and the standard air pressure parameter;
停止播放模块403,用于当该气压差值大于预设安全阈值时,停止播放该音频文件;A
该第二获取模块402包括:The second obtaining
获取子模块,用于当该气压差值不大于该预设安全阈值时,从该至少一组音频参数中,获取与该气压参数相对应的目标音频参数。An obtaining submodule is configured to obtain a target audio parameter corresponding to the air pressure parameter from the at least one set of audio parameters when the air pressure difference is not greater than the preset safety threshold.
可选的,该移动终端还包括:Optionally, the mobile terminal further includes:
检测模块,用于检测停止播放操作,该停止播放操作用于指示该移动终端停止播放音频文件;a detection module, used for detecting a stop playing operation, and the stop playing operation is used to instruct the mobile terminal to stop playing the audio file;
停止获取模块,用于当检测到用户触发的停止播放操作时,停止获取该气压参数。The stop acquisition module is used to stop acquiring the air pressure parameter when a stop playback operation triggered by the user is detected.
本发明实施例提供的移动终端能够实现图2至图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments shown in FIG. 2 to FIG. 3 . To avoid repetition, details are not repeated here.
综上所述,本发明实施例提供的移动终端,通过获取气压参数,并从至少一组音频参数中,获取与气压参数相对应的目标音频参数,最后根据该目标音频参数播放音频文件。通过在不同气压环境下,扬声器的各个元器件的物理特性发生变化,采用不同的音频参数播放音频文件,消除了由于各个元器件的物理特性发生变化而产生的影响,使得播放的声音更加接近真实的声音,提高了播放音频文件的还原程度,提高了播放音频文件的灵活性。To sum up, the mobile terminal provided by the embodiment of the present invention obtains the target audio parameter corresponding to the air pressure parameter from at least one set of audio parameters by acquiring the air pressure parameter, and finally plays the audio file according to the target audio parameter. By changing the physical characteristics of each component of the speaker under different air pressure environments, different audio parameters are used to play audio files, which eliminates the influence caused by the changes in the physical characteristics of each component, and makes the played sound closer to reality. It improves the restoration degree of playing audio files and improves the flexibility of playing audio files.
图5为实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。5 is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention. The
其中,传感器505,用于获取气压参数,所述气压参数用于指示移动终端当前所在环境对应的气压;Wherein, the
处理器510,用于从至少一组音频参数中,获取与所述气压参数相对应的目标音频参数;a
音频输出单元503,用于根据所述目标音频参数播放音频文件。The
综上所述,本发明实施例提供的移动终端,通过获取气压参数,并从至少一组音频参数中,获取与气压参数相对应的目标音频参数,最后根据该目标音频参数播放音频文件。通过在不同气压环境下,扬声器的各个元器件的物理特性发生变化,采用不同的音频参数播放音频文件,消除了由于各个元器件的物理特性发生变化而产生的影响,使得播放的声音更加接近真实的声音,提高了播放音频文件的还原程度,提高了播放音频文件的灵活性。To sum up, the mobile terminal provided by the embodiment of the present invention obtains the target audio parameter corresponding to the air pressure parameter from at least one set of audio parameters by acquiring the air pressure parameter, and finally plays the audio file according to the target audio parameter. By changing the physical characteristics of each component of the speaker under different air pressure environments, different audio parameters are used to play audio files, which eliminates the influence caused by the changes in the physical characteristics of each component, and makes the played sound closer to reality. It improves the restoration degree of playing audio files and improves the flexibility of playing audio files.
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
移动终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与移动终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The
移动终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The
用户输入单元507可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元508为外部装置与移动终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器510是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The
移动终端500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,移动终端500包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述音频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述音频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the foregoing audio playback method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810678188.3A CN108848267B (en) | 2018-06-27 | 2018-06-27 | Audio playback method and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810678188.3A CN108848267B (en) | 2018-06-27 | 2018-06-27 | Audio playback method and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108848267A CN108848267A (en) | 2018-11-20 |
| CN108848267B true CN108848267B (en) | 2020-11-13 |
Family
ID=64202755
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810678188.3A Active CN108848267B (en) | 2018-06-27 | 2018-06-27 | Audio playback method and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108848267B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111930990B (en) * | 2019-05-13 | 2024-05-10 | 阿里巴巴集团控股有限公司 | Method, system and terminal equipment for determining voice playing setting of electronic book |
| KR20210101476A (en) * | 2020-02-10 | 2021-08-19 | 현대자동차주식회사 | Personal air vehicle and control method for the same |
| CN112616108B (en) * | 2020-12-14 | 2023-12-22 | Oppo广东移动通信有限公司 | Audio output method, device, system, storage medium and electronic equipment |
| CN113132850B (en) * | 2021-04-28 | 2023-05-26 | Oppo广东移动通信有限公司 | Speaker parameter configuration method and related device |
| CN113655983B (en) * | 2021-07-27 | 2023-09-08 | 深圳市冠旭电子股份有限公司 | Audio playing method and device, audio playing equipment and readable storage medium |
| CN114827788A (en) * | 2022-04-28 | 2022-07-29 | 歌尔科技有限公司 | Method for adjusting sound box response, sound box equipment and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104714648A (en) * | 2015-03-25 | 2015-06-17 | 广东欧珀移动通信有限公司 | Method and device for switching music playing scenes |
| CN104954949A (en) * | 2015-06-18 | 2015-09-30 | 张尚国 | Smart headphones capable of automatically adjusting output signal according to acquired signal and control method |
| CN104956688A (en) * | 2013-02-12 | 2015-09-30 | 高通股份有限公司 | Speaker equalization for mobile devices |
| CN204859528U (en) * | 2015-06-18 | 2015-12-09 | 张尚国 | Intelligence earphone with baroceptor |
| CN105792079A (en) * | 2016-03-28 | 2016-07-20 | 歌尔声学股份有限公司 | Loudspeaker module, loudspeaker system and diaphragm balance adjusting method |
| CN107948822A (en) * | 2017-12-23 | 2018-04-20 | 广州市尊浪电器有限公司 | A kind of intelligent-induction sound equipment |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104281432A (en) * | 2014-09-18 | 2015-01-14 | 小米科技有限责任公司 | Method and device for regulating sound effect |
| US9769568B2 (en) * | 2014-12-22 | 2017-09-19 | 2236008 Ontario Inc. | System and method for speech reinforcement |
| CN105100469A (en) * | 2015-07-21 | 2015-11-25 | 京东方科技集团股份有限公司 | a mobile device |
| JP6786245B2 (en) * | 2016-04-07 | 2020-11-18 | ソニーモバイルコミュニケーションズ株式会社 | Information processing device |
| JP2019518373A (en) * | 2016-05-06 | 2019-06-27 | ディーティーエス・インコーポレイテッドDTS,Inc. | Immersive audio playback system |
| CN106095386A (en) * | 2016-06-16 | 2016-11-09 | 广东欧珀移动通信有限公司 | Method for setting sound effect parameters and mobile terminal |
| CN107750036A (en) * | 2017-10-31 | 2018-03-02 | 北京酷我科技有限公司 | A kind of method for the simulation panorama audio that can customize |
-
2018
- 2018-06-27 CN CN201810678188.3A patent/CN108848267B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104956688A (en) * | 2013-02-12 | 2015-09-30 | 高通股份有限公司 | Speaker equalization for mobile devices |
| CN104714648A (en) * | 2015-03-25 | 2015-06-17 | 广东欧珀移动通信有限公司 | Method and device for switching music playing scenes |
| CN104954949A (en) * | 2015-06-18 | 2015-09-30 | 张尚国 | Smart headphones capable of automatically adjusting output signal according to acquired signal and control method |
| CN204859528U (en) * | 2015-06-18 | 2015-12-09 | 张尚国 | Intelligence earphone with baroceptor |
| CN105792079A (en) * | 2016-03-28 | 2016-07-20 | 歌尔声学股份有限公司 | Loudspeaker module, loudspeaker system and diaphragm balance adjusting method |
| CN107948822A (en) * | 2017-12-23 | 2018-04-20 | 广州市尊浪电器有限公司 | A kind of intelligent-induction sound equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108848267A (en) | 2018-11-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107665697B (en) | A method for adjusting screen brightness and a mobile terminal | |
| CN108848267B (en) | Audio playback method and mobile terminal | |
| CN108182019B (en) | Suspension control display processing method and mobile terminal | |
| CN108551534B (en) | Method and device for multi-terminal voice call | |
| CN107743178B (en) | Message playing method and mobile terminal | |
| CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
| CN111093137B (en) | A volume control method, device and computer-readable storage medium | |
| CN110177296A (en) | A kind of video broadcasting method and mobile terminal | |
| CN110855921B (en) | Video recording control method and electronic equipment | |
| CN107911777B (en) | Method, device and mobile terminal for processing ear return function | |
| CN111443815A (en) | A vibration reminder method and electronic device | |
| CN107835495A (en) | A kind of message prompt method, device and mobile terminal | |
| CN108924319B (en) | Proximity detection method and mobile terminal | |
| CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
| CN110138963A (en) | A kind of message treatment method and mobile terminal | |
| CN110058837B (en) | Audio output method and terminal | |
| CN108307048B (en) | Message output method and device and mobile terminal | |
| CN110784394A (en) | Prompting method and electronic equipment | |
| CN108347642B (en) | A video playback method and mobile terminal | |
| CN108319440B (en) | Audio output method and mobile terminal | |
| CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
| CN110471895B (en) | Sharing method and terminal device | |
| CN108650392A (en) | A kind of call recording method and mobile terminal | |
| CN109005377B (en) | Video processing method and terminal equipment | |
| CN111314639A (en) | Video recording method and electronic equipment |
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 |