WO2016131373A1 - Method and terminal for controlling high-fidelity function - Google Patents

Method and terminal for controlling high-fidelity function Download PDF

Info

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
Application number
PCT/CN2016/072490
Other languages
French (fr)
Chinese (zh)
Inventor
吴尘欣然
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016131373A1 publication Critical patent/WO2016131373A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits 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

Disclosed are a method and terminal for controlling a high-fidelity (HiFi) function, the method comprising: obtaining a current broadcast condition; determining, according to the broadcast condition, whether a request for broadcasting a HiFi broadcast function is met; if so, employing the HiFi broadcast function; if not, closing the HiFi broadcast function, and employing a common broadcast function.

Description

一种控制高保真功能的方法和终端Method and terminal for controlling high fidelity function 技术领域Technical field
本申请涉及但不限于媒体播放领域。This application relates to, but is not limited to, the field of media playback.
背景技术Background technique
伴随着各种智能、高性能终端设备的出现,伴随消费者对各类移动设备、手持终端的娱乐化需求的不断提升。不断提升终端设备的播放音质,满足用户不断提升的需求,各大手机厂家纷纷进行对终端音频播放功能的不断改进,陆续在终端上搭载HiFi(High-Fidelity,高保真)功能,从而使越来越多的消费者能够听到使用HiFi芯片进行解码的音频播放。当前终端所用到的音频输出设备支持HiFi的能力存在差异,如大部分移动终端集成一体的喇叭本身无法输出高音质音频,同时,也存在一部分音源文件本身音质不高,即使使用HiFi芯片也无法使用户听到HiFi的播放效果。Along with the emergence of various intelligent and high-performance terminal devices, 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.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
在引入HiFi芯片进行解码后,如果简单的统一采用HiFi播放功能,由于当前HiFi芯片普遍功耗较高,HiFi功能开启会导致耗电的急速增加,在终端电池电量难以飞跃性的增长的现实情况下,合理的使用HiFi功能可以极大的增强手机的续航能力。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.
本文提供一种控制高保真HiFi功能的方法和终端,自动合理的选择终端使用HiFi播放功能的时机,在真正能够给用户提供HiFi播放效果的情况才使用HiFi播放功能,既满足了用户的高品质播放需要,又避免了不必要的电量浪费。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.
一种控制高保真HiFi功能的方法,包括:A method of controlling high fidelity HiFi functionality, including:
获取当前的播放条件; Get the current playback conditions;
根据所获取的播放条件,判断是否符合HiFi播放功能要求;如果符合,则使用HiFi播放功能;如果不符合,则关闭HiFi播放功能,采用普通播放功能。According to the obtained playing conditions, it is judged whether 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.
可选地,当前的播放条件,包括:Optionally, the current playing conditions include:
当前选定的音频输出设备是否支持HiFi播放和要播放的音源文件是否符合HiFi播放的音质要求。Whether the currently selected audio output device supports HiFi playback and whether the audio file to be played matches the sound quality requirements of HiFi playback.
可选地所述根据所获取的播放条件,判断是否符合HiFi播放功能要求,包括:Optionally, determining, according to the obtained playing condition, whether the HiFi playing function requirement is met, including:
当当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;When the currently selected audio output device does not support HiFi playback, it is determined that the HiFi playback function requirement is not met;
当音源文件的音质不符合HiFi播放的音质要求,判定为不符合HiFi播放功能要求;When the sound quality of the audio source file does not meet the sound quality requirements of HiFi playback, it is determined that the HiFi playback function is not met;
当当前选定的音频输出设备支持HiFi播放,且所述音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。When the currently selected audio output device supports HiFi playback, and the sound quality of the sound source file meets the sound quality requirements of HiFi playback, it is determined that the HiFi playback function requirement is met.
可选地,判断当前选定的音频输出设备是否支持HiFi播放,包括:Optionally, determining whether the currently selected audio output device supports HiFi playback, including:
获取所选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;Obtaining hardware parameters of the selected audio output device, and determining whether to support HiFi playback according to hardware parameters;
或者,当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;Or, when the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
或者,当选定的音频输出设备为外接的耳机或音响设备时,则确定该设备支持HiFi播放。Alternatively, when the selected audio output device is an external earphone or audio device, it is determined that the device supports HiFi playback.
可选地,判断要播放的音源文件是否符合HiFi播放的音质要求,包括:Optionally, determining whether the sound source file to be played meets the sound quality requirements of HiFi playback, including:
将音源文件的以下属性中的至少一个与设定的相应标准进行比较后确定是否符合HiFi播放的音质要求;Comparing at least one of the following attributes of the sound source file with the set corresponding standard to determine whether the sound quality requirement of HiFi playback is met;
所述属性包括:采样精度、采样频率和位速。The attributes include: sampling accuracy, sampling frequency, and bit rate.
一种控制高保真HiFi功能的终端,该终端包括:检测模块和HiFi功能控制模块; A terminal for controlling a high fidelity HiFi function, the terminal comprising: a detection module and a HiFi function control module;
检测模块,设置为:检测当前的播放条件;The detecting module is configured to: detect the current playing condition;
HiFi功能控制模块,设置为:根据所述检测模块的检测结果,判断是否符合HiFi播放功能要求,在符合要求时使用HiFi播放功能;在不符合要求时关闭HiFi播放功能,采用普通播放功能。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.
可选地,检测模块,包括设备检测子模块和音质检测子模块;Optionally, the detecting module includes a device detecting submodule and a sound quality detecting submodule;
设备检测子模块,设置为:检测当前选定的音频输出设备是否支持HiFi播放;The device detection submodule is configured to: detect whether the currently selected audio output device supports HiFi playback;
音质检测子模块,设置为:检测要播放的音源文件是否符合HiFi播放的音质要求。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.
可选地,HiFi功能控制模块,是设置为:Optionally, the HiFi function control module is set to:
当设备检测子模块判定当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;When 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;
当音质检测子模块判定要播放的音源文件的音质不符合HiFi播放的音质要求时,判定为不符合HiFi播放功能要求;When 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;
当设备检测子模块判定当前选定的音频输出设备支持HiFi播放,且音质检测子模块判定要播放的音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。When 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.
可选地,设备检测子模块是设置为:Optionally, the device detection submodule is set to:
获取所需选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;Obtain the hardware parameters of the selected audio output device, and determine whether HiFi playback is supported according to the hardware parameters;
或者,在当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;Or, when the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
或者,当选定的音频输出设备为外接的耳机或音响设备时,确定该音频输出设备支持HiFi播放。Alternatively, when the selected audio output device is an external earphone or audio device, it is determined that the audio output device supports HiFi playback.
可选地,音质检测子模块,是设置为:获取音源文件的以下属性中的至少一个,将所获得的属性值与预设的相应标准进行比较后确定是否适合符合HiFi播放的音质要求; Optionally, 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.
本发明提供的实施例,通过检测当前的播放条件,判断是否符合HiFi播放功能的条件,并依此控制HiFi播放功能的使用和关闭,即有针对性地有选择地播放可以真正让用户听到HiFi播放效果的播放场景,避免了因设备或文件原因本身已不可能给用户提供HiFi播放效果的情况下盲目采用HiFi播放功能造成不必要的终端的功率消耗,达到了减少耗电,增强终端的续航能力的效果。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.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例提供的控制HiFi功能的方法流程图;FIG. 1 is a flowchart of a method for controlling a HiFi function according to an embodiment of the present invention;
图2为本发明实施例提供的控制HiFi功能的终端结构图。FIG. 2 is a structural diagram of a terminal for controlling a HiFi function according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合附图及实施例对本发明的实施方式进行描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described below with reference to the drawings and embodiments. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
实施例一:Embodiment 1:
图1为本发明实施例提供的控制HiFi功能的方法流程图,包括:FIG. 1 is a flowchart of a method for controlling a HiFi function according to an embodiment of the present invention, including:
步骤101,获取当前的播放条件;Step 101: Acquire a current playing condition.
步骤102:根据所获取的播放条件,判断是否符合HiFi播放功能要求;如果符合,则进行步骤103;如果不符合,则进行步骤104;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;
步骤103,使用HiFi播放功能,播放要播放的音源文件;Step 103, using the HiFi playback function, playing the sound source file to be played;
步骤104,关闭HiFi播放功能,采用普通播放功能播放要播放的音源文 件。Step 104: Turn off the HiFi playback function, and play the source text to be played by using the normal playback function. Pieces.
其中,步骤103使用HiFi播放功能,是指使用HiFi芯片解码输出高质量音频。Wherein, step 103 uses the HiFi playback function, which refers to decoding high-quality audio using a HiFi chip.
步骤101中要获取的当前播放条件,包括:The current playing conditions to be obtained in step 101 include:
当前选定的音频输出设备是否支持HiFi播放和要播放的音源文件是否符合HiFi播放的音质要求。Whether the currently selected audio output device supports HiFi playback and whether the audio file to be played matches the sound quality requirements of HiFi playback.
步骤102判断是否符合HiFi播放功能要求,包括:Step 102 determines whether the HiFi playback function requirement is met, including:
当所述当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;When the currently selected audio output device does not support HiFi playback, it is determined that the HiFi playback function requirement is not met;
当所述音源文件的音质不符合HiFi播放的音质要求,判定为不符合HiFi播放功能要求;When the sound quality of the sound source file does not meet the sound quality requirement of HiFi playback, it is determined that the HiFi playback function requirement is not met;
当所述当前选定的音频输出设备支持HiFi播放,且所述音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。When the currently selected audio output device supports HiFi playback, and the sound quality of the audio source file meets the sound quality requirements of HiFi playback, it is determined that the HiFi playback function requirement is met.
其中,判断当前选定的音频输出设备是否支持HiFi播放,包括:Wherein, determining whether the currently selected audio output device supports HiFi playback, including:
获取所选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;例如,当所选定的音频输出设备为终端集成的喇叭时,可以通过终端获取喇叭的硬件型号,判断该型号是否在预设的支持HiFi的硬件型号列表中,或者获取喇叭的表征是否支持HiFi播放的属性值,当该属性值表示支持时,则确定该喇叭支持HiFi播放。其中,标准喇叭是否支持HiFi播放的属性,可以从设备寄存器中读取,也可以通过设备管脚连接方式确定。Obtain the hardware parameters of the selected audio output device, and determine whether to support HiFi playback according to the hardware parameters; for example, when the selected audio output device is a terminal integrated speaker, 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. Among them, whether the standard speaker supports the HiFi playback property can be read from the device register or determined by the device pin connection mode.
当所选定的音频输出设备为耳机或外接音响设备时,也可通过如上方式获取设备的硬件参数,根据该参数确定是否支持HiFi播放。When the selected audio output device is a headset or an external audio device, 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.
或者,结合当前主流终端设备中集成的喇叭普遍无法达到HiFi播放效果的情况,简化判断流程为:Or, in combination with the speakers integrated in the current mainstream terminal devices, the HiFi playback effect is generally not achieved, and the simplified judgment process is:
当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;When the selected audio output device is a terminal integrated speaker, it is determined that the audio output device does not support HiFi playback;
或者,结合主流外接耳机或音响设备普通能够达到HiFi播放效果的情 况,简化判断流程为:Or, in combination with mainstream external headphones or audio equipment, you can achieve HiFi playback. The simplified judgment process is:
当选定的音频输出设备为外接的耳机或音响设备时,则确定该设备支持HiFi播放。When the selected audio output device is an external earphone or audio device, it is determined that the device supports HiFi playback.
判断要播放的音源文件是否符合HiFi播放的音质要求,表示通过检测音源文件的一个或多个属性,判定音源文件的音质,当音源文件音质好时,使用HiFi播放功能才有实际意义,用户才能听到高保真的播放效果,当音源文件本身音质不好时,即使使用HiFi播放,由于音源文件的限制,用户也无法听到高保真的播放效果,这时,则无需使用HiFi播放功能,使用普通播放。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. When the sound quality of the sound source file is good, 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.
包括:include:
将所述音源文件的以下属性中的至少一个与设定的相应标准进行比较后确定是否符合HiFi播放的音质要求;Comparing at least one of the following attributes of the sound source file with the set corresponding standard to determine whether the sound quality requirement of HiFi playback is met;
所述属性包括:采样精度、采样频率和位速。The attributes include: sampling accuracy, sampling frequency, and bit rate.
其中,采样精度决定了记录声音的动态范围,也称为采样位数,它以位(Bit)为单位,如8bit,16bit;8bit可以把声波分为256级,16位可以把声波分为65536级的信号,位数越高,声音的保真度越高;Among them, 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;
采样频率,称为采样速度或采样率,定义了每秒从连续的信号中提取并组成离散信号的采样个数,用赫兹(Hz)来表示。通俗的讲采样频率是指计算机每秒采集多少个声音样本,是衡量音源文件的质量标准,采样频率越高声音的还原就越真实自然,声音的保真度就越高;The sampling frequency, called the sampling rate or sampling rate, 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.
位速,是指在一个数据流中每秒中能通过的信息量,如音频文件用“128–Kbps MP3”或“64–Kbps WMA”进行描述的情形。Kbps表示“每秒千字节数”,因此数值越大表示数据越多,信息量越大,音质就越好。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.
对该判定过程举例说明如下:An example of this decision process is as follows:
以采样精度为标准,判断音源文件音质,预设标准为:采样精度等于1bit或大于等于20bit,表示采样精度等于1bit,或者采样精度大于等于20bit的音源文件符合HiFi播放的音质要求;例如,DSD(Direct Stream Digital,直接比特流数字)格式的音源文件,其采样精度等于1bit,是一种成熟的高 音质音源文件。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.
以采样频率为标准,判断音源文件音质,预设标准为:采样频率大于等于44.1kHz,表示采样频率大于等于44.1kHz的音源文件符合HiFi播放的音质要求。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.
以位速为标准,判断音源文件音质,预设标准为:位速大于等于1024kpbs,表示位速大于等于1024kpbs的音源文件符合HiFi播放的音质要求。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.
以采样精度、采样频率和位速为标准,判断音源文件音质,预设标准为:采样精度大于等于16bit,采样频率大于等于44.1kHz和位速大于等于1000kbps这三个条件中至少满足两个(即表示三个属性中至少有两项大于等于设定阈值),表示当采样精度大于等于16bit且采样频率大于等于44.1kHz的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求。The sound quality of the sound source file is judged by sampling accuracy, sampling frequency and bit rate. The preset standard is: sampling accuracy is greater than or equal to 16 bits, sampling frequency is greater than or equal to 44.1 kHz, and bit velocity is greater than or equal to 1000 kbps. That is, 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.
或者,以采样精度、采样频率和位速为标准,判断音源文件音质,预设标准为:采样精度等于1bit的音源文件符合HiFi播放的音质要求;采样精度不等于1bit时,采样精度大于等于16bit,采样频率大于等于44.1kHz和位速大于等于1000kbps这三个条件中至少满足两个(即表示三个属性中至少有两项大于等于设定阈值),表示当采样精度大于等于16bit且采样频率大于等于44.1kHz的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求;或者,采样精度大于等于16bit且采样频率大于等于44.1kHz且位速大于等于1000kbps的音源文件符合HiFi播放的音质要求。Or, based on the sampling accuracy, sampling frequency and bit rate as the standard, 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.
本发明实施例中,判断标准中设定的比较阈值,不限于本实施例所例举的数值,可以根据实际音源文件的音质判断的需要相应确定其他数值。 In the embodiment of the present invention, 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:
图2为本发明实施例提供的一种控制HiFi功能的终端的结构图,该终端包括:检测模块21和HiFi功能控制模块22;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;
其中,检测模块21,设置为:检测当前的播放条件;The detecting module 21 is configured to: detect a current playing condition;
HiFi功能控制模块22,设置为:根据所述检测模块的检测结果,判断是否符合HiFi播放功能要求,在符合要求时使用HiFi播放功能;在不符合要求时关闭HiFi播放功能,采用普通播放功能。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播放功能是指使用HiFi芯片解码输出高质量音频。Among them, the use of HiFi playback function refers to the use of HiFi chip decoding to output high quality audio.
可选的,检测模块21包括:设备检测子模块211和音质检测子模块212;Optionally, the detecting module 21 includes: a device detecting submodule 211 and a sound quality detecting submodule 212;
设备检测子模块211,设置为:检测当前选定的音频输出设备是否支持HiFi播放;The device detection sub-module 211 is configured to: detect whether the currently selected audio output device supports HiFi playback;
音质检测子模块212,设置为:检测要播放的音源文件是否符合HiFi播放的音质要求。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.
可选的,Optional,
HiFi功能控制模块22,是设置为:The HiFi function control module 22 is set to:
当所述设备检测子模块211判定当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;When 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;
当所述音质检测子模块212判定要播放的音源文件的音质不符合HiFi播放的音质要求时,判定为不符合HiFi播放功能要求;When 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;
当所述设备检测子模块211判定当前选定的音频输出设备支持HiFi播放,且所述音质检测子模块212判定要播放的音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。When 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.
可选的,Optional,
设备检测子模块211是设置为:The device detection sub-module 211 is set to:
获取所需选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放; Obtain the hardware parameters of the selected audio output device, and determine whether HiFi playback is supported according to the hardware parameters;
或者,在当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;Or, when the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
或者,当选定的音频输出设备为外接的耳机或音响设备时,确定该音频输出设备支持HiFi播放。Alternatively, when the selected audio output device is an external earphone or audio device, it is determined that the audio output device supports HiFi playback.
所述音质检测子模块212,是设置为:获取所述音源文件的以下属性中的至少一个,将所获得的属性值与预设的相应标准进行比较后确定是否适合符合HiFi播放的音质要求;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.
其中,音源文件的属性与设定的相应标准进行比较,确定是否符合HiFi播放的音质要求的过程,参见实施一中举例内容。Wherein, 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.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如***、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, 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.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。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.
工业实用性 Industrial applicability
本发明实施例通过检测当前的播放条件,判断是否符合HiFi播放功能的条件,并依此控制HiFi播放功能的使用和关闭,即有针对性地有选择地播放可以真正让用户听到HiFi播放效果的播放场景,避免了因设备或文件原因本身已不可能给用户提供HiFi播放效果的情况下盲目采用HiFi播放功能造成不必要的终端的功率消耗,达到了减少耗电,增强终端的续航能力的效果。 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.

Claims (11)

  1. 一种控制高保真HiFi功能的方法,包括:A method of controlling high fidelity HiFi functionality, including:
    获取当前的播放条件;Get the current playback conditions;
    根据所获取的播放条件,判断是否符合HiFi播放功能要求;如果符合,则使用HiFi播放功能;如果不符合,则关闭HiFi播放功能,采用普通播放功能。According to the obtained playing conditions, it is judged whether 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.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述当前的播放条件,包括:The current playing conditions include:
    当前选定的音频输出设备是否支持HiFi播放和要播放的音源文件是否符合HiFi播放的音质要求。Whether the currently selected audio output device supports HiFi playback and whether the audio file to be played matches the sound quality requirements of HiFi playback.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    所述根据所获取的播放条件,判断是否符合HiFi播放功能要求,包括:Determining whether the HiFi playback function requirement is met according to the obtained playing condition, including:
    当所述当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;When the currently selected audio output device does not support HiFi playback, it is determined that the HiFi playback function requirement is not met;
    当所述音源文件的音质不符合HiFi播放的音质要求,判定为不符合HiFi播放功能要求;When the sound quality of the sound source file does not meet the sound quality requirement of HiFi playback, it is determined that the HiFi playback function requirement is not met;
    当所述当前选定的音频输出设备支持HiFi播放,且所述音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。When the currently selected audio output device supports HiFi playback, and the sound quality of the audio source file meets the sound quality requirements of HiFi playback, it is determined that the HiFi playback function requirement is met.
  4. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    判断当前选定的音频输出设备是否支持HiFi播放,包括:Determine whether the currently selected audio output device supports HiFi playback, including:
    获取所选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;Obtaining hardware parameters of the selected audio output device, and determining whether to support HiFi playback according to hardware parameters;
    或者,当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;Or, when the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
    或者,当选定的音频输出设备为外接的耳机或音响设备时,则确定该设备支持HiFi播放。 Alternatively, when the selected audio output device is an external earphone or audio device, it is determined that the device supports HiFi playback.
  5. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    判断要播放的音源文件是否符合HiFi播放的音质要求,包括:Determine whether the sound source file to be played matches the sound quality requirements of HiFi playback, including:
    将所述音源文件的以下属性中的至少一个与设定的相应标准进行比较后确定是否符合HiFi播放的音质要求;Comparing at least one of the following attributes of the sound source file with the set corresponding standard to determine whether the sound quality requirement of HiFi playback is met;
    所述属性包括:采样精度、采样频率和位速。The attributes include: sampling accuracy, sampling frequency, and bit rate.
  6. 一种控制高保真HiFi功能的终端,包括:检测模块和HiFi功能控制模块;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 a current playing condition;
    所述HiFi功能控制模块,设置为:根据所述检测模块的检测结果,判断是否符合HiFi播放功能要求,在符合要求时使用HiFi播放功能;在不符合要求时关闭HiFi播放功能,采用普通播放功能。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, use the HiFi play function when the requirement is met; turn off the HiFi play function when the requirement is not met, and use the normal play function .
  7. 根据权利要求6所述的终端,其中,The terminal according to claim 6, wherein
    所述检测模块,包括:The detecting module includes:
    设备检测子模块,设置为:检测当前选定的音频输出设备是否支持HiFi播放;The device detection submodule is configured to: detect whether the currently selected audio output device supports HiFi playback;
    音质检测子模块,设置为:检测要播放的音源文件是否符合HiFi播放的音质要求。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.
  8. 根据权利要求7所述的终端,其中,The terminal according to claim 7, wherein
    所述HiFi功能控制模块,是设置为:The HiFi function control module is set to:
    当所述设备检测子模块判定当前选定的音频输出设备不支持HiFi播放时,判定为不符合HiFi播放功能要求;When 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;
    当所述音质检测子模块判定要播放的音源文件的音质不符合HiFi播放的音质要求时,判定为不符合HiFi播放功能要求;When 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;
    当所述设备检测子模块判定当前选定的音频输出设备支持HiFi播放,且所述音质检测子模块判定要播放的音源文件的音质符合HiFi播放的音质要求时,判定为符合HiFi播放功能要求。When 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.
  9. 根据权利要求7所述的终端,其中, The terminal according to claim 7, wherein
    所述设备检测子模块是设置为:The device detection submodule is set to:
    获取所需选定的音频输出设备的硬件参数,根据硬件参数确定是否支持HiFi播放;Obtain the hardware parameters of the selected audio output device, and determine whether HiFi playback is supported according to the hardware parameters;
    或者,在当选定的音频输出设备为终端集成的喇叭时,确定该音频输出设备不支持HiFi播放;Or, when the selected audio output device is a terminal integrated speaker, determining that the audio output device does not support HiFi playback;
    或者,当选定的音频输出设备为外接的耳机或音响设备时,确定该音频输出设备支持HiFi播放。Alternatively, when the selected audio output device is an external earphone or audio device, it is determined that the audio output device supports HiFi playback.
  10. 根据权利要求7所述的终端,其中,The terminal according to claim 7, wherein
    所述音质检测子模块,是设置为:获取所述音源文件的以下属性中的至少一个,将所获得的属性值与预设的相应标准进行比较后确定是否适合符合HiFi播放的音质要求;The sound quality detection sub-module 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.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-5.
PCT/CN2016/072490 2015-08-06 2016-01-28 Method and terminal for controlling high-fidelity function WO2016131373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510477420.3 2015-08-06
CN201510477420.3A CN106454628A (en) 2015-08-06 2015-08-06 Method and terminal of controlling hifi function

Publications (1)

Publication Number Publication Date
WO2016131373A1 true WO2016131373A1 (en) 2016-08-25

Family

ID=56692262

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/072490 WO2016131373A1 (en) 2015-08-06 2016-01-28 Method and terminal for controlling high-fidelity function

Country Status (2)

Country Link
CN (1) CN106454628A (en)
WO (1) WO2016131373A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327598A (en) * 2017-07-31 2019-02-12 中兴通讯股份有限公司 A kind of method, apparatus and mobile terminal of audio data broadcasting
CN108198583A (en) * 2017-12-25 2018-06-22 河源市美晨联合智能硬件电子研究院 The method of terminal and its control Hi-Fi playing functions, storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07115700A (en) * 1993-10-20 1995-05-02 Canon Inc Audio signal processor
CN202258331U (en) * 2011-10-21 2012-05-30 深圳市奥尼电子工业有限公司 Small portable sound box capable of automatically switching playing modes
CN103077003A (en) * 2012-12-27 2013-05-01 中兴通讯股份有限公司 Method, device and system for outputting HiFi (High Fidelity) audio frequency

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970637B (en) * 2012-11-06 2015-11-25 陈亮 The interactive system of a kind of electro-acoustic product and audio-video playback equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07115700A (en) * 1993-10-20 1995-05-02 Canon Inc Audio signal processor
CN202258331U (en) * 2011-10-21 2012-05-30 深圳市奥尼电子工业有限公司 Small portable sound box capable of automatically switching playing modes
CN103077003A (en) * 2012-12-27 2013-05-01 中兴通讯股份有限公司 Method, device and system for outputting HiFi (High Fidelity) audio frequency

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
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 (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US11075609B2 (en) Transforming audio content for subjective fidelity
CN104090766A (en) Sound effect switching method and system for mobile terminal
CN105390144B (en) A kind of audio-frequency processing method and apparatus for processing audio
CN109413537A (en) Audio signal playback method, device and earphone
WO2017088632A1 (en) Recording method, recording playing method and apparatus, and terminal
EP1781063A3 (en) Method and apparatus for reproducing music file
CN1941160B (en) Device and method for automatically selecting audio-frequency play mode
WO2016131373A1 (en) Method and terminal for controlling high-fidelity function
TW201423733A (en) Audio processing system and method thereof
CN101600132B (en) Method and device for adjusting audio file play effect on portable handheld device
KR102110515B1 (en) Hearing aid device of playing audible advertisement or audible data
CN103200480A (en) Headset and working method thereof
EP2849341A1 (en) Loudness control at audio rendering of an audio signal
TWI607321B (en) System and method for optimizing music
KR101051036B1 (en) Apparatus and method for controlling sound quality of audio equipments according to the hearing of individual users
KR20100035042A (en) System and method for automatically controlling volume
CN101815114B (en) Method for controlling acoustic gain and mobile phone capable of controlling acoustic gain
TW200803577A (en) Hearing protection method and audio playing system using the hearing protection method
RU2365030C1 (en) Method and device for loudness level regulation
WO2019071491A1 (en) Intelligent terminal-based sound effect distinguishing method and sound effect distinguishing system
CN205017552U (en) Multi -room's wireless sound system
US20240029755A1 (en) Intelligent speech or dialogue enhancement
CN111767083B (en) Collecting method, playing device, electronic device and medium for awakening audio data by mistake
KR101060546B1 (en) Method and apparatus for converting audio play file according to auditory capacity of individual user
CN202736481U (en) Device preventing auditory fatigue

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