Movatterモバイル変換


[0]ホーム

URL:


CN102982823B - A kind of method and apparatus of automatic regulating volume - Google Patents

A kind of method and apparatus of automatic regulating volume
Download PDF

Info

Publication number
CN102982823B
CN102982823BCN201210486894.0ACN201210486894ACN102982823BCN 102982823 BCN102982823 BCN 102982823BCN 201210486894 ACN201210486894 ACN 201210486894ACN 102982823 BCN102982823 BCN 102982823B
Authority
CN
China
Prior art keywords
sound
volume
value
loudness value
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210486894.0A
Other languages
Chinese (zh)
Other versions
CN102982823A (en
Inventor
项功宏
崔赵会
董淑芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE CorpfiledCriticalZTE Corp
Priority to CN201210486894.0ApriorityCriticalpatent/CN102982823B/en
Publication of CN102982823ApublicationCriticalpatent/CN102982823A/en
Priority to PCT/CN2013/082233prioritypatent/WO2013189434A2/en
Application grantedgrantedCritical
Publication of CN102982823BpublicationCriticalpatent/CN102982823B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of method of automatic regulating volume, the method comprises: the voice data that equipment of putting outside collection present terminal sends, and obtains the loudness value of current sound; The loudness value of the current sound of acquisition and the sound intensity value preset are compared, according to comparative result, current volume value is adjusted.The invention also discloses a kind of device of automatic regulating volume, adopt the method and apparatus of automatic regulating volume of the present invention, the situation that sound is suddenly large or suddenly little when switching different source of sound can being avoided, achieving the automatic adjustment of volume, improving the experience of user.

Description

Method and device for automatically adjusting volume
Technical Field
The invention relates to the field of multimedia playing, in particular to a method and a device for automatically adjusting volume.
Background
At present, multimedia technology is applied to a plurality of fields such as video, audio and the like, but due to various reasons, the sound sources are not consistent in production and synthesis, the volume of some sound sources is larger, and the volume of some sound sources is smaller. Therefore, when switching different sound sources, the volume set by the playing terminal may make the played sound big or small, some sounds big enough to make people feel uncomfortable, and some sounds small enough to make people not hear clearly, so that the user has to manually adjust the volume to achieve a more comfortable effect.
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a method and an apparatus for automatically adjusting a volume, which can automatically adjust the volume, avoid the situation that a sound is suddenly big or suddenly small when different sound sources are switched, and improve user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for automatically adjusting volume, which comprises the following steps:
collecting sound data sent by current terminal external playing equipment to obtain a loudness value of current sound;
and comparing the obtained loudness value of the current sound with a preset loudness value of the sound, and adjusting the current volume value according to the comparison result.
In the foregoing solution, the comparing the obtained loudness value of the current sound with a preset loudness value of the sound, and adjusting the current loudness value according to the comparison result includes:
judging whether the loudness value of the current sound is equal to a preset sound loudness value or not, and if so, not executing any operation; otherwise, judging whether the loudness value of the current sound is greater than a preset sound loudness value;
if the loudness value of the current sound is larger than the preset loudness value of the sound, the loudness value of the current terminal is reduced until the loudness value of the current sound is equal to the preset loudness value of the sound; and if the loudness value of the current sound is smaller than the preset loudness value, the loudness value of the current terminal is increased until the loudness value of the current sound is equal to the preset loudness value.
In the above scheme, the method further comprises: the play-out device outputs an audio signal according to the actual volume value.
In the above scheme, before acquiring the sound data sent by the current terminal play-out device, the method further includes: and starting the function of automatically adjusting the volume.
The invention also provides a device for automatically adjusting the volume, which comprises a sound monitoring module, a comparison module and a sound adjusting module; wherein,
the sound monitoring module is used for collecting sound data, obtaining the loudness value of the current sound and sending the obtained loudness value to the comparison module;
the comparison module is used for comparing the loudness value of the current sound sent by the sound monitoring module with a preset sound loudness value and sending the comparison result to the sound adjustment module;
and the sound adjusting module is used for adjusting the current volume value according to the comparison result sent by the comparing module.
In the above scheme, the apparatus further includes a storage module, configured to store a preset sound loudness value.
In the above scheme, the sound adjusting module is specifically configured to, when the comparison result is that the loudness value of the current sound is greater than the preset sound loudness value, decrease the current loudness value until the loudness value of the current sound is equal to the preset sound loudness value; and when the comparison result shows that the loudness value of the current sound is smaller than the preset sound loudness value, increasing the current sound value until the loudness value of the current sound is equal to the preset sound loudness value.
In the above scheme, the apparatus further comprises an external device for outputting the audio signal according to the actual volume value.
In the above scheme, the device further comprises a switch module for turning on or off the function of automatically adjusting the volume.
The method and the device for automatically adjusting the volume acquire the loudness value of the current sound by acquiring the sound data sent by the current terminal external playing equipment, and compare the loudness value of the current sound with the preset loudness value; and increasing or decreasing the volume value of the current terminal according to the comparison result. Therefore, the condition of big or small sound can be avoided when different sound sources are switched, automatic adjustment of the sound volume is realized, and the user experience is improved.
Drawings
FIG. 1 is a flow chart illustrating a method for automatically adjusting volume according to the present invention;
FIG. 2 is a schematic diagram illustrating an implementation process of adjusting the volume according to the comparison result of the sound volume values;
fig. 3 is a schematic view of the structure of the device for automatically adjusting volume according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a method for automatically adjusting volume according to the present invention, as shown in fig. 1, including the following steps:
step 101: collecting sound data sent by current terminal external playing equipment to obtain a loudness value of current sound;
here, before the collecting the sound data emitted by the current terminal playing device, the method further includes: starting the function of automatically adjusting the volume;
specifically, the technical scheme of the invention has the function of turning on or turning off the automatic volume adjustment, and because the sound data is greatly influenced by the external sound, when the external sound is large and the collection of the sound data sent by the external equipment is influenced, the automatic volume adjustment is influenced, so that the function of automatically adjusting the volume can be turned on or turned off by a user according to the actual external environment.
Here, the sound data includes loudness of sound emitted by the current terminal playback device.
Step 102: comparing the obtained loudness value of the current sound with a preset loudness value, and adjusting the current loudness value according to the comparison result;
here, it is assumed that the loudness value of the current sound is Vt, and the preset sound loudness value is Vs; specifically, referring to fig. 2, step 102 includes:
step 102 a: judging whether the loudness value Vt of the current sound is equal to a preset sound loudness value Vs, if so, executing the step 102b, and ending the current processing process; otherwise, go to step 102 c;
here, the preset sound loudness value Vs is set by the user according to his or her needs, and is a sound loudness that the user feels optimal.
Step 102c to step 102 e: comparing the loudness value Vt of the current sound with a preset sound loudness value Vs, if Vt is greater than Vs, reducing the volume value of the current terminal, executing step 102a until Vt is equal to Vs, and ending the current processing process; if Vt is less than Vs, then increase the volume value of the current terminal, execute step 102a, until Vt is equal to Vs, end the current processing process;
here, the comparison module sends a signal to the sound adjustment module to inform the sound adjustment module of the comparison result between Vt and Vs; the sound adjusting module adjusts the sound gain parameters according to the received signals; wherein the sound gain parameter may affect the actual playing loudness of the sound.
When the loudness value of the current sound is inconsistent with the preset loudness value of the sound, the loudness value of the current sound can 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 loudness value of the sound;
or, the loudness value of the current sound is too different from the preset sound loudness value, the volume can be adjusted according to N minimum units of the current terminal volume value, which is equivalent to setting a volume adjustment amplitude, so that the sound loudness can be adjusted in an accelerated manner.
For example, the volume value of the terminal is between 0 and 100, the minimum unit is 1, if the loudness value of the current sound is 70 db and the preset sound loudness value is 60 db, the volume value of the current terminal needs to be reduced, so that the loudness value of the current sound is reduced to 60 db; if the current volume value of the terminal is 30, the current volume value of the terminal can be adjusted step by step according to the minimum unit of the volume value, the volume value of the terminal is adjusted to 29, sound data sent by current terminal external equipment is collected continuously, and the obtained loudness value of the current sound is compared with a preset loudness value until the loudness value of the current sound is equal to the preset loudness value;
for example, the loudness value of the current sound is 75 decibels, the preset sound loudness value is 45 decibels, and the difference is 30 decibels, the loudness value of the current terminal needs to be reduced, so that the loudness value of the current sound is reduced to 45 decibels; the volume value of the terminal is between 0 and 100, the minimum unit is 1, the current volume value is 35, the adjustment can be carried out according to the minimum unit of 5 volume values, the volume value is adjusted to be 30, sound data sent by the current terminal external playing equipment are collected continuously, the obtained loudness value of the current sound is compared with the preset sound loudness value, and the obtained loudness value of the current sound is equal to the preset sound loudness value.
Here, whether to adjust the volume according to the minimum unit or the volume adjustment amplitude may be selected by the comparison module according to a comparison result between the loudness value of the current sound and a preset loudness value of the sound, and sent to the sound adjustment module through a signal.
Fig. 3 is a schematic structural diagram of the apparatus for automatically adjusting volume according to the present invention, as shown in fig. 2, the apparatus includes a sound monitoring module 32, a comparing module 33 and a sound adjusting module 35; wherein,
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 comparing module 33 is configured to compare the loudness value of the current sound sent by the sound monitoring module 32 with a preset sound loudness value, and send the comparison result to the sound adjusting module 35;
the sound adjusting module 35 is configured to adjust the current volume value according to the comparison result sent by the comparing module 33.
Further, the apparatus further comprises a storage module 34 for storing the preset sound loudness value.
Further, the sound adjusting module 35 is specifically configured to, when the comparison result is that the loudness value of the current sound is greater than the preset sound loudness value, decrease the current volume value until the loudness value of the current sound is equal to the preset sound loudness value; and when the comparison result shows that the loudness value of the current sound is smaller than the preset sound loudness value, increasing the current sound value until the loudness value of the current sound is equal to the preset sound loudness value.
Further, the apparatus further comprises a play-out device 31 for outputting an audio signal in dependence of the actual volume value.
Furthermore, the device also comprises a switch module which is used for switching on or off the function of automatically adjusting the volume.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (9)

the sound adjusting module is used for adjusting the current volume value step by selecting the minimum unit adjusting volume or the volume adjusting amplitude adjusting volume according to the comparison result sent by the comparison module; when the comparison result of the loudness value of the sound and the preset sound loudness value reaches a preset threshold value, selecting volume adjustment amplitude to adjust the volume level by level to adjust the current volume value; when the comparison result of the sound loudness value and the preset sound loudness value does not reach a preset threshold value, selecting the minimum unit to adjust the volume to adjust the current volume value step by step; the volume adjustment amplitude adjusts the volume to be greater than the minimum unit adjustment volume.
7. The apparatus according to claim 5 or 6, wherein the sound adjusting module is specifically configured to select a minimum unit adjusting volume or a volume adjusting amplitude adjusting volume to gradually decrease the current volume value when the comparison result indicates 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; and when the comparison result shows that the loudness value of the current sound is smaller than the preset sound loudness value, selecting the minimum unit volume adjustment or the volume adjustment amplitude to adjust the volume to increase the current volume value step by step until the loudness value of the current sound is equal to the preset sound loudness value.
CN201210486894.0A2012-11-262012-11-26A kind of method and apparatus of automatic regulating volumeActiveCN102982823B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201210486894.0ACN102982823B (en)2012-11-262012-11-26A kind of method and apparatus of automatic regulating volume
PCT/CN2013/082233WO2013189434A2 (en)2012-11-262013-08-23Automatic volume adjustment method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210486894.0ACN102982823B (en)2012-11-262012-11-26A kind of method and apparatus of automatic regulating volume

Publications (2)

Publication NumberPublication Date
CN102982823A CN102982823A (en)2013-03-20
CN102982823Btrue CN102982823B (en)2015-12-23

Family

ID=47856726

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210486894.0AActiveCN102982823B (en)2012-11-262012-11-26A kind of method and apparatus of automatic regulating volume

Country Status (2)

CountryLink
CN (1)CN102982823B (en)
WO (1)WO2013189434A2 (en)

Families Citing this family (24)

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

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101409807A (en)*2008-11-032009-04-15康佳集团股份有限公司Intelligent control method for television volume
CN102316396A (en)*2010-07-092012-01-11廖明忠Method and device for realizing automatic control over sounds in large dynamic range by using sensor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002062888A (en)*2000-08-212002-02-28Matsushita Electric Ind Co Ltd Electronic music processing device, electronic music playback device, and electronic music distribution system
US6988068B2 (en)*2003-03-252006-01-17International Business Machines CorporationCompensating for ambient noise levels in text-to-speech applications
KR100669034B1 (en)*2005-05-202007-01-15주식회사 엔터기술 Digital audio playback device and playback method using same
CN102982823B (en)*2012-11-262015-12-23中兴通讯股份有限公司A kind of method and apparatus of automatic regulating volume

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101409807A (en)*2008-11-032009-04-15康佳集团股份有限公司Intelligent control method for television volume
CN102316396A (en)*2010-07-092012-01-11廖明忠Method and device for realizing automatic control over sounds in large dynamic range by using sensor

Also Published As

Publication numberPublication date
CN102982823A (en)2013-03-20
WO2013189434A3 (en)2014-02-20
WO2013189434A2 (en)2013-12-27

Similar Documents

PublicationPublication DateTitle
CN102982823B (en)A kind of method and apparatus of automatic regulating volume
CN104798301B (en)audio loudness control system
CN101227759B (en)Earphone device with automatic volume control function
JP5238713B2 (en) Hearing aid with user interface
US8666084B2 (en)Method and arrangement for training hearing system users
US10049653B2 (en)Active noise cancelation with controllable levels
US20190227767A1 (en)Volume Adjustment Method and Terminal
KR102505773B1 (en) Multi-band limiter mode and noise compensation method
EP3771202B1 (en)Method and system for automatically controlling audio output of a television device based on ambient noise
US20110200215A1 (en)Hearing aid, computing device, and method for selecting a hearing aid profile
KR20220108076A (en) Adjustment of audio and non-audio characteristics based on noise metrics and speech intelligibility metrics
CN105446697A (en)Automatic earphone volume adjusting method, device and system
CN102892058A (en)Method and device for automatically regulating volume
CN107454537B (en)Hearing device comprising a filter bank and an onset detector
CN103746668A (en)Sound volume control method and system
CN104754462A (en)Automatic regulating device and method for volume and earphone
US11172294B2 (en)Audio device with speech-based audio signal processing
CN105072552A (en) Hearing device with user interface
CN103248845A (en)Voice-self adaptive television
CN109117110B (en)Data processing method and device for dynamic voice fusion
CN107404625B (en)Sound effect processing method and device of terminal
CN105307012B (en)A kind of television volume regulating method and device
CN109068171B (en)Method for limiting volume of specified audio stream in smart television
KR101403884B1 (en)Automatic volume control device
CN103188585B (en) Audio adjustment device and adjustment method thereof

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp