WO2016131373A1 - 一种控制高保真功能的方法和终端 - Google Patents
一种控制高保真功能的方法和终端 Download PDFInfo
- Publication number
- WO2016131373A1 WO2016131373A1 PCT/CN2016/072490 CN2016072490W WO2016131373A1 WO 2016131373 A1 WO2016131373 A1 WO 2016131373A1 CN 2016072490 W CN2016072490 W CN 2016072490W WO 2016131373 A1 WO2016131373 A1 WO 2016131373A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- hifi
- playback
- sound quality
- function
- audio output
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Definitions
- This application relates to, but is not limited to, the field of media playback.
- the demand for entertainment of various mobile devices and handheld terminals has been continuously increased.
- the sound quality of the terminal equipment is continuously improved to meet the ever-increasing demands of users.
- the major mobile phone manufacturers have continuously improved the audio playback function of the terminal, and have HiFi (High-Fidelity) functions on the terminal one after another. The more consumers can hear the audio playback using the HiFi chip for decoding.
- the audio output devices used in the current terminal have different capabilities to support HiFi. For example, most of the integrated terminals of the mobile terminal cannot output high-quality audio. At the same time, some audio files are not high in sound quality, even if the HiFi chip is used. The user hears the playback effect of HiFi.
- HiFi playback function After the introduction of the HiFi chip for decoding, if the HiFi playback function is simply unified, due to the high power consumption of the current HiFi chip, the HiFi function will cause a rapid increase in power consumption, and the reality that the terminal battery power is difficult to leap. Under the reasonable use of HiFi function can greatly enhance the battery life.
- This paper provides a method and terminal for controlling high-fidelity HiFi function, automatically and rationally selects the timing of using HiFi playback function, and uses HiFi playback function when it can truly provide HiFi playback effect to users, which not only satisfies the high quality of users. Playback is needed, and unnecessary power waste is avoided.
- a method of controlling high fidelity HiFi functionality including:
- the HiFi playing function is met; if it is, the HiFi playing function is used; if it is not, the HiFi playing function is turned off, and the normal playing function is adopted.
- the current playing conditions include:
- determining, according to the obtained playing condition, whether the HiFi playing function requirement is met including:
- determining whether the currently selected audio output device supports HiFi playback including:
- the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
- the selected audio output device is an external earphone or audio device, it is determined that the device supports HiFi playback.
- determining whether the sound source file to be played meets the sound quality requirements of HiFi playback including:
- the attributes include: sampling accuracy, sampling frequency, and bit rate.
- a terminal for controlling a high fidelity HiFi function comprising: a detection module and a HiFi function control module;
- the detecting module is configured to: detect the current playing condition
- the HiFi function control module is configured to: according to the detection result of the detection module, determine whether the HiFi playback function requirement is met, and use the HiFi play function when the requirement is met; when the content is not met, the HiFi play function is turned off, and the normal play function is adopted.
- the detecting module includes a device detecting submodule and a sound quality detecting submodule;
- the device detection submodule is configured to: detect whether the currently selected audio output device supports HiFi playback;
- the sound quality detection sub-module is set to: detect whether the sound source file to be played meets the sound quality requirement of HiFi playback.
- the HiFi function control module is set to:
- the device detection sub-module determines that the currently selected audio output device does not support HiFi playback, it is determined that the HiFi playback function requirement is not met;
- the sound quality detecting sub-module determines that the sound quality of the sound source file to be played does not meet the sound quality requirement of HiFi playback, it is determined that the HiFi playback function requirement is not met;
- the device detection sub-module determines that the currently selected audio output device supports HiFi playback, and the sound quality detection sub-module determines that the sound quality of the sound source file to be played conforms to the sound quality requirement of HiFi playback, it is determined that the HiFi playback function requirement is met.
- the device detection submodule is set to:
- the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
- the selected audio output device is an external earphone or audio device, it is determined that the audio output device supports HiFi playback.
- the sound quality detecting submodule is configured to: acquire at least one of the following attributes of the sound source file, and compare the obtained attribute value with a preset corresponding standard to determine whether it is suitable for the sound quality requirement of the HiFi playing;
- the attributes include: sampling accuracy, sampling frequency, and bit rate.
- a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
- the embodiment provided by the present invention determines whether the condition of the HiFi playing function is met by detecting the current playing condition, and controls the use and closing of the HiFi playing function accordingly, that is, the selectively playing selectively can be heard by the user.
- the playback scene of the HiFi playback effect avoids the unnecessary power consumption of the terminal caused by blindly adopting the HiFi playback function due to the device or file reason, and the HiFi playback function is blindly provided, thereby reducing the power consumption and enhancing the terminal.
- the effect of endurance is possible to be used to the condition of the HiFi playing function is met by detecting the current playing condition, and controls the use and closing of the HiFi playing function accordingly, that is, the selectively playing selectively can be heard by the user.
- FIG. 1 is a flowchart of a method for controlling a HiFi function according to an embodiment of the present invention
- FIG. 2 is a structural diagram of a terminal for controlling a HiFi function according to an embodiment of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- FIG. 1 is a flowchart of a method for controlling a HiFi function according to an embodiment of the present invention, including:
- Step 101 Acquire a current playing condition.
- Step 102 According to the obtained playback conditions, determine whether the HiFi playback function requirements are met; if yes, proceed to step 103; if not, proceed to step 104;
- Step 103 using the HiFi playback function, playing the sound source file to be played;
- Step 104 Turn off the HiFi playback function, and play the source text to be played by using the normal playback function. Pieces.
- step 103 uses the HiFi playback function, which refers to decoding high-quality audio using a HiFi chip.
- the current playing conditions to be obtained in step 101 include:
- Step 102 determines whether the HiFi playback function requirement is met, including:
- determining whether the currently selected audio output device supports HiFi playback including:
- the hardware model of the speaker can be obtained through the terminal to determine whether the model is In the preset list of hardware models supporting HiFi, or obtain the attribute value of the speaker to support HiFi playback, when the attribute value indicates support, it is determined that the speaker supports HiFi playback.
- whether the standard speaker supports the HiFi playback property can be read from the device register or determined by the device pin connection mode.
- the hardware parameters of the device can also be obtained by the above method, and whether HiFi playback is supported according to the parameter is determined.
- the HiFi playback effect is generally not achieved, and the simplified judgment process is:
- the selected audio output device is a terminal integrated speaker, it is determined that the audio output device does not support HiFi playback;
- the selected audio output device is an external earphone or audio device, it is determined that the device supports HiFi playback.
- Determining whether the sound source file to be played meets the sound quality requirement of HiFi playback means that the sound quality of the sound source file is determined by detecting one or more attributes of the sound source file.
- the HiFi playback function has practical meaning, and the user can When you hear high-fidelity playback, when the sound quality of the audio file itself is not good, even if you use HiFi playback, the user cannot hear the high-fidelity playback due to the limitation of the audio file. In this case, you do not need to use the HiFi playback function. Normal play.
- the attributes include: sampling accuracy, sampling frequency, and bit rate.
- the sampling accuracy determines the dynamic range of the recorded sound, also known as the number of samples, which is in bits (such as 8bit, 16bit; 8bit can divide the sound wave into 256 levels, 16 bits can divide the sound wave into 65536 Level signal, the higher the number of bits, the higher the fidelity of the sound;
- sampling frequency defines the number of samples extracted from a continuous signal and composed of discrete signals per second, expressed in Hertz (Hz).
- the popular sampling frequency refers to how many sound samples are collected by the computer every second. It is a measure of the quality standard of the sound source file. The higher the sampling frequency, the more realistic the sound is, and the higher the fidelity of the sound.
- Bit rate refers to the amount of information that can be passed per second in a data stream, such as when an audio file is described by "128-Kbps MP3" or "64-Kbps WMA.”
- Kbps means "kilobytes per second", so the larger the value, the more data, the larger the amount of information, the better the sound quality.
- the sound quality of the sound source file is judged by the sampling precision as the standard.
- the preset standard is: the sampling precision is equal to 1 bit or greater than or equal to 20 bits, indicating that the sampling precision is equal to 1 bit, or the sound source file with the sampling precision greater than or equal to 20 bits meets the sound quality requirements of HiFi playback; for example, DSD (Direct Stream Digital, Direct Bitstream Digital) format audio source file with a sampling accuracy equal to 1 bit, which is a mature high Sound quality source file.
- DSD Direct Stream Digital, Direct Bitstream Digital
- the sampling frequency is used as the standard to judge the sound quality of the sound source file.
- the preset standard is: the sampling frequency is greater than or equal to 44.1 kHz, indicating that the sound source file with the sampling frequency greater than or equal to 44.1 kHz meets the sound quality requirements of HiFi playback.
- the bit rate is used as the standard to judge the sound quality of the sound source file.
- the preset standard is: the bit rate is greater than or equal to 1024kpbs, and the sound source file whose bit rate is greater than or equal to 1024kpbs meets the sound quality requirements of HiFi playback.
- sampling accuracy is greater than or equal to 16 bits
- sampling frequency is greater than or equal to 44.1 kHz
- bit velocity is greater than or equal to 1000 kbps.
- At least two of the three attributes are greater than or equal to the set threshold, indicating that the sound source file with the sampling precision greater than or equal to 16 bits and the sampling frequency greater than or equal to 44.1 kHz meets the sound quality requirements of HiFi playback; or, the sampling precision is greater than or equal to 16 bits and the bit A sound source file with a speed greater than or equal to 1000 kbps meets the sound quality requirements of HiFi playback; or a sound source file with a sampling frequency greater than or equal to 44.1 kHz and a bit rate greater than or equal to 1000 kbps meets the sound quality requirements of HiFi playback; or, the sampling accuracy is greater than or equal to 16 bits and the sampling frequency is greater than or equal to A sound source file with a 44.1 kHz and a bit rate greater than or equal to 1000 kbps meets the sound quality requirements of HiFi playback.
- sampling frequency and bit rate determine the sound quality of the sound source file.
- the preset standard is: the sound source file with the sampling precision equal to 1 bit meets the sound quality requirement of HiFi playback; when the sampling precision is not equal to 1 bit, the sampling precision is greater than or equal to 16 bits.
- the sampling frequency is greater than or equal to 44.1 kHz and the bit rate is greater than or equal to 1000 kbps.
- the three conditions satisfy at least two (ie, at least two of the three attributes are greater than or equal to the set threshold), indicating that the sampling accuracy is greater than or equal to 16 bits and the sampling frequency
- a sound source file with a value greater than or equal to 44.1 kHz meets the sound quality requirements of HiFi playback; or a sound source file with a sampling accuracy greater than or equal to 16 bits and a bit rate greater than or equal to 1000 kbps meets the sound quality requirements of HiFi playback; or, the sampling frequency is greater than or equal to 44.1 kHz and the bit rate is greater than or equal to
- the audio source file of 1000 kbps meets the sound quality requirements of HiFi playback; or the audio source file with sampling accuracy greater than or equal to 16 bits and sampling frequency greater than or equal to 44.1 kHz and a bit rate greater than or equal to 1000 kbps meets the sound quality requirements of HiFi playback.
- the comparison threshold set in the judgment standard is not limited to the numerical values exemplified in the embodiment, and other values may be determined according to the needs of the sound quality judgment of the actual sound source file.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- FIG. 2 is a structural diagram of a terminal for controlling a HiFi function according to an embodiment of the present invention, the terminal includes: a detection module 21 and a HiFi function control module 22;
- the detecting module 21 is configured to: detect a current playing condition
- the HiFi function control module 22 is configured to: according to the detection result of the detection module, determine whether the HiFi playback function requirement is met, and use the HiFi playback function when the requirement is met; when the content is not met, the HiFi playback function is turned off, and the normal playback function is adopted.
- HiFi playback function refers to the use of HiFi chip decoding to output high quality audio.
- the detecting module 21 includes: a device detecting submodule 211 and a sound quality detecting submodule 212;
- the device detection sub-module 211 is configured to: detect whether the currently selected audio output device supports HiFi playback;
- the sound quality detecting sub-module 212 is configured to: detect whether the sound source file to be played is in compliance with the sound quality requirement of HiFi playback.
- the HiFi function control module 22 is set to:
- the device detection sub-module 211 determines that the currently selected audio output device does not support HiFi playback, it is determined that the HiFi playback function requirement is not met;
- the sound quality detecting sub-module 212 determines that the sound quality of the sound source file to be played does not meet the sound quality requirement of the HiFi playback, it is determined that the sound quality of the HiFi playback function is not met;
- the device detection sub-module 211 determines that the currently selected audio output device supports HiFi playback, and the sound quality detection sub-module 212 determines that the sound quality of the sound source file to be played conforms to the sound quality requirement of HiFi playback, it is determined that the HiFi playback function is met. Claim.
- the device detection sub-module 211 is set to:
- the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
- the selected audio output device is an external earphone or audio device, it is determined that the audio output device supports HiFi playback.
- the sound quality detection sub-module 212 is configured to: acquire at least one of the following attributes of the sound source file, and compare the obtained attribute value with a preset corresponding standard to determine whether it is suitable for the sound quality requirement of HiFi playback;
- the attributes include: sampling accuracy, sampling frequency, and bit rate.
- the attribute of the sound source file is compared with the corresponding standard set to determine whether the process of the sound quality requirement of the HiFi playback is met, as shown in the example in the first embodiment.
- all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
- the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
- the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
- the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the embodiment of the invention determines whether the condition of the HiFi playback function is met by detecting the current playing condition, and controls the use and shutdown of the HiFi playing function accordingly, that is, the targeted selective playing can truly let the user hear the HiFi playing effect.
- the playing scene avoids unnecessary power consumption of the terminal caused by blindly adopting HiFi playback function due to the device or file reason, and it is impossible to provide HiFi playback effect to the user, thereby reducing power consumption and enhancing terminal endurance. effect.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
本文公布一种控制高保真HiFi功能的方法和终端,其中,该方法包括:获取当前的播放条件;根据所获取的播放条件,判断是否符合HiFi播放功能要求;如果符合,则使用HiFi播放功能;如果不符合,则关闭HiFi播放功能,采用普通播放功能。
Description
本申请涉及但不限于媒体播放领域。
伴随着各种智能、高性能终端设备的出现,伴随消费者对各类移动设备、手持终端的娱乐化需求的不断提升。不断提升终端设备的播放音质,满足用户不断提升的需求,各大手机厂家纷纷进行对终端音频播放功能的不断改进,陆续在终端上搭载HiFi(High-Fidelity,高保真)功能,从而使越来越多的消费者能够听到使用HiFi芯片进行解码的音频播放。当前终端所用到的音频输出设备支持HiFi的能力存在差异,如大部分移动终端集成一体的喇叭本身无法输出高音质音频,同时,也存在一部分音源文件本身音质不高,即使使用HiFi芯片也无法使用户听到HiFi的播放效果。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
在引入HiFi芯片进行解码后,如果简单的统一采用HiFi播放功能,由于当前HiFi芯片普遍功耗较高,HiFi功能开启会导致耗电的急速增加,在终端电池电量难以飞跃性的增长的现实情况下,合理的使用HiFi功能可以极大的增强手机的续航能力。
本文提供一种控制高保真HiFi功能的方法和终端,自动合理的选择终端使用HiFi播放功能的时机,在真正能够给用户提供HiFi播放效果的情况才使用HiFi播放功能,既满足了用户的高品质播放需要,又避免了不必要的电量浪费。
一种控制高保真HiFi功能的方法,包括:
获取当前的播放条件;
根据所获取的播放条件,判断是否符合HiFi播放功能要求;如果符合,则使用HiFi播放功能;如果不符合,则关闭HiFi播放功能,采用普通播放功能。
可选地,当前的播放条件,包括:
当前选定的音频输出设备是否支持HiFi播放和要播放的音源文件是否符合HiFi播放的音质要求。
可选地所述根据所获取的播放条件,判断是否符合HiFi播放功能要求,包括:
当当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;
当音源文件的音质不符合HiFi播放的音质要求,判定为不符合HiFi播放功能要求;
当当前选定的音频输出设备支持HiFi播放,且所述音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。
可选地,判断当前选定的音频输出设备是否支持HiFi播放,包括:
获取所选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;
或者,当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;
或者,当选定的音频输出设备为外接的耳机或音响设备时,则确定该设备支持HiFi播放。
可选地,判断要播放的音源文件是否符合HiFi播放的音质要求,包括:
将音源文件的以下属性中的至少一个与设定的相应标准进行比较后确定是否符合HiFi播放的音质要求;
所述属性包括:采样精度、采样频率和位速。
一种控制高保真HiFi功能的终端,该终端包括:检测模块和HiFi功能控制模块;
检测模块,设置为:检测当前的播放条件;
HiFi功能控制模块,设置为:根据所述检测模块的检测结果,判断是否符合HiFi播放功能要求,在符合要求时使用HiFi播放功能;在不符合要求时关闭HiFi播放功能,采用普通播放功能。
可选地,检测模块,包括设备检测子模块和音质检测子模块;
设备检测子模块,设置为:检测当前选定的音频输出设备是否支持HiFi播放;
音质检测子模块,设置为:检测要播放的音源文件是否符合HiFi播放的音质要求。
可选地,HiFi功能控制模块,是设置为:
当设备检测子模块判定当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;
当音质检测子模块判定要播放的音源文件的音质不符合HiFi播放的音质要求时,判定为不符合HiFi播放功能要求;
当设备检测子模块判定当前选定的音频输出设备支持HiFi播放,且音质检测子模块判定要播放的音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。
可选地,设备检测子模块是设置为:
获取所需选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;
或者,在当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;
或者,当选定的音频输出设备为外接的耳机或音响设备时,确定该音频输出设备支持HiFi播放。
可选地,音质检测子模块,是设置为:获取音源文件的以下属性中的至少一个,将所获得的属性值与预设的相应标准进行比较后确定是否适合符合HiFi播放的音质要求;
所述属性包括:采样精度、采样频率和位速。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
本发明提供的实施例,通过检测当前的播放条件,判断是否符合HiFi播放功能的条件,并依此控制HiFi播放功能的使用和关闭,即有针对性地有选择地播放可以真正让用户听到HiFi播放效果的播放场景,避免了因设备或文件原因本身已不可能给用户提供HiFi播放效果的情况下盲目采用HiFi播放功能造成不必要的终端的功率消耗,达到了减少耗电,增强终端的续航能力的效果。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例提供的控制HiFi功能的方法流程图;
图2为本发明实施例提供的控制HiFi功能的终端结构图。
下面将结合附图及实施例对本发明的实施方式进行描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
实施例一:
图1为本发明实施例提供的控制HiFi功能的方法流程图,包括:
步骤101,获取当前的播放条件;
步骤102:根据所获取的播放条件,判断是否符合HiFi播放功能要求;如果符合,则进行步骤103;如果不符合,则进行步骤104;
步骤103,使用HiFi播放功能,播放要播放的音源文件;
步骤104,关闭HiFi播放功能,采用普通播放功能播放要播放的音源文
件。
其中,步骤103使用HiFi播放功能,是指使用HiFi芯片解码输出高质量音频。
步骤101中要获取的当前播放条件,包括:
当前选定的音频输出设备是否支持HiFi播放和要播放的音源文件是否符合HiFi播放的音质要求。
步骤102判断是否符合HiFi播放功能要求,包括:
当所述当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;
当所述音源文件的音质不符合HiFi播放的音质要求,判定为不符合HiFi播放功能要求;
当所述当前选定的音频输出设备支持HiFi播放,且所述音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。
其中,判断当前选定的音频输出设备是否支持HiFi播放,包括:
获取所选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;例如,当所选定的音频输出设备为终端集成的喇叭时,可以通过终端获取喇叭的硬件型号,判断该型号是否在预设的支持HiFi的硬件型号列表中,或者获取喇叭的表征是否支持HiFi播放的属性值,当该属性值表示支持时,则确定该喇叭支持HiFi播放。其中,标准喇叭是否支持HiFi播放的属性,可以从设备寄存器中读取,也可以通过设备管脚连接方式确定。
当所选定的音频输出设备为耳机或外接音响设备时,也可通过如上方式获取设备的硬件参数,根据该参数确定是否支持HiFi播放。
或者,结合当前主流终端设备中集成的喇叭普遍无法达到HiFi播放效果的情况,简化判断流程为:
当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;
或者,结合主流外接耳机或音响设备普通能够达到HiFi播放效果的情
况,简化判断流程为:
当选定的音频输出设备为外接的耳机或音响设备时,则确定该设备支持HiFi播放。
判断要播放的音源文件是否符合HiFi播放的音质要求,表示通过检测音源文件的一个或多个属性,判定音源文件的音质,当音源文件音质好时,使用HiFi播放功能才有实际意义,用户才能听到高保真的播放效果,当音源文件本身音质不好时,即使使用HiFi播放,由于音源文件的限制,用户也无法听到高保真的播放效果,这时,则无需使用HiFi播放功能,使用普通播放。
包括:
将所述音源文件的以下属性中的至少一个与设定的相应标准进行比较后确定是否符合HiFi播放的音质要求;
所述属性包括:采样精度、采样频率和位速。
其中,采样精度决定了记录声音的动态范围,也称为采样位数,它以位(Bit)为单位,如8bit,16bit;8bit可以把声波分为256级,16位可以把声波分为65536级的信号,位数越高,声音的保真度越高;
采样频率,称为采样速度或采样率,定义了每秒从连续的信号中提取并组成离散信号的采样个数,用赫兹(Hz)来表示。通俗的讲采样频率是指计算机每秒采集多少个声音样本,是衡量音源文件的质量标准,采样频率越高声音的还原就越真实自然,声音的保真度就越高;
位速,是指在一个数据流中每秒中能通过的信息量,如音频文件用“128–Kbps MP3”或“64–Kbps WMA”进行描述的情形。Kbps表示“每秒千字节数”,因此数值越大表示数据越多,信息量越大,音质就越好。
对该判定过程举例说明如下:
以采样精度为标准,判断音源文件音质,预设标准为:采样精度等于1bit或大于等于20bit,表示采样精度等于1bit,或者采样精度大于等于20bit的音源文件符合HiFi播放的音质要求;例如,DSD(Direct Stream Digital,直接比特流数字)格式的音源文件,其采样精度等于1bit,是一种成熟的高
音质音源文件。
以采样频率为标准,判断音源文件音质,预设标准为:采样频率大于等于44.1kHz,表示采样频率大于等于44.1kHz的音源文件符合HiFi播放的音质要求。
以位速为标准,判断音源文件音质,预设标准为:位速大于等于1024kpbs,表示位速大于等于1024kpbs的音源文件符合HiFi播放的音质要求。
以采样精度、采样频率和位速为标准,判断音源文件音质,预设标准为:采样精度大于等于16bit,采样频率大于等于44.1kHz和位速大于等于1000kbps这三个条件中至少满足两个(即表示三个属性中至少有两项大于等于设定阈值),表示当采样精度大于等于16bit且采样频率大于等于44.1kHz的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求。
或者,以采样精度、采样频率和位速为标准,判断音源文件音质,预设标准为:采样精度等于1bit的音源文件符合HiFi播放的音质要求;采样精度不等于1bit时,采样精度大于等于16bit,采样频率大于等于44.1kHz和位速大于等于1000kbps这三个条件中至少满足两个(即表示三个属性中至少有两项大于等于设定阈值),表示当采样精度大于等于16bit且采样频率大于等于44.1kHz的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求。
本发明实施例中,判断标准中设定的比较阈值,不限于本实施例所例举的数值,可以根据实际音源文件的音质判断的需要相应确定其他数值。
实施例二:
图2为本发明实施例提供的一种控制HiFi功能的终端的结构图,该终端包括:检测模块21和HiFi功能控制模块22;
其中,检测模块21,设置为:检测当前的播放条件;
HiFi功能控制模块22,设置为:根据所述检测模块的检测结果,判断是否符合HiFi播放功能要求,在符合要求时使用HiFi播放功能;在不符合要求时关闭HiFi播放功能,采用普通播放功能。
其中,使用HiFi播放功能是指使用HiFi芯片解码输出高质量音频。
可选的,检测模块21包括:设备检测子模块211和音质检测子模块212;
设备检测子模块211,设置为:检测当前选定的音频输出设备是否支持HiFi播放;
音质检测子模块212,设置为:检测要播放的音源文件是否符合HiFi播放的音质要求。
可选的,
HiFi功能控制模块22,是设置为:
当所述设备检测子模块211判定当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;
当所述音质检测子模块212判定要播放的音源文件的音质不符合HiFi播放的音质要求时,判定为不符合HiFi播放功能要求;
当所述设备检测子模块211判定当前选定的音频输出设备支持HiFi播放,且所述音质检测子模块212判定要播放的音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。
可选的,
设备检测子模块211是设置为:
获取所需选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;
或者,在当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;
或者,当选定的音频输出设备为外接的耳机或音响设备时,确定该音频输出设备支持HiFi播放。
所述音质检测子模块212,是设置为:获取所述音源文件的以下属性中的至少一个,将所获得的属性值与预设的相应标准进行比较后确定是否适合符合HiFi播放的音质要求;
所述属性包括:采样精度、采样频率和位速。
其中,音源文件的属性与设定的相应标准进行比较,确定是否符合HiFi播放的音质要求的过程,参见实施一中举例内容。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
本发明实施例通过检测当前的播放条件,判断是否符合HiFi播放功能的条件,并依此控制HiFi播放功能的使用和关闭,即有针对性地有选择地播放可以真正让用户听到HiFi播放效果的播放场景,避免了因设备或文件原因本身已不可能给用户提供HiFi播放效果的情况下盲目采用HiFi播放功能造成不必要的终端的功率消耗,达到了减少耗电,增强终端的续航能力的效果。
Claims (11)
- 一种控制高保真HiFi功能的方法,包括:获取当前的播放条件;根据所获取的播放条件,判断是否符合HiFi播放功能要求;如果符合,则使用HiFi播放功能;如果不符合,则关闭HiFi播放功能,采用普通播放功能。
- 根据权利要求1所述的方法,其中,所述当前的播放条件,包括:当前选定的音频输出设备是否支持HiFi播放和要播放的音源文件是否符合HiFi播放的音质要求。
- 根据权利要求2所述的方法,其中,所述根据所获取的播放条件,判断是否符合HiFi播放功能要求,包括:当所述当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;当所述音源文件的音质不符合HiFi播放的音质要求,判定为不符合HiFi播放功能要求;当所述当前选定的音频输出设备支持HiFi播放,且所述音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。
- 根据权利要求2所述的方法,其中,判断当前选定的音频输出设备是否支持HiFi播放,包括:获取所选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;或者,当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;或者,当选定的音频输出设备为外接的耳机或音响设备时,则确定该设备支持HiFi播放。
- 根据权利要求2所述的方法,其中,判断要播放的音源文件是否符合HiFi播放的音质要求,包括:将所述音源文件的以下属性中的至少一个与设定的相应标准进行比较后确定是否符合HiFi播放的音质要求;所述属性包括:采样精度、采样频率和位速。
- 一种控制高保真HiFi功能的终端,包括:检测模块和HiFi功能控制模块;所述检测模块,设置为:检测当前的播放条件;所述HiFi功能控制模块,设置为:根据所述检测模块的检测结果,判断是否符合HiFi播放功能要求,在符合要求时使用HiFi播放功能;在不符合要求时关闭HiFi播放功能,采用普通播放功能。
- 根据权利要求6所述的终端,其中,所述检测模块,包括:设备检测子模块,设置为:检测当前选定的音频输出设备是否支持HiFi播放;音质检测子模块,设置为:检测要播放的音源文件是否符合HiFi播放的音质要求。
- 根据权利要求7所述的终端,其中,所述HiFi功能控制模块,是设置为:当所述设备检测子模块判定当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;当所述音质检测子模块判定要播放的音源文件的音质不符合HiFi播放的音质要求时,判定为不符合HiFi播放功能要求;当所述设备检测子模块判定当前选定的音频输出设备支持HiFi播放,且所述音质检测子模块判定要播放的音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。
- 根据权利要求7所述的终端,其中,所述设备检测子模块是设置为:获取所需选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;或者,在当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;或者,当选定的音频输出设备为外接的耳机或音响设备时,确定该音频输出设备支持HiFi播放。
- 根据权利要求7所述的终端,其中,所述音质检测子模块,是设置为:获取所述音源文件的以下属性中的至少一个,将所获得的属性值与预设的相应标准进行比较后确定是否适合符合HiFi播放的音质要求;所述属性包括:采样精度、采样频率和位速。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510477420.3 | 2015-08-06 | ||
CN201510477420.3A CN106454628A (zh) | 2015-08-06 | 2015-08-06 | 一种控制高保真功能的方法和终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016131373A1 true WO2016131373A1 (zh) | 2016-08-25 |
Family
ID=56692262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/072490 WO2016131373A1 (zh) | 2015-08-06 | 2016-01-28 | 一种控制高保真功能的方法和终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106454628A (zh) |
WO (1) | WO2016131373A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109327598A (zh) * | 2017-07-31 | 2019-02-12 | 中兴通讯股份有限公司 | 一种音频数据播放的方法、装置和移动终端 |
CN108198583A (zh) * | 2017-12-25 | 2018-06-22 | 河源市美晨联合智能硬件电子研究院 | 终端及其控制Hi-Fi播放功能的方法、存储装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07115700A (ja) * | 1993-10-20 | 1995-05-02 | Canon Inc | 音声信号処理装置 |
CN202258331U (zh) * | 2011-10-21 | 2012-05-30 | 深圳市奥尼电子工业有限公司 | 一种自动切换播放模式的便携式小音箱 |
CN103077003A (zh) * | 2012-12-27 | 2013-05-01 | 中兴通讯股份有限公司 | 一种HiFi音频输出方法、装置和系统 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102970637B (zh) * | 2012-11-06 | 2015-11-25 | 陈亮 | 一种电声产品与音像播放设备的交互系统 |
-
2015
- 2015-08-06 CN CN201510477420.3A patent/CN106454628A/zh active Pending
-
2016
- 2016-01-28 WO PCT/CN2016/072490 patent/WO2016131373A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07115700A (ja) * | 1993-10-20 | 1995-05-02 | Canon Inc | 音声信号処理装置 |
CN202258331U (zh) * | 2011-10-21 | 2012-05-30 | 深圳市奥尼电子工业有限公司 | 一种自动切换播放模式的便携式小音箱 |
CN103077003A (zh) * | 2012-12-27 | 2013-05-01 | 中兴通讯股份有限公司 | 一种HiFi音频输出方法、装置和系统 |
Non-Patent Citations (2)
Title |
---|
SUN, HAO: "The most simple and inexpensive HI- FI solution earphone system", MUSIC LOVER, 15 August 2001 (2001-08-15), pages 1 * |
ZHAO, LIANG: "Having the best of both HI- FI and AV", UTILITY AUDIO AND VIDEO TECHNOLOGY, 15 October 2001 (2001-10-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN106454628A (zh) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11075609B2 (en) | Transforming audio content for subjective fidelity | |
CN104090766A (zh) | 一种移动终端的音效切换方法及系统 | |
CN106790940B (zh) | 录音方法、录音播放方法、装置及终端 | |
CN105390144B (zh) | 一种音频处理方法和音频处理装置 | |
CN109413537A (zh) | 音频信号播放方法、装置及耳机 | |
CN103152668A (zh) | 输出音频调节方法及其系统 | |
EP1781063A3 (en) | Method and apparatus for reproducing music file | |
JP2019505944A (ja) | オーディオファイルの再録音方法、装置及び記憶媒体 | |
CN105404642A (zh) | 一种音频播放方法及用户终端 | |
CN110491419A (zh) | 一种播放控制方法、系统及终端设备 | |
CN103456334B (zh) | 音频文件播放方法及播放装置 | |
CN104966524B (zh) | 音频处理方法及音频处理系统 | |
WO2016131373A1 (zh) | 一种控制高保真功能的方法和终端 | |
EP2849341A1 (en) | Loudness control at audio rendering of an audio signal | |
TW201337601A (zh) | 音樂自動優化系統及方法 | |
TW201423733A (zh) | 音頻處理系統與音頻處理方法 | |
CN1941160B (zh) | 音频播放模式自动选择装置及方法 | |
KR101051036B1 (ko) | 사용자 개개인의 청력에 맞추어 오디오 기기의 음질을 제어하는 장치 및 방법 | |
CN105657533A (zh) | 数据文件播放方法及装置 | |
CN111767083B (zh) | 误唤醒音频数据的收集方法、播放设备、电子设备、介质 | |
CN101815114B (zh) | 控制音量增益的方法以及可控制音量增益的移动电话 | |
RU2365030C1 (ru) | Способ и прибор для регулирования уровня громкости | |
WO2019071491A1 (zh) | 一种基于智能终端的音效区分方法及音效区分系统 | |
KR101060546B1 (ko) | 사용자의 청력에 맞게 오디오 재생파일을 변환하는 장치 | |
CN202736481U (zh) | 一种防止听觉疲劳的装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16751904 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16751904 Country of ref document: EP Kind code of ref document: A1 |