WO2013189434A2 - Automatic volume adjustment method and device - Google Patents

Automatic volume adjustment method and device Download PDF

Info

Publication number
WO2013189434A2
WO2013189434A2 PCT/CN2013/082233 CN2013082233W WO2013189434A2 WO 2013189434 A2 WO2013189434 A2 WO 2013189434A2 CN 2013082233 W CN2013082233 W CN 2013082233W WO 2013189434 A2 WO2013189434 A2 WO 2013189434A2
Authority
WO
WIPO (PCT)
Prior art keywords
sound
current
loudness value
value
volume
Prior art date
Application number
PCT/CN2013/082233
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013189434A3 (en
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 WO2013189434A2 publication Critical patent/WO2013189434A2/en
Publication of WO2013189434A3 publication Critical patent/WO2013189434A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers

Definitions

  • the present invention relates to the field of multimedia broadcasting, and in particular to a method and apparatus for automatically adjusting a volume. Background technique
  • multimedia technology is applied to many fields such as video and audio.
  • the production and synthesis of audio sources are inconsistent.
  • Some of the sound sources themselves have a relatively large volume, while some of the sound sources themselves have a relatively small volume. Therefore, when switching between different sound sources, the volume set by the playback terminal itself may make the played sounds large and small, some sounds are so loud that people may sound uncomfortable, and some sounds are so small that people can't hear clearly. This makes the user have to manually adjust the volume to achieve a more comfortable effect.
  • the main object of the embodiments of the present invention is to provide a method and apparatus for automatically adjusting the volume, which can automatically adjust the volume to avoid a sudden or small sound when the different sound sources are switched, thereby improving the user experience.
  • An embodiment of the present invention provides a method for automatically adjusting a volume.
  • the method includes: collecting sound data sent by a device external to the terminal to obtain a loudness value of the current sound; and obtaining a loudness value of the current sound and a preset sound. The loudness values are compared, and the current volume value is adjusted according to the comparison result.
  • the obtained loudness value of the current sound is compared with a preset acoustic sound value, and the current volume value is adjusted according to the comparison result, including: Determining whether the loudness value of the current sound is equal to the preset sound loudness value, if the result of the determination is yes, no operation is performed; otherwise, determining whether the loudness value of the current sound is greater than the preset sound loudness value;
  • the volume value of the current terminal is turned down until the loudness value of the current sound is equal to the preset sound loudness value; if the loudness value of the current sound is less than the preset sound loudness value , then increase the volume value of the current terminal until the loudness value of the current sound is equal to the preset sound level.
  • the method further comprises: the external device outputting the audio signal according to the actual volume value.
  • the method before the collecting the sound data sent by the current terminal external device, the method further includes: turning on a function of automatically adjusting the volume.
  • the embodiment of the invention further provides a device for automatically adjusting the volume, the device comprising a sound monitoring module, a comparison module and a sound adjustment module;
  • the sound monitoring module is configured to collect sound data, obtain a loudness value of the current sound, and send the obtained loudness value to the comparison module;
  • the comparison module is configured to compare the loudness value of the current sound sent by the sound monitoring module with the preset sound loudness value, and send the comparison result to the sound adjustment module;
  • the sound adjustment module is configured to adjust the current volume value according to the comparison result sent by the comparison module.
  • the device further includes a storage module configured to store a preset acoustic sound value.
  • the sound adjustment module is configured to adjust the current volume value when the comparison result is that the loudness value of the current sound is greater than the preset sound loudness value, until the loudness value of the current sound is equal to the preset sound loudness value;
  • the current volume value is increased until the current sound loudness value is equal to the preset sound loudness value.
  • the apparatus further comprises an external device configured to output an audio signal based on the actual volume value.
  • the device further comprises a switch module configured to turn on or off the function of automatically adjusting the volume.
  • the method and device for automatically adjusting the volume provided by the embodiment of the present invention obtain the loudness value of the current sound by collecting the sound data sent by the current external device of the terminal, and compare the loudness value of the current sound with the preset sound loudness value; The comparison result increases or decreases the volume value of the current terminal. In this way, the situation that the sound is suddenly or suddenly reduced when switching between different sound sources can be avoided, and the automatic adjustment of the volume is realized, thereby improving the user experience.
  • FIG. 1 is a schematic flow chart of a method for automatically adjusting a volume according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing an implementation process of adjusting a volume according to a comparison result of a sound acoustic value according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a device for automatically adjusting a volume according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a method for automatically adjusting a volume according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step 101 Acquire sound data sent by the current terminal external device to obtain the loudness value of the current sound.
  • the method further includes: turning on a function of automatically adjusting the volume.
  • the technical solution of the embodiment of the present invention has the function of turning on or off the automatic adjustment of the volume, because the sound data is greatly affected by the external sound, and when the external sound is large, affecting the collection of the sound data emitted by the external device, It has an effect on the automatic adjustment of the volume. Therefore, the function of automatically adjusting the volume can be turned on or off by the user according to the actual environment of the outside world.
  • the sound data includes the sound level emitted by the current terminal external device.
  • Step 102 Compare the obtained loudness value of the current sound with a preset sound loudness value, and adjust the current volume value according to the comparison result.
  • step 102 includes :
  • Step 102a Determine whether the loudness value Vt of the current sound is equal to the preset acoustic sound value Vs. If the result of the determination is yes, execute step 102b to end the current processing process; otherwise, execute step 102c.
  • the preset sound level value Vs is set by the user according to his own needs, and is the most suitable sound level for the user.
  • Step 102c to step 102e comparing the loudness value Vt of the current sound with the preset sound loudness value Vs. If Vt is greater than Vs, the volume value of the current terminal is turned down, and step 102a is performed until Vt is equal to Vs, and the current processing progress is ended; If Vt is less than Vs, the volume value of the current terminal is increased, and step 102a is performed until Vt is equal to Vs, and the current processing progress is ended.
  • the comparison module sends a signal to the sound adjustment module to inform the sound adjustment module of the comparison result of Vt and Vs; the sound adjustment module adjusts the sound gain parameter according to the received signal; wherein the sound gain parameter can affect the actual sound Play loudness.
  • the loudness value of the current sound may be adjusted step by step according to the minimum unit of the current terminal volume value until the loudness value of the current sound is consistent with the preset sound loudness value.
  • the difference between the loudness value of the current sound and the preset sound loudness value is too large, and the volume can be adjusted according to the N minimum units of the current terminal volume value, which is equivalent to setting a volume adjustment range, so as to accelerate the adjustment of the sound level.
  • the volume value of the terminal is between 0 and 100, and the minimum unit is 1, if the current sound is ringing.
  • the value is 70 decibels, and the preset sound level is 60 decibels. You need to adjust the volume value of the current terminal to reduce the loudness value of the current sound to 60 decibels.
  • the current volume value of the terminal is 30, According to the minimum unit of the volume value, adjust the volume value of the terminal to 29, continue to collect the sound data from the current terminal external device, and compare the obtained loudness value of the current sound with the preset sound loudness value until the current The loudness value of the sound is equal to the preset acoustic loudness value.
  • the current sound has a loudness value of 75 decibels, and the preset sound loudness value is 45 decibels, with a difference of 30 decibels. It is necessary to reduce the volume value of the current terminal to reduce the loudness value of the current sound to 45 decibels; Between 0 and 100, the minimum unit is 1. Assuming the current volume value is 35, you can adjust it by the minimum unit of 5 volume values, adjust the volume value to 30, and continue to collect the sound data from the current terminal external device. And compare the obtained loudness value of the current sound with the preset sound loudness value until the loudness value of the current sound is equal to the preset sound loudness value.
  • the volume is adjusted according to the minimum unit or the volume is adjusted by the volume adjustment range.
  • the comparison module selects according to the comparison result of the current sound loudness value and the preset sound sound value, and sends the signal to the sound adjustment module.
  • FIG. 3 is a schematic structural diagram of a device for automatically adjusting a volume according to an embodiment of the present invention. As shown in FIG. 3, the device includes: a sound monitoring module 32, a comparison module 33, and a sound adjustment module 35;
  • the sound monitoring module 32 is configured to collect sound data, obtain a loudness value of the current sound, and send the obtained loudness value to the comparison module 33;
  • the comparison module 33 is configured to compare the loudness value of the current sound sent by the sound monitoring module 32 with the preset sound sound level value, and send the comparison result to the sound adjustment module 35;
  • the sound adjustment module 35 is configured to adjust the current volume value according to the comparison result sent by the comparison module 33.
  • the device further includes a storage module 34 configured to store a preset acoustic sound value.
  • the sound adjustment module 35 is configured to compare the result to the loudness of the current sound. When the value is greater than the preset sound level, the current volume value is reduced until the loudness value of the current sound is equal to the preset sound level; when the comparison result is that the loudness value of the current sound is less than the preset sound level, the value is increased. The current volume value until the loudness value of the current sound is equal to the preset sound level value.
  • the apparatus further includes an external device 31 configured to output an audio signal based on the actual volume value.
  • the device further comprises a switch module configured to turn on or off the function of automatically adjusting the volume.
  • the sound monitoring module 32, the comparison module 33, and the sound adjustment module 35 in the device for automatically adjusting the volume may be implemented by a central processing unit (CPU) or a digital signal processor in the device. (Digital Signal Processor, DSP), or a Field-Programmable Gate Array (FPGA) implementation; the external device 31 in the device for automatically adjusting the volume can be implemented by a speaker in the device in practical applications;
  • the memory module 34 in the device for automatically adjusting the volume can be implemented by a memory in the device in practical applications.
  • the sound data sent by the current terminal external device is collected, the loudness value of the current sound is obtained, and the loudness value of the current sound and the preset sound loudness value are compared; according to the comparison result, the current terminal is turned up or down. Volume value. In this way, it is possible to avoid a situation in which the sound is suddenly or suddenly reduced when switching between different sound sources, and the automatic adjustment of the volume is realized, thereby improving the user experience.

Abstract

Disclosed is an automatic volume adjustment method. The method comprises: collecting data of a voice emitted by a speaker device of a current terminal, and obtaining a loudness value of the current voice; and comparing the obtained loudness value of the current voice with a preset voice loudness value, and adjusting the current volume value according to the comparison result. An automatic volume adjustment device is also disclosed. By adopting the automatic volume adjustment method and device in embodiments of the present invention, a situation where a voice suddenly becomes louder or lower during switching between different voice sources is avoided, automatic volume adjustment is implemented, and user experience is enhanced.

Description

一种自动调节音量的方法和装置 技术领域  Method and device for automatically adjusting volume
本发明涉及多媒体播放领域, 具体涉及一种自动调节音量的方法和装 置。 背景技术  The present invention relates to the field of multimedia broadcasting, and in particular to a method and apparatus for automatically adjusting a volume. Background technique
目前, 多媒体技术应用到视频、 音频等多个领域, 但是由于各种原因, 音源的制作合成并不一致, 有一些音源本身的音量比较大, 而有一些音源 本身的音量就比较小。 因此, 在切换各个不同的音源时, 播放终端本身设 置的音量可能使播放出来的声音有大有小, 有些声音大到让人听起来很不 舒服, 而有些声音小到让人听不清楚, 这就使用户不得不进行手动调整音 量的大小, 来达到较为舒适的效果。 发明内容  At present, multimedia technology is applied to many fields such as video and audio. However, due to various reasons, the production and synthesis of audio sources are inconsistent. Some of the sound sources themselves have a relatively large volume, while some of the sound sources themselves have a relatively small volume. Therefore, when switching between different sound sources, the volume set by the playback terminal itself may make the played sounds large and small, some sounds are so loud that people may sound uncomfortable, and some sounds are so small that people can't hear clearly. This makes the user have to manually adjust the volume to achieve a more comfortable effect. Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种自动调节音量的方 法和装置, 能够自动调节音量, 避免切换不同音源时声音出现驟大或驟小 的情况, 提升用户的体验。  In view of this, the main object of the embodiments of the present invention is to provide a method and apparatus for automatically adjusting the volume, which can automatically adjust the volume to avoid a sudden or small sound when the different sound sources are switched, thereby improving the user experience.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种自动调节音量的方法, 所述方法包括: 采集当前终端外放设备发出的声音数据, 获得当前声音的响度值; 将获得的当前声音的响度值与预设的声音响度值进行比较, 根据比较 结果对当前音量值进行调整。  An embodiment of the present invention provides a method for automatically adjusting a volume. The method includes: collecting sound data sent by a device external to the terminal to obtain a loudness value of the current sound; and obtaining a loudness value of the current sound and a preset sound. The loudness values are compared, and the current volume value is adjusted according to the comparison result.
优选地, 所述将获得的当前声音的响度值与预设的声音响度值进行比 较, 根据比较结果对当前音量值进行调整包括: 判断当前声音的响度值是否等于预设的声音响度值, 若判断的结果为 是, 则不执行任何操作; 否则, 判断当前声音的响度值是否大于预设的声 音响度值; Preferably, the obtained loudness value of the current sound is compared with a preset acoustic sound value, and the current volume value is adjusted according to the comparison result, including: Determining whether the loudness value of the current sound is equal to the preset sound loudness value, if the result of the determination is yes, no operation is performed; otherwise, determining whether the loudness value of the current sound is greater than the preset sound loudness value;
若当前声音的响度值大于预设的声音响度值, 则调小当前终端的音量 值, 直至当前声音的响度值等于预设的声音响度值; 若当前声音的响度值 小于预设的声音响度值, 则调大当前终端的音量值, 直至当前声音的响度 值等于预设的声音响度值。  If the loudness value of the current sound is greater than the preset sound loudness value, the volume value of the current terminal is turned down until the loudness value of the current sound is equal to the preset sound loudness value; if the loudness value of the current sound is less than the preset sound loudness value , then increase the volume value of the current terminal until the loudness value of the current sound is equal to the preset sound level.
优选地, 所述方法还包括: 外放设备根据实际音量值输出音频信号。 优选地, 所述采集当前终端外放设备发出的声音数据之前, 所述方法 还包括: 开启自动调节音量的功能。  Preferably, the method further comprises: the external device outputting the audio signal according to the actual volume value. Preferably, before the collecting the sound data sent by the current terminal external device, the method further includes: turning on a function of automatically adjusting the volume.
本发明实施例还提供了一种自动调节音量的装置, 所述装置包括声音 监听模块、 比较模块和声音调整模块; 其中,  The embodiment of the invention further provides a device for automatically adjusting the volume, the device comprising a sound monitoring module, a comparison module and a sound adjustment module;
所述声音监听模块, 配置为采集声音数据, 获得当前声音的响度值, 将获得的响度值发送给比较模块;  The sound monitoring module is configured to collect sound data, obtain a loudness value of the current sound, and send the obtained loudness value to the comparison module;
所述比较模块, 配置为将声音监听模块发来的当前声音的响度值与预 设的声音响度值比较, 将比较结果发送给声音调整模块;  The comparison module is configured to compare the loudness value of the current sound sent by the sound monitoring module with the preset sound loudness value, and send the comparison result to the sound adjustment module;
所述声音调整模块, 配置为根据比较模块发来的比较结果对当前音量 值进行调整。  The sound adjustment module is configured to adjust the current volume value according to the comparison result sent by the comparison module.
优选地, 所述装置还包括存储模块, 配置为存储预设的声音响度值。 优选地, 所述声音调整模块, 配置为在比较结果为当前声音的响度值 大于预设的声音响度值时, 调小当前音量值, 直至当前声音的响度值等于 预设的声音响度值; 在比较结果为当前声音的响度值小于预设的声音响度 值时, 调大当前音量值, 直至当前声音的响度值等于预设的声音响度值。  Preferably, the device further includes a storage module configured to store a preset acoustic sound value. Preferably, the sound adjustment module is configured to adjust the current volume value when the comparison result is that the loudness value of the current sound is greater than the preset sound loudness value, until the loudness value of the current sound is equal to the preset sound loudness value; When the comparison result is that the loudness value of the current sound is less than the preset sound loudness value, the current volume value is increased until the current sound loudness value is equal to the preset sound loudness value.
优选地, 所述装置还包括外放设备, 配置为根据实际音量值输出音频 信号。 优选地, 所述装置还包括开关模块, 配置为开启或关闭自动调节音量 的功能。 Preferably, the apparatus further comprises an external device configured to output an audio signal based on the actual volume value. Preferably, the device further comprises a switch module configured to turn on or off the function of automatically adjusting the volume.
本发明实施例提供的自动调节音量的方法和装置, 通过采集当前终端 外放设备发出的声音数据, 获得当前声音的响度值, 比较当前声音的响度 值与预设的声音响度值的大小; 根据比较结果调大或调小当前终端的音量 值。 如此, 可避免在切换不同音源时出现声音驟大或驟小的情况, 实现了 音量的自动调节, 提升了用户的体验。 附图说明  The method and device for automatically adjusting the volume provided by the embodiment of the present invention obtain the loudness value of the current sound by collecting the sound data sent by the current external device of the terminal, and compare the loudness value of the current sound with the preset sound loudness value; The comparison result increases or decreases the volume value of the current terminal. In this way, the situation that the sound is suddenly or suddenly reduced when switching between different sound sources can be avoided, and the automatic adjustment of the volume is realized, thereby improving the user experience. DRAWINGS
图 1为本发明实施例的自动调节音量的方法流程示意图;  1 is a schematic flow chart of a method for automatically adjusting a volume according to an embodiment of the present invention;
图 2为本发明实施例的根据声音响度值比较结果调节音量的实现流程 示意图;  2 is a schematic diagram showing an implementation process of adjusting a volume according to a comparison result of a sound acoustic value according to an embodiment of the present invention;
图 3为本发明实施例的自动调节音量的装置组成结构示意图。 具体实施方式  FIG. 3 is a schematic structural diagram of a device for automatically adjusting a volume according to an embodiment of the present invention. detailed description
下面结合附图及具体实施例对本发明作进一步详细的说明。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
图 1为本发明实施例的自动调节音量的方法流程示意图, 如图 1所示, 包括以下步驟:  FIG. 1 is a schematic flowchart of a method for automatically adjusting a volume according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步驟 101: 采集当前终端外放设备发出的声音数据, 获得当前声音的响 度值。  Step 101: Acquire sound data sent by the current terminal external device to obtain the loudness value of the current sound.
这里, 所述采集当前终端外放设备发出的声音数据之前, 所述方法还 包括: 开启自动调节音量的功能。  Here, before the collecting the sound data sent by the current terminal external device, the method further includes: turning on a function of automatically adjusting the volume.
具体的, 本发明实施例的技术方案具有开启或关闭自动调节音量的功 能, 由于声音数据受到外界声音的影响较大, 当外界声音较大, 影响对外 放设备发出的声音数据的采集时, 会对自动调节音量带来影响, 因此, 可 依据外界的实际环境由用户开启或关闭自动调节音量的功能。 这里, 所述声音数据包括当前终端外放设备发出的声音响度。 Specifically, the technical solution of the embodiment of the present invention has the function of turning on or off the automatic adjustment of the volume, because the sound data is greatly affected by the external sound, and when the external sound is large, affecting the collection of the sound data emitted by the external device, It has an effect on the automatic adjustment of the volume. Therefore, the function of automatically adjusting the volume can be turned on or off by the user according to the actual environment of the outside world. Here, the sound data includes the sound level emitted by the current terminal external device.
步驟 102: 将获得的当前声音的响度值与预设的声音响度值进行比较, 根据比较结果对当前音量值进行调整。  Step 102: Compare the obtained loudness value of the current sound with a preset sound loudness value, and adjust the current volume value according to the comparison result.
这里, 假设当前声音的响度值为 Vt, 预设的声音响度值为 Vs; 图 2为 本发明实施例的根据声音响度值比较结果调节音量的实现流程示意图, 参 照图 2所示, 步驟 102包括:  Here, it is assumed that the loudness value of the current sound is Vt, and the preset acoustic sound value is Vs; FIG. 2 is a schematic flow chart showing the implementation of adjusting the volume according to the sound acoustic value comparison result according to an embodiment of the present invention. Referring to FIG. 2, step 102 includes :
步驟 102a: 判断当前声音的响度值 Vt是否等于预设的声音响度值 Vs, 若判断的结果为是, 则执行步驟 102b, 结束当前处理进程; 否则, 执行步 驟 102c。  Step 102a: Determine whether the loudness value Vt of the current sound is equal to the preset acoustic sound value Vs. If the result of the determination is yes, execute step 102b to end the current processing process; otherwise, execute step 102c.
这里, 所述预设的声音响度值 Vs为用户根据自身需要自行设置, 为用 户感觉最适宜的声音响度。  Here, the preset sound level value Vs is set by the user according to his own needs, and is the most suitable sound level for the user.
步驟 102c~步驟 102e: 比较当前声音的响度值 Vt和预设的声音响度值 Vs, 若 Vt大于 Vs, 则调小当前终端的音量值, 执行步驟 102a, 直至 Vt 等于 Vs, 结束当前处理进程; 若 Vt小于 Vs, 则调大当前终端的音量值, 执行步驟 102a, 直至 Vt等于 Vs, 结束当前处理进程。  Step 102c to step 102e: comparing the loudness value Vt of the current sound with the preset sound loudness value Vs. If Vt is greater than Vs, the volume value of the current terminal is turned down, and step 102a is performed until Vt is equal to Vs, and the current processing progress is ended; If Vt is less than Vs, the volume value of the current terminal is increased, and step 102a is performed until Vt is equal to Vs, and the current processing progress is ended.
这里, 比较模块发送信号给声音调整模块将 Vt和 Vs的比较结果告知 给声音调整模块; 声音调整模块根据收到的信号对声音增益参数进行调整; 其中, 所述声音增益参数可以影响声音的实际播放响度。  Here, the comparison module sends a signal to the sound adjustment module to inform the sound adjustment module of the comparison result of Vt and Vs; the sound adjustment module adjusts the sound gain parameter according to the received signal; wherein the sound gain parameter can affect the actual sound Play loudness.
这里, 在当前声音的响度值和预设的声音响度值不一致时, 可按当前 终端音量值的最小单位逐级调节, 直至当前声音的响度值与预设的声音响 度值一致。  Here, when the loudness value of the current sound does not coincide with the preset sound loudness value, it may be adjusted step by step according to the minimum unit of the current terminal volume value until the loudness value of the current sound is consistent with the preset sound loudness value.
或者, 当前声音的响度值和预设的声音响度值相差过大, 可按当前终 端音量值的 N个最小单位进行调节音量, 相当于设置一个音量调节幅度, 以便能够加速调节声音响度。  Or, the difference between the loudness value of the current sound and the preset sound loudness value is too large, and the volume can be adjusted according to the N minimum units of the current terminal volume value, which is equivalent to setting a volume adjustment range, so as to accelerate the adjustment of the sound level.
例如, 终端的音量值在 0到 100之间, 最小单位为 1 , 若当前声音的响 度值为 70分贝, 而预设的声音响度值为 60分贝, 则需要调小当前终端的 音量值, 使当前声音的响度值减小到 60分贝; 若终端当前的音量值为 30, 则可按音量值的最小单位逐级调节, 将终端的音量值调节为 29, 继续采集 当前终端外放设备发出的声音数据, 将获得的当前声音的响度值与预设的 声音响度值比较, 直至当前声音的响度值与预设的声音响度值相等为止。 For example, the volume value of the terminal is between 0 and 100, and the minimum unit is 1, if the current sound is ringing. The value is 70 decibels, and the preset sound level is 60 decibels. You need to adjust the volume value of the current terminal to reduce the loudness value of the current sound to 60 decibels. If the current volume value of the terminal is 30, According to the minimum unit of the volume value, adjust the volume value of the terminal to 29, continue to collect the sound data from the current terminal external device, and compare the obtained loudness value of the current sound with the preset sound loudness value until the current The loudness value of the sound is equal to the preset acoustic loudness value.
例如, 当前声音的响度值为 75分贝, 预设的声音响度值为 45分贝, 相差 30分贝, 需要调小当前终端的音量值,使当前声音的响度值减小到 45 分贝; 终端的音量值在 0到 100之间, 最小单位为 1 , 假设当前的音量值为 35 , 可按 5个音量值的最小单位进行调节, 将音量值调节为 30, 继续采集 当前终端外放设备发出的声音数据, 将获得的当前声音的响度值与预设的 声音响度值比较, 直至当前声音的响度值与预设的声音响度值相等为止。  For example, the current sound has a loudness value of 75 decibels, and the preset sound loudness value is 45 decibels, with a difference of 30 decibels. It is necessary to reduce the volume value of the current terminal to reduce the loudness value of the current sound to 45 decibels; Between 0 and 100, the minimum unit is 1. Assuming the current volume value is 35, you can adjust it by the minimum unit of 5 volume values, adjust the volume value to 30, and continue to collect the sound data from the current terminal external device. And compare the obtained loudness value of the current sound with the preset sound loudness value until the loudness value of the current sound is equal to the preset sound loudness value.
这里, 具体按最小单位调节音量还是按音量调节幅度调节音量可由比 较模块根据当前声音的响度值和预设的声音响度值的比较结果进行选择, 并通过信号发送给声音调整模块。  Here, the volume is adjusted according to the minimum unit or the volume is adjusted by the volume adjustment range. The comparison module selects according to the comparison result of the current sound loudness value and the preset sound sound value, and sends the signal to the sound adjustment module.
图 3 为本发明实施例的自动调节音量的装置组成结构示意图, 如图 3 所示, 所述装置包括: 声音监听模块 32、 比较模块 33和声音调整模块 35; 其中,  FIG. 3 is a schematic structural diagram of a device for automatically adjusting a volume according to an embodiment of the present invention. As shown in FIG. 3, the device includes: a sound monitoring module 32, a comparison module 33, and a sound adjustment module 35;
所述声音监听模块 32, 配置为采集声音数据, 获得当前声音的响度值, 将获得的响度值发送给比较模块 33;  The sound monitoring module 32 is configured to collect sound data, obtain a loudness value of the current sound, and send the obtained loudness value to the comparison module 33;
所述比较模块 33 ,配置为将声音监听模块 32发来的当前声音的响度值 与预设的声音响度值比较, 将比较结果发送给声音调整模块 35;  The comparison module 33 is configured to compare the loudness value of the current sound sent by the sound monitoring module 32 with the preset sound sound level value, and send the comparison result to the sound adjustment module 35;
所述声音调整模块 35 ,配置为根据比较模块 33发来的比较结果对当前 音量值进行调整。  The sound adjustment module 35 is configured to adjust the current volume value according to the comparison result sent by the comparison module 33.
优选地, 所述装置还包括存储模块 34, 配置为存储预设的声音响度值。 优选地, 所述声音调整模块 35 , 配置为在比较结果为当前声音的响度 值大于预设的声音响度值时, 调小当前音量值, 直至当前声音的响度值等 于预设的声音响度值; 在比较结果为当前声音的响度值小于预设的声音响 度值时, 调大当前音量值, 直至当前声音的响度值等于预设的声音响度值。 Preferably, the device further includes a storage module 34 configured to store a preset acoustic sound value. Preferably, the sound adjustment module 35 is configured to compare the result to the loudness of the current sound. When the value is greater than the preset sound level, the current volume value is reduced until the loudness value of the current sound is equal to the preset sound level; when the comparison result is that the loudness value of the current sound is less than the preset sound level, the value is increased. The current volume value until the loudness value of the current sound is equal to the preset sound level value.
优选地, 所述装置还包括外放设备 31 , 配置为根据实际音量值输出音 频信号。  Preferably, the apparatus further includes an external device 31 configured to output an audio signal based on the actual volume value.
优选地, 所述装置还包括开关模块, 配置为开启或关闭自动调节音量 的功能。  Preferably, the device further comprises a switch module configured to turn on or off the function of automatically adjusting the volume.
其中, 所述自动调节音量的装置中的声音监听模块 32、 比较模块 33和 声音调整模块 35 在实际应用中, 均可由装置中的中央处理器 (Central Processing Unit, CPU ),或数字信号处理器( Digital Signal Processor, DSP ), 或可编程门阵列 (Field-Programmable Gate Array, FPGA ) 实现; 所述自动 调节音量的装置中的外放设备 31在实际应用中,可由装置中的扬声器实现; 所述自动调节音量的装置中的存储模块 34在实际应用中, 可由装置中的存 储器实现。  The sound monitoring module 32, the comparison module 33, and the sound adjustment module 35 in the device for automatically adjusting the volume may be implemented by a central processing unit (CPU) or a digital signal processor in the device. (Digital Signal Processor, DSP), or a Field-Programmable Gate Array (FPGA) implementation; the external device 31 in the device for automatically adjusting the volume can be implemented by a speaker in the device in practical applications; The memory module 34 in the device for automatically adjusting the volume can be implemented by a memory in the device in practical applications.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 凡在本发明的精神和范围之内所作的任何修改、 等同替换和改进 等, 均包含在本发明的保护范围之内。 工业实用性  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention. Industrial applicability
本发明实施例通过采集当前终端外放设备发出的声音数据, 获得当前 声音的响度值, 比较当前声音的响度值与预设的声音响度值的大小; 根据 比较结果调大或调小当前终端的音量值。 如此, 可避免在切换不同音源时 出现声音驟大或驟小的情况, 实现了音量的自动调节, 提升了用户的体验。  In the embodiment of the present invention, the sound data sent by the current terminal external device is collected, the loudness value of the current sound is obtained, and the loudness value of the current sound and the preset sound loudness value are compared; according to the comparison result, the current terminal is turned up or down. Volume value. In this way, it is possible to avoid a situation in which the sound is suddenly or suddenly reduced when switching between different sound sources, and the automatic adjustment of the volume is realized, thereby improving the user experience.

Claims

权利要求书 claims
1、 一种自动调节音量的方法, 所述方法包括: 1. A method for automatically adjusting the volume. The method includes:
采集当前终端外放设备发出的声音数据, 获得当前声音的响度值; 将获得的当前声音的响度值与预设的声音响度值进行比较, 根据比较 结果对当前音量值进行调整。 Collect the sound data emitted by the current terminal external amplifier device to obtain the loudness value of the current sound; compare the obtained loudness value of the current sound with the preset sound loudness value, and adjust the current volume value according to the comparison result.
2、 根据权利要求 1所述的方法, 其中, 所述将获得的当前声音的响度 值与预设的声音响度值进行比较, 根据比较结果对当前音量值进行调整包 括: 2. The method according to claim 1, wherein said comparing the obtained loudness value of the current sound with a preset sound loudness value, and adjusting the current volume value according to the comparison result includes:
判断当前声音的响度值是否等于预设的声音响度值, 若判断的结果为 是, 则不执行任何操作; 否则, 判断当前声音的响度值是否大于预设的声 音响度值; Determine whether the loudness value of the current sound is equal to the preset sound loudness value. If the judgment result is yes, no operation will be performed; otherwise, determine whether the loudness value of the current sound is greater than the preset sound loudness value;
若当前声音的响度值大于预设的声音响度值, 则调小当前终端的音量 值, 直至当前声音的响度值等于预设的声音响度值; 若当前声音的响度值 小于预设的声音响度值, 则调大当前终端的音量值, 直至当前声音的响度 值等于预设的声音响度值。 If the loudness value of the current sound is greater than the preset sound loudness value, then reduce the volume value of the current terminal until the loudness value of the current sound is equal to the preset sound loudness value; if the loudness value of the current sound is less than the preset sound loudness value , then increase the volume value of the current terminal until the loudness value of the current sound equals the preset sound loudness value.
3、 根据权利要求 1或 2所述的方法, 其中, 所述方法还包括: 外放设 备根据实际音量值输出音频信号。 3. The method according to claim 1 or 2, wherein the method further includes: the external amplifier device outputs the audio signal according to the actual volume value.
4、 根据权利要求 1或 2所述的方法, 其中, 所述采集当前终端外放设 备发出的声音数据之前, 所述方法还包括: 开启自动调节音量的功能。 4. The method according to claim 1 or 2, wherein before collecting the sound data emitted by the current terminal external amplifier device, the method further includes: turning on the function of automatically adjusting the volume.
5、 一种自动调节音量的装置, 所述装置包括: 声音监听模块、 比较模 块和声音调整模块; 5. A device for automatically adjusting the volume, the device includes: a sound monitoring module, a comparison module and a sound adjustment module;
所述声音监听模块, 配置为采集声音数据, 获得当前声音的响度值, 将获得的响度值发送给比较模块; The sound monitoring module is configured to collect sound data, obtain the loudness value of the current sound, and send the obtained loudness value to the comparison module;
所述比较模块, 配置为将声音监听模块发来的当前声音的响度值与预 设的声音响度值比较, 将比较结果发送给声音调整模块; 所述声音调整模块, 配置为根据比较模块发来的比较结果对当前音量 值进行调整。 The comparison module is configured to compare the loudness value of the current sound sent by the sound monitoring module with the preset sound loudness value, and send the comparison result to the sound adjustment module; The sound adjustment module is configured to adjust the current volume value according to the comparison result sent by the comparison module.
6、 根据权利要求 5所述的装置, 其中, 所述装置还包括存储模块, 配 置为存储预设的声音响度值。 6. The device according to claim 5, wherein the device further includes a storage module configured to store a preset sound loudness value.
7、 根据权利要求 5或 6所述的装置, 其中, 所述声音调整模块, 配置 为在比较结果为当前声音的响度值大于预设的声音响度值时, 调小当前音 量值, 直至当前声音的响度值等于预设的声音响度值; 在比较结果为当前 声音的响度值小于预设的声音响度值时, 调大当前音量值, 直至当前声音 的响度值等于预设的声音响度值。 7. The device according to claim 5 or 6, wherein the sound adjustment module is configured to, when the comparison result is that the loudness value of the current sound is greater than the preset sound loudness value, reduce the current volume value until the current sound The loudness value is equal to the preset sound loudness value; when the comparison result is that the current sound loudness value is less than the preset sound loudness value, increase the current volume value until the current sound loudness value is equal to the preset sound loudness value.
8、根据权利要求 5或 6所述的装置,其中, 所述装置还包括外放设备, 配置为根据实际音量值输出音频信号。 8. The device according to claim 5 or 6, wherein the device further includes an external amplifier configured to output the audio signal according to the actual volume value.
9、根据权利要求 5或 6所述的装置,其中, 所述装置还包括开关模块, 配置为开启或关闭自动调节音量的功能。 9. The device according to claim 5 or 6, wherein the device further includes a switch module configured to turn on or off the function of automatically adjusting the volume.
PCT/CN2013/082233 2012-11-26 2013-08-23 Automatic volume adjustment method and device WO2013189434A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210486894.0A CN102982823B (en) 2012-11-26 2012-11-26 A kind of method and apparatus of automatic regulating volume
CN201210486894.0 2012-11-26

Publications (2)

Publication Number Publication Date
WO2013189434A2 true WO2013189434A2 (en) 2013-12-27
WO2013189434A3 WO2013189434A3 (en) 2014-02-20

Family

ID=47856726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082233 WO2013189434A2 (en) 2012-11-26 2013-08-23 Automatic volume adjustment method and device

Country Status (2)

Country Link
CN (1) CN102982823B (en)
WO (1) WO2013189434A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690686A (en) * 2015-04-24 2018-02-13 搜诺思公司 Volume limits

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982823B (en) * 2012-11-26 2015-12-23 中兴通讯股份有限公司 A kind of method and apparatus of automatic regulating volume
CN103220600A (en) * 2013-04-08 2013-07-24 无锡市崇安区科技创业服务中心 Device for automatically adjusting volume of sounding box
CN104580668A (en) * 2013-10-21 2015-04-29 中兴通讯股份有限公司 Method, device and mobile terminal for ending call
US9961440B2 (en) * 2013-12-25 2018-05-01 Wizedsp Ltd. Systems and methods for using electrostatic microphone
CN103929692B (en) * 2014-03-24 2020-03-24 联想(北京)有限公司 Audio information processing method and electronic equipment
CN104363510B (en) * 2014-10-29 2019-04-30 深圳市金立通信设备有限公司 A kind of playback terminal
CN104682908A (en) * 2015-01-30 2015-06-03 小米科技有限责任公司 Method and device for controlling volume
CN105024665A (en) * 2015-07-27 2015-11-04 苏州宏展信息科技有限公司 Self-adaptive vehicle play method based on volume detection
WO2017015907A1 (en) * 2015-07-29 2017-02-02 张阳 Automatic volume adjustment method and system
CN105120394A (en) * 2015-07-30 2015-12-02 苏州玄禾物联网科技有限公司 Adaptively volume-adjusting WIFI sound box
CN105163227A (en) * 2015-07-30 2015-12-16 苏州玄禾物联网科技有限公司 Method for adaptive adjustment of volume of WIFI sound box
CN106231108B (en) * 2016-08-10 2019-10-29 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal loudness control method and system
CN106681684A (en) * 2016-12-26 2017-05-17 维沃移动通信有限公司 Method for adjusting loud speaker sound and playing device
CN107241497B (en) * 2017-05-26 2021-01-26 努比亚技术有限公司 Mobile terminal and loudness output adjusting method
CN109217899A (en) * 2017-07-06 2019-01-15 成都鼎桥通信技术有限公司 A kind of speech loudness method of adjustment and device
CN109298847A (en) * 2018-10-18 2019-02-01 珠海格力电器股份有限公司 The adjusting method and device of volume, system
CN110233691B (en) * 2019-05-31 2021-07-30 中国神华能源股份有限公司 Broadcast terminal playing volume adjusting method, storage medium and electronic equipment
CN110231087B (en) * 2019-06-06 2021-07-23 江苏省广播电视集团有限公司 High-definition television audio loudness analysis alarm and normalization manufacturing method and device
CN110769350A (en) * 2019-09-29 2020-02-07 惠州市杰德创新科技有限公司 Method for adjusting loudness of loudspeaker and loudspeaker
CN110662142A (en) * 2019-09-29 2020-01-07 惠州市杰德创新科技有限公司 Method for adjusting loudness of loudspeaker and loudspeaker
CN111258532A (en) * 2020-02-19 2020-06-09 西安闻泰电子科技有限公司 Volume adaptive adjustment method and device, storage medium and electronic equipment
CN112700784B (en) * 2020-12-24 2023-12-15 惠州市德赛西威汽车电子股份有限公司 Loudness calibration method based on ITU-R BS.1770 and storage medium
CN112911053B (en) * 2021-01-19 2022-09-13 武汉凡鱼科技有限公司 Automatic voice call switching method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020027994A1 (en) * 2000-08-21 2002-03-07 Taro Katayama Audio signal processor, audio player and audio distribution system
US20040193422A1 (en) * 2003-03-25 2004-09-30 International Business Machines Corporation Compensating for ambient noise levels in text-to-speech applications
CN101409807A (en) * 2008-11-03 2009-04-15 康佳集团股份有限公司 Intelligent control method for television volume
CN102316396A (en) * 2010-07-09 2012-01-11 廖明忠 Method and device for realizing automatic control over sounds in large dynamic range by using sensor
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100669034B1 (en) * 2005-05-20 2007-01-15 주식회사 엔터기술 A digital audio player and the playing method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020027994A1 (en) * 2000-08-21 2002-03-07 Taro Katayama Audio signal processor, audio player and audio distribution system
US20040193422A1 (en) * 2003-03-25 2004-09-30 International Business Machines Corporation Compensating for ambient noise levels in text-to-speech applications
CN101409807A (en) * 2008-11-03 2009-04-15 康佳集团股份有限公司 Intelligent control method for television volume
CN102316396A (en) * 2010-07-09 2012-01-11 廖明忠 Method and device for realizing automatic control over sounds in large dynamic range by using sensor
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690686A (en) * 2015-04-24 2018-02-13 搜诺思公司 Volume limits
CN107690686B (en) * 2015-04-24 2020-07-31 搜诺思公司 Volume limiting
US10817254B2 (en) 2015-04-24 2020-10-27 Sonos, Inc. Volume limit
US11809776B2 (en) 2015-04-24 2023-11-07 Sonos, Inc. Volume limit

Also Published As

Publication number Publication date
WO2013189434A3 (en) 2014-02-20
CN102982823A (en) 2013-03-20
CN102982823B (en) 2015-12-23

Similar Documents

Publication Publication Date Title
WO2013189434A2 (en) Automatic volume adjustment method and device
JP2023025087A (en) Dynamic calculation of system response volume
US7756280B2 (en) Audio processing system and method for automatically adjusting volume
JP6335914B2 (en) Audio loudness control system
JP6652978B2 (en) Sports headphones with situational awareness
US20100158275A1 (en) Method and apparatus for automatic volume adjustment
WO2017215657A1 (en) Sound effect processing method, and terminal device
US10461712B1 (en) Automatic volume leveling
CN109217834B (en) Gain adjustment method, audio device and readable storage medium
CN104966521B (en) A kind of method and device for adjusting music playing mode
US20160180863A1 (en) Intelligent volume control interface
US20160267925A1 (en) Audio processing apparatus that outputs, among sounds surrounding user, sound to be provided to user
US20230044546A1 (en) Multiband limiter modes and noise compensation methods
TWM519370U (en) Electronic device capable of adjusting equalizer settings according to the hearing physiological condition and audio playing device
US20150049879A1 (en) Method of audio processing and audio-playing device
JP2010164859A (en) Audio playback device, information reproduction system, audio reproduction method and program
US20120057714A1 (en) Automatic Tunable Earphone And Method For Tuning The Same
JP4811475B2 (en) Recording apparatus, recording method, audio signal correction circuit, and program
CN107404625B (en) Sound effect processing method and device of terminal
WO2022088428A1 (en) Method, apparatus and system for adjusting volume of head-mounted display device, and storage medium
JP2010252255A (en) Automatic volume control output device
KR101721406B1 (en) Adaptive Sound Field Control Apparatus And Method Therefor
TWI490854B (en) Adjusting method for audio and acoustic processing apparatus
US20070078648A1 (en) Audio processing system and method for hearing protecting
TWI505680B (en) TV volume adjustment system and its volume adjustment method

Legal Events

Date Code Title Description
122 Ep: pct application non-entry in european phase

Ref document number: 13807083

Country of ref document: EP

Kind code of ref document: A2