CN106374864B - A kind of volume adjusting method and device - Google Patents
A kind of volume adjusting method and device Download PDFInfo
- Publication number
- CN106374864B CN106374864B CN201610864334.2A CN201610864334A CN106374864B CN 106374864 B CN106374864 B CN 106374864B CN 201610864334 A CN201610864334 A CN 201610864334A CN 106374864 B CN106374864 B CN 106374864B
- Authority
- CN
- China
- Prior art keywords
- noise
- noise ration
- value
- intelligent video
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000005070 sampling Methods 0.000 claims abstract description 54
- 238000013528 artificial neural network Methods 0.000 claims description 16
- 238000004422 calculation algorithm Methods 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 7
- 230000001105 regulatory effect Effects 0.000 abstract description 9
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 3
- 230000008569 process Effects 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
- 238000005516 engineering process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 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
- 230000006872 improvement Effects 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
- 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 present invention proposes a kind of volume adjusting method and device.A kind of volume adjusting method, comprising: according to the noise signal of the sampling period acquisition intelligent video equipment local environment of setting;According to the noise signal acquired each time, calculate separately to obtain the noise ration value of the noise signal acquired each time, and by the noise ration value in chronological sequence sequential storage;Judge whether the quantity of the noise ration value of storage has reached setting quantity;If the quantity of the noise ration value of storage has reached setting quantity, according to the noise ration value saved in the period that the sampling period for setting quantity is included is fallen back since current time, the reference note of the intelligent video equipment is calculated;According to the reference note, the volume of the intelligent video equipment is adjusted.This method can adjust the volume of intelligent video equipment, realize intelligent video equipment automatic regulating volume according to the noise ration of intelligent video equipment local environment.
Description
Technical field
The present invention relates to multimedia equipment control technology field more particularly to a kind of volume adjusting methods and device.
Background technique
For many years, audio-visual amusement is one of the important way of public recreation always.With the improvement of living standards, intelligent shadow
Sound equipment is largely popularized in recent years.Intelligent video equipment is made an uproar as a kind of multimedia facility, locating scene
The demand of sound size and user in corresponding scene to intelligent video device plays volume is all in dynamic change.
Currently, processing method of the intelligent video equipment in terms of volume adjustment, need to rely on spectators and pass through the remote control such as remote controler
Device is carried out from main regulation, and the volume for being suitble to user to listen to cannot be set automatically according to ambient noise size.Intelligent video is set
Standby automatic regulating volume size can bring convenience for user, and there is presently no realize that automatically adjusting intelligent video sets
The method of standby volume.
Summary of the invention
Defect and deficiency based on the above-mentioned prior art, the present invention propose 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:
According to the noise signal of the sampling period acquisition intelligent video equipment local environment of setting;
According to the noise signal acquired each time, calculate separately to obtain the noise sound of the noise signal acquired each time
Magnitude, and by the noise ration value in chronological sequence sequential storage;
Judge whether the quantity of the noise ration value of storage has reached setting quantity;
If the quantity of the noise ration value of storage has reached setting quantity, set according to being fallen back since current time
The noise ration value saved in the period that the sampling period of quantity is included, is calculated the benchmark of the intelligent video equipment
Sound;
According to the reference note, the volume of the intelligent video equipment is adjusted.
Preferably, the noise signal that the basis acquires each time calculates separately to obtain the noise acquired each time
The noise ration value of signal, comprising:
The noise signal difference input noise analysis program acquired each time by described is calculated and described acquires each time
Noise signal noise ration value.
Preferably, the basis falls back in the period that the sampling period of setting quantity is included since current time and protects
The reference note of the intelligent video equipment is calculated in the noise ration value deposited, comprising:
What is saved in the period for being included according to the sampling period for falling back setting quantity since current time makes an uproar
Sound magnitude, was calculated after current time, the noise ration value of the second setting quantity;Wherein, the second setting quantity
Noise ration value time interval it is identical as the sampling period of the setting;
What is saved in the period for being included according to the sampling period for falling back setting quantity since current time makes an uproar
Sound magnitude, the noise ration value with the second setting quantity, is calculated current time noise ration value;
According to the current time noise ration value, the reference note of the intelligent video equipment is calculated.
Preferably, the basis falls back in the period that the sampling period of setting quantity is included since current time and protects
The noise ration value deposited, was calculated after current time, the noise ration value of the second setting quantity, comprising:
The noise saved in the period that sampling period by the retroversion setting quantity since current time is included
Volume value inputs neural network algorithm, is calculated after current time, the noise ration value of the second setting quantity.
Preferably, described according to the reference note, adjust the volume of the intelligent video equipment, comprising:
The difference for calculating the volume of the reference note and the intelligent video equipment, obtains volume adjustment amount;
According to the volume adjustment amount, the volume of the intelligent video equipment is adjusted.
A kind of volume adjustment device, comprising:
Noise Acquisition unit, the noise for the sampling period acquisition intelligent video equipment local environment according to setting are believed
Number;
Calculating storaging unit described acquires each time for according to the noise signal that acquires each time, calculating separately to obtain
Noise signal noise ration value, and by the noise ration value in chronological sequence sequential storage;
Judging unit, for judging whether the quantity of noise ration value of storage has reached setting quantity;
Computing unit, the quantity for the noise ration value when judging unit judgement storage have reached setting quantity
When, the noise ration value that saves in period for being included according to the sampling period for falling back setting quantity since current time,
The reference note of the intelligent video equipment is calculated;
Processing unit, for adjusting the volume of the intelligent video equipment according to the reference note.
Preferably, the calculating storaging unit calculates separately to obtain described each according to the noise signal acquired each time
When the noise ration value of the noise signal of secondary acquisition, it is specifically used for:
The noise signal difference input noise analysis program acquired each time by described is calculated and described acquires each time
Noise signal noise ration value.
Preferably, the computing unit, comprising:
First computing unit, for being included according to the sampling period for falling back setting quantity since current time
The noise ration value saved in period, was calculated after current time, the noise ration value of the second setting quantity;Wherein,
The time interval of the noise ration value of the second setting quantity is identical as the sampling period of the setting;
Second computing unit, for being included according to the sampling period for falling back setting quantity since current time
The noise ration value saved in period, the noise ration value with the second setting quantity, is calculated current time noise
Volume value;
Third computing unit, for the intelligent video equipment to be calculated according to the current time noise ration value
Reference note.
Preferably, first computing unit is included according to the sampling period for falling back setting quantity since current time
Period in save noise ration value, be calculated after current time, second setting quantity noise ration value when, tool
Body is used for:
The noise saved in the period that sampling period by the retroversion setting quantity since current time is included
Volume value inputs neural network algorithm, is calculated after current time, the noise ration value of the second setting quantity.
Preferably, the processing unit, comprising:
Difference computational unit, the difference of the volume for calculating the reference note and the intelligent video equipment, obtains sound
Measure regulated quantity;
Sound volume regulation unit, for adjusting the volume of the intelligent video equipment according to the volume adjustment amount.
Volume adjusting method proposed by the present invention acquires ring locating for intelligent video equipment first, in accordance with the sampling period of setting
The noise signal in border;Then it according to the noise signal acquired each time, calculates separately to obtain the noise letter acquired each time
Number noise ration value, and by the 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 from it is current when
The noise ration value that starts to fall back and save in the period that the sampling period for setting quantity is included is carved, the intelligence is calculated
The reference note of audio-visual devices;Finally according to the reference note, the volume of the intelligent video equipment is adjusted.This method passes through intelligence
The noise ration of audio-visual devices local environment obtains reference note of the intelligent video equipment in local environment, according to the benchmark
The volume of tone section intelligent video equipment, realizes intelligent video equipment automatic regulating volume.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of volume adjusting method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another volume adjusting method disclosed by the embodiments of the present invention;
Fig. 3 is the result schematic diagram of measuring and calculating noise ration value disclosed by the embodiments of the present invention;
Fig. 4 is the flow diagram of another volume adjusting method disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structural schematic diagram of volume adjustment device disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another volume adjustment device disclosed by the embodiments of the present invention;
When Fig. 7 it is disclosed by the embodiments of the present invention another kind volume adjustment device structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is shown in Figure 1 the embodiment of the invention discloses a kind of volume adjusting method, this method comprises:
S101, the noise signal that intelligent video equipment local environment is acquired according to the sampling period of setting;
Specifically, can be realized the acquisition to noise signal using microphone.Microphone receives locating for intelligent video equipment
Environment noise sound, then by the noise sound of simulation be converted to number noise signal, realize and intelligent video set
The acquisition of the noise signal of standby local environment.Since the noise of intelligent video equipment local environment successively changes, it is
Convenient for the ambient noise according to locating for intelligent video equipment in real time, the volume of intelligent video equipment is adjusted, the present invention is implemented
Example setting microphone acquires the noise signal of intelligent video equipment local environment according to the sampling period of setting, to be later period root
Data are provided according to the volume that the noise of environment locating for intelligent video equipment adjusts intelligent video equipment to support.
The noise signal that S102, basis acquire each time calculates separately to obtain the noise signal acquired each time
Noise ration value, and by the noise ration value in chronological sequence sequential storage;
Specifically, the noise signal is a digital signal, digital signal can not intuitively represent noise sound
Size.Therefore, it is necessary to which the noise ration value of the noise signal is calculated according to noise signal, realize to noise sound
Quantization.
S103, judge whether the quantity of the noise ration value of storage has reached setting quantity;
If the quantity of noise ration value of storage has reached setting quantity, then follow the steps S104, according to from it is current when
The noise ration value that starts to fall back and save in the period that the sampling period for setting quantity is included is carved, the intelligence is calculated
The reference note of audio-visual devices;
Specifically, the noise ration of environment locating for intelligent video equipment is the value of a dynamic change, if according to working as
Preceding moment collected noise ration, to adjust the volume of intelligent video equipment, due to arriving and adjusting intelligence from acquisition noise sound
The volume of audio-visual devices terminates, which needs the regular hour, may cause the volume of the intelligent video equipment after adjusting
It is mismatched with the noise ration of intelligent video equipment local environment, user experience is still bad.Therefore, the embodiment of the present invention
Before current time, the noise ration value of the setting quantity of newest storage, to estimate the noise ration at current time
Value, and then the reference note of intelligent video equipment is calculated, so that more adapting to intelligent shadow to the volume adjustment of intelligent video equipment
The variation of the noise of environment locating for sound equipment.
S105, according to the reference note, adjust the volume of the intelligent video equipment.
Specifically, described adjust the volume of the intelligent video equipment according to the reference note, it is by the reference note
It is sent to the volume adjusting function unit of the intelligent video equipment, so that the volume adjusting function unit sets intelligent video
Standby volume is adjusted to identical as the reference note size.
It should be noted that the embodiment of the present invention is in the specific implementation process, any one signalling can be used
The reference note is sent to the volume adjusting function unit of the intelligent video equipment by formula, that is to say, that the embodiment of the present invention
Technical solution, can apply any one have to the intelligent video equipment send signal device or equipment above.
For example, technical solution of the embodiment of the present invention is applied on the smart machine with infrared emission function, it, will by smart machine
Reference note information is sent to intelligent video equipment by infrared transmitter.For the intelligent video equipment of internet can be connected,
The embodiment of the present invention can use the smart machine being connected under consolidated network with the intelligent video equipment, by reference note information
Intelligent video equipment is sent to 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 Digital Life Network Alliance (Digital Living Network Alliance, DLNA) standard
View, is sent to intelligent video equipment for reference note.DLNA standard agreement is to be allowed based on the IP layer on legacy network framework and supported this
The equipment of layer definition can communicate with each other, and without in addition doing other set actions, this feature is just the realization of function
Eliminate the consumption of hardware view.In another example technical solution of the embodiment of the present invention can also directly apply to according to the needs of use
Intelligent video equipment is calculated reference note by correlation function inside intelligent video equipment, passes through intelligent video equipment
Reference note is transferred to volume adjusting function unit by internal connection line, realizes the purpose for adjusting volume.
Volume adjusting method proposed by the present invention acquires ring locating for intelligent video equipment first, in accordance with the sampling period of setting
The noise signal in border;Then it according to the noise signal acquired each time, calculates separately to obtain the noise letter acquired each time
Number noise ration value, and by the 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 from it is current when
The noise ration value that starts to fall back and save in the period that the sampling period for setting quantity is included is carved, the intelligence is calculated
The reference note of audio-visual devices;Finally according to the reference note, the volume of the intelligent video equipment is adjusted.This method passes through intelligence
The noise ration of audio-visual devices local environment obtains reference note of the intelligent video equipment in local environment, according to the benchmark
The volume of tone section intelligent video equipment, realizes intelligent video equipment automatic regulating volume.
Optionally, in another embodiment of the present invention, the noise signal that the basis acquires each time, calculates separately
Obtain the noise ration value of the noise signal acquired each time, comprising:
The noise signal difference input noise analysis program acquired each time by described is calculated and described acquires each time
Noise signal noise ration value.
Specifically, the NAP noise analysis program, can calculate this and make an uproar according to information such as the frequencies of the noise signal of input
The decibel value of acoustical signal, i.e. noise ration value.The NAP noise analysis program, it can be understood as noise analysis software, software tool
There is the function of analysis noise signal decibel value.
It should be noted that in the prior art, the existing mature software or device for being used to measure noise ration value, this
Noise ration value calculating method used by inventive embodiments is identical as existing noise ration value measurement method.Therefore, arbitrarily
The existing available software or device that can measure intelligent video equipment local environment noise ration value, can be of the invention
Embodiment is used, and the embodiment of the present invention is not improved or innovated to the calculating process of noise ration value.For example, can be by this
The technical solution of inventive embodiments is applied to be equipped with the smart machine of noise monitoring software, utilizes the hardware of smart machine and soft
Part function realizes the calculating to noise ration value.Alternatively, the embodiment of the present invention can also be applied to intelligent video equipment sheet
Body, in noise Rx device built in intelligent video equipment and noise analysis software, ring locating for real-time monitoring intelligent video equipment
The noise ration value in border.
Optionally, in another embodiment of the present invention, the basis falls back setting quantity since current time
The noise ration value saved in the period that sampling period is included, is calculated the reference note of the intelligent video equipment, joins
As shown in Figure 2, comprising:
S204, it is saved in the period for being included according to the sampling period for falling back setting quantity since current time
Noise ration value, be calculated after current time, second setting quantity noise ration value;Wherein, second setting
The time interval of the noise ration value of quantity is identical as the sampling period of the setting;
Specifically, the noise of the environment as locating for intelligent video equipment is the dynamic amount changed constantly, if working as
When the preceding moment arrives, current time ambient noise is acquired, and calculate noise ration value, then further according to the noise ration
Value adjusts the volume of intelligent video equipment, due to ambient noise real-time change, it is likely that the intelligent shadow at the current time after adjusting
Sound device voice volume has been not suitable with the noise ration at current time.So in the reference note for calculating current time intelligent video equipment
Before, first an average measuring and calculating should be done to ambient noise volume value whithin a period of time to pass through that is, before current time arrives
The mode of prediction calculates the noise ration value at current time, to basis work as in time when current time arrives
The noise ration value at preceding moment adjusts the volume of intelligent video equipment.
For example, noise ration value of the embodiment of the present invention according to the noise of 10 sampling periods acquisition before current time,
The noise ration value in 3 sampling periods after current time is calculated, specific results of measuring is as shown in Figure 3.Specifically, adopting
With any one prediction algorithm, such as neural network algorithm, the number calculated after current time according to data with existing can be realized
According to purpose.
S205, it is saved in the period for being included according to the sampling period for falling back setting quantity since current time
Noise ration value, with it is described second setting quantity noise ration value, current time noise ration value is calculated;
Specifically, the embodiment of the present invention is calculated current time noise ration value, that is, is sought using the method averaged
The average value that the noise ration value of quantity and the noise ration value of the second setting quantity are set before the current time, makees
For the noise ration value at current time.
In embodiments of the present invention, 10 noise ration values before calculating current time are made an uproar with 3 after current time
The average value of sound magnitude, the noise ration value as current time.
S206, according to the current time noise ration value, the reference note of the intelligent video equipment is calculated.
Specifically, the method calculated is: being adjusted on the basis of current time noise ration value, obtain intelligent video
The reference note of equipment;The standard of adjustment is: reference note is higher by the range of ambient noise volume, human ear can be allowed clearly to differentiate ring
Border noise and program audio, and guarantee to listen to not ear-piercing when the program audio.
Such as: when ambient noise volume value is less than 50 decibels, it is higher than ambient noise volume value 8 that reference note, which adjusts standard,
Decibel;When ambient noise volume value is greater than 50 decibels less than 70 decibels, it is higher than ambient noise volume that reference note, which adjusts standard,
10 decibels of value;When ambient noise volume value is greater than 70 decibels, it is higher than ambient noise volume value 10-15 that reference note, which adjusts standard,
Decibel etc..It should be noted that in view of using the object of intelligent video equipment different, due to human ear to the susceptibility of sound not
Together, above-mentioned adjustment standard can adjust at any time according to the actual situation.
Step S201~S203, S207 in the embodiment of the present invention are respectively corresponded in the embodiment of method shown in FIG. 1
Step S101~S103, S105, particular content refer to corresponding embodiment of the method shown in FIG. 1, and details are not described herein again.
Optionally, in another embodiment of the present invention, the basis falls back setting quantity since current time
The noise ration value saved in the period that sampling period is included, was calculated after current time, the second setting quantity
Noise ration value, comprising:
The noise saved in the period that sampling period by the retroversion setting quantity since current time is included
Volume value inputs neural network algorithm, is calculated after current time, the noise ration value of the second setting quantity.
Specifically, the embodiment of the present invention is carried out using backpropagation (Back Propagation, BP) neural network algorithm
It calculates.BP neural network is a kind of Multi-layered Feedforward Networks by Back Propagation Algorithm training, is current most widely used mind
Through one of network model.BP algorithm is a kind of learning algorithm for having supervised, and main thought is: input learning sample uses
Back-propagation algorithm carries out adjusting training repeatedly to the weight and deviation of network, and the vector and Mean Vector for making output are as far as possible
Ground approaches, and when the error sum of squares of network output layer is less than specified error, training is completed, and saves the weight and deviation of network.
BP neural network algorithm is proposed on the basis of BP neural network existing algorithm, is incited somebody to action by arbitrarily selected one group of weight
Given target exports the algebraical sum directly as linear equation to establish system of linear equations, solves Unknown weights, and there is no tradition
The slow problem of the local minimum and convergence rate of method, and be more readily understood.
It should be noted that the embodiment of the present invention by neural network (BP neural network) be used as tool, according to from it is current when
The noise ration value that starts to fall back and save in the period that the sampling period for setting quantity is included is carved, current time is calculated
Later, the noise ration value of the second setting quantity.In calculating process, there is no improve and create to neural network algorithm
Newly.Also there is corresponding neural network procedure packet in the simulation calculations tool such as MATLAB, in the simulation calculations tool such as MATLAB
Neural network procedure packet is called, calculating purpose can be easily reached.
Optionally, in another embodiment of the present invention, described according to the reference note, it adjusts the intelligent video and sets
Standby volume, as shown in Figure 4, comprising:
S405, the difference for calculating the reference note with the volume of the intelligent video equipment, obtain volume adjustment amount;
Specifically, the embodiment of the present invention can store the reference note calculated each time, that is, store during specific implement
The volume value of each moment intelligent video equipment.When calculating the reference note at intelligent video equipment current time, by with it is upper
The volume value of one moment intelligent video equipment is compared, can with it is determined that how to adjust the volume of intelligent video equipment, with
And corresponding regulated quantity number.Specifically, being subtracted one in intelligent video equipment with the reference note at the current time being calculated
The volume value at moment, obtained difference are exactly volume adjustment amount.
S406, according to the volume adjustment amount, adjust the volume of the intelligent video equipment.
Specifically, the volume adjustment amount, that is, at current time, it should how to adjust the sound of intelligent video equipment
Amount: when volume adjustment amount is timing, it should tune up the volume of intelligent video equipment, adjustment amount is the volume adjustment amount
Absolute value;When volume adjustment amount is negative, it should turn the volume of intelligent video equipment down, adjustment amount is the volume adjustment
The absolute value of amount.
Step S401~S404 in the embodiment of the present invention correspond to the step S101 in the embodiment of method shown in FIG. 1~
S104, particular content embodiment of the method shown in Figure 1, details are not described herein again.
Another embodiment of the present invention also discloses a kind of volume adjustment device, shown in Figure 5, which includes:
Noise Acquisition unit 501, the noise for the sampling period acquisition intelligent video equipment local environment according to setting
Signal;
Calculating storaging unit 502 described is adopted each time for according to the noise signal that acquires each time, calculating separately to obtain
The noise ration value of the noise signal of collection, and by the noise ration value in chronological sequence sequential storage;
Judging unit 503, for judging whether the quantity of noise ration value of storage has reached setting quantity;
Computing unit 504, the quantity for the noise ration value when judging unit judgement storage have reached setting number
When amount, the noise ration that saves in period for being included according to the sampling period for falling back setting quantity since current time
Value, is calculated the reference note of the intelligent video equipment;
Processing unit 505, for adjusting the volume of the intelligent video equipment according to the reference note.
Specifically, the specific works content of each section in embodiments of the present invention, refers to corresponding embodiment of the method
Content, details are not described herein again.
Volume adjustment device proposed by the present invention, be used for automatic regulating volume: Noise Acquisition unit 501 is according to setting first
Sampling period acquisition intelligent video equipment local environment noise signal;Then calculating storaging unit 502 according to adopting each time
The noise signal of collection, calculates separately to obtain the noise ration value of the noise signal acquired each time, and by the noise sound
Magnitude in chronological sequence sequential storage;Judging unit 503 judges whether the quantity of the noise ration value of storage has reached setting number
Amount;If the quantity of the noise ration value of storage has reached setting quantity, computing unit 504 falls according to since current time
Move back setting quantity sampling period included period in save noise ration value, the intelligent video equipment is calculated
Reference note;Last processing unit 505 adjusts the volume of the intelligent video equipment according to the reference note.The device passes through
The noise ration of intelligent video equipment local environment obtains reference note of the intelligent video equipment in local environment, according to described
Reference note adjusts the volume of intelligent video equipment, realizes intelligent video equipment automatic regulating volume.
Optionally, in another embodiment of the present invention, calculating storaging unit 502 is believed according to the noise acquired each time
Number, when calculating separately to obtain the noise ration value of the noise signal acquired each time, it is specifically used for:
The noise signal difference input noise analysis program acquired each time by described is calculated and described acquires 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, details are not described herein again.
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 sampling period for falling back setting quantity since current time
The noise ration value saved in the period contained, was calculated after current time, the noise ration value of the second setting quantity;Its
In, the time interval of the noise ration value of the second setting quantity is identical as the sampling period of the setting;
Second computing unit 5042, for being wrapped according to the sampling period for falling back setting quantity since current time
The noise ration value saved in the period contained, the noise ration value with the second setting quantity, is calculated current time
Noise ration value;
Third computing unit 5043, for the intelligent video to be calculated according to the current time noise ration value
The reference note of equipment.
Specifically, the specific works content of each section in embodiments of the present invention, refers to corresponding embodiment of the method
Content, details are not described herein again.
Optionally, in another embodiment of the present invention, the first computing unit 5041 falls according to since current time
The noise ration value saved in the period that sampling period of setting quantity is included is moved back, is calculated after current time, the
When the noise ration value of two setting quantity, it is specifically used for:
The noise saved in the period that sampling period by the retroversion setting quantity since current time is included
Volume value inputs neural network algorithm, is calculated after 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, details are not described herein again.
Optionally, in another embodiment of the present invention, shown in Figure 7, processing unit 505, comprising:
Difference computational unit 5051, the difference of the volume for calculating the reference note and the intelligent video equipment, obtains
To volume adjustment amount;
Sound volume regulation unit 5052, for adjusting the volume of the intelligent video equipment according to the volume adjustment amount.
Specifically, the specific works content of each section in embodiments of the present invention, refers to corresponding embodiment of the method
Content, details are not described herein again.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (8)
1. a kind of volume adjusting method characterized by comprising
According to the noise signal of the sampling period acquisition intelligent video equipment local environment of setting;
According to the noise signal acquired each time, calculate separately to obtain the noise ration of the noise signal acquired each time
Value, and by the noise ration value in chronological sequence sequential storage;
Judge whether the quantity of the noise ration value of storage has reached setting quantity;
If the quantity of the noise ration value of storage has reached setting quantity, quantity is set according to falling back since current time
Sampling period included period in save noise ration value, be calculated after current time, second setting quantity
Noise ration value;Wherein, the sampling period of the time interval of the noise ration value of the second setting quantity and the setting
It is identical;
The noise sound saved in the period for being included according to the sampling period for falling back setting quantity since current time
Magnitude, the noise ration value with the second setting quantity, is calculated current time noise ration value;
According to the current time noise ration value, the reference note of the intelligent video equipment is calculated;
According to the reference note, the volume of the intelligent video equipment is adjusted.
2. the method according to claim 1, wherein the noise signal that the basis acquires each time, is counted respectively
It calculates and obtains the noise ration value of the noise signal acquired each time, comprising:
The noise signal difference input noise analysis program acquired each time by described, be calculated it is described acquire each time make an uproar
The noise ration value of acoustical signal.
3. the method according to claim 1, wherein the basis falls back setting quantity since current time
The noise ration value saved in the period that sampling period is included, was calculated after current time, the second setting quantity
Noise ration value, comprising:
The noise ration saved in the period that sampling period by the retroversion setting quantity since current time is included
Value inputs neural network algorithm, is calculated after current time, the noise ration value of the second setting quantity.
4. adjusting the intelligent video the method according to claim 1, wherein described according to the reference note
The volume of equipment, comprising:
The difference for calculating the volume of the reference note and the intelligent video equipment, obtains volume adjustment amount;
According to the volume adjustment amount, the volume of the intelligent video equipment is adjusted.
5. a kind of volume adjustment device characterized by comprising
Noise Acquisition unit, the noise signal for the sampling period acquisition intelligent video equipment local environment according to setting;
Calculating storaging unit is made an uproar for according to the noise signal acquired each time, calculate separately to acquire each time described in obtaining
The noise ration value of acoustical signal, and by the noise ration value in chronological sequence sequential storage;
Judging unit, for judging whether the quantity of noise ration value of storage has reached setting quantity;
First computing unit, the quantity for the noise ration value when judging unit judgement storage have reached setting quantity
When, the noise ration value that saves in period for being included according to the sampling period for falling back setting quantity since current time,
It is calculated after current time, the noise ration value of the second setting quantity;Wherein, the noise ration of the second setting quantity
The time interval of value is identical as the sampling period of the setting;
Second computing unit, the time for being included according to the sampling period for falling back setting quantity since current time
The noise ration value saved in section, the noise ration value with the second setting quantity, is calculated current time noise ration
Value;
Third computing unit, for the base of the intelligent video equipment to be calculated according to the current time noise ration value
Quasi- sound;
Processing unit, for adjusting the volume of the intelligent video equipment according to the reference note.
6. device according to claim 5, which is characterized in that the calculating storaging unit is according to the noise acquired each time
Signal is specifically used for when calculating separately to obtain the noise ration value of the noise signal acquired each time:
The noise signal difference input noise analysis program acquired each time by described, be calculated it is described acquire each time make an uproar
The noise ration value of acoustical signal.
7. device according to claim 5, which is characterized in that first computing unit falls according to since current time
The noise ration value saved in the period that sampling period of setting quantity is included is moved back, is calculated after current time, the
When the noise ration value of two setting quantity, it is specifically used for:
The noise ration saved in the period that sampling period by the retroversion setting quantity since current time is included
Value inputs neural network algorithm, is calculated after current time, the noise ration value of the second setting quantity.
8. device according to claim 5, which is characterized in that the processing unit, comprising:
Difference computational unit, the difference of the volume for calculating the reference note and the intelligent video equipment, obtains volume tune
Section amount;
Sound volume regulation unit, for adjusting the volume of the intelligent video equipment according to the volume adjustment amount.
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 CN106374864A (en) | 2017-02-01 |
CN106374864B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106847300B (en) * | 2017-03-03 | 2018-06-22 | 北京捷思锐科技股份有限公司 | A kind of voice data processing method and device |
CN109147816B (en) * | 2018-06-05 | 2021-08-24 | 安克创新科技股份有限公司 | Method and equipment for adjusting volume of music |
CN109213471B (en) * | 2018-10-23 | 2021-08-31 | 北京奇艺世纪科技有限公司 | Volume adjusting method and system |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106374864A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106374864B (en) | A kind of volume adjusting method and device | |
US10869140B2 (en) | Determination of room reverberation for signal enhancement | |
KR20190027820A (en) | Hearing tests and modification of audio signals | |
CN107682561A (en) | volume adjusting method, device, terminal and storage medium | |
CN104135705B (en) | A kind of method and system according to different scenes pattern adjust automatically multimedia volume | |
CN105376386B (en) | Call terminal and its volume adaptive regulation method and system | |
CN105979197A (en) | Remote conference control method and device based on automatic recognition of howling sound | |
CN105376668B (en) | A kind of earphone noise-reduction method and device | |
CN105282347B (en) | The appraisal procedure and device of voice quality | |
CN107071647A (en) | A kind of sound collection method, system and device | |
CN103561184A (en) | Frequency-convertible echo cancellation method based on near-end audio signal calibration and correction | |
CN107734126A (en) | voice adjusting method, device, terminal and storage medium | |
CN101854308A (en) | Self-adaptation realizing method of high-tone quality service network of VoIP system | |
CN109314814B (en) | Active noise reduction method and earphone | |
CN109005419A (en) | A kind of processing method and client of voice messaging | |
CN104869206B (en) | A kind of communication means and terminal | |
US11605392B2 (en) | Automatic gain control based on machine learning level estimation of the desired signal | |
CN109285554A (en) | A kind of echo cancel method, server, terminal and system | |
CN109104616A (en) | A kind of voice of direct broadcasting room connects wheat method and client | |
CN109120947A (en) | A kind of the voice private chat method and client of direct broadcasting room | |
CN106921911A (en) | Voice acquisition method and device | |
CN106162405A (en) | Denoising device, earphone and noise-reduction method | |
CN105940449A (en) | Audio signal processing | |
CN109831732A (en) | Intelligent chauvent's criterion device and method based on smart phone | |
CN114584908A (en) | Acoustic testing method, device and equipment for hearing aid |
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 |