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
CN102982823B CN201210486894.0A CN201210486894A CN102982823B CN 102982823 B CN102982823 B CN 102982823B CN 201210486894 A CN201210486894 A CN 201210486894A CN 102982823 B CN102982823 B CN 102982823B
Authority
CN
China
Prior art keywords
volume
value
sound
current
loudness
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 Corp filed Critical ZTE Corp
Priority to CN201210486894.0A priority Critical patent/CN102982823B/en
Publication of CN102982823A publication Critical patent/CN102982823A/en
Priority to PCT/CN2013/082233 priority patent/WO2013189434A2/en
Application granted granted Critical
Publication of CN102982823B publication Critical patent/CN102982823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)
  • Control Of Amplification And Gain Control (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

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

A kind of method and apparatus of automatic regulating volume
Technical field
The present invention relates to multimedia field, be specifically related to a kind of method and apparatus of automatic regulating volume.
Background technology
At present, multimedia technology application is to multiple field such as video, audio frequency, but due to a variety of causes, the making of source of sound synthesis is also inconsistent, has the volume of some sources of sound itself larger, and has the volume of some sources of sound itself just smaller.Therefore, when switching each different source of sound, the volume that playback terminal itself is arranged may make the sound played back vary, some sound is greatly to sounding very uncomfortable, and some sound is little of allowing people can not hear clearly, this just makes user have to manually adjust the size of volume, reaches comparatively comfortable effect.
Summary of the invention
In view of this, fundamental purpose of the present invention is the method and apparatus providing a kind of automatic regulating volume, can automatic regulating volume, and when avoiding switching different source of sound, suddenly large or suddenly little situation appears in sound, promotes the experience of user.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method of automatic regulating volume, the method comprises:
Put the voice data that equipment sends outside collection present terminal, obtain 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.
In such scheme, described by the loudness value of the current sound of acquisition with preset sound intensity value compare, according to comparative result, adjustment is carried out to current volume value and comprises:
Judge the sound intensity the value whether loudness value of current sound equals default if the result judged is yes, then not perform any operation; Otherwise, judge whether the loudness value of current sound is greater than default sound intensity value;
If the loudness value of current sound is greater than default sound intensity value, then turn the volume value of present terminal down, until the loudness value of current sound equals default sound intensity value; If the loudness value of current sound is less than default sound intensity value, then tune up the volume value of present terminal, until the loudness value of current sound equals default sound intensity value.
In such scheme, the method also comprises: equipment of putting outward is according to actual volume value output audio signal.
In such scheme, before the voice data that equipment of putting outside described collection present terminal sends, the method also comprises: the function of opening automatic regulating volume.
Present invention also offers a kind of device of automatic regulating volume, this device comprises sound monitoring module, comparison module and sound adjusting module; Wherein,
Described sound monitoring module, for gathering voice data, obtaining the loudness value of current sound, the loudness value of acquisition is sent to comparison module;
Described comparison module, the loudness value for current sound sound monitoring module sent compares with the sound intensity value preset, and comparative result is sent to sound adjusting module;
Described sound adjusting module, adjusts current volume value for the comparative result sent according to comparison module.
In such scheme, this device also comprises memory module, for storing default sound intensity value.
In such scheme, described sound adjusting module, specifically at comparative result be the loudness value of current sound be greater than default sound intensity value time, turn current volume value down, until the loudness value of current sound equals default sound intensity value; When the loudness value that comparative result is current sound is less than default sound intensity value, tune up current volume value, until the loudness value of current sound equals default sound intensity value.
In such scheme, this device also comprises outer puts equipment, for according to actual volume value output audio signal.
In such scheme, this device also comprises switch module, for opening or close the function of automatic regulating volume.
The method and apparatus of automatic regulating volume provided by the invention, by putting the voice data that equipment sends outside collection present terminal, obtaining the loudness value of current sound, comparing the loudness value of current sound and the size of the sound intensity value preset; Tune up or turn down the volume value of present terminal according to comparative result.So, can avoiding occurring when switching different source of sound the situation that sound is suddenly large or suddenly little, achieving the automatic adjustment of volume, improving the experience of user.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram of automatic regulating volume of the present invention;
Fig. 2 is the realization flow schematic diagram regulating volume in the present invention according to sound intensity value comparative result;
Fig. 3 is the device composition structural representation of automatic regulating volume of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Fig. 1 is the method flow schematic diagram of automatic regulating volume of the present invention, as shown in Figure 1, comprises the following steps:
Step 101: the voice data that equipment of putting outside collection present terminal sends, obtains the loudness value of current sound;
Here, before the voice data that equipment of putting outside described collection present terminal sends, the method also comprises: the function of opening automatic regulating volume;
Concrete, technical solution of the present invention has the function of opening or closing automatic regulating volume, the impact being subject to external sound due to voice data is larger, when external sound is larger, when the collection of the voice data that equipment sends externally is put in impact, impact can be brought on automatic regulating volume, therefore, can be opened or close the function of automatic regulating volume by user according to the actual environment in the external world.
Here, described voice data comprises the sound intensity put equipment outside present terminal and send.
Step 102: 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;
Here, suppose that the loudness value of current sound is Vt, default sound intensity value is Vs; Concrete, with reference to shown in Fig. 2, step 102 comprises:
Step 102a: judge the sound intensity value Vs whether the loudness value Vt of current sound equals default, if the result judged is yes, then performs step 102b, terminates current treatment progress; Otherwise, perform step 102c;
Here, described default sound intensity value Vs is arranged according to self needing voluntarily for user, for user feels optimum sound intensity.
Step 102c ~ 102e: compare the loudness value Vt of current sound and default sound intensity value Vs, if Vt is greater than Vs, then turn the volume value of present terminal down, perform step 102a, until Vt equals Vs, terminate current treatment progress; If Vt is less than Vs, then tune up the volume value of present terminal, perform step 102a, until Vt equals Vs, terminate current treatment progress;
Here, comparison module sends a signal to sound adjusting module and informs to sound adjusting module by the comparative result of Vt and Vs; Sound adjusting module adjusts acoustic gain parameter according to the signal received; Wherein, described acoustic gain parameter can affect the actual play loudness of sound.
Here, when loudness value and the sound intensity value preset of current sound are inconsistent, can regulate step by step by the least unit of present terminal volume value, until the loudness value of current sound is consistent with the sound intensity value preset;
Or loudness value and the default sound intensity value of current sound have big difference, and can carry out adjustment volume, be equivalent to arrange a volume adjusting amplitude by N number of least unit of present terminal volume value, can accelerate to regulate sound intensity.
Such as, the volume value of terminal is between 0 to 100, and least unit is 1, if the loudness value of current sound is 70 decibels, and the sound intensity value preset is 60 decibels, then need the volume value turning present terminal down, make the loudness value of current sound be reduced to 60 decibels; If the current volume value of terminal is 30, then can regulate step by step by the least unit of volume value, the volume value of terminal is adjusted to 29, the voice data that equipment sends is put outside continuation collection present terminal, the loudness value of the current sound of acquisition is compared with the sound intensity value preset, till the loudness value of current sound is equal with the sound intensity value preset;
Such as, the loudness value of current sound is 75 decibels, and the sound intensity value preset is 45 decibels, differs 30 decibels, needs the volume value turning present terminal down, make the loudness value of current sound be reduced to 45 decibels; The volume value of terminal is between 0 to 100, least unit is 1, suppose that current volume value is 35, can regulate by the least unit of 5 volume values, volume value is adjusted to 30, put the voice data that equipment sends outside continuation collection present terminal, the loudness value of the current sound of acquisition is compared with the sound intensity value preset, till the loudness value of current sound is equal with the sound intensity value preset.
Here, specifically regulate volume still can be selected by the comparative result of comparison module according to the loudness value of current sound and default sound intensity value by volume adjusting amplitude adjusted volume by least unit, and send to sound adjusting module by signal.
Fig. 3 is the device composition structural representation of automatic regulating volume of the present invention, and as shown in Figure 2, this device comprises sound monitoring module 32, comparison module 33 and sound adjusting module 35; Wherein,
Described sound monitoring module 32, for gathering voice data, obtaining the loudness value of current sound, the loudness value of acquisition is sent to comparison module 33;
Described comparison module 33, the loudness value for current sound sound monitoring module 32 sent compares with the sound intensity value preset, and comparative result is sent to sound adjusting module 35;
Described sound adjusting module 35, adjusts current volume value for the comparative result sent according to comparison module 33.
Further, this device also comprises memory module 34, for storing default sound intensity value.
Further, described sound adjusting module 35, specifically at comparative result be the loudness value of current sound be greater than default sound intensity value time, turn current volume value down, until the loudness value of current sound equals default sound intensity value; When the loudness value that comparative result is current sound is less than default sound intensity value, tune up current volume value, until the loudness value of current sound equals default sound intensity value.
Further, this device also comprises outer puts equipment 31, for according to actual volume value output audio signal.
Further, this device also comprises switch module, for opening or close the function of automatic regulating volume.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and scope of the present invention, equivalent replacement and improvement etc., be all included within protection scope of the present invention.

Claims (9)

1. a method for automatic regulating volume, is characterized in that, the method comprises:
Put the voice data that equipment sends outside collection present terminal, obtain the loudness value of current sound;
The loudness value of the current sound of acquisition and the sound intensity value preset are compared, selects least unit to regulate volume or volume adjusting amplitude adjusted volume to adjust current volume value step by step according to comparative result;
Wherein, when the loudness value of described sound and the comparative result of described default sound intensity value reach predetermined threshold value, volume adjusting amplitude adjusted volume is selected to adjust step by step current volume value; When the loudness value of described sound and the comparative result of described default sound intensity value do not reach predetermined threshold value, least unit is selected to regulate volume to adjust step by step current volume value; Described volume adjusting amplitude adjusted volume is greater than described least unit and regulates volume.
2. method according to claim 1, it is characterized in that, described the loudness value of the current sound of acquisition and the sound intensity value preset to be compared, select least unit to regulate volume or volume adjusting amplitude adjusted volume to carry out adjustment to current volume value step by step according to comparative result and comprise:
Judge the sound intensity the value whether loudness value of current sound equals default if the result judged is yes, then not perform any operation; Otherwise, judge whether the loudness value of current sound is greater than default sound intensity value;
If the loudness value of current sound is greater than default sound intensity value, then least unit is selected to regulate volume or volume adjusting amplitude adjusted volume to turn the volume value of present terminal step by step down, until the loudness value of current sound equals default sound intensity value; If the loudness value of current sound is less than default sound intensity value, then least unit is selected to regulate volume or volume adjusting amplitude adjusted volume to tune up the volume value of present terminal step by step, until the loudness value of current sound equals default sound intensity value.
3. method according to claim 1 and 2, is characterized in that, the method also comprises: equipment of putting outward is according to actual volume value output audio signal.
4. method according to claim 1 and 2, is characterized in that, before the voice data that equipment of putting outside described collection present terminal sends, the method also comprises: the function of opening automatic regulating volume.
5. a device for automatic regulating volume, is characterized in that, this device comprises sound monitoring module, comparison module and sound adjusting module; Wherein,
Described sound monitoring module, for gathering voice data, obtaining the loudness value of current sound, the loudness value of acquisition is sent to comparison module;
Described comparison module, the loudness value for current sound sound monitoring module sent compares with the sound intensity value preset, and comparative result is sent to sound adjusting module;
Described sound adjusting module, the comparative result for sending according to comparison module selects least unit to regulate volume or volume adjusting amplitude adjusted volume to adjust current volume value step by step; Wherein, when the loudness value of described sound and the comparative result of described default sound intensity value reach predetermined threshold value, volume adjusting amplitude adjusted volume is selected to adjust step by step current volume value; When the loudness value of described sound and the comparative result of described default sound intensity value do not reach predetermined threshold value, least unit is selected to regulate volume to adjust step by step current volume value; Described volume adjusting amplitude adjusted volume is greater than described least unit and regulates volume.
6. device according to claim 5, is characterized in that, this device also comprises memory module, for storing default sound intensity value.
7. the device according to claim 5 or 6, it is characterized in that, described sound adjusting module, specifically at comparative result be the loudness value of current sound be greater than default sound intensity value time, least unit is selected to regulate volume or volume adjusting amplitude adjusted volume to turn current volume value down step by step, until the loudness value of current sound equals default sound intensity value; When the loudness value that comparative result is current sound is less than default sound intensity value, least unit is selected to regulate volume or volume adjusting amplitude adjusted volume to tune up current volume value step by step, until the loudness value of current sound equals default sound intensity value.
8. the device according to claim 5 or 6, is characterized in that, this device also comprises outer puts equipment, for according to actual volume value output audio signal.
9. the device according to claim 5 or 6, is characterized in that, this device also comprises switch module, for opening or close the function of automatic regulating volume.
CN201210486894.0A 2012-11-26 2012-11-26 A kind of method and apparatus of automatic regulating volume Active CN102982823B (en)

Priority Applications (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
PCT/CN2013/082233 WO2013189434A2 (en) 2012-11-26 2013-08-23 Automatic volume adjustment method and device

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN102982823A CN102982823A (en) 2013-03-20
CN102982823B true CN102982823B (en) 2015-12-23

Family

ID=47856726

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (24)

* 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
EP3087759A4 (en) * 2013-12-25 2017-07-19 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
US9678708B2 (en) 2015-04-24 2017-06-13 Sonos, Inc. Volume limit
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
CN105163227A (en) * 2015-07-30 2015-12-16 苏州玄禾物联网科技有限公司 Method for adaptive adjustment of volume of WIFI sound box
CN105120394A (en) * 2015-07-30 2015-12-02 苏州玄禾物联网科技有限公司 Adaptively volume-adjusting 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002062888A (en) * 2000-08-21 2002-02-28 Matsushita Electric Ind Co Ltd Electronic music processor, electronic music reproducer, and electronic music distribution system
US6988068B2 (en) * 2003-03-25 2006-01-17 International Business Machines Corporation Compensating for ambient noise levels in text-to-speech applications
KR100669034B1 (en) * 2005-05-20 2007-01-15 주식회사 엔터기술 A digital audio player and the playing method thereof
CN102982823B (en) * 2012-11-26 2015-12-23 中兴通讯股份有限公司 A kind of method and apparatus of automatic regulating volume

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102982823B (en) A kind of method and apparatus of automatic regulating volume
US10705791B2 (en) Volume adjustment method and terminal
US8792661B2 (en) Hearing aids, computing devices, and methods for hearing aid profile update
CN208908482U (en) The earphone of adjustable noise reduction
CN103886731B (en) A kind of noise control method and equipment
JP5238713B2 (en) Hearing aid with user interface
US20090016540A1 (en) Auditory perception controlling device and method
CN103544971B (en) Volume self-adaption control method and volume self-adaption control system
CN101924828A (en) Mobile terminal, method and device for adjusting volume thereof
US20190028762A1 (en) Bluetooth adaptive volume adjusting method and device
CN103929140A (en) Method and device for pre-processing voice frequency
CN104966521B (en) A kind of method and device for adjusting music playing mode
CN105446697A (en) Method, device and system for automatically adjusting volume of headset
CN102892058A (en) Method and device for automatically regulating volume
CN105872180A (en) Method and device for adjusting volume of terminal device
CN105276751B (en) Speech playing method and system
CN107360507A (en) A kind of play parameter Automatic adjustment method, intelligent sound box and storage medium
US20220358965A1 (en) Method for audio mixing, terminal device, and non-transitory computer-readable medium
CN102970632A (en) Sound based volume adjustment device, product and method
CN105824529A (en) Method for controlling music playing and intelligent wearable equipment
CN104394445A (en) Automatic switch-off method and automatic switch-off device
CN107493525A (en) Baffle Box of Bluetooth and audio play intelligent control method
CN107145323A (en) A kind of method for controlling volume and device and terminal
CN103297896B (en) A kind of audio-frequency inputting method and electronic equipment
CN103248845A (en) Voice-self adaptive television

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant