CN103595363A - Volume control method, apparatus, and terminal - Google Patents
Volume control method, apparatus, and terminal Download PDFInfo
- Publication number
- CN103595363A CN103595363A CN201210289232.4A CN201210289232A CN103595363A CN 103595363 A CN103595363 A CN 103595363A CN 201210289232 A CN201210289232 A CN 201210289232A CN 103595363 A CN103595363 A CN 103595363A
- Authority
- CN
- China
- Prior art keywords
- volume
- voice data
- threshold values
- value
- coefficient
- 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.)
- Granted
Links
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the invention discloses a volume control method, apparatus, and terminal. The volume control method may comprise: obtaining the current volume value of audio data; calculating a volume control threshold value of the audio data according to an incidence relation between the volume value and the volume control threshold value, and controlling the peak volume value of the audio data according to the volume control threshold value. The volume control method intelligently sets the volume control threshold value, achieves volume control based on the volume control threshold value, enhances the flexibility of volume control, and increases the intellectuality of the volume control.
Description
Technical field
The present invention relates to electronic technology field, relate in particular to electron controls technology field, be specifically related to a kind of method for controlling volume, device and terminal.
Background technology
Intelligent volume is controlled and is referred to by the analysis to voice data, without user's manual operation, automatically controls the volume of voice data.One of key point of Intelligent volume control technology, is that how to confirm volume controls threshold values.Traditional approach is conventionally manually inputted volume control threshold values based on user and is carried out Intelligent volume control, but adopts traditional approach in control procedure, and it is changeless that volume controls threshold values, has affected the flexibility that volume controls; In addition, by user, carry out the setting that volume controls threshold values, increased the triviality of user's operation, reduced the intelligent of volume control.
Summary of the invention
The embodiment of the present invention provides a kind of method for controlling volume, device and terminal, can intelligent set volume control threshold values and based on this volume, control threshold values and realize volume control, promotes the flexibility that volume controls, and improves intelligent that volume controls.
First aspect present invention provides a kind of method for controlling volume, can comprise:
Obtain the current volume value of voice data;
According to the incidence relation of volume value and volume control threshold values, the volume of calculating described voice data controls threshold values;
According to described volume, control threshold values, control the volume peak value of described voice data.
Second aspect present invention provides a kind of sound volume control device, can comprise:
Acquisition module, for obtaining the current volume value of voice data;
Threshold values computing module, for according to the incidence relation of volume value and volume control threshold values, calculates the volume control threshold values of described voice data;
Control module, for controlling threshold values according to described volume, controls the volume peak value of described voice data.
Third aspect present invention provides a kind of terminal, can comprise above-mentioned sound volume control device.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, can be according to the incidence relation of volume value and volume control threshold values, according to the current volume value intelligent computation volume of voice data, control threshold values, and control based on this volume the volume peak value that threshold values is controlled voice data, realize the Based Intelligent Control to volume.Because volume controls threshold values, can carry out intelligent set according to the current volume value of voice data, the triviality of avoiding user's manual operation to bring, has promoted the flexibility that volume controls, and has improved again the intelligent of volume control.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of a kind of method for controlling volume that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 a is the flow chart of an embodiment of step S102 shown in Fig. 1;
Fig. 2 b is the flow chart of another embodiment of step S102 shown in Fig. 1;
Fig. 3 a is the flow chart of an embodiment of step S103 shown in Fig. 1;
Fig. 3 b is the flow chart of another embodiment of step S103 shown in Fig. 1;
The flow chart of the volume peak value computational methods of a kind of voice data that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of sound volume control device that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 a is the structural representation of an embodiment of threshold values computing module shown in Fig. 5;
Fig. 6 b is the structural representation of another embodiment of threshold values computing module shown in Fig. 5;
Fig. 7 is the structural representation of the embodiment of control module shown in Fig. 5;
Fig. 8 is the structural representation of the embodiment of peak value computing unit shown in Fig. 7.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The method for controlling volume that the embodiment of the present invention provides goes for the volume of various terminals to control, for example: to PC(Personal Computer, personal computer) system sound volume control, the system sound volume of mobile terminal is controlled, etc.; Also go for the volume of the audio frequency and video software in various terminals to control, for example: the volume of the video player in terminal is controlled, the volume of the audio player in terminal is controlled, etc.; Can also be applicable to the volume of the various application in various terminals to control, for example: the volume of certain game in terminal is controlled, etc.
Below in conjunction with accompanying drawing 1-accompanying drawing 4, the method for controlling volume that the embodiment of the present invention is provided describes in detail.
Refer to Fig. 1, the flow chart of a kind of method for controlling volume providing for the embodiment of the present invention; The method can comprise the following steps S101-step S103.
S101, obtains the current volume value of voice data.
In this step, the current volume value of voice data can be the volume value of setting in volume control panel, for example: in video player, user controls by dragging volume the current volume value that progress bar is set video playback.
S102, according to the incidence relation of volume value and volume control threshold values, the volume of calculating described voice data controls threshold values.
Volume controls threshold values and can comprise: the first volume that reduces the volume of voice data for intelligence controls threshold values, and controls threshold values for the second volume of the volume of intelligent augmented audio data.In this step, the incidence relation that described volume value and volume control threshold values can comprise: described volume controls the ratio that threshold values is volume value and coefficient of sensitivity and adjusts the summation of coefficient; Wherein, described coefficient of sensitivity and described adjustment coefficient are constant, and described coefficient of sensitivity and described adjustment coefficient all can arrange according to actual needs.Described coefficient of sensitivity and described adjustment coefficient table are shown in volume control procedure, and volume controls the influence degree of threshold values to volume.
In the present embodiment, the incidence relation that described volume value and the first volume control threshold values specifically can represent by following formula:
E
max=I/w
1+a (1)
Wherein, E
maxbe that the first volume controls threshold values; I is current volume value; W is constant, represents the first coefficient of sensitivity; A is constant, represents the first adjustment coefficient.For example: in Video Applications, the volume value scope of volume control panel is 1-100, in video display process, user controls progress bar current volume value is set is 70 by dragging volume; Suppose in above-mentioned formula (1) w
1be that 30, a is 0.8, above-mentioned (1) is expressed as: E
max=70/30+0.8; This step can calculate the first volume by this formula and control threshold values.
In the present embodiment, the incidence relation that described volume value and the second volume control threshold values specifically can represent by following formula:
E
min=I/w
2+b (2)
Wherein, E
minbe that the second volume controls threshold values; I is current volume value; w
2for constant, represent the second coefficient of sensitivity; B is constant, represents the second adjustment coefficient.For example: in Video Applications, the volume value scope of volume control panel is 1-100, in video display process, user controls progress bar current volume value is set is 70 by dragging volume; Suppose in above-mentioned formula (2) w
2be that 60, b is 0.2, above-mentioned (2) are expressed as: E
min=70/60+0.2; This step can calculate the second volume by this formula and control threshold values.
S103, controls threshold values according to described volume, controls the volume peak value of described voice data.
In this step, can reach the effect that volume controls by controlling the volume peak value of voice data, be specially: if volume peak value is greater than the first volume, control threshold values, voice data is born to gain process, thereby reduce the volume of voice data; Or, if being less than the second volume, volume peak value controls threshold values, voice data is carried out to postiive gain processing, thus the volume of augmented audio data.
Below each step in embodiment illustrated in fig. 1 is described in detail.
Referring to Fig. 2 a, is the flow chart of an embodiment of the S102 of step shown in Fig. 1; This step S102 can comprise the following steps s1201-step s1202.
S1201, the ratio of calculating current volume value and the first coefficient of sensitivity.
S1202, adjusts coefficient to the ratio of described current volume value and the first coefficient of sensitivity and first and carries out summation operation, and the first volume that calculates described voice data controls threshold values.
According to above-mentioned formula (1), first step s1201 calculates the ratio of current volume value and the first coefficient of sensitivity, calculates I/w
1value; Secondly, step s1202 carries out summation operation to the ratio of described current volume value and the first coefficient of sensitivity and described adjustment coefficient, i.e. read group total I/w
1+ a, the first volume that calculates described voice data controls threshold values E
max.
Referring to Fig. 2 a, is the flow chart of another embodiment of the S102 of step shown in Fig. 1; This step S102 can comprise the following steps s1211-step s1212.
S1211, the ratio of calculating current volume value and the second coefficient of sensitivity.
S1212, adjusts coefficient to the ratio of described current volume value and the second coefficient of sensitivity and second and carries out summation operation, and the second volume that calculates described voice data controls threshold values.
According to above-mentioned formula (2), first step s1211 calculates the ratio of current volume value and the second coefficient of sensitivity, calculates I/w
2value; Secondly, step s1212 adjusts coefficient to the ratio of described current volume value and the second coefficient of sensitivity and second and carries out summation operation, i.e. read group total I/w
2+ b, the second volume that calculates described voice data controls threshold values E
min.
Referring to Fig. 3 a, is the flow chart of an embodiment of the S103 of step shown in Fig. 1; This step S103 can comprise the following steps s1301-step s1303.
S1301, calculates the volume peak value of described voice data.
S1302, judges whether the volume peak value of described voice data is greater than the first volume control threshold values.
S1303, controls threshold values if the volume peak value of described voice data is greater than the first volume, described voice data is born to gain process.Described voice data is born after gain process, can be reduced the volume of described voice data, thereby realize the Based Intelligent Control to the volume of described voice data.
Referring to Fig. 3 b, is the flow chart of another embodiment of the S103 of step shown in Fig. 1; This step S103 can comprise the following steps s1311-step s1313.
S1311, calculates the volume peak value of described voice data.
S1312, judges whether the volume peak value of described voice data is less than the second volume control threshold values.
S1313, controls threshold values if the volume peak value of described voice data is less than the second volume, described voice data is carried out to postiive gain processing.Described voice data is carried out, after postiive gain processing, can increasing the volume of described voice data, thereby realize the Based Intelligent Control to the volume of described voice data.
Refer to Fig. 4, the flow chart of the embodiment of the volume peak value computational methods of a kind of voice data providing for the embodiment of the present invention; The method can be applied to the step s1301 in Fig. 3 a illustrated embodiment, also can be applied to the step s1311 in Fig. 3 b illustrated embodiment.These computational methods can comprise the following steps s1321-step s1323.
S1321, each the frame audio frame for described voice data, carries out read group total to all sampled values of each frame audio frame, obtains the energy of each frame audio frame.
In this step, the energy of each frame audio frame can be used E
irepresent, wherein, i is the sequence number of voice data sound intermediate frequency frame.For example: MP3(Moving Picture Experts GroupAudio Layer III, dynamic image expert compression standard audio frequency aspect 3) in voice data, each audio frame has 1152 samplings,, in this step, these 1152 sampled values are added, summation obtains the energy of each audio frame.
S1322, chooses the continuous audio frame of preset value quantity.
Wherein, preset value can be set according to actual needs, according to the example in step s1331, supposes that preset value is 30, and this step is chosen 30 frame audio frames continuously.
S1323, calculates the average energy of selected continuous audio frame, obtains the volume peak value of described voice data.
According to the example of the present embodiment, in this step, the volume peak value that calculates the described voice data of acquisition is: E
a=(E
1+ E
2+ E
3+ ... + E
29+ E
30)/30.
From the embodiment shown in above-mentioned Fig. 1-Fig. 4, in feasible execution modes more of the present invention, can be according to the incidence relation of volume value and volume control threshold values, according to the current volume value intelligent computation volume of voice data, control threshold values, and control based on this volume the volume peak value that threshold values is controlled voice data, realize the Based Intelligent Control to volume.Because volume controls threshold values, can carry out intelligent set according to the current volume value of voice data, the triviality of avoiding user's manual operation to bring, has promoted the flexibility that volume controls, and has improved again the intelligent of volume control.
Below in conjunction with accompanying drawing 5-accompanying drawing 8, the sound volume control device that the embodiment of the present invention is provided describes in detail.It should be noted that, following device can be applied in above-mentioned method.
Refer to Fig. 5, the structural representation of a kind of sound volume control device providing for the embodiment of the present invention; This device can comprise: acquisition module 101, threshold values computing module 102 and control module 103.
Wherein, the current volume value of voice data can be the volume value of setting in volume control panel, for example: in video player, user controls by dragging volume the current volume value that progress bar is set video playback.
Threshold values computing module 102, for according to the incidence relation of volume value and volume control threshold values, calculates the volume control threshold values of described voice data.
Volume controls threshold values and can comprise: the first volume that reduces the volume of voice data for intelligence controls threshold values, and controls threshold values for the second volume of the volume of intelligent augmented audio data.The incidence relation that described volume value and volume control threshold values can comprise: described volume controls the ratio that threshold values is volume value and coefficient of sensitivity and adjusts the summation of coefficient; Wherein, described coefficient of sensitivity and described adjustment coefficient are constant, and described coefficient of sensitivity and described adjustment coefficient all can arrange according to actual needs.Described coefficient of sensitivity and described adjustment coefficient table are shown in volume control procedure, and volume controls the influence degree of threshold values to volume.The incidence relation that described volume value and the first volume control threshold values specifically can represent by above-mentioned formula (1), and described threshold values computing module 102 can calculate by formula (1) the first volume control threshold values of described voice data; The incidence relation that described volume value and the second volume control threshold values specifically can represent by above-mentioned formula (2), and described threshold values computing module 102 can calculate by formula (2) the second volume control threshold values of described voice data.
Described control module 103 can reach the effect that volume controls by controlling the volume peak value of voice data, is specially: if volume peak value is greater than the first volume, control threshold values, voice data is born to gain process, thereby reduce the volume of voice data; Or if volume peak value is less than the second volume and controls threshold values, voice data is carried out to postiive gain processing, thereby the volume of augmented audio data.
Below each module in embodiment illustrated in fig. 5 is described in detail.
Referring to Fig. 6 a, is the structural representation of an embodiment of the computing module of threshold values shown in Fig. 5; This threshold values computing module 102 can comprise: the first ratio calculation unit 1201 and the first threshold values computing unit 1202.
The first ratio calculation unit 1201, for calculating the ratio of current volume value and the first coefficient of sensitivity.
The first threshold values computing unit 1202, carries out summation operation for the ratio of described current volume value and the first coefficient of sensitivity and first is adjusted to coefficient, and the first volume that calculates described voice data controls threshold values.
According to above-mentioned formula (1), first described the first ratio calculation unit 1201 calculates the ratio of current volume value and the first coefficient of sensitivity, calculates I/w
1value; Secondly, ratio and the described adjustment coefficient of 1202 pairs of described current volume value of described the first threshold values computing unit and the first coefficient of sensitivity carry out summation operation, i.e. read group total I/w
1+ a, the first volume that calculates described voice data controls threshold values E
max.
Referring to Fig. 6 b, is the structural representation of another embodiment of the computing module of threshold values shown in Fig. 5; This threshold values computing module 102 can comprise: the second ratio calculation unit 1211 and the second threshold values computing unit 1212.
The second ratio calculation unit 1211, for calculating the ratio of current volume value and the second coefficient of sensitivity.
The second threshold values computing unit 1212, carries out summation operation for the ratio of described current volume value and the second coefficient of sensitivity and second is adjusted to coefficient, and the second volume that calculates described voice data controls threshold values.
According to above-mentioned formula (2), first described the second ratio calculation unit 1211 calculates the ratio of current volume value and the second coefficient of sensitivity, calculates I/w
2value; Secondly, the ratio of 1212 pairs of described current volume value of described the second threshold values computing unit and the second coefficient of sensitivity and second is adjusted coefficient and is carried out summation operation, i.e. read group total I/w
2+ b, the second volume that calculates described voice data controls threshold values E
min.
Referring to Fig. 7, is the structural representation of the embodiment of control module shown in Fig. 5; This control module 103 can comprise: peak value computing unit 1301, judging unit 1302 and control unit 1303.
Peak value computing unit 1301, for calculating the volume peak value of described voice data.
In a kind of feasible execution mode of the present invention, please also refer to Fig. 8, be the structural representation of the embodiment of the computing unit of peak value shown in Fig. 7; This peak value computing unit 1301 can comprise: frame energy calculation unit 1331, choose unit 1332 and peak value computing unit 1333.
Frame energy calculation unit 1331, each the frame audio frame for for described voice data, carries out read group total to all sampled values of each frame audio frame, obtains the energy of each frame audio frame.
Choose unit 1332, for choosing the continuous audio frame of preset value quantity.
Peak value computation subunit 1333, for calculating the average energy of selected continuous audio frame, obtains the volume peak value of described voice data.
Judging unit 1302, for judging whether the volume peak value of described voice data is greater than the first volume and controls threshold values, or for judging whether the volume peak value of described voice data is less than the second volume and controls threshold values.
1303 pairs of described voice datas of described control unit are born after gain process, can reduce the volume of described voice data, thereby realize the Based Intelligent Control to the volume of described voice data; 1303 pairs of described voice datas of described control unit carry out, after postiive gain processing, can increasing the volume of described voice data, thereby realize the Based Intelligent Control to described voice data.
Be understandable that, the function of each functional module of the sound volume control device shown in Fig. 5-Fig. 8 is by the method specific implementation in embodiment of the method shown in Fig. 1-Fig. 4, and its specific implementation process can, referring to the associated description in said method embodiment, be not repeated herein.
From the embodiment shown in above-mentioned Fig. 5-Fig. 8, in feasible execution modes more of the present invention, can be according to the incidence relation of volume value and volume control threshold values, according to the current volume value intelligent computation volume of voice data, control threshold values, and control based on this volume the volume peak value that threshold values is controlled voice data, realize the Based Intelligent Control to volume.Because volume controls threshold values, can carry out intelligent set according to the current volume value of voice data, the triviality of avoiding user's manual operation to bring, has promoted the flexibility that volume controls, and has improved again the intelligent of volume control.
The embodiment of the invention also discloses a kind of terminal, this terminal can be the various terminal equipments such as PC, mobile phone, MP3, MP4.Wherein, this terminal can comprise an audio control apparatus, and the concrete structure of this audio control apparatus and function can, referring to the related description in Fig. 5-embodiment illustrated in fig. 8, be not repeated herein.
As from the foregoing, in feasible execution modes more of the present invention, can be according to the incidence relation of volume value and volume control threshold values, according to the current volume value intelligent computation volume of voice data, control threshold values, and control based on this volume the volume peak value that threshold values is controlled voice data, realize the Based Intelligent Control to volume.Because volume controls threshold values, can carry out intelligent set according to the current volume value of voice data, the triviality of avoiding user's manual operation to bring, has promoted the flexibility that volume controls, and has improved again the intelligent of volume control.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.
Claims (14)
1. a method for controlling volume, is characterized in that, comprising:
Obtain the current volume value of voice data;
According to the incidence relation of volume value and volume control threshold values, the volume of calculating described voice data controls threshold values;
According to described volume, control threshold values, control the volume peak value of described voice data.
2. the method for claim 1, is characterized in that, the incidence relation that described volume value and volume control threshold values comprises: described volume controls the ratio that threshold values is volume value and coefficient of sensitivity and adjusts the summation of coefficient;
Wherein, described coefficient of sensitivity and described adjustment coefficient are constant.
3. method as claimed in claim 2, is characterized in that, described according to the incidence relation of volume value and volume control threshold values, the volume of calculating described voice data controls threshold values, comprising:
Calculate the ratio of current volume value and the first coefficient of sensitivity;
The ratio of described current volume value and the first coefficient of sensitivity and first is adjusted to coefficient and carry out summation operation, the first volume that calculates described voice data controls threshold values.
4. method as claimed in claim 3, is characterized in that, described according to described volume control threshold values, controls the volume peak value of described voice data, comprising:
Calculate the volume peak value of described voice data;
Whether the volume peak value that judges described voice data is greater than the first volume control threshold values;
If the volume peak value of described voice data is greater than the first volume and controls threshold values, described voice data is born to gain process.
5. method as claimed in claim 2, is characterised in that, described according to the incidence relation of volume value and volume control threshold values, the volume of calculating described voice data controls threshold values, comprising:
Calculate the ratio of current volume value and the second coefficient of sensitivity;
The ratio of described current volume value and the second coefficient of sensitivity and second is adjusted to coefficient and carry out summation operation, the second volume that calculates described voice data controls threshold values.
6. method as claimed in claim 5, is characterized in that, described according to described volume control threshold values, controls the volume peak value of described voice data, comprising:
Calculate the volume peak value of described voice data;
Whether the volume peak value that judges described voice data is less than the second volume control threshold values;
If the volume peak value of described voice data is less than the second volume and controls threshold values, described voice data is carried out to postiive gain processing.
7. the method as described in claim 4 or 6, is characterized in that, the volume peak value of the described voice data of described calculating, comprising:
Each frame audio frame for described voice data, carries out read group total to all sampled values of each frame audio frame, obtains the energy of each frame audio frame;
Choose the continuous audio frame of preset value quantity;
Calculate the average energy of selected continuous audio frame, obtain the volume peak value of described voice data.
8. a sound volume control device, is characterized in that, comprising:
Acquisition module, for obtaining the current volume value of voice data;
Threshold values computing module, for according to the incidence relation of volume value and volume control threshold values, calculates the volume control threshold values of described voice data;
Control module, for controlling threshold values according to described volume, controls the volume peak value of described voice data.
9. device as claimed in claim 8, is characterized in that, the incidence relation that described volume value and volume control threshold values comprises: described volume controls the ratio that threshold values is volume value and coefficient of sensitivity and adjusts the summation of coefficient;
Wherein, described coefficient of sensitivity and described adjustment coefficient are constant.
10. device as claimed in claim 9, is characterized in that, described threshold values computing module comprises:
The first ratio calculation unit, for calculating the ratio of current volume value and the first coefficient of sensitivity;
The first threshold values computing unit, carries out summation operation for the ratio of described current volume value and the first coefficient of sensitivity and first is adjusted to coefficient, and the first volume that calculates described voice data controls threshold values.
11. devices as claimed in claim 9, is characterized in that, described threshold values computing module comprises:
The second ratio calculation unit, for calculating the ratio of current volume value and the second coefficient of sensitivity;
The second threshold values computing unit, carries out read group total for the ratio of described current volume value and the second coefficient of sensitivity and second is adjusted to coefficient, and the second volume that calculates described voice data controls threshold values.
12. devices as described in claim 10 or 11, is characterized in that, described control module comprises:
Peak value computing unit, for calculating the volume peak value of described voice data;
Judging unit, for judging whether the volume peak value of described voice data is greater than the first volume and controls threshold values, or judges whether the volume peak value of described voice data is less than the second volume control threshold values;
Control unit, if the volume peak value for described voice data is greater than the first volume control threshold values, described voice data is born to gain process, if or for the volume peak value of described voice data, be less than the second volume and control threshold values, described voice data is carried out to postiive gain processing.
13. devices as claimed in claim 12, is characterized in that, described peak value computing unit comprises:
Frame energy calculation unit, each the frame audio frame for for described voice data, carries out read group total to all sampled values of each frame audio frame, obtains the energy of each frame audio frame;
Choose unit, for choosing the continuous audio frame of preset value quantity;
Peak value computation subunit, for calculating the average energy of selected continuous audio frame, obtains the volume peak value of described voice data.
14. 1 kinds of terminals, is characterized in that, comprising: the sound volume control device as described in claim 8-13 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210289232.4A CN103595363B (en) | 2012-08-14 | 2012-08-14 | A kind of method for controlling volume, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210289232.4A CN103595363B (en) | 2012-08-14 | 2012-08-14 | A kind of method for controlling volume, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103595363A true CN103595363A (en) | 2014-02-19 |
CN103595363B CN103595363B (en) | 2018-08-07 |
Family
ID=50085376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210289232.4A Active CN103595363B (en) | 2012-08-14 | 2012-08-14 | A kind of method for controlling volume, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103595363B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105991103A (en) * | 2015-04-27 | 2016-10-05 | 乐视致新电子科技(天津)有限公司 | Volume control method and device |
WO2020238325A1 (en) * | 2019-05-24 | 2020-12-03 | 北京字节跳动网络技术有限公司 | Audio frequency signal processing method and apparatus, terminal and storage medium |
CN112637416A (en) * | 2019-09-20 | 2021-04-09 | 北京小米移动软件有限公司 | Volume adjusting method and device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080253587A1 (en) * | 2007-04-11 | 2008-10-16 | Kabushiki Kaisha Toshiba | Method for automatically adjusting audio volume and audio player |
CN101489070A (en) * | 2009-02-17 | 2009-07-22 | 华为技术有限公司 | Television volume regulating method, apparatus and system |
CN101783656A (en) * | 2010-03-17 | 2010-07-21 | 北京爱德发科技有限公司 | Loudness control method, module and device of stereo system |
CN102195659A (en) * | 2011-04-11 | 2011-09-21 | 惠州Tcl移动通信有限公司 | Radio set, and frequency modulation (FM) volume control method and device thereof |
CN102610229A (en) * | 2011-01-21 | 2012-07-25 | 安凯(广州)微电子技术有限公司 | Method, apparatus and device for audio dynamic range compression |
-
2012
- 2012-08-14 CN CN201210289232.4A patent/CN103595363B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080253587A1 (en) * | 2007-04-11 | 2008-10-16 | Kabushiki Kaisha Toshiba | Method for automatically adjusting audio volume and audio player |
CN101489070A (en) * | 2009-02-17 | 2009-07-22 | 华为技术有限公司 | Television volume regulating method, apparatus and system |
CN101783656A (en) * | 2010-03-17 | 2010-07-21 | 北京爱德发科技有限公司 | Loudness control method, module and device of stereo system |
CN102610229A (en) * | 2011-01-21 | 2012-07-25 | 安凯(广州)微电子技术有限公司 | Method, apparatus and device for audio dynamic range compression |
CN102195659A (en) * | 2011-04-11 | 2011-09-21 | 惠州Tcl移动通信有限公司 | Radio set, and frequency modulation (FM) volume control method and device thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105991103A (en) * | 2015-04-27 | 2016-10-05 | 乐视致新电子科技(天津)有限公司 | Volume control method and device |
WO2020238325A1 (en) * | 2019-05-24 | 2020-12-03 | 北京字节跳动网络技术有限公司 | Audio frequency signal processing method and apparatus, terminal and storage medium |
CN112637416A (en) * | 2019-09-20 | 2021-04-09 | 北京小米移动软件有限公司 | Volume adjusting method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103595363B (en) | 2018-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210217433A1 (en) | Voice processing method and apparatus, and device | |
EP1377057A3 (en) | Speaker detection and tracking using audiovisual data | |
CN111050271B (en) | Method and apparatus for processing audio signal | |
CN103684303A (en) | Volume control method, device and terminal | |
CN110799936B (en) | Volume adjusting method, volume adjusting device, terminal equipment and storage medium | |
CN111033614B (en) | Volume adjusting method and device, mobile terminal and storage medium | |
CN103746668A (en) | Sound volume control method and system | |
CN104021148A (en) | Method and device for adjusting sound effect | |
US11822854B2 (en) | Automatic volume adjustment method and apparatus, medium, and device | |
CN101783656A (en) | Loudness control method, module and device of stereo system | |
CN103595363A (en) | Volume control method, apparatus, and terminal | |
CN107483734B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN107508983B (en) | Volume adjusting method and device, storage medium and terminal equipment | |
CN114879929A (en) | Multimedia file playing method and device | |
EP4270387A1 (en) | Coding method and apparatus, and electronic device and storage medium | |
US9271076B2 (en) | Enhanced stereophonic audio recordings in handheld devices | |
CN104333778A (en) | Dynamic playing buffering processing method and electronic device | |
CN107506168B (en) | Volume adjusting method and device, terminal equipment and storage medium | |
CN106648525B (en) | A kind of auto gain control method and device of audio signal | |
EP2672625B1 (en) | Apparatus and method for adjusting volume in a terminal | |
CN116055951B (en) | Signal processing method and electronic equipment | |
CN113115179B (en) | Working state adjusting method and device | |
CN104348436A (en) | Parameter adjusting method and electronic equipment | |
CN203691563U (en) | Wireless high-definition audio system | |
CN103873917A (en) | Multimedia playing processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |