WO2017215655A1 - 音效处理方法及终端设备 - Google Patents

音效处理方法及终端设备 Download PDF

Info

Publication number
WO2017215655A1
WO2017215655A1 PCT/CN2017/088749 CN2017088749W WO2017215655A1 WO 2017215655 A1 WO2017215655 A1 WO 2017215655A1 CN 2017088749 W CN2017088749 W CN 2017088749W WO 2017215655 A1 WO2017215655 A1 WO 2017215655A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
segment
audio
difference
sub
Prior art date
Application number
PCT/CN2017/088749
Other languages
English (en)
French (fr)
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 广东欧珀移动通信有限公司
Priority to EP17812766.8A priority Critical patent/EP3416041B1/en
Publication of WO2017215655A1 publication Critical patent/WO2017215655A1/zh
Priority to US16/050,549 priority patent/US20180336005A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G7/00Volume compression or expansion in amplifiers
    • H03G7/007Volume compression or expansion in amplifiers of digital or coded signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G7/00Volume compression or expansion in amplifiers
    • H03G7/002Volume compression or expansion in amplifiers in untuned or low-frequency amplifiers, e.g. audio amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a sound effect processing method and a terminal device.
  • the audio playback function is the basic function that most smart terminals have.
  • Many applications in the terminal need to call the audio module for audio playback, such as playing game sound effects, music, video sound effects and so on.
  • rhythm fluctuations and volume of some audio files vary greatly. For example, after a gentle and low-pitched music, the music suddenly changes to a sorghum, and the sudden increase in the rhythm and volume not only increases the audio power consumption of the terminal device. It may also cause damage to the user's hearing, which is not conducive to the health of the user.
  • the embodiment of the invention provides a sound effect processing method and a terminal device, which can protect the user's hearing and reduce the sound power consumption of the terminal device.
  • a first aspect of the embodiments of the present invention provides a sound processing method, which may include:
  • the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is a difference between a maximum volume and a minimum volume of the audio segment;
  • a second aspect of the embodiments of the present invention provides a sound processing device, which may include:
  • a detecting unit configured to detect, when the terminal device plays the audio file, a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between a maximum volume and a minimum volume of the audio segment Difference
  • a determining unit configured to determine, if the maximum volume difference is greater than a preset difference, determining a first sub-segment in the audio segment that is greater than a first preset volume
  • a lowering unit for reducing the volume of playing the first sub-segment.
  • a third aspect of the embodiments of the present invention provides a terminal device, which may include a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, the processor, and the communication interface pass through the communication bus Connected, the memory storing executable program code for wireless communication; the processor for invoking executable program code stored in the memory to perform the first aspect or the first embodiment of the present invention
  • a terminal device which may include a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, the processor, and the communication interface pass through the communication bus Connected, the memory storing executable program code for wireless communication; the processor for invoking executable program code stored in the memory to perform the first aspect or the first embodiment of the present invention
  • the sound processing method of any of the alternative embodiments may include a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, the processor, and the communication interface pass through the communication bus Connected, the memory
  • a fourth aspect of the embodiments of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores instructions that, when executed on a computer, cause the computer to execute Any one of the first aspects.
  • the terminal device when the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between the maximum volume and the minimum volume of the audio segment. a difference value; if the maximum volume difference is greater than a preset difference, determining a first sub-segment in the audio segment that is greater than a first preset volume; and reducing a volume of playing the first sub-segment.
  • the playing volume of the audio segment with excessive volume in the audio file can be reduced in advance, the hearing of the user is protected, and the audio power consumption of the terminal device is reduced.
  • FIG. 1 is a schematic flow chart of a sound effect processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a sound effect processing method according to another embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a sound effect processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a sound processing device according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the embodiment of the invention provides a sound effect processing method and a terminal device, which can protect the user's hearing and reduce the sound power consumption of the terminal device.
  • the terminal device may include a mobile phone, a tablet computer, a notebook computer, a personal computer, a personal digital assistant (PDA), a mobile Internet device (MID), a multimedia player (such as an MP3, A CD player or the like, which is a type of terminal having an audio playback function, is not limited in the embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a sound effect processing method according to an embodiment of the present invention.
  • the sound effect processing method can be executed by a terminal device. As shown in FIG. 1, the method may include the following steps:
  • the maximum volume difference is a difference between a maximum volume and a minimum volume of the audio segment.
  • the audio clip can be a short segment of an audio file or a complete audio file.
  • the terminal device when the terminal device plays an audio file, if the data volume of the audio file is large, or the duration of the audio file is long, the audio file may be divided into at least two audio segments according to the data amount or duration.
  • the terminal device Before playing an audio clip, such as when playing an audio clip, or when processing an audio play request, the terminal device can pre-read the audio clip to be played and detect the maximum volume difference of the audio clip.
  • the audio segment whose maximum volume difference is greater than the preset difference may be further divided into multiple sub-segments.
  • the audio segment may be divided into multiple sub-segments according to a smaller amount of data. For example, an audio segment with a data volume of 200 KB may be divided into 20 segments. A sub-segment of 10 KB in size.
  • the audio segment may be divided into a plurality of sub-segments according to a shorter duration. For example, an audio segment having a duration of 10 s may be divided into five sub-segments having a duration of 2 s.
  • the terminal device may store a preset difference, and the preset difference may be used as a basis for determining whether the maximum volume difference reaches a trigger condition. If the maximum volume difference is greater than the preset difference, the volume adjustment of the audio segment may be triggered.
  • the terminal device may further store a value of the first preset volume, where the value of the first preset volume is greater than the maximum volume difference, for example, if the maximum volume difference is 70 dB, the first preset volume Can be 90dB.
  • the maximum volume difference is greater than the preset difference, and the volume of the played audio is greater than the first preset volume, it is considered that the change in the volume may cause the user to be uncomfortable.
  • the first sub-segment whose volume is greater than the first preset volume may be determined from the above audio segments.
  • the first adjustment ratio may be determined according to a ratio between a maximum volume of the audio segment and the first preset volume; and the first sub-segment is played according to the first adjustment ratio.
  • the volume For example, if the ratio between the maximum volume of the audio segment and the first preset volume is 2:3, the volume of playing the first sub-segment can be adjusted to two-thirds of the original volume.
  • the first adjustment amount may also be determined according to a difference between a maximum volume of the audio segment and the first preset volume; and the first adjustment is performed according to the first adjustment amount.
  • the volume of the sub-segment For example, if the difference between the maximum volume of the audio segment and the first preset volume is 10 dB, the volume of playing the first sub-segment can be reduced by 10 dB.
  • the first sub-segment is a sub-segment whose volume is greater than the first preset volume, which may cause damage to the user's hearing. Reducing the volume of playing the first sub-segment not only protects the user's hearing, but also reduces power consumption.
  • the terminal device when the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between the maximum volume and the minimum volume of the audio segment. a difference value; if the maximum volume difference is greater than a preset difference, determining a first sub-segment in the audio segment that is greater than a first preset volume; and reducing a volume of playing the first sub-segment.
  • the playing volume of the audio segment with excessive volume in the audio file can be reduced in advance, the hearing of the user is protected, and the audio power consumption of the terminal device is reduced.
  • FIG. 2 is a schematic flowchart diagram of a sound effect processing method according to another embodiment of the present invention.
  • the sound effect processing method can be executed by a terminal device. As shown in FIG. 2, the method may include the following steps:
  • the terminal device may store a value of the second preset volume, where the value of the second preset volume is smaller than the value of the first preset volume.
  • the value of the second preset volume may be a preset fixed value, or may be set and stored in real time according to the volume of the current ambient noise. If the second preset volume is set according to the volume of the ambient noise, the second preset volume value should be greater than the volume of the current ambient noise.
  • a second sub-segment whose volume is smaller than the second preset volume may be determined from the above audio segments.
  • determining a second adjustment ratio according to a ratio between a minimum volume of the audio segment and the second preset volume; and increasing the playing according to the second adjustment ratio The volume of the two sub-segments. For example, if the ratio between the minimum volume of the audio segment and the second preset volume is 2:3, the volume of playing the second sub-segment can be adjusted to 1.5 times the original volume.
  • the second adjustment amount may be determined according to a difference between a minimum volume of the audio segment and the second preset volume; and the playing is increased according to the second adjustment amount.
  • the volume of the second sub-segment For example, if the difference between the minimum volume of the audio segment and the second preset volume is 10 dB, the volume of playing the second sub-segment can be increased by 10 dB.
  • the volume of the second sub-segment after the increase is smaller than the first preset volume.
  • the terminal device when the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between the maximum volume and the minimum volume of the audio segment. a difference value; if the maximum volume difference is greater than a preset difference, determining a first sub-segment in the audio segment that is greater than a first preset volume; reducing a volume of playing the first sub-segment; determining the audio a second sub-segment in which the volume is smaller than the second preset volume; increasing the volume of playing the second sub-segment.
  • the playing volume of the audio segment with excessive volume in the audio file can be reduced in advance, the hearing of the user is protected, and the audio power consumption of the terminal device is reduced.
  • the playback volume of the audio clip whose volume is too small in the audio file can also be increased in advance to enhance the user's listening experience.
  • FIG. 3 is a schematic structural diagram of a sound processing apparatus according to an embodiment of the present invention. As shown in Figure 3, the device can include the following units:
  • the detecting unit 301 is configured to detect, when the terminal device plays the audio file, a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between a maximum volume and a minimum volume of the audio segment. The difference.
  • the terminal device when the terminal device plays an audio file, if the data volume of the audio file is large, or the duration of the audio file is long, the audio file may be divided into data volume or duration according to the data volume or duration. At least two audio clips. Before playing an audio clip, such as when playing an audio clip, or when processing an audio play request, the terminal device can pre-read the audio clip to be played and detect the maximum volume difference of the audio clip.
  • the determining unit 302 is configured to determine, if the maximum volume difference is greater than a preset difference, the first sub-segment in the audio segment that is greater than the first preset volume.
  • the audio segment whose maximum volume difference is greater than the preset difference may be further divided into multiple sub-segments.
  • the audio segment may be divided into multiple sub-segments according to a smaller amount of data. For example, an audio segment with a data volume of 200 KB may be divided into 20 segments. A sub-segment of 10 KB in size.
  • the audio segment may be divided into a plurality of sub-segments according to a shorter duration. For example, an audio segment having a duration of 10 s may be divided into five sub-segments having a duration of 2 s.
  • the terminal device may store a preset difference, and the preset difference may be used as a basis for determining whether the maximum volume difference reaches a trigger condition. If the maximum volume difference is greater than the preset difference, the volume adjustment of the audio segment may be triggered.
  • the terminal device may further store a value of the first preset volume, where the value of the first preset volume is greater than the maximum volume difference, for example, if the maximum volume difference is 70 dB, the first preset volume Can be 90dB.
  • the maximum volume difference is greater than the preset difference, and the volume of the played audio is greater than the first preset volume, it is considered that the change in the volume may cause the user to be uncomfortable.
  • the first sub-segment whose volume is greater than the first preset volume may be determined from the above audio segments.
  • the lowering unit 303 is configured to reduce the volume of playing the first sub-segment.
  • the reducing unit 303 may determine a first adjustment ratio according to a ratio between a maximum volume of the audio segment and the first preset volume; and decrease the playing according to the first adjustment ratio.
  • the volume of a sub-segment For example, if the ratio between the maximum volume of the audio segment and the first preset volume is 2:3, the volume of playing the first sub-segment can be adjusted to two-thirds of the original volume.
  • the reducing unit 303 may further determine a first adjustment amount according to a difference between a maximum volume of the audio segment and the first preset volume; and lower the playback station according to the first adjustment amount.
  • the volume of the first sub-segment For example, if the difference between the maximum volume of the audio segment and the first preset volume is 10 dB, the volume of playing the first sub-segment can be reduced by 10 dB.
  • the first sub-segment is a sub-segment whose volume is greater than the first preset volume, which may cause damage to the user's hearing. Reducing the volume of playing the first sub-segment not only protects the user's hearing, but also reduces power consumption.
  • the terminal device when the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between the maximum volume and the minimum volume of the audio segment. a difference value; if the maximum volume difference is greater than a preset difference, determining a first sub-segment in the audio segment that is greater than a first preset volume; and reducing a volume of playing the first sub-segment.
  • the playing volume of the audio segment with excessive volume in the audio file can be reduced in advance, the hearing of the user is protected, and the audio power consumption of the terminal device is reduced.
  • FIG. 4 is a schematic structural diagram of a sound effect processing apparatus according to another embodiment of the present invention.
  • the device can include the following units:
  • the detecting unit 401 is configured to detect, when the terminal device plays the audio file, a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between a maximum volume and a minimum volume of the audio segment. The difference.
  • the determining unit 402 is configured to determine, if the maximum volume difference is greater than the preset difference, the first sub-segment in the audio segment that is greater than the first preset volume.
  • the lowering unit 403 is configured to reduce the volume of playing the first sub-segment.
  • the determining unit 402 is further configured to determine a second sub-segment in the audio segment that has a volume less than a second preset volume.
  • the terminal device may store a value of the second preset volume, where the value of the second preset volume is smaller than the value of the first preset volume.
  • the value of the second preset volume may be a preset fixed value, or may be set and stored in real time according to the volume of the current ambient noise. If the second preset volume is set according to the volume of the ambient noise, the second preset volume value should be greater than the volume of the current ambient noise.
  • a second sub-segment whose volume is smaller than the second preset volume may be determined from the above audio segments.
  • the increasing unit 404 is configured to increase the volume of playing the second sub-segment.
  • the increasing unit 404 may determine a second adjustment ratio according to a ratio between a minimum volume of the audio segment and the second preset volume; and increase according to the second adjustment ratio. Playing the volume of the second sub-segment. For example, if the ratio between the minimum volume of the audio segment and the second preset volume is 2:3, the volume of playing the second sub-segment can be adjusted to 1.5 times the original volume.
  • the increasing unit 404 may determine a second adjustment amount according to a difference between a minimum volume of the audio segment and the second preset volume; and, according to the second adjustment amount, increase The volume of the second sub-segment is played largely. For example, if the difference between the minimum volume of the audio segment and the second preset volume is 10 dB, the volume of playing the second sub-segment can be increased by 10 dB.
  • the volume of the second sub-segment after the increase is smaller than the first preset volume.
  • the terminal device when the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between the maximum volume and the minimum volume of the audio segment. a difference value; if the maximum volume difference is greater than a preset difference, determining a first sub-segment in the audio segment that is greater than a first preset volume; reducing a volume of playing the first sub-segment; determining the audio a second sub-segment in which the volume is smaller than the second preset volume; increasing the volume of playing the second sub-segment.
  • the playing volume of the audio segment with excessive volume in the audio file can be reduced in advance, the hearing of the user is protected, and the audio power consumption of the terminal device is reduced.
  • the playback volume of the audio clip whose volume is too small in the audio file can also be increased in advance to enhance the user's listening experience.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device may include a processor 501, a memory 502, a communication interface 503, and a communication bus 504; wherein the processor 501, the memory 502, and the communication interface 503 are connected and communicate with each other through the communication bus 504.
  • the processor 501 controls wireless communication with the external cellular network through the communication interface 503; the communication interface 503 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, etc.
  • the memory 502 includes at least one of the following: a random access memory, a nonvolatile memory, and an external memory.
  • the memory 502 stores executable program code, and the processor 501 can call the executable program code to perform the following steps:
  • the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is a difference between a maximum volume and a minimum volume of the audio segment;
  • the processor 501 before the processor 501 performs the detection of the maximum volume difference of an audio segment of the currently read audio file, the following steps may be further included:
  • the detecting a maximum volume difference of an audio segment of the currently read audio file includes:
  • a maximum volume difference of the next audio segment is detected.
  • the dividing the audio file into at least two audio segments comprises:
  • the audio file is divided into at least two audio segments according to the amount of data or the duration of the audio.
  • the first preset volume is greater than the maximum volume difference.
  • the step of the processor 501 to reduce the volume of playing the first sub-segment may include:
  • the volume of playing the first sub-segment is reduced according to the first adjustment ratio.
  • the step of the processor 501 to reduce the volume of playing the first sub-segment may include:
  • the volume of the first sub-segment is played back according to the first adjustment amount.
  • the processor 501 can also call the executable program code to perform the following steps:
  • the step of increasing the volume of playing the second sub-segment performed by the processor 501 may include:
  • the volume of playing the second sub-segment is increased in accordance with the second adjustment ratio.
  • the step of increasing the volume of playing the second sub-segment performed by the processor 501 may include:
  • the volume of playing the second sub-segment is increased in accordance with the second adjustment amount.
  • the terminal device when the terminal device plays the audio file, detecting a maximum volume difference of an audio segment of the currently read audio file, where the maximum volume difference is between the maximum volume and the minimum volume of the audio segment. a difference value; if the maximum volume difference is greater than a preset difference, determining a first sub-segment in the audio segment that is greater than a first preset volume; and reducing a volume of playing the first sub-segment.
  • the playing volume of the audio segment with excessive volume in the audio file can be reduced in advance, the hearing of the user is protected, and the audio power consumption of the terminal device is reduced.
  • the modules or units in all the embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • Modules or units in the apparatus of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

一种音效处理方法及终端设备,其中音效处理方法可包括:在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差(S101),所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段(S102);降低播放所述第一子片段的音量(S103)。采用所述方法,可预先降低音频文件中音量过大的音频片段的播放音量,保护用户的听觉,并降低终端设备的音效功耗。

Description

音效处理方法及终端设备 技术领域
本发明涉及智能终端技术领域,尤其涉及一种音效处理方法及终端设备。
背景技术
随着智能终端技术的发展,市场上各种各样的智能终端层出不穷,智能终端的功能及应用也越来越丰富。其中,音频播放功能为大多数智能终端都具备的基本功能。终端中的许多应用都需要调用音频模块进行音频播放,例如播放游戏音效、音乐、视频音效等。
实际应用中,有些音频文件的节奏起伏和音量变化较大,例如在平缓低沉的音乐之后,突然转折到急速高亢的音乐,此时突然增大的节奏和音量不仅增加终端设备的音效功耗,还可能对用户的听觉造成损害,不利于用户的健康。
发明内容
本发明实施例提供一种音效处理方法及终端设备,可保护用户的听觉,并降低终端设备的音效功耗。
本发明实施例第一方面提供一种音效处理方法,可包括:
在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;
若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;
降低播放所述第一子片段的音量。
本发明实施例第二方面提供一种音效处理装置,可包括:
检测单元,用于在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;
确定单元,用于若所述最大音量差大于预设的差值,确定所述音频片段中音量大于第一预设音量的第一子片段;
降低单元,用于降低播放所述第一子片段的音量。
本发明实施例第三方面提供一种终端设备,可包括处理器、存储器、通信接口和通信总线,其中所述处理器、所述存储器、所述处理器和所述通信接口通过所述通信总线连接,所述存储器存储有可执行程序代码,所述通信接口用于无线通信;所述处理器用于调用所述存储器中存储的可执行程序代码,以执行本发明实施例第一方面或者第一方面任一可选实施例所述的音效处理方法。
本发明实施例第四方面提供一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行 第一方面中任意一个方法。
本发明实施例中,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;降低播放所述第一子片段的音量。采用本发明实施例,可预先降低音频文件中音量过大的音频片段的播放音量,保护用户的听觉,并降低终端设备的音效功耗。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。
图1是本发明的一个实施例提供的音效处理方法的流程示意图;
图2是本发明的另一个实施例提供的音效处理方法的流程示意图;
图3是本发明的一个实施例提供的音效处理装置的结构示意图;
图4是本发明的另一个实施例提供的音效处理装置的结构示意图;
图5是本发明的一个实施例提供的终端设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种音效处理方法及终端设备,可保护用户的听觉,并降低终端设备的音效功耗。本发明实施例中,终端设备可以包括手机、平板电脑、笔记本电脑、个人计算机、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、多媒体播放器(如MP3、CD机等)各类具有音频播放功能的终端,本发明实施例不作限定。
参见图1,图1是本发明的一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由终端设备执行。如图1所示,所述方法可包括如下步骤:
S101,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差。
其中,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值。所述音频片段可以是音频文件中的一小段或者是完整的音频文件。
作为一种可行的实施方式,终端设备在播放音频文件时,若音频文件的数据量较大,或者音频文件的时长较长,可将音频文件按照数据量或时长划分为至少两个音频片段。在播放一个音频片段之前,例如在播放上一个音频片段时,或者在处理音频播放请求时,终端设备可预先读取将要播放的音频片段,检测该音频片段的最大音量差。
S102,若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段。
本发明实施例中,对于最大音量差大于预设差值的音频片段,还可进一步划分为多个子片段。可选地,若上述音频片段为按照数据量进行划分的,则可按照更小的数据量将上述音频片段划分为多个子片段,例如,可将一个数据量为200KB的音频片段划分为20个大小为10KB的子片段。若上述音频片段为按照时长划分的,则可按照更短的时长将上述音频片段划分为多个子片段,例如,可将一个时长为10s的音频片段划分为5个时长为2s的子片段。
作为一种可行的实施方式,终端设备可存储一预设差值,该预设差值可作为判断上述最大音量差是否达到触发条件的依据。若上述最大音量差大于该预设差值,可触发对上述音频片段的音量调节。
作为一种可行的实施方式,终端设备还可存储第一预设音量的值,第一预设音量的值大于上述最大音量差,例如,若上述最大音量差为70dB,则第一预设音量可以为90dB。本发明实施例中,当最大音量差大于预设差值,并且播放音频的音量大于第一预设音量时,认为音量的变化可能导致用户不适。此时,可从上述音频片段中确定音量大于第一预设音量的第一子片段。
S103,降低播放所述第一子片段的音量。
在一些可选实施例中,可根据所述音频片段的最大音量与所述第一预设音量之间的比值确定第一调节比例;按照所述第一调节比例降低播放所述第一子片段的音量。例如,若所述音频片段的最大音量与所述第一预设音量之间的比值为2:3,则可将播放所述第一子片段的音量调整为原音量的三分之二。
在一些可选实施例中,还可根据所述音频片段的最大音量与所述第一预设音量之间的差值确定第一调节量;按照所述第一调节量降低播放所述第一子片段的音量。例如,若上述音频片段的最大音量与所述第一预设音量之间的差值为10dB,则可将播放所述第一子片段的音量降低10dB。
具体实施中,第一子片段为音量大于第一预设音量的子片段,可能对用户听觉造成伤害。降低播放所述第一子片段的音量,不仅可保护用户的听觉,还可减少功耗。
本发明实施例中,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;降低播放所述第一子片段的音量。采用本发明实施例,可预先降低音频文件中音量过大的音频片段的播放音量,保护用户的听觉,并降低终端设备的音效功耗。
参见图2,图2是本发明的另一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由终端设备执行。如图2所示,所述方法可包括如下步骤:
S201,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差。
S202,若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段。
S203,降低播放所述第一子片段的音量。
本发明实施例中,步骤S201至S203的具体实施方式可参考图1所示实施例中步骤S101至S103的相关描述,此处不再赘述。
S204,确定所述音频片段中音量小于第二预设音量的第二子片段。
作为一种可行的实施方式,终端设备可存储第二预设音量的值,第二预设音量的值小于第一预设音量的值。其中第二预设音量的值可以是预先设置的固定值,也可以根据当前环境噪音的音量实时设置并存储。若第二预设音量为根据环境噪音的音量设置的,第二预设音量值应大于当前环境噪音的音量。
发明实施例中,当播放音频的音量小于第二预设音量时,认为音量过小可能导致用户无法听清。此时,可从上述音频片段中确定音量小于第二预设音量的第二子片段。
S205,增大播放所述第二子片段的音量。
在一些可选实施例中,可根据所述音频片段的最小音量与所述第二预设音量之间的比值确定第二调节比例;以及,按照所述第二调节比例增大播放所述第二子片段的音量。例如,若所述音频片段的最小音量与所述第二预设音量之间的比值为2:3,则可将播放所述第二子片段的音量调整为原音量的1.5倍。
在一些可选实施例中,可根据所述音频片段的最小音量与所述第二预设音量之间的差值确定第二调节量;以及,按照所述第二调节量增大播放所述第二子片段的音量。例如,若所述音频片段的最小音量与所述第二预设音量之间的差值为10dB,则可将播放所述第二子片段的音量增大10dB。
优选地,增大后的第二子片段的音量应小于上述第一预设音量。
本发明实施例中,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;降低播放所述第一子片段的音量;确定所述音频片段中音量小于第二预设音量的第二子片段;增大播放所述第二子片段的音量。采用本发明实施例,可预先降低音频文件中音量过大的音频片段的播放音量,保护用户的听觉,并降低终端设备的音效功耗。还可预先增大音频文件中音量过小的音频片段的播放音量,增强用户的听觉体验。
参见图3,图3是本发明的一个实施例提供的音效处理装置的结构示意图。如图3所示,所述装置可包括以下单元:
检测单元301,用于在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值。
作为一种可行的实施方式,终端设备在播放音频文件时,若音频文件的数据量较大,或者音频文件的时长较长,可将音频文件按照数据量或时长划分为 至少两个音频片段。在播放一个音频片段之前,例如在播放上一个音频片段时,或者在处理音频播放请求时,终端设备可预先读取将要播放的音频片段,检测该音频片段的最大音量差。
确定单元302,用于若所述最大音量差大于预设的差值,确定所述音频片段中音量大于第一预设音量的第一子片段。
本发明实施例中,对于最大音量差大于预设差值的音频片段,还可进一步划分为多个子片段。可选地,若上述音频片段为按照数据量进行划分的,则可按照更小的数据量将上述音频片段划分为多个子片段,例如,可将一个数据量为200KB的音频片段划分为20个大小为10KB的子片段。若上述音频片段为按照时长划分的,则可按照更短的时长将上述音频片段划分为多个子片段,例如,可将一个时长为10s的音频片段划分为5个时长为2s的子片段。
作为一种可行的实施方式,终端设备可存储一预设差值,该预设差值可作为判断上述最大音量差是否达到触发条件的依据。若上述最大音量差大于该预设差值,可触发对上述音频片段的音量调节。
作为一种可行的实施方式,终端设备还可存储第一预设音量的值,第一预设音量的值大于上述最大音量差,例如,若上述最大音量差为70dB,则第一预设音量可以为90dB。本发明实施例中,当最大音量差大于预设差值,并且播放音频的音量大于第一预设音量时,认为音量的变化可能导致用户不适。此时,可从上述音频片段中确定音量大于第一预设音量的第一子片段。
降低单元303,用于降低播放所述第一子片段的音量。
在一些可选实施例中,降低单元303可根据所述音频片段的最大音量与所述第一预设音量之间的比值确定第一调节比例;按照所述第一调节比例降低播放所述第一子片段的音量。例如,若所述音频片段的最大音量与所述第一预设音量之间的比值为2:3,则可将播放所述第一子片段的音量调整为原音量的三分之二。
在一些可选实施例中,降低单元303还可根据所述音频片段的最大音量与所述第一预设音量之间的差值确定第一调节量;按照所述第一调节量降低播放所述第一子片段的音量。例如,若上述音频片段的最大音量与所述第一预设音量之间的差值为10dB,则可将播放所述第一子片段的音量降低10dB。
具体实施中,第一子片段为音量大于第一预设音量的子片段,可能对用户听觉造成伤害。降低播放所述第一子片段的音量,不仅可保护用户的听觉,还可减少功耗。
本发明实施例中,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;降低播放所述第一子片段的音量。采用本发明实施例,可预先降低音频文件中音量过大的音频片段的播放音量,保护用户的听觉,并降低终端设备的音效功耗。
参见图4,图4是本发明的另一个实施例提供的音效处理装置的结构示意图。如图4所示,所述装置可包括以下单元:
检测单元401,用于在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值。
确定单元402,用于若所述最大音量差大于预设的差值,确定所述音频片段中音量大于第一预设音量的第一子片段。
降低单元403,用于降低播放所述第一子片段的音量。
本发明实施例中,检测单元401、确定单元402和降低单元403的具体实施方式可参考图3所示实施例中的相关描述,此次不再赘述。
在一些可行实施例中,确定单元402,还用于确定所述音频片段中音量小于第二预设音量的第二子片段。
作为一种可行的实施方式,终端设备可存储第二预设音量的值,第二预设音量的值小于第一预设音量的值。其中第二预设音量的值可以是预先设置的固定值,也可以根据当前环境噪音的音量实时设置并存储。若第二预设音量为根据环境噪音的音量设置的,第二预设音量值应大于当前环境噪音的音量。
本发明实施例中,当播放音频的音量小于第二预设音量时,认为音量过小可能导致用户无法听清。此时,可从上述音频片段中确定音量小于第二预设音量的第二子片段。
增大单元404,用于增大播放所述第二子片段的音量。
在一些可选实施例中,增大单元404可根据所述音频片段的最小音量与所述第二预设音量之间的比值确定第二调节比例;以及,按照所述第二调节比例增大播放所述第二子片段的音量。例如,若所述音频片段的最小音量与所述第二预设音量之间的比值为2:3,则可将播放所述第二子片段的音量调整为原音量的1.5倍。
在一些可选实施例中,增大单元404可根据所述音频片段的最小音量与所述第二预设音量之间的差值确定第二调节量;以及,按照所述第二调节量增大播放所述第二子片段的音量。例如,若所述音频片段的最小音量与所述第二预设音量之间的差值为10dB,则可将播放所述第二子片段的音量增大10dB。
优选地,增大后的第二子片段的音量应小于上述第一预设音量。
本发明实施例中,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;降低播放所述第一子片段的音量;确定所述音频片段中音量小于第二预设音量的第二子片段;增大播放所述第二子片段的音量。采用本发明实施例,可预先降低音频文件中音量过大的音频片段的播放音量,保护用户的听觉,并降低终端设备的音效功耗。还可预先增大音频文件中音量过小的音频片段的播放音量,增强用户的听觉体验。
参见图5,图5是本发明的一个实施例提供的终端设备的结构示意图。如图5所示,所述终端设备可包括处理器501,存储器502,通信接口503和通信总线504;其中,处理器501、存储器502和通信接口503通过通信总线504连接并完成相互间的通信;处理器501通过通信接口503控制与外部蜂窝网的无线通信;通信接口503包括但不限于天线、放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。存储器502包括以下至少一种:随机存取存贮器、非易失性存储器以及外部存储器,存储器502中存储有可执行程序代码,处理器501可调用该可执行程序代码,执行以下步骤:
在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;
若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;
降低播放所述第一子片段的音量。
在一些可行实施例中,所述处理器501执行的检测当前读取的所述音频文件的一音频片段的最大音量差之前,还可包括以下步骤:
将所述音频文件划分为至少两个音频片段;
当播放一个音频片段时,读取所述音频片段的下一个音频片段;
所述检测当前读取的所述音频文件的一音频片段的最大音量差,包括:
检测所述下一个音频片段的最大音量差。
在一些可行实施例中,所述将所述音频文件划分为至少两个音频片段,包括:
将所述音频文件按照数据量或音频时长划分为至少两个音频片段。
在一些可行实施例中,所述第一预设音量大于所述最大音量差。
在一些可行实施例中,所述处理器501执行的降低播放所述第一子片段的音量的步骤,可包括:
根据所述音频片段的最大音量与所述第一预设音量之间的比值确定第一调节比例;
按照所述第一调节比例降低播放所述第一子片段的音量。
在一些可行实施例中,所述处理器501执行的降低播放所述第一子片段的音量的步骤,可包括:
根据所述音频片段的最大音量与所述第一预设音量之间的差值确定第一调节量;
按照所述第一调节量降低播放所述第一子片段的音量。
在一些可行实施例中,处理器501还可调用该可执行程序代码,执行以下步骤:
确定所述音频片段中音量小于第二预设音量的第二子片段;
增大播放所述第二子片段的音量。
在一些可行实施例中,处理器501执行的增大播放所述第二子片段的音量的步骤,可包括:
根据所述音频片段的最小音量与所述第二预设音量之间的比值确定第二调节比例;
按照所述第二调节比例增大播放所述第二子片段的音量。
在一些可行实施例中,处理器501执行的增大播放所述第二子片段的音量的步骤,可包括:
根据所述音频片段的最小音量与所述第二预设音量之间的差值确定第二调节量;
按照所述第二调节量增大播放所述第二子片段的音量。
本发明实施例中,在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;降低播放所述第一子片段的音量。采用本发明实施例,可预先降低音频文件中音量过大的音频片段的播放音量,保护用户的听觉,并降低终端设备的音效功耗。
本发明所有实施例中的模块或单元,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (20)

  1. 一种音效处理方法,其特征在于,包括:
    在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;
    若所述最大音量差大于预设差值,确定所述音频片段中音量大于第一预设音量的第一子片段;
    降低播放所述第一子片段的音量。
  2. 如权利要求1所述的音效处理方法,其特征在于,所述检测当前读取的所述音频文件的一音频片段的最大音量差之前,所述方法还包括:
    将所述音频文件划分为至少两个音频片段;
    当播放一个音频片段时,读取所述音频片段的下一个音频片段;
    所述检测当前读取的所述音频文件的一音频片段的最大音量差,包括:
    检测所述下一个音频片段的最大音量差。
  3. 如权利要求2所述的音效处理方法,其特征在于,所述将所述音频文件划分为至少两个音频片段,包括:
    将所述音频文件按照数据量或音频时长划分为至少两个音频片段。
  4. 如权利要求1所述的音效处理方法,其特征在于,所述第一预设音量大于所述最大音量差。
  5. 根据权利要求1-4任一项所述的音效处理方法,其特征在于,所述降低播放所述第一子片段的音量,包括:
    根据所述音频片段的最大音量与所述第一预设音量之间的比值确定第一调节比例;
    按照所述第一调节比例降低播放所述第一子片段的音量。
  6. 根据权利要求1-4任一项所述的音效处理方法,其特征在于,所述降低播放所述第一子片段的音量,包括:
    根据所述音频片段的最大音量与所述第一预设音量之间的差值确定第一调节量;
    按照所述第一调节量降低播放所述第一子片段的音量。
  7. 根据权利要求1-4任一项所述的音效处理方法,其特征在于,所述音效处理方法还包括:
    确定所述音频片段中音量小于第二预设音量的第二子片段;
    增大播放所述第二子片段的音量。
  8. 根据权利要求7所述的音效处理方法,其特征在于,所述增大播放所述第二子片段的音量,包括:
    根据所述音频片段的最小音量与所述第二预设音量之间的比值确定第二调节比例;
    按照所述第二调节比例增大播放所述第二子片段的音量。
  9. 根据权利要求7所述的音效处理方法,其特征在于,所述增大播放所述第二子片段的音量,包括:
    根据所述音频片段的最小音量与所述第二预设音量之间的差值确定第二调节量;
    按照所述第二调节量增大播放所述第二子片段的音量。
  10. 一种音效处理装置,其特征在于,包括:
    检测单元,用于在终端设备播放音频文件时,检测当前读取的所述音频文件的一音频片段的最大音量差,所述最大音量差为所述音频片段的最大音量与最小音量之间的差值;
    确定单元,用于若所述最大音量差大于预设的差值,确定所述音频片段中音量大于第一预设音量的第一子片段;
    降低单元,用于降低播放所述第一子片段的音量。
  11. 如权利要求10所述的音效处理装置,其特征在于,所述检测单元用于:
    将所述音频文件划分为至少两个音频片段;
    当播放一个音频片段时,读取所述音频片段的下一个音频片段;
    检测所述下一个音频片段的最大音量差。
  12. 如权利要求11所述的音效处理装置,其特征在于,所述检测单元用于:
    将所述音频文件按照数据量或音频时长划分为至少两个音频片段。
  13. 如权利要求10-12任一项所述的音效处理装置,其特征在于,所述第一预设音量大于所述最大音量差。
  14. 根据权利要求10-13任一项所述的音效处理装置,其特征在于,所述降低单元,用于:
    根据所述音频片段的最大音量与所述第一预设音量之间的比值确定第一调节比例;以及,
    按照所述第一调节比例降低播放所述第一子片段的音量。
  15. 根据权利要求10-13任一项所述的音效处理装置,其特征在于,所述降低单元,用于:
    根据所述音频片段的最大音量与所述第一预设音量之间的差值确定第一调节量;
    按照所述第一调节量降低播放所述第一子片段的音量。
  16. 根据权利要求10-13任一项所述的音效处理装置,其特征在于,
    所述确定单元,还用于确定所述音频片段中音量小于第二预设音量的第二子片段;
    所述终端设备还包括:
    增大单元,用于增大播放所述第二子片段的音量。
  17. 根据权利要求16所述的音效处理装置,其特征在于,所述增大单元,用于:
    根据所述音频片段的最小音量与所述第二预设音量之间的比值确定第二调节比例;以及,
    按照所述第二调节比例增大播放所述第二子片段的音量。
  18. 根据权利要求16所述的音效处理装置,其特征在于,所述增大单元,用于:
    根据所述音频片段的最小音量与所述第二预设音量之间的差值确定第二调节量;以及,
    按照所述第二调节量增大播放所述第二子片段的音量。
  19. 一种终端设备,其特征在于,包括:处理器、存储器;
    所述存储器存储有可执行程序代码;
    所述处理器用于调用所述存储器中的可执行程序代码,执行如权利要求1-9任意一项所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求1-9中任意一个方法。
PCT/CN2017/088749 2016-06-16 2017-06-16 音效处理方法及终端设备 WO2017215655A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP17812766.8A EP3416041B1 (en) 2016-06-16 2017-06-16 Sound effect processing method, and terminal device
US16/050,549 US20180336005A1 (en) 2016-06-16 2018-07-31 Sound effect processing method, and terminal device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610438610.9A CN106126164B (zh) 2016-06-16 2016-06-16 一种音效处理方法及终端设备
CN201610438610.9 2016-06-16

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/050,549 Continuation US20180336005A1 (en) 2016-06-16 2018-07-31 Sound effect processing method, and terminal device

Publications (1)

Publication Number Publication Date
WO2017215655A1 true WO2017215655A1 (zh) 2017-12-21

Family

ID=57469795

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/088749 WO2017215655A1 (zh) 2016-06-16 2017-06-16 音效处理方法及终端设备

Country Status (4)

Country Link
US (1) US20180336005A1 (zh)
EP (1) EP3416041B1 (zh)
CN (1) CN106126164B (zh)
WO (1) WO2017215655A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126164B (zh) * 2016-06-16 2019-05-17 Oppo广东移动通信有限公司 一种音效处理方法及终端设备
CN106708463B (zh) * 2016-12-09 2019-12-27 广州三星通信技术研究有限公司 调节拍摄的视频文件的音量的方法及设备
CN107122156A (zh) * 2017-03-09 2017-09-01 深圳市金立通信设备有限公司 一种音量控制方法及终端
CN107506168B (zh) * 2017-08-18 2022-06-14 Oppo广东移动通信有限公司 音量调节方法、装置、终端设备及存储介质
CN107566618B (zh) * 2017-08-18 2021-01-22 Oppo广东移动通信有限公司 音量调节方法、装置、终端设备及存储介质
CN107479851B (zh) * 2017-08-18 2019-07-16 Oppo广东移动通信有限公司 音量调节方法、装置、终端设备及存储介质
CN107820122B (zh) * 2017-10-09 2021-02-19 惠州Tcl移动通信有限公司 一种视频音量调节方法、存储介质及移动终端
CN108052305B (zh) * 2017-11-29 2021-02-05 Oppo广东移动通信有限公司 音量调节方法、装置、电子设备和计算机可读存储介质
CN108429929B (zh) * 2018-05-08 2020-12-08 海信视像科技股份有限公司 一种音轨播放方法、装置及存储介质
CN109672961B (zh) * 2018-12-14 2020-10-09 歌尔科技有限公司 一种音量调节方法、设备及存储介质
CN109658930B (zh) * 2018-12-19 2021-05-18 Oppo广东移动通信有限公司 语音信号处理方法、电子装置及计算机可读存储介质
CN109828738B (zh) * 2018-12-26 2022-05-03 努比亚技术有限公司 一种音量调节控制方法、耳机及计算机可读存储介质
CN114422913A (zh) * 2022-01-27 2022-04-29 中国第一汽车股份有限公司 音量调节方法、装置、中控设备、车辆及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070110260A1 (en) * 2005-11-11 2007-05-17 Hon Hai Precision Industry Co., Ltd. Audio processing system with function of automatic gain control and method thereof
CN101174818A (zh) * 2007-11-21 2008-05-07 广东威创视讯科技股份有限公司 播放媒体文件的方法及装置
EP2282403A2 (en) * 2005-12-07 2011-02-09 Apple Inc. Portable audio device providing automated control of audio volume parameters for hearing protection
CN104699447A (zh) * 2015-03-12 2015-06-10 浙江万朋网络技术有限公司 一种基于能量统计的语音音量自动调整方法
CN106126164A (zh) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 一种音效处理方法及终端设备

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01149508A (ja) * 1987-12-04 1989-06-12 Sony Corp 音響信号処理回路
US6801895B1 (en) * 1998-12-07 2004-10-05 At&T Corp. Method and apparatus for segmenting a multi-media program based upon audio events
US6714909B1 (en) * 1998-08-13 2004-03-30 At&T Corp. System and method for automated multimedia content indexing and retrieval
JP2000134105A (ja) * 1998-10-29 2000-05-12 Matsushita Electric Ind Co Ltd オーディオ変換符号化に用いられるブロックサイズを決定し適応させる方法
US6668027B1 (en) * 1999-03-02 2003-12-23 Hitachi America, Ltd. Self adjusting automatic gain control (AGC) power reference level circuit
US7262724B2 (en) * 2005-03-31 2007-08-28 Freescale Semiconductor, Inc. System and method for adjusting dynamic range of analog-to-digital converter
GB2450886B (en) * 2007-07-10 2009-12-16 Motorola Inc Voice activity detector and a method of operation
CN101770776B (zh) * 2008-12-29 2011-06-08 华为技术有限公司 瞬态信号的编码方法和装置、解码方法和装置及处理系统
US9549251B2 (en) * 2011-03-25 2017-01-17 Invensense, Inc. Distributed automatic level control for a microphone array
US8971557B2 (en) * 2012-08-09 2015-03-03 Starkey Laboratories, Inc. Binaurally coordinated compression system
US20180197158A1 (en) * 2012-12-02 2018-07-12 Dennis R. Smalley Methods and Systems for Purposeful Playlist Music Selection or Purposeful Purchase List Music Selection
CN109036443B (zh) * 2013-01-21 2023-08-18 杜比实验室特许公司 用于在不同回放设备之间优化响度和动态范围的系统和方法
US9883310B2 (en) * 2013-02-08 2018-01-30 Qualcomm Incorporated Obtaining symmetry information for higher order ambisonic audio renderers
US9319784B2 (en) * 2014-04-14 2016-04-19 Cirrus Logic, Inc. Frequency-shaped noise-based adaptation of secondary path adaptive response in noise-canceling personal audio devices
US10824385B2 (en) * 2015-02-27 2020-11-03 Charter Communications Operating, Llc Automated audio volume stabilizer
WO2016172363A1 (en) * 2015-04-24 2016-10-27 Cyber Resonance Corporation Methods and systems for performing signal analysis to identify content types
US9754580B2 (en) * 2015-10-12 2017-09-05 Technologies For Voice Interface System and method for extracting and using prosody features

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070110260A1 (en) * 2005-11-11 2007-05-17 Hon Hai Precision Industry Co., Ltd. Audio processing system with function of automatic gain control and method thereof
EP2282403A2 (en) * 2005-12-07 2011-02-09 Apple Inc. Portable audio device providing automated control of audio volume parameters for hearing protection
CN101174818A (zh) * 2007-11-21 2008-05-07 广东威创视讯科技股份有限公司 播放媒体文件的方法及装置
CN104699447A (zh) * 2015-03-12 2015-06-10 浙江万朋网络技术有限公司 一种基于能量统计的语音音量自动调整方法
CN106126164A (zh) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 一种音效处理方法及终端设备

Also Published As

Publication number Publication date
CN106126164B (zh) 2019-05-17
CN106126164A (zh) 2016-11-16
US20180336005A1 (en) 2018-11-22
EP3416041A4 (en) 2019-06-05
EP3416041A1 (en) 2018-12-19
EP3416041B1 (en) 2020-11-18

Similar Documents

Publication Publication Date Title
WO2017215655A1 (zh) 音效处理方法及终端设备
TWI669710B (zh) 音箱的控制方法、控制裝置、存儲介質及電子設備
WO2017215657A1 (zh) 音效处理方法及终端设备
CN110191396B (zh) 一种音频处理方法、装置、终端及计算机可读存储介质
US10359992B2 (en) Sound effect configuration method and related device
US20180342231A1 (en) Sound effect parameter adjustment method, mobile terminal and storage medium
US20060147059A1 (en) Smart volume adjusting method for a multi-media system
US10402157B2 (en) Volume processing method and device and storage medium
US11201598B2 (en) Volume adjusting method and mobile terminal
US20140064503A1 (en) Method and apparatus for controlling audio output
CN107241511B (zh) 一种音乐播放方法、装置、存储介质和终端
EP3444718A1 (en) Method and apparatus for adjusting volume, terminal device and storage medium
US20170181094A1 (en) Intelligent terminal power consumption control method and electronic device
US20220417658A1 (en) User hearing protection method, apparatus, and electronic device
CN108432216B (zh) 音量调整的方法、装置和电子设备
US20180152796A1 (en) Automated detection of an active audio output
WO2020103562A1 (zh) 一种语音处理方法和装置
TW202009742A (zh) 語音播放方法和裝置
US9118292B2 (en) Bell sound outputting apparatus and method thereof
EP3815246A1 (en) Background level dependent dynamic volume levels
CN113485969B (zh) 一种存储碎片化方法及装置、终端及计算机存储介质
US10817246B2 (en) Deactivating a display of a smart display device based on a sound-based mechanism
CN113286219A (zh) 具有录音功能的蓝牙耳机及其录音方法
US20130285817A1 (en) Customizable alarm sytem and method for computer
CN106250096B (zh) 音频设备自动播放音乐的方法及装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2017812766

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017812766

Country of ref document: EP

Effective date: 20180911

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17812766

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE