CN106374864A - Volume adjustment method and device - Google Patents
Volume adjustment method and device Download PDFInfo
- Publication number
- CN106374864A CN106374864A CN201610864334.2A CN201610864334A CN106374864A CN 106374864 A CN106374864 A CN 106374864A CN 201610864334 A CN201610864334 A CN 201610864334A CN 106374864 A CN106374864 A CN 106374864A
- Authority
- CN
- China
- Prior art keywords
- noise
- time
- value
- noise ration
- volume
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000005070 sampling Methods 0.000 claims abstract description 57
- 238000004422 calculation algorithm Methods 0.000 claims description 16
- 238000013528 artificial neural network Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 8
- 230000001105 regulatory effect Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 6
- 238000004321 preservation Methods 0.000 description 5
- 230000007935 neutral effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 238000012935 Averaging Methods 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G3/00—Gain control in amplifiers or frequency changers
- H03G3/20—Automatic control
- H03G3/30—Automatic control in amplifiers having semiconductor devices
- H03G3/32—Automatic control in amplifiers having semiconductor devices the control being dependent upon ambient noise level or sound level
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention provides a volume adjustment method and device. The volume adjustment method comprises the steps of collecting noise signals of an environment in which a smart audio/video device is located according to a set sampling cycle; calculating to obtain a noise volume value of the noise signal collected each time according to the noise signal collected each time, and storing the noise volume values in chronological order; judging whether the number of the stored noise volume values reaches the set number or not; calculating to obtain the reference volume of the smart audio/video device according to the noise volume values stored in the time periods contained in the set number of sampling cycles returning from a current moment if the number of the stored noise volume values reaches the set number; and adjusting the volume of the smart audio/video device according to the reference volume. According to the method, the volume of the smart audio/video device can be adjusted according to the noise volume of the environment in which the smart audio/video device is located, and the volume of the smart audio/video device is adjusted automatically.
Description
Technical field
The present invention relates to multimedia equipment control technology field, more particularly, to a kind of volume adjusting method and device.
Background technology
For many years, audio-visual amusement is one of important way of public recreation all the time.With growth in the living standard, intelligent shadow
Sound equipment is popularized in recent years in a large number.Intelligent video equipment as a kind of multimedia facility, the making an uproar of scene residing for it
Sound size, and user in corresponding scene to the demand of intelligent video device plays volume all in dynamic change.
At present, processing method in terms of volume adjusting for the intelligent video equipment, need to rely on spectators and pass through the remote controls such as remote control
Device is carried out from main regulation, and can not automatically set, according to environment noise size, the volume that suitable user listens to.Intelligent video sets
Standby automatic regulating volume size, can bring convenience for user, and there is presently no realization and automatically adjust intelligent video and set
The method of standby volume.
Content of the invention
Defect based on above-mentioned prior art and deficiency, the present invention proposes a kind of volume adjusting method and device, Ke Yishi
Existing intelligent video equipment automatic regulating volume size.
A kind of volume adjusting method, comprising:
Gather the noise signal of intelligent video equipment local environment according to the sampling period setting;
According to the noise signal gathering each time, be calculated respectively described in the noise sound of noise signal that gathers each time
Value, and by described noise ration value in chronological sequence sequential storage;
Judge whether the quantity of the noise ration value storing has reached setting quantity;
If the quantity of the noise ration value of storage has reached setting quantity, set according to starting to fall back from current time
The noise ration value preserving in the time period that the sampling period of quantity is comprised, is calculated the benchmark of described intelligent video equipment
Sound;
According to described reference note, adjust the volume of described intelligent video equipment.
Preferably, the noise signal that described basis gathers each time, be calculated respectively described in the noise that gathers each time
The noise ration value of signal, comprising:
By the described noise signal gathering each time respectively input noise analysis program, be calculated described in gather each time
Noise signal noise ration value.
Preferably, described basis was protected within the time period that the sampling period that current time starts retroversion setting quantity is comprised
The noise ration value deposited, is calculated the reference note of described intelligent video equipment, comprising:
Start to fall back, from current time, making an uproar of preserving in the time period that comprised in sampling period set quantity according to described
Sound value, after being calculated current time, the noise ration value of the second setting quantity;Wherein, described second setting quantity
The time interval of noise ration value identical with the sampling period of described setting;
Start to fall back, from current time, making an uproar of preserving in the time period that comprised in sampling period set quantity according to described
Sound value, the noise ration value with the described second setting quantity, it is calculated current time noise ration value;
According to described current time noise ration value, it is calculated the reference note of described intelligent video equipment.
Preferably, described basis was protected within the time period that the sampling period that current time starts retroversion setting quantity is comprised
The noise ration value deposited, after being calculated current time, the noise ration value of the second setting quantity, comprising:
By the described noise preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Volume value, input neural network algorithm, after being calculated current time, the noise ration value of the second setting quantity.
Preferably, described according to described reference note, adjust the volume of described intelligent video equipment, comprising:
Calculate the difference of described reference note and the volume of described intelligent video equipment, obtain volume adjusting amount;
According to described volume adjusting amount, adjust the volume of described intelligent video equipment.
A kind of volume adjustment device, comprising:
Noise Acquisition unit, for gathering the noise letter of intelligent video equipment local environment according to the sampling period setting
Number;
Calculating storaging unit, for gathering each time described according to the noise signal that gathers each time, being calculated respectively
Noise signal noise ration value, and by described noise ration value in chronological sequence sequential storage;
Judging unit, whether the quantity for judging the noise ration value storing has reached setting quantity;
Computing unit, the quantity for judging the noise ration value of storage when described judging unit has reached setting quantity
When, the noise ration value preserving in the time period that the sampling period according to starting retroversion setting quantity from current time is comprised,
It is calculated the reference note of described intelligent video equipment;
Processing unit, for according to described reference note, adjusting the volume of described intelligent video equipment.
Preferably, described calculating storaging unit, according to the noise signal gathering each time, is calculated described each respectively
During the noise ration value of the noise signal of secondary collection, specifically for:
By the described noise signal gathering each time respectively input noise analysis program, be calculated described in gather each time
Noise signal noise ration value.
Preferably, described computing unit, comprising:
First computing unit, for comprised according to the described sampling period starting retroversion setting quantity from current time
The noise ration value preserving in time period, after being calculated current time, the noise ration value of the second setting quantity;Wherein,
The time interval of noise ration value of described second setting quantity is identical with the sampling period of described setting;
Second computing unit, for comprised according to the described sampling period starting retroversion setting quantity from current time
The noise ration value preserving in time period, the noise ration value with the described second setting quantity, it is calculated current time noise
Volume value;
3rd computing unit, for according to described current time noise ration value, being calculated described intelligent video equipment
Reference note.
Preferably, described first computing unit was comprised according to the sampling period starting to fall back setting quantity from current time
Time period in preserve noise ration value, after being calculated current time, second setting quantity noise ration value when, tool
Body is used for:
By the described noise preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Volume value, input neural network algorithm, after being calculated current time, the noise ration value of the second setting quantity.
Preferably, described processing unit, comprising:
Difference computational unit, for calculating the difference of described reference note and the volume of described intelligent video equipment, obtains sound
Amount regulated quantity;
Sound volume regulation unit, for according to described volume adjusting amount, adjusting the volume of described intelligent video equipment.
Volume adjusting method proposed by the present invention, is first according to the ring residing for sampling period collection intelligent video equipment setting
The noise signal in border;Then according to the noise signal that gathers each time, be calculated respectively described in the noise letter that gathers each time
Number noise ration value, and by described noise ration value in chronological sequence sequential storage;Judge the number of the noise ration value of storage
Whether amount has reached setting quantity;If the quantity of the noise ration value of storage has reached setting quantity, according to when current
Carve the noise ration value of the time period interior preservation that the sampling period starting to fall back setting quantity is comprised, be calculated described intelligence
The reference note of audio-visual devices;Finally according to described reference note, adjust the volume of described intelligent video equipment.The method passes through intelligence
The noise ration of audio-visual devices local environment, obtains reference note in local environment for the intelligent video equipment, according to described benchmark
The volume of tone section intelligent video equipment is it is achieved that intelligent video equipment automatic regulating volume.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing providing obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of volume adjusting method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of volume adjusting method disclosed in the embodiment of the present invention;
Fig. 3 is the result schematic diagram of the embodiment of the present invention disclosed measuring and calculating noise ration value;
Fig. 4 is the schematic flow sheet of another kind of volume adjusting method disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of volume adjustment device disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of volume adjustment device disclosed in the embodiment of the present invention;
The structural representation of another kind of volume adjustment device disclosed in embodiment of the present invention during Fig. 7.
Specific 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 carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the invention discloses a kind of volume adjusting method, shown in Figure 1, the method includes:
S101, according to set sampling period gather intelligent video equipment local environment noise signal;
Specifically, it is capable of the collection to noise signal using mike.Mike receives residing for intelligent video equipment
Environment noise sound, then by the noise sound of simulation change into numeral noise signal it is achieved that setting to intelligent video
The collection of the noise signal of standby local environment.Because the noise of intelligent video equipment local environment is successive change, it is
It is easy to the environment noise according to residing for intelligent video equipment in real time, adjusts the volume of intelligent video equipment, the present invention is implemented
Example setting mike gathers the noise signal of intelligent video equipment local environment according to the sampling period setting, to for later stage root
Data is provided to support according to the volume that the noise of the environment residing for intelligent video equipment adjusts intelligent video equipment.
S102, according to the noise signal that gathers each time, be calculated respectively described in the noise signal that gathers each time
Noise ration value, and by described noise ration value in chronological sequence sequential storage;
Specifically, described noise signal is a digital signal, and digital signal can not intuitively represent noise sound
Size.Accordingly, it would be desirable to according to noise signal, be calculated the noise ration value of described noise signal, realize to noise sound
Quantization.
S103, judge whether the quantity of noise ration value storing has reached setting quantity;
If the quantity of the noise ration value of storage has reached setting quantity, execution step s104, basis are when current
Carve the noise ration value of the time period interior preservation that the sampling period starting to fall back setting quantity is comprised, be calculated described intelligence
The reference note of audio-visual devices;
Specifically, the noise ration of the environment residing for intelligent video equipment is the value of a dynamic change, if according to work as
The noise ration that the front moment collects, to adjust the volume of intelligent video equipment, due to from acquisition noise sound, intelligent to adjusting
The volume of audio-visual devices terminates, and this process needs the regular hour, may lead to the volume of the intelligent video equipment after adjusting
Mismatch with the noise ration of intelligent video equipment local environment, Consumer's Experience is still bad.Therefore, the embodiment of the present invention
Before current time, the noise ration value of the setting quantity of up-to-date storage, to estimate the noise ration of current time
Value, and then calculate the reference note of intelligent video equipment so that intelligent shadow is more adapted to the volume adjusting of intelligent video equipment
The change of the noise of the environment residing for sound equipment.
S105, according to described reference note, adjust the volume of described intelligent video equipment.
Specifically, described according to described reference note, adjust the volume of described intelligent video equipment, be by described reference note
It is sent to the volume adjusting function unit of described intelligent video equipment, so that intelligent video is set by described volume adjusting function unit
Standby volume is adjusted to identical with described reference note size.
It should be noted that the embodiment of the present invention is in specific implementation process, any one signalling can be adopted
Described reference note is sent to the volume adjusting function unit of described intelligent video equipment that is to say, that the embodiment of the present invention by formula
Technical scheme, can apply and have to above the device or equipment of described intelligent video equipment sending signal at any one.
For example, embodiment of the present invention technical scheme is applied on the smart machine with infrared emission function, by smart machine, will
Reference note information is sent to intelligent video equipment by infrared transmitter.For the intelligent video equipment that can connect the Internet,
The embodiment of the present invention can be using the smart machine being connected to described intelligent video equipment under consolidated network, by reference note information
Sent to intelligent video equipment by network;Specifically, in order to reduce the consumption of hardware view, the embodiment of the present invention is paid the utmost attention to
Using smart machine, assisted by DLNA (digital living network alliance, dlna) standard
View, reference note is sent to intelligent video equipment.Dlna standard agreement is based on the ip layer on legacy network framework, allows and supports this
The equipment of layer definition can be communicated with each other, and without in addition doing other setting actions, this feature is just the realization of function
Eliminate the consumption of hardware view.Again for example, embodiment of the present invention technical scheme can also directly apply to according to using needs
Intelligent video equipment, is calculated reference note by intelligent video device interior correlation function, by intelligent video equipment
Reference note is transferred to volume adjusting function unit by internal connection line, realizes adjusting the purpose of volume.
Volume adjusting method proposed by the present invention, is first according to the ring residing for sampling period collection intelligent video equipment setting
The noise signal in border;Then according to the noise signal that gathers each time, be calculated respectively described in the noise letter that gathers each time
Number noise ration value, and by described noise ration value in chronological sequence sequential storage;Judge the number of the noise ration value of storage
Whether amount has reached setting quantity;If the quantity of the noise ration value of storage has reached setting quantity, according to when current
Carve the noise ration value of the time period interior preservation that the sampling period starting to fall back setting quantity is comprised, be calculated described intelligence
The reference note of audio-visual devices;Finally according to described reference note, adjust the volume of described intelligent video equipment.The method passes through intelligence
The noise ration of audio-visual devices local environment, obtains reference note in local environment for the intelligent video equipment, according to described benchmark
The volume of tone section intelligent video equipment is it is achieved that intelligent video equipment automatic regulating volume.
Optionally, in another embodiment of the present invention, the noise signal that described basis gathers each time, calculates respectively
The noise ration value of the noise signal gathering each time described in obtaining, comprising:
By the described noise signal gathering each time respectively input noise analysis program, be calculated described in gather each time
Noise signal noise ration value.
Specifically, described NAP noise analysis program, can calculate this and makes an uproar according to information such as the frequencies of noise signal of input
The decibel value of acoustical signal, i.e. noise ration value.It can be understood as noise analysis software, this software has described NAP noise analysis program
There is the function of Analyze noise signal decibel value.
It should be noted that in the prior art, the ripe software for measurement noise volume value or device are had, this
The noise ration value calculating method that inventive embodiments are adopted is identical with existing noise ration value measurement method.Therefore, arbitrarily
The existing available software that can measure intelligent video equipment local environment noise ration value or device, can be by the present invention
Embodiment is adopted, and the embodiment of the present invention does not improve to the calculating process of noise ration value or innovates.For example, it is possible to incite somebody to action this
The technical scheme of inventive embodiments is applied to be provided with the smart machine of noise monitoring software, using the hardware of smart machine and soft
Part function, realizes the calculating to noise ration value.Or it is also possible to the embodiment of the present invention is applied to intelligent video equipment originally
Body, in intelligent video equipment built-in noise Rx device and noise analysis software, the ring residing for real-time monitoring intelligent video equipment
The noise ration value in border.
Optionally, in another embodiment of the present invention, described basis starts to fall back setting quantity from current time
The noise ration value preserving in the time period that sampling period is comprised, is calculated the reference note of described intelligent video equipment, ginseng
As shown in Figure 2, comprising:
S204, according to described start to fall back in the time period that comprised in sampling period set quantity from current time preserve
Noise ration value, after being calculated current time, second setting quantity noise ration value;Wherein, described second setting
The time interval of noise ration value of quantity is identical with the sampling period of described setting;
Specifically, because the noise of the environment residing for intelligent video equipment is the dynamic amount constantly changing, if worked as
When the front moment arrives, gather current time environment noise, and calculate noise ration value, then further according to described noise ration
Value adjust intelligent video equipment volume, due to environment noise real-time change it is likely that adjust after current time intelligent shadow
Sound device voice volume, has been not suitable with the noise ration of current time.So in the reference note calculating current time intelligent video equipment
Before, first ambient noise volume value should be done with an average measuring and calculating within a period of time, that is, before current time arrival, pass through
The mode of prediction, calculates the noise ration value of current time, to, when current time arrives, can basis work as in time
The noise ration value in front moment, adjusts the volume of intelligent video equipment.
For example, the embodiment of the present invention is according to the noise ration value of the noise of 10 sampling periods collection before current time,
To be calculated the noise ration value in 3 sampling periods after current time, concrete results of measuring is as shown in Figure 3.Specifically, adopt
Use any one prediction algorithm, such as neural network algorithm, be capable of calculating the number after current time according to data with existing
According to purpose.
S205, according to described start to fall back in the time period that comprised in sampling period set quantity from current time preserve
Noise ration value, with described second setting quantity noise ration value, be calculated current time noise ration value;
Specifically, the method using averaging for the embodiment of the present invention, is calculated current time noise ration value, that is, asks for
Set noise ration value and the meansigma methodss of the noise ration value of described second setting quantity of quantity before described current time, make
Noise ration value for current time.
In embodiments of the present invention, make an uproar for 3 after calculating 10 noise ration values and current time before current time
The meansigma methodss of sound value, as the noise ration value of current time.
S206, according to described current time noise ration value, be calculated the reference note of described intelligent video equipment.
Specifically, the method for calculating is: is adjusted on the basis of current time noise ration value, obtains intelligent video
The reference note of equipment;The standard of adjustment is: reference note exceeds the scope of ambient noise volume, human ear will can be allowed clearly to differentiate ring
Border noise and program audio, and ensure to listen to not ear-piercing during described program audio.
For example: when ambient noise volume value is less than 50 decibels, reference note adjustment standard is higher than ambient noise volume value 8
Decibel;When ambient noise volume value is more than 50 decibels and is less than 70 decibels, reference note adjustment standard is higher than ambient noise volume
10 decibels of value;When ambient noise volume value is more than 70 decibels, reference note adjustment standard is higher than ambient noise volume value 10-15
Decibel etc..It should be noted that in view of the object using intelligent video equipment is different, due to human ear to the sensitivity of sound not
With above-mentioned adjustment standard can adjust at any time according to practical situation.
Step s201 in the embodiment of the present invention~s203, s207 corresponds in the embodiment of method shown in Fig. 1 respectively
Step s101~s103, s105, its particular content refers to the embodiment of the method shown in corresponding Fig. 1, and here is omitted.
Optionally, in another embodiment of the present invention, described basis starts to fall back setting quantity from current time
The noise ration value preserving in the time period that sampling period is comprised, after being calculated current time, the second setting quantity
Noise ration value, comprising:
By the described noise preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Volume value, input neural network algorithm, after being calculated current time, the noise ration value of the second setting quantity.
Specifically, the embodiment of the present invention is carried out using back propagation (back propagation, bp) neural network algorithm
Calculate.Bp neutral net is a kind of Multi-layered Feedforward Networks by Back Propagation Algorithm training, is most widely used god at present
Through one of network model.Bp algorithm is a kind of learning algorithm having supervised, and its main thought is: input learning sample, uses
Back-propagation algorithm carries out adjusting training repeatedly to the weights of network and deviation, makes the vector of output with Mean Vector as far as possible
Ground is close, and the training when the error sum of squares of network output layer is less than the error specified completes, and preserves weights and the deviation of network.
Bp neural network algorithm is to propose on the basis of the existing algorithm of bp neutral net, is by arbitrarily selected one group of weights, will
Given target output to set up system of linear equations directly as the algebraical sum of linear equation, solves Unknown weights, there is not tradition
The local minimum of method and the slow problem of convergence rate, and be more readily understood.
It should be noted that the embodiment of the present invention using neutral net (bp neutral net) as instrument, according to when current
Carve the noise ration value of the time period interior preservation that the sampling period starting to fall back setting quantity is comprised, be calculated current time
Afterwards, the noise ration value of the second setting quantity.In calculating process, neural network algorithm is not improved and create
Newly.Also there is in the simulation calculation instrument such as matlab corresponding neural network procedure bag, in the simulation calculation instrument such as matlab
Call neural network procedure bag, can easily reach calculating purpose.
Optionally, in another embodiment of the present invention, described according to described reference note, adjust described intelligent video and set
Standby volume, as shown in Figure 4, comprising:
S405, the described reference note of calculating and the difference of the volume of described intelligent video equipment, obtain volume adjusting amount;
Specifically, the embodiment of the present invention, during concrete execution, can store the reference note calculating each time, that is, store
The volume value of each moment intelligent video equipment.When calculating the reference note of intelligent video equipment current time, by with upper
The volume value of one moment intelligent video equipment is compared it may be determined that how the volume of intelligent video equipment should be adjusted, with
And corresponding regulated quantity number.Specifically, with the reference note of calculated current time, deduct one on intelligent video equipment
The volume value in moment, the difference obtaining is it is simply that volume adjusting amount.
S406, according to described volume adjusting amount, adjust the volume of described intelligent video equipment.
Specifically, described volume adjusting amount, that is, in current time it should how adjust the sound of intelligent video equipment
Amount: when volume adjusting amount for timing it should tune up the volume of intelligent video equipment, adjustment amount is described volume adjusting amount
Absolute value;When volume adjusting amount is negative it should turn the volume of intelligent video equipment down, adjustment amount is described volume adjusting
The absolute value of amount.
Step s101 in the embodiment of method shown in the corresponding Fig. 1 of step s401 in the embodiment of the present invention~s404~
S104, its particular content embodiment of the method shown in Figure 1, here is omitted.
Another embodiment of the present invention also discloses a kind of volume adjustment device, shown in Figure 5, and this device includes:
Noise Acquisition unit 501, for gathering the noise of intelligent video equipment local environment according to the sampling period setting
Signal;
Calculating storaging unit 502, for adopting each time described according to the noise signal that gathers each time, being calculated respectively
The noise ration value of the noise signal of collection, and by described noise ration value in chronological sequence sequential storage;
Judging unit 503, whether the quantity for judging the noise ration value storing has reached setting quantity;
Computing unit 504, the quantity for judging the noise ration value of storage when described judging unit has reached setting number
During amount, the noise ration of preservation in the time period that the sampling period according to starting retroversion setting quantity from current time is comprised
Value, is calculated the reference note of described intelligent video equipment;
Processing unit 505, for according to described reference note, adjusting the volume of described intelligent video equipment.
Specifically, the specific works content of each several part in embodiments of the present invention, refers to corresponding embodiment of the method
Content, here is omitted.
Volume adjustment device proposed by the present invention, for automatic regulating volume: Noise Acquisition unit 501 is according to setting first
Sampling period gather intelligent video equipment local environment noise signal;Then calculating storaging unit 502 is according to adopting each time
The noise signal of collection, be calculated respectively described in the noise ration value of noise signal that gathers each time, and by described noise sound
Value in chronological sequence sequential storage;Judging unit 503 judges whether the quantity of the noise ration value storing has reached setting number
Amount;If the quantity of the noise ration value of storage has reached setting quantity, computing unit 504 starts down according to from current time
Move back the noise ration value preserving in the time period that comprised in sampling period set quantity, be calculated described intelligent video equipment
Reference note;Last processing unit 505, according to described reference note, adjusts the volume of described intelligent video equipment.This device passes through
The noise ration of intelligent video equipment local environment, obtains reference note in local environment for the intelligent video equipment, according to described
Reference note adjusts the volume of intelligent video equipment it is achieved that intelligent video equipment automatic regulating volume.
Optionally, in another embodiment of the present invention, calculating storaging unit 502 is according to the noise letter gathering each time
Number, be calculated respectively described in gather each time the noise ration value of noise signal when, specifically for:
By the described noise signal gathering each time respectively input noise analysis program, be calculated described in gather each time
Noise signal noise ration value.
Specifically, the specific works content of calculating storaging unit 502 in embodiments of the present invention, refers to corresponding method
The content of embodiment, here is omitted.
Optionally, in another embodiment of the present invention, shown in Figure 6, computing unit 504, comprising:
First computing unit 5041, for being wrapped according to the described sampling period starting to fall back setting quantity from current time
The noise ration value preserving in the time period containing, after being calculated current time, the noise ration value of the second setting quantity;Its
In, the time interval of noise ration value of described second setting quantity is identical with the sampling period of described setting;
Second computing unit 5042, for being wrapped according to the described sampling period starting to fall back setting quantity from current time
The noise ration value preserving in the time period containing, the noise ration value with the described second setting quantity, it is calculated current time
Noise ration value;
3rd computing unit 5043, for according to described current time noise ration value, being calculated described intelligent video
The reference note of equipment.
Specifically, the specific works content of each several part in embodiments of the present invention, refers to corresponding embodiment of the method
Content, here is omitted.
Optionally, in another embodiment of the present invention, the first computing unit 5041 starts down according to from current time
Move back the noise ration value preserving in the time period that comprised in sampling period set quantity, after being calculated current time, the
During the noise ration value of two setting quantity, specifically for:
By the described noise preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Volume value, input neural network algorithm, after being calculated current time, the noise ration value of the second setting quantity.
Specifically, the specific works content of the first computing unit 5041 in embodiments of the present invention, refers to corresponding side
The content of method embodiment, here is omitted.
Optionally, in another embodiment of the present invention, shown in Figure 7, processing unit 505, comprising:
Difference computational unit 5051, for calculating the difference of described reference note and the volume of described intelligent video equipment, obtains
To volume adjusting amount;
Sound volume regulation unit 5052, for according to described volume adjusting amount, adjusting the volume of described intelligent video equipment.
Specifically, the specific works content of each several part in embodiments of the present invention, refers to corresponding embodiment of the method
Content, here is omitted.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one
The scope the widest causing.
Claims (10)
1. a kind of volume adjusting method is it is characterised in that include:
Gather the noise signal of intelligent video equipment local environment according to the sampling period setting;
According to the noise signal gathering each time, be calculated respectively described in the noise ration of noise signal that gathers each time
Value, and by described noise ration value in chronological sequence sequential storage;
Judge whether the quantity of the noise ration value storing has reached setting quantity;
If the quantity of the noise ration value of storage has reached setting quantity, set quantity according to starting to fall back from current time
Time period of being comprised in sampling period in the noise ration value that preserves, be calculated the reference note of described intelligent video equipment;
According to described reference note, adjust the volume of described intelligent video equipment.
2. method according to claim 1, it is characterised in that the noise signal that gathers each time of described basis, is counted respectively
Calculate the noise ration value of the noise signal gathering each time described in obtaining, comprising:
By the described noise signal gathering each time respectively input noise analysis program, be calculated described in gather each time make an uproar
The noise ration value of acoustical signal.
3. method according to claim 1 sets quantity it is characterised in that described basis starts to fall back from current time
The noise ration value preserving in the time period that sampling period is comprised, is calculated the reference note of described intelligent video equipment, bag
Include:
According to the described noise sound preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Value, after being calculated current time, the noise ration value of the second setting quantity;Wherein, described second set making an uproar of quantity
The time interval of sound value is identical with the sampling period of described setting;
According to the described noise sound preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Value, the noise ration value with the described second setting quantity, it is calculated current time noise ration value;
According to described current time noise ration value, it is calculated the reference note of described intelligent video equipment.
4. method according to claim 3 sets quantity it is characterised in that described basis starts to fall back from current time
The noise ration value preserving in the time period that sampling period is comprised, after being calculated current time, the second setting quantity
Noise ration value, comprising:
By the described noise ration preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Value, input neural network algorithm, after being calculated current time, the noise ration value of the second setting quantity.
5. method according to claim 1 it is characterised in that described according to described reference note, adjust described intelligent video
The volume of equipment, comprising:
Calculate the difference of described reference note and the volume of described intelligent video equipment, obtain volume adjusting amount;
According to described volume adjusting amount, adjust the volume of described intelligent video equipment.
6. a kind of volume adjustment device is it is characterised in that include:
Noise Acquisition unit, for gathering the noise signal of intelligent video equipment local environment according to the sampling period setting;
Calculating storaging unit, for making an uproar of gathering each time described according to the noise signal that gathers each time, being calculated respectively
The noise ration value of acoustical signal, and by described noise ration value in chronological sequence sequential storage;
Judging unit, whether the quantity for judging the noise ration value storing has reached setting quantity;
Computing unit, when the quantity for judging the noise ration value of storage when described judging unit has reached setting quantity, root
According to the noise ration value preserving in the time period that the sampling period starting retroversion setting quantity from current time is comprised, calculate
Reference note to described intelligent video equipment;
Processing unit, for according to described reference note, adjusting the volume of described intelligent video equipment.
7. method according to claim 6 is it is characterised in that described calculating storaging unit is according to the noise gathering each time
Signal, be calculated respectively described in gather each time the noise ration value of noise signal when, specifically for:
By the described noise signal gathering each time respectively input noise analysis program, be calculated described in gather each time make an uproar
The noise ration value of acoustical signal.
8. method according to claim 6 is it is characterised in that described computing unit, comprising:
First computing unit, for starting the time that retroversion sets the sampling period of quantity and comprised from current time according to described
The noise ration value preserving in section, after being calculated current time, the noise ration value of the second setting quantity;Wherein, described
The time interval of noise ration value of the second setting quantity is identical with the sampling period of described setting;
Second computing unit, for starting the time that retroversion sets the sampling period of quantity and comprised from current time according to described
The noise ration value preserving in section, the noise ration value with the described second setting quantity, it is calculated current time noise ration
Value;
3rd computing unit, for according to described current time noise ration value, being calculated the base of described intelligent video equipment
Quasi- sound.
9. method according to claim 8 is it is characterised in that described first computing unit starts down according to from current time
Move back the noise ration value preserving in the time period that comprised in sampling period set quantity, after being calculated current time, the
During the noise ration value of two setting quantity, specifically for:
By the described noise ration preserving within the time period that the sampling period that current time starts retroversion setting quantity is comprised
Value, input neural network algorithm, after being calculated current time, the noise ration value of the second setting quantity.
10. method according to claim 6 is it is characterised in that described processing unit, comprising:
Difference computational unit, for calculating the difference of described reference note and the volume of described intelligent video equipment, obtains volume and adjusts
Section amount;
Sound volume regulation unit, for according to described volume adjusting amount, adjusting the volume of described intelligent video equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610864334.2A CN106374864B (en) | 2016-09-29 | 2016-09-29 | A kind of volume adjusting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610864334.2A CN106374864B (en) | 2016-09-29 | 2016-09-29 | A kind of volume adjusting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106374864A true CN106374864A (en) | 2017-02-01 |
CN106374864B CN106374864B (en) | 2019-05-24 |
Family
ID=57897091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610864334.2A Active CN106374864B (en) | 2016-09-29 | 2016-09-29 | A kind of volume adjusting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106374864B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106847300A (en) * | 2017-03-03 | 2017-06-13 | 北京捷思锐科技股份有限公司 | A kind of voice data processing method and device |
CN109147816A (en) * | 2018-06-05 | 2019-01-04 | 安克创新科技股份有限公司 | The method and apparatus of volume adjustment is carried out to music |
CN109213471A (en) * | 2018-10-23 | 2019-01-15 | 北京奇艺世纪科技有限公司 | A kind of adjusting method and system of volume |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5778077A (en) * | 1995-09-13 | 1998-07-07 | Davidson; Dennis M. | Automatic volume adjusting device and method |
CN1783928A (en) * | 2004-12-02 | 2006-06-07 | 华为技术有限公司 | Method and its device for realizing automatically regulating bell volume in mobile terminal |
CN101141118A (en) * | 2007-10-25 | 2008-03-12 | 南京工业职业技术学院 | Acoustics volume automatic controller along with environmental noise size for automobile |
CN105262452A (en) * | 2015-10-29 | 2016-01-20 | 小米科技有限责任公司 | Method and apparatus for adjusting volume, and terminal |
-
2016
- 2016-09-29 CN CN201610864334.2A patent/CN106374864B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5778077A (en) * | 1995-09-13 | 1998-07-07 | Davidson; Dennis M. | Automatic volume adjusting device and method |
CN1783928A (en) * | 2004-12-02 | 2006-06-07 | 华为技术有限公司 | Method and its device for realizing automatically regulating bell volume in mobile terminal |
CN101141118A (en) * | 2007-10-25 | 2008-03-12 | 南京工业职业技术学院 | Acoustics volume automatic controller along with environmental noise size for automobile |
CN105262452A (en) * | 2015-10-29 | 2016-01-20 | 小米科技有限责任公司 | Method and apparatus for adjusting volume, and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106847300A (en) * | 2017-03-03 | 2017-06-13 | 北京捷思锐科技股份有限公司 | A kind of voice data processing method and device |
CN109147816A (en) * | 2018-06-05 | 2019-01-04 | 安克创新科技股份有限公司 | The method and apparatus of volume adjustment is carried out to music |
WO2019233361A1 (en) * | 2018-06-05 | 2019-12-12 | 安克创新科技股份有限公司 | Method and device for adjusting volume of music |
CN109147816B (en) * | 2018-06-05 | 2021-08-24 | 安克创新科技股份有限公司 | Method and equipment for adjusting volume of music |
CN109213471A (en) * | 2018-10-23 | 2019-01-15 | 北京奇艺世纪科技有限公司 | A kind of adjusting method and system of volume |
CN109213471B (en) * | 2018-10-23 | 2021-08-31 | 北京奇艺世纪科技有限公司 | Volume adjusting method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106374864B (en) | 2019-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109275084A (en) | Test method, device, system, equipment and the storage medium of microphone array | |
CN105469785B (en) | Voice activity detection method and device in communication terminal dual microphone noise-canceling system | |
US10869140B2 (en) | Determination of room reverberation for signal enhancement | |
CN106374864A (en) | Volume adjustment method and device | |
CN109788382A (en) | A kind of distribution microphone array pickup system and method | |
CN104966522B (en) | Effect adjusting method, cloud server, stereo set and system | |
CN105376668B (en) | A kind of earphone noise-reduction method and device | |
CN109640790A (en) | The modification of hearing test and audio signal | |
CN102883121A (en) | Method and device for regulating volume, and digital terminal | |
CN107454508A (en) | The television set and television system of microphone array | |
CN107682561A (en) | volume adjusting method, device, terminal and storage medium | |
CN101753111A (en) | Method and device for adjusting play volume | |
CN104581539B (en) | The control method and its mobile terminal that audio frequency of mobile terminal plays | |
CN103561184A (en) | Frequency-convertible echo cancellation method based on near-end audio signal calibration and correction | |
CN104601130B (en) | A kind of method and device for adjusting volume | |
CN109121057A (en) | A kind of method and its system of intelligence hearing aid | |
CN109285554A (en) | A kind of echo cancel method, server, terminal and system | |
CN109658935B (en) | Method and system for generating multi-channel noisy speech | |
CN104485114A (en) | Auditory perception characteristic-based speech quality objective evaluating method | |
WO2017201868A1 (en) | Method, apparatus and terminal for adjusting speech gain | |
CN111540347A (en) | Cable tunnel monitoring method and system based on audio | |
CN102568492B (en) | Audio processing apparatus, audio processing method, and image capturing apparatus | |
CN104244127A (en) | Heart rate detection method applied to ear phone and ear phone capable of detecting heart rate | |
CN107995547A (en) | Headphone device and control method | |
CN107360530A (en) | The method of testing and device of a kind of echo cancellor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |