CN107889031A - A kind of audio control method, audio control apparatus and electronic equipment - Google Patents
A kind of audio control method, audio control apparatus and electronic equipment Download PDFInfo
- Publication number
- CN107889031A CN107889031A CN201711239923.2A CN201711239923A CN107889031A CN 107889031 A CN107889031 A CN 107889031A CN 201711239923 A CN201711239923 A CN 201711239923A CN 107889031 A CN107889031 A CN 107889031A
- Authority
- CN
- China
- Prior art keywords
- sensor
- real
- microphone
- parameter
- output data
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/12—Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
- Toys (AREA)
Abstract
The invention discloses a kind of audio control method, audio control apparatus, electronic equipment and computer-readable recording medium, wherein, the audio control method includes:When the microphone of electronic equipment gets voice data, the real-time output data of sensor for being built in the electronic equipment is obtained, wherein, the sensor is arranged on the position adjacent with the microphone;Detect whether the real-time output data of the sensor meets default control condition;If the real-time output data of sensor meets the control condition, the parameter of running parameter and/or the voice data to the microphone is adjusted, to eliminate the sonic boom carried in the voice data.The present invention program realizes that intelligence reduces sonic boom based on the sensor for being built in electronic equipment, without external devices such as additional blowout prevention nets.
Description
Technical field
The invention belongs to multimedia technology field, more particularly to a kind of audio control method, audio control apparatus, electronics to set
Standby and computer-readable recording medium.
Background technology
Many possesses the electronic equipment of sound-recording function or call function during voice is obtained, and often gets
Plosive, cause the audio quality that gets poor, sonic boom phenomenon occurs in audio, and clearly voice can not be obtained when playing
Etc. consequence.
Existing processing method is to set up a blowout prevention net in electronic device exterior, and it is more special to be common in recording studio recording etc.
Under the recording scene of industry.However, the operability of electronic equipment can be reduced by setting up blowout prevention net, be not easy to user be hold by one hand or with
Body carries.
The content of the invention
In view of this, can the invention provides a kind of audio control method, audio control apparatus, electronic equipment and computer
Read storage medium so that without external devices such as blowout prevention nets, you can reduce the sonic boom phenomenon in the audio that electronic equipment is got.
The first aspect of the present invention provides a kind of audio control method, and the audio control method includes:
When the microphone of electronic equipment gets voice data, the sensor that acquisition is built in the electronic equipment is real-time
Output data, wherein, the sensor is arranged on the position adjacent with the microphone;
Detect whether the real-time output data of the sensor meets default control condition;
If the real-time output data of sensor meets the control condition, to the running parameter of the microphone
And/or the parameter of the voice data is adjusted, to eliminate the sonic boom carried in the voice data.
The second aspect of the present invention provides a kind of audio control apparatus, and the audio control apparatus includes:
Acquiring unit, for when the microphone of electronic equipment gets voice data, acquisition to be built in the electronics and set
The real-time output data of standby sensor, wherein, the sensor is arranged on the position adjacent with the microphone;
Detection unit, for detecting whether the real-time output data of the sensor meets default control condition;
Adjustment unit, for when the real-time output data of the sensor meets the control condition, to the Mike
The parameter of the running parameter of wind and/or the voice data is adjusted, to eliminate the sonic boom carried in the voice data.
The third aspect of the present invention provides a kind of electronic equipment, the electronic equipment include memory, processor and
It is stored in the computer program that can be run in the memory and on the processor, computer described in the computing device
The step of as above first aspect methods described is realized during program.
The fourth aspect of the present invention provides a kind of computer-readable recording medium, and the computer-readable recording medium is deposited
Contain computer program, when the computer program is executed by processor realize as above first aspect methods described the step of.
Therefore in the present invention when the microphone of electronic equipment gets voice data, acquisition is built in the electricity
The real-time output data of sensor of sub- equipment, then detects whether the real-time output data of the sensor meets default control
Condition processed, if the real-time output data of the sensor meets the control condition, to the running parameter of the microphone and/
Or the parameter of the voice data is adjusted, to eliminate the sonic boom carried in the voice data.On the one hand, by control
Condition is pre-set, can when the output data that microphone captures voice and the sensor meets the control condition,
Primarily determine that the voice that microphone captures there may be sonic boom phenomenon, and at this moment to the running parameter and/or sound of microphone
The parameter of frequency evidence is adjusted, to mitigate the sonic boom phenomenon in the audio that electronic equipment gets.On the other hand, present invention side
Case realizes that intelligence reduces sonic boom based on the sensor for being built in electronic equipment, it is therefore not necessary to which additional blowout prevention net etc. is external
Equipment.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram of audio control method provided in an embodiment of the present invention;
Fig. 2 is the structural representation of audio control apparatus provided in an embodiment of the present invention;
Fig. 3 is the structural representation of electronic equipment provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows the implementation process for the application management method that the embodiment of the present invention one provides, and details are as follows:
In step S101, when the microphone of electronic equipment gets voice data, acquisition is built in above-mentioned electronics and set
The real-time output data of standby sensor;
In embodiments of the present invention, after electronic equipment receives microphone enabled instruction, start microphone and start working,
Wherein above-mentioned microphone enabled instruction includes but is not limited to record command and call instruction.In the course of work of microphone, one
Denier microphone gets voice data, then obtains the real-time output data of sensor for being built in above-mentioned electronic equipment, wherein, on
State sensor and be arranged on the position adjacent with above-mentioned microphone, can be used to detect working environment residing during microphone works.Can
Selection of land, due to being only possible to that sonic boom phenomenon occurs when the opposite microphone generally only in user closely is spoken up, thus when electricity
When the microphone of sub- equipment gets voice data, speech analysis first can be carried out to above-mentioned voice data, judge above-mentioned audio
Whether data are voice data;When above-mentioned voice data is voice data, the sensing for being built in above-mentioned electronic equipment is just obtained
The real-time output data of device.
In step s 102, whether the detection real-time output data of the sensor meets default control condition;
In embodiments of the present invention, step S101 got be built in above-mentioned electronic equipment sensor it is defeated in real time
Go out after data, whether the detection real-time output data of the sensor meets default control condition.Wherein, above-mentioned control strip
Part can directly be set by above-mentioned electronic equipment when dispatching from the factory by manufacturer, can also be during the use of electronic equipment, by user
It is configured and changes manually, is not construed as limiting herein.Alternatively, the sensor includes but is not limited to range sensor, gas
Density sensor and airstream velocity sensor.
Under a kind of application scenarios, the sensor includes range sensor, then step 102 includes:
Determine the distance value corresponding to the real-time output data of above-mentioned range sensor;
Detect whether above-mentioned distance value is less than default distance threshold;
Wherein, because under normal circumstances, the output data measured by range sensor is the telecommunications such as current value or magnitude of voltage
Number, the measured distance of fresh few directly output, it is thus necessary to determine that the distance corresponding to the real-time output data of range sensor
Value.Specifically, according to type used by above-mentioned range sensor, can use it is related to above-mentioned range sensor it is default away from
The distance value obtained with corresponding to above-mentioned output data is calculated from formula, or, can be by searching and above-mentioned range sensor
The related pre-determined distance table of comparisons is searched for distance value corresponding to above-mentioned output data, is not construed as limiting herein.On obtaining
It is real using default distance threshold as default control condition after stating the distance value corresponding to the real time output data of sensor
When detect whether above-mentioned distance value is less than default distance threshold, to judge user using microphone when whether apart from Mike
Cross near.
Under another application scenarios, the sensor includes Gas Density Sensor, then step S102 includes:
Determine the gas density value corresponding to the real-time output data of above-mentioned gas density sensor;
Whether detection above-mentioned gas density value is more than default gas density threshold value;
Wherein, because under normal circumstances, the output data measured by Gas Density Sensor is current value or magnitude of voltage etc.
Electric signal, the measured gas density of fresh few directly output, it is thus necessary to determine that the real-time output data of Gas Density Sensor
Corresponding gas density value.Specifically, according to type used by above-mentioned gas density sensor, can use and above-mentioned gas
The related pre-set gas density formula of volume density sensor calculates the gas density value obtained with corresponding to above-mentioned output data, or
Person, it can be searched by searching the pre-set gas density table of comparisons related to above-mentioned gas density sensor for above-mentioned output number
According to corresponding gas density value, it is not construed as limiting herein.When obtaining the gas corresponding to the real time output data of the sensor
After density value, using default gas density threshold value as default control condition, it is whether big that above-mentioned gas density value is detected in real time
In default gas density threshold value, to judge whether user closely causes microphone to obtain excessively when using microphone apart from Mike
The sound got is excessive.
Under the third application scenarios, the sensor includes Gas Density Sensor, then step S102 includes:
Determine the gas velocity angle value corresponding to the real-time output data of said flow velocity sensor;
Whether detection said flow velocity amplitude is more than default air velocity threshold value;
Wherein, because under normal circumstances, the output data measured by airstream velocity sensor is current value or magnitude of voltage etc.
Electric signal, the measured air velocity of fresh few directly output, it is thus necessary to determine that the real-time output data of airstream velocity sensor
Corresponding gas velocity angle value.Specifically, according to type used by said flow velocity sensor, can use and above-mentioned gas
Flow the related default air velocity formula of velocity sensor and calculate the gas velocity angle value obtained with corresponding to above-mentioned output data, or
Person, it can be searched by searching the default air velocity table of comparisons related to said flow velocity sensor for above-mentioned output number
According to corresponding gas velocity angle value, it is not construed as limiting herein.When obtaining the air-flow corresponding to the real time output data of the sensor
After velocity amplitude, using default air velocity threshold value as default control condition, it is whether big that said flow velocity amplitude is detected in real time
In default air velocity threshold value, to judge whether user closely causes microphone to obtain excessively when using microphone apart from Mike
The sound got is excessive.
It should be noted that above-mentioned three kinds of application scenarios can be present simultaneously, it can also be individually present, not limit herein
It is fixed.
In step s 103, if the real-time output data of the sensor meets above-mentioned control condition, to above-mentioned Mike
The parameter of the running parameter of wind and/or above-mentioned voice data is adjusted.
In embodiments of the present invention, when detecting that the real-time output data of the sensor meets above-mentioned control in step S102
During condition processed, it may be determined that sonic boom phenomenon has been likely to occur in the voice data obtained in above-mentioned steps S101, thus to above-mentioned wheat
Gram running parameter of wind and/or the parameter of voice data are adjusted, to eliminate the sonic boom carried in above-mentioned voice data.Its
In, volume when being produced due to sonic boom is often larger, on the one hand can pass through the amplitude of the obtained voice data of reduction
The loudness of acquired voice data is excessive, reduces acquired voice data sonic boom that may be present, on the other hand can drop
The working frequency of low microphone, the sound for avoiding microphone from being captured in user within this excessively near a period of time of distance microphone
Frequency is according to generation sonic boom phenomenon again.
Alternatively, after step s 103, above-mentioned audio control method also includes:
If the parameter of the running parameter and/or above-mentioned voice data to above-mentioned microphone is adjusted, to above-mentioned
The parameter of the running parameter of microphone and/or above-mentioned voice data adjusted after preset time period in, again detection on
State whether the real-time output data of sensor meets above-mentioned control condition;
If detecting again, the real-time output data of the sensor meets above-mentioned control condition, keeps currently to above-mentioned
The parameter of the running parameter of microphone and/or above-mentioned voice data;
, will current above-mentioned microphone if being not detected by the real-time output data of the sensor meets above-mentioned control condition
Running parameter and/or the Parameter reconstruction of above-mentioned voice data be the running parameter of above-mentioned microphone before adjustment and/or above-mentioned
The parameter of voice data.
Wherein, in the preset time period after above-mentioned steps S103 is adjusted, it is real that detection the sensor can be continued
When output data whether meet above-mentioned control condition, if not satisfied, then thinking that user has moved away from microphone, in voice data
May not occur sonic boom phenomenon again, now can be by the running parameter of current microphone and/or the Parameter reconstruction of voice data
To carry out the running parameter of above-mentioned microphone and/or the parameter of above-mentioned voice data before step S103 adjustment so that electronics
Equipment is capable of the voice data of typing normal quantity.
Therefore by the embodiment of the present invention, when the microphone of electronic equipment gets voice data, built in acquisition
In the real-time output data of the sensor of electronic equipment, then whether the real-time output data of detection sensor meets default control
Condition processed, if the real-time output data of sensor meets the control condition, running parameter and/or the sound to microphone
The parameter of frequency evidence is adjusted, to eliminate the sonic boom that may be carried in voice data.On the one hand, the embodiment of the present invention passes through right
Control condition is pre-set, can when the output data that microphone captures voice and sensor meets the control condition,
Primarily determine that the voice that microphone captures there may be sonic boom phenomenon, and at this moment to the running parameter and/or sound of microphone
The parameter of frequency evidence is adjusted, to mitigate the sonic boom phenomenon in the audio that electronic equipment gets.On the other hand, the present invention is real
Applying example can realize that intelligence reduces sonic boom based on the sensor for being built in electronic equipment, it is therefore not necessary to additional blowout prevention net etc.
External device.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Embodiment two
Fig. 2 shows the concrete structure block diagram of audio control apparatus provided in an embodiment of the present invention, for convenience of description, only
Show the part related to the embodiment of the present invention.The audio control apparatus 2 includes:Acquiring unit 21, detection unit 22, adjustment
Unit 23.
Wherein, acquiring unit 21, for when the microphone of electronic equipment gets voice data, acquisition to be built in above-mentioned
The real-time output data of sensor of electronic equipment, wherein, the sensor is arranged on the position adjacent with above-mentioned microphone;
Detection unit 22, for detecting whether the real-time output data of the sensor meets default control condition;
Adjustment unit 23, for when the real-time output data of the sensor meets above-mentioned control condition, to above-mentioned wheat
Gram running parameter of wind and/or the parameter of above-mentioned voice data are adjusted, to eliminate the sonic boom carried in above-mentioned voice data.
Alternatively, the sensor includes range sensor, and above-mentioned detection unit 22 includes:
First determination subelement, for determining the distance value corresponding to the real-time output data of above-mentioned range sensor;
First detection sub-unit, for detecting whether above-mentioned distance value is less than default distance threshold;
Above-mentioned adjustment unit 23, specifically for when above-mentioned distance value is less than default distance threshold, to above-mentioned microphone
Running parameter and/or the parameter of above-mentioned voice data be adjusted.
Alternatively, the sensor includes Gas Density Sensor, and above-mentioned detection unit 22 includes:
Second determination subelement, for determining that the gas corresponding to the real-time output data of above-mentioned gas density sensor is close
Angle value;
Second detection sub-unit, for detecting whether above-mentioned gas density value is more than default gas density threshold value;
Above-mentioned adjustment unit 23, specifically for when above-mentioned gas density value is more than default gas density threshold value, to upper
The parameter of the running parameter and/or above-mentioned voice data of stating microphone is adjusted.
Alternatively, the sensor includes airstream velocity sensor, and above-mentioned detection unit 22 includes:
3rd determination subelement, for determining the gas velocity corresponding to the real-time output data of said flow velocity sensor
Angle value;
3rd detection sub-unit, for detecting whether said flow velocity amplitude is more than default air velocity threshold value;
Above-mentioned adjustment unit 23, specifically for when said flow velocity amplitude is more than default air velocity threshold value, to upper
The parameter of the running parameter and/or above-mentioned voice data of stating microphone is adjusted.
Alternatively, above-mentioned adjustment unit 23 is specifically used for, and reduces the operating power of above-mentioned microphone, and/or, reduce above-mentioned
The amplitude of voice data.
Alternatively, above-mentioned audio control apparatus can be integrated in above-mentioned electronic equipment, can also be integrated in different from upper
State in another electronic equipment of electronic equipment, be not construed as limiting herein.It is above-mentioned for example, if above-mentioned electronic equipment is smart mobile phone
Audio control apparatus can be integrated in above-mentioned smart mobile phone the machine, realize the control to the locally received audio arrived;Or if
Above-mentioned electronic equipment is the smart accessories such as intelligent recording pen, then above-mentioned audio control apparatus can be integrated in a tablet personal computer,
Above-mentioned smart accessories can be connected with above-mentioned tablet personal computer by Bluetooth protocol, infrared protocol or near-field communication agreement, with reality
The transmission of existing voice data and control data, can realize the control for the audio that above-mentioned tablet personal computer receives to above-mentioned smart accessories
System.It should be noted that what the type of above-mentioned electronic equipment was merely exemplary, it is not limited thereto.
Therefore pass through the embodiment of the present invention, when the microphone of electronic equipment gets voice data, audio frequency control
Device can obtain the real-time output data of sensor for being built in electronic equipment, then the real-time output data of detection sensor
Whether default control condition is met, if the real-time output data of sensor meets the control condition, to the work of microphone
The parameter for making parameter and/or the voice data is adjusted, to eliminate the sonic boom carried in the voice data.On the one hand,
The embodiment of the present invention can capture the output data of voice and sensor by being pre-set to control condition in microphone
When meeting the control condition, primarily determine that the voice that microphone captures there may be sonic boom phenomenon, and at this moment to microphone
Running parameter and/or the parameter of voice data be adjusted, to mitigate the sonic boom phenomenon in the audio that electronic equipment gets.
On the other hand, the embodiment of the present invention can realize that intelligence reduces sonic boom based on the sensor for being built in electronic equipment, it is therefore not necessary to
The external devices such as additional blowout prevention net.
Embodiment three
Fig. 3 is the schematic diagram of electronic equipment provided in an embodiment of the present invention.As shown in figure 3, the electronic equipment 3 of the embodiment
Including:Processor 30, memory 31 and it is stored in the calculating that can be run in above-mentioned memory 31 and on above-mentioned processor 30
Machine program 32, such as examination question checking routine.Above-mentioned processor 30 realizes above-mentioned each method when performing above computer program 32
Step in embodiment, such as the step S101 to S103 shown in Fig. 1.Or above-mentioned processor 30 performs above computer journey
The function of each module/unit in above-mentioned each device embodiment, such as the function of unit 21 to 23 shown in Fig. 2 are realized during sequence 32.
Exemplary, above computer program 32 can be divided into one or more units, said one or multiple
Unit is stored in above-mentioned memory 31, and is performed by above-mentioned processor 30, to complete the present invention.Said one or multiple lists
Member can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used to describe above computer journey
Implementation procedure of the sequence 32 in above-mentioned electronic equipment 3.For example, above computer program 32 can be divided into acquiring unit, inspection
Survey unit, adjustment unit, each unit concrete function are as follows:
Acquiring unit, for when the microphone of electronic equipment gets voice data, acquisition to be built in above-mentioned electronics and set
The real-time output data of standby sensor, wherein, the sensor is arranged on the position adjacent with above-mentioned microphone;
Detection unit, for detecting whether the real-time output data of the sensor meets default control condition;
Adjustment unit, for when the real-time output data of the sensor meets above-mentioned control condition, to above-mentioned Mike
The parameter of the running parameter of wind and/or above-mentioned voice data is adjusted, to eliminate the sonic boom carried in above-mentioned voice data.
Above-mentioned electronic equipment 3 can be the computing devices such as smart mobile phone, tablet personal computer, palm PC, Learning machine.It is above-mentioned
Electronic equipment may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3 is only
The example of electronic equipment 3, the restriction to electronic equipment 3 is not formed, parts more more or less than diagram can be included, or
Some parts, or different parts are combined, such as above-mentioned electronic equipment 3 can also include input-output equipment, network insertion
Equipment, bus etc..
Alleged processor 30 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
Above-mentioned memory 31 can be the internal storage unit of above-mentioned electronic equipment 3, such as the hard disk of electronic equipment 3 or interior
Deposit.Above-mentioned memory 31 can also be the External memory equipment of above-mentioned electronic equipment 3, such as be equipped with above-mentioned electronic equipment 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge
Deposit card (Flash Card) etc..Further, above-mentioned memory 31 can also both include the storage inside list of above-mentioned electronic equipment 3
Member also includes External memory equipment.Above-mentioned memory 31 is used to store needed for above computer program and above-mentioned electronic equipment 3
Other programs and data.Above-mentioned memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of said apparatus are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/electronic equipment and method, can be with
Realize by another way.For example, device described above/electronic equipment embodiment is only schematical, for example, on
The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, above-mentioned meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method..Wherein, above computer program includes computer program code, above computer program
Code can be source code form, object identification code form, executable file or some intermediate forms etc..Readable Jie of above computer
Matter can include:Can carry any entity or device of above computer program code, recording medium, USB flash disk, mobile hard disk,
Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that above-mentioned
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
1. a kind of audio control method, it is characterised in that the audio control method includes:
When the microphone of electronic equipment gets voice data, the sensor that acquisition is built in the electronic equipment is defeated in real time
Go out data, wherein, the sensor is arranged on the position adjacent with the microphone;
Detect whether the real-time output data of the sensor meets default control condition;
If the real-time output data of sensor meets the control condition, running parameter to the microphone and/or
The parameter of the voice data is adjusted, to eliminate the sonic boom carried in the voice data.
2. audio control method as claimed in claim 1, it is characterised in that the sensor includes range sensor, described
Detect whether the real-time output data of the sensor meets default control condition, including:
Determine the distance value corresponding to the real-time output data of the range sensor;
Detect whether the distance value is less than default distance threshold;
If the real-time output data of sensor meets the control condition, to the running parameter of the microphone
And/or the parameter of the voice data is adjusted, including
If the distance value is less than default distance threshold, running parameter and/or the voice data to the microphone
Parameter be adjusted.
3. audio control method as claimed in claim 1, it is characterised in that the sensor includes Gas Density Sensor,
Whether the detection real-time output data of sensor meets default control condition, including:
Determine the gas density value corresponding to the real-time output data of the Gas Density Sensor;
Detect whether the gas density value is more than default gas density threshold value;
If the real-time output data of sensor meets the control condition, to the running parameter of the microphone
And/or the parameter of the voice data is adjusted, including
If the gas density value is more than default gas density threshold value, running parameter to the microphone and/or described
The parameter of voice data is adjusted.
4. audio control method as claimed in claim 1, it is characterised in that the sensor includes airstream velocity sensor,
Whether the detection real-time output data of sensor meets default control condition, including:
Determine the gas velocity angle value corresponding to the real-time output data of the airstream velocity sensor;
Detect whether the gas velocity angle value is more than default air velocity threshold value;
If the real-time output data of sensor meets the control condition, to the running parameter of the microphone
And/or the parameter of the voice data is adjusted, including
If the gas velocity angle value is more than default air velocity threshold value, running parameter to the microphone and/or described
The parameter of voice data is adjusted.
5. the audio control method as described in any one of Claims 1-4, it is characterised in that the work to the microphone
The parameter for making parameter and/or the voice data is adjusted, including:
The operating power of the microphone is reduced, and/or, reduce the amplitude of the voice data.
6. a kind of audio control apparatus, it is characterised in that the audio control apparatus includes:
Acquiring unit, for when the microphone of electronic equipment gets voice data, acquisition to be built in the electronic equipment
The real-time output data of sensor, wherein, the sensor is arranged on the position adjacent with the microphone;
Detection unit, for detecting whether the real-time output data of the sensor meets default control condition;
Adjustment unit, for when the real-time output data of the sensor meets the control condition, to the microphone
The parameter of running parameter and/or the voice data is adjusted, to eliminate the sonic boom carried in the voice data.
7. audio control apparatus as claimed in claim 6, it is characterised in that the sensor includes range sensor, described
Detection unit includes:
First determination subelement, for determining the distance value corresponding to the real-time output data of the range sensor;
First detection sub-unit, for detecting whether the distance value is less than default distance threshold;
The adjustment unit, specifically for when the distance value is less than default distance threshold, the work to the microphone
Parameter and/or the parameter of the voice data are adjusted.
8. audio control apparatus as claimed in claim 6, it is characterised in that the sensor includes Gas Density Sensor,
The detection unit includes:
Second determination subelement, for determining the gas density corresponding to the real-time output data of the Gas Density Sensor
Value;
Second detection sub-unit, for detecting whether the gas density value is more than default gas density threshold value;
The adjustment unit, specifically for when the gas density value is more than default gas density threshold value, to the Mike
The parameter of the running parameter of wind and/or the voice data is adjusted.
9. a kind of electronic equipment, including memory, processor and it is stored in the memory and can be on the processor
The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program
The step of any one methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists
In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711239923.2A CN107889031B (en) | 2017-11-30 | 2017-11-30 | Audio control method, audio control device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711239923.2A CN107889031B (en) | 2017-11-30 | 2017-11-30 | Audio control method, audio control device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107889031A true CN107889031A (en) | 2018-04-06 |
CN107889031B CN107889031B (en) | 2020-02-14 |
Family
ID=61776291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711239923.2A Active CN107889031B (en) | 2017-11-30 | 2017-11-30 | Audio control method, audio control device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107889031B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110097875A (en) * | 2019-06-03 | 2019-08-06 | 清华大学 | Interactive voice based on microphone signal wakes up electronic equipment, method and medium |
CN110223711A (en) * | 2019-06-03 | 2019-09-10 | 清华大学 | Interactive voice based on microphone signal wakes up electronic equipment, method and medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009128566A1 (en) * | 2008-04-17 | 2009-10-22 | Panasonic Corporation | Sound pickup apparatus and conference telephone |
US20110249825A1 (en) * | 2010-04-12 | 2011-10-13 | Tomohiko Ise | Sound Field Control Apparatus and Method for Controlling Sound Field |
CN202856941U (en) * | 2012-09-02 | 2013-04-03 | 天津北杰科技有限公司 | Intelligent microphone |
CN203242334U (en) * | 2010-05-03 | 2013-10-16 | 艾利佛卡姆公司 | Wind suppression/replacement component for use with electronic systems |
CN203416381U (en) * | 2013-07-02 | 2014-01-29 | 华平信息技术股份有限公司 | Sensitivity maintenance and adjustment system for microphone |
CN104219390A (en) * | 2014-09-17 | 2014-12-17 | 深圳市中兴移动通信有限公司 | Mobile terminal and sound recording method and device thereof |
CN104751852A (en) * | 2015-03-20 | 2015-07-01 | 广东小天才科技有限公司 | Method and device for processing sounds |
CN105679356A (en) * | 2014-11-17 | 2016-06-15 | 中兴通讯股份有限公司 | Recording method, device and terminal |
CN106791141A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of adjustment and mobile terminal of sound effect parameters of conversing |
-
2017
- 2017-11-30 CN CN201711239923.2A patent/CN107889031B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009128566A1 (en) * | 2008-04-17 | 2009-10-22 | Panasonic Corporation | Sound pickup apparatus and conference telephone |
US20110249825A1 (en) * | 2010-04-12 | 2011-10-13 | Tomohiko Ise | Sound Field Control Apparatus and Method for Controlling Sound Field |
CN203242334U (en) * | 2010-05-03 | 2013-10-16 | 艾利佛卡姆公司 | Wind suppression/replacement component for use with electronic systems |
CN202856941U (en) * | 2012-09-02 | 2013-04-03 | 天津北杰科技有限公司 | Intelligent microphone |
CN203416381U (en) * | 2013-07-02 | 2014-01-29 | 华平信息技术股份有限公司 | Sensitivity maintenance and adjustment system for microphone |
CN104219390A (en) * | 2014-09-17 | 2014-12-17 | 深圳市中兴移动通信有限公司 | Mobile terminal and sound recording method and device thereof |
CN105679356A (en) * | 2014-11-17 | 2016-06-15 | 中兴通讯股份有限公司 | Recording method, device and terminal |
CN104751852A (en) * | 2015-03-20 | 2015-07-01 | 广东小天才科技有限公司 | Method and device for processing sounds |
CN106791141A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of adjustment and mobile terminal of sound effect parameters of conversing |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110097875A (en) * | 2019-06-03 | 2019-08-06 | 清华大学 | Interactive voice based on microphone signal wakes up electronic equipment, method and medium |
CN110223711A (en) * | 2019-06-03 | 2019-09-10 | 清华大学 | Interactive voice based on microphone signal wakes up electronic equipment, method and medium |
CN110223711B (en) * | 2019-06-03 | 2021-06-01 | 清华大学 | Microphone signal based voice interaction wake-up electronic device, method, and medium |
Also Published As
Publication number | Publication date |
---|---|
CN107889031B (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110176226B (en) | Speech recognition and speech recognition model training method and device | |
CN107591152B (en) | Voice control method, device and equipment based on earphone | |
CN103928025B (en) | The method and mobile terminal of a kind of speech recognition | |
CN107591207A (en) | A kind of epidemic situation investigation method, apparatus, system and equipment | |
CN107256707A (en) | A kind of audio recognition method, system and terminal device | |
JP6796212B2 (en) | Application control method and application control device | |
CN107610698A (en) | A kind of method for realizing Voice command, robot and computer-readable recording medium | |
CN104007809A (en) | Control method and electronic device | |
CN104754470A (en) | Multifunctional intelligent headset, multifunctional intelligent headset system and communication method of multifunctional intelligent headset system | |
CN107291586A (en) | The analysis method and device of a kind of application program | |
CN105989836A (en) | Voice acquisition method, device and terminal equipment | |
CN111582052A (en) | Crowd intensive early warning method and device and terminal equipment | |
CN106952654A (en) | Robot noise-reduction method, device and robot | |
CN107920162A (en) | Control method, mobile terminal and the computer-readable recording medium of alarm clock | |
CN112468924A (en) | Earphone noise reduction method and device | |
CN107889031A (en) | A kind of audio control method, audio control apparatus and electronic equipment | |
CN110111811A (en) | Audio signal detection method, device and storage medium | |
CN113280265B (en) | Working condition identification method and device, computer equipment and storage medium | |
CN109922311A (en) | Monitoring method, device, terminal and storage medium based on audio/video linkage | |
CN109756818A (en) | Dual microphone noise-reduction method, device, storage medium and electronic equipment | |
CN109065017B (en) | Voice data generation method and related device | |
CN109363660B (en) | Heart rate monitoring method and server based on BP neural network | |
CN107341122A (en) | Equipment access processing method, equipment access processing unit and mobile terminal | |
CN109408659B (en) | Image retrieval method, device, computing equipment and medium based on small world network | |
CN107331399A (en) | A kind of results of learning detection method, system and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |