CN110853665B - Method, system and equipment for reducing noise of digital microphone and computer storage medium - Google Patents

Method, system and equipment for reducing noise of digital microphone and computer storage medium Download PDF

Info

Publication number
CN110853665B
CN110853665B CN201911192929.8A CN201911192929A CN110853665B CN 110853665 B CN110853665 B CN 110853665B CN 201911192929 A CN201911192929 A CN 201911192929A CN 110853665 B CN110853665 B CN 110853665B
Authority
CN
China
Prior art keywords
frequency response
response curve
sound signal
similarity
digital microphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911192929.8A
Other languages
Chinese (zh)
Other versions
CN110853665A (en
Inventor
赵江涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201911192929.8A priority Critical patent/CN110853665B/en
Publication of CN110853665A publication Critical patent/CN110853665A/en
Application granted granted Critical
Publication of CN110853665B publication Critical patent/CN110853665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • G10L21/0232Processing in the frequency domain
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • G10L2021/02161Number of inputs available containing the signal or the noise to be suppressed
    • G10L2021/02165Two microphones, one receiving mainly the noise signal and the other one mainly the speech signal

Abstract

The application discloses a method, a system and a device for reducing noise of a digital microphone and a computer storage medium, which are used for acquiring a first sound signal acquired by a first digital microphone; acquiring a second sound signal acquired by a second digital microphone; judging whether the first sound signal and the second sound signal meet the similarity judgment condition or not; if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm; and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm. According to the digital microphone noise reduction method, when the first sound signal and the second sound signal meet the similarity judgment condition, the noise reduction processing can be flexibly carried out by adopting a single noise reduction algorithm, and the noise reduction effect of the digital microphone is guaranteed. The noise reduction system, the noise reduction equipment and the computer readable storage medium for the digital microphone solve the corresponding technical problems.

Description

Method, system and equipment for reducing noise of digital microphone and computer storage medium
Technical Field
The present application relates to the field of digital microphone technology, and more particularly, to a method, system, device and computer storage medium for noise reduction of a digital microphone.
Background
In wearing electronic products such as earphones and the like, an end-fire beam forming function can be formed by two or more digital microphones to realize a noise reduction function, for example, a first digital microphone and a second digital microphone respectively pick up a main speaker and ambient noise, and parameters such as distance/delay between the two digital microphones are adjusted to achieve the purpose of reducing the ambient noise, and meanwhile, the sound of the main speaker is kept and is sent to a receiver through a network so as to improve the signal-to-noise ratio in the sending direction.
However, when one of the two digital microphones fails, in the noise reduction process, the sound signal received by the undamaged digital microphone is copied, the copied sound signal is used as the sound signal received by the damaged digital microphone, and then the noise reduction is performed by the dual noise reduction algorithm, but the two applied sound signals are completely the same, which affects the noise reduction effect of the dual noise reduction algorithm.
In summary, how to ensure the noise reduction effect of the digital microphone is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a noise reduction method for a digital microphone, which can solve the technical problem of how to ensure the noise reduction effect of the digital microphone to a certain extent. The application also provides a digital microphone noise reduction system, equipment and a computer readable storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
a digital microphone noise reduction method, comprising:
acquiring a first sound signal collected by a first digital microphone;
acquiring a second sound signal acquired by a second digital microphone;
judging whether the first sound signal and the second sound signal meet a similarity judgment condition or not;
if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm;
and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm.
Preferably, the determining whether the first sound signal and the second sound signal satisfy a similarity determination condition includes:
acquiring a first frequency response curve corresponding to the first sound signal;
acquiring a second frequency response curve corresponding to the second sound signal;
and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
Preferably, the determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition includes:
subtracting the second frequency response curve from the first frequency response curve to obtain a third frequency response curve;
solving an absolute value of the third frequency response curve to obtain a fourth frequency response curve;
and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition or not based on the fourth frequency response curve.
Preferably, the determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition based on the fourth frequency response curve includes:
adding the response values of all frequency points in the fourth frequency response curve to obtain an accumulated value of the frequency points;
judging whether the accumulated value of the frequency points is larger than a first similarity judgment threshold value in the similarity judgment condition;
if the frequency point accumulated value is larger than the first similarity determination threshold value, determining that the first frequency response curve and the second frequency response curve do not meet the similarity determination condition;
and if the frequency point accumulated value is less than or equal to the first similarity determination threshold value, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition.
Preferably, the determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition based on the fourth frequency response curve includes:
determining the maximum response value as a response value to be judged in the fourth frequency response curve;
judging whether the response value to be judged is larger than a second similarity judgment threshold value in the similarity judgment condition;
if the response value to be determined is larger than the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve do not meet the similarity determination condition;
and if the response value to be determined is less than or equal to the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition.
Preferably, the determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition includes:
calculating the similarity value of the first frequency response curve and the second frequency response curve;
judging whether the similarity value is between a third similarity judgment threshold value and a complete similarity value in the similarity judgment condition;
if not, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition;
if so, judging that the first frequency response curve and the second frequency response curve meet the similarity judgment condition;
and the complete similarity value is a similarity value obtained by calculating when the first frequency response curve is the same as the second frequency response curve.
Preferably, before the determining whether the first sound signal and the second sound signal satisfy the similarity determination condition, the method further includes:
determining a similarity determination threshold in the similarity determination condition based on a system of devices to which the first digital microphone and the second digital microphone belong.
A digital microphone noise reduction system, comprising:
the first acquisition module is used for acquiring a first sound signal acquired by a first digital microphone;
the second acquisition module is used for acquiring a second sound signal acquired by a second digital microphone;
the first judging module is used for judging whether the first sound signal and the second sound signal meet a similarity judging condition or not; if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm; and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm.
A digital microphone noise reduction apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the digital microphone noise reduction method as described above when the computer program is executed.
A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the digital microphone noise reduction method as set forth in any one of the preceding claims.
The noise reduction method for the digital microphone comprises the steps of obtaining a first sound signal collected by a first digital microphone; acquiring a second sound signal acquired by a second digital microphone; judging whether the first sound signal and the second sound signal meet the similarity judgment condition or not; if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm; and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm. The application provides a digital microphone noise reduction method, when first sound signal and second sound signal satisfy similar judgement condition, still adopt two noise reduction algorithms to carry out noise reduction among the prior art, however, continue to adopt two noise reduction algorithms to carry out noise reduction this moment, can influence digital microphone's noise reduction effect, can bring worse noise reduction effect even, and under this kind of condition, this application can adopt single noise reduction algorithm to carry out noise reduction in a flexible way, digital microphone's noise reduction effect has been guaranteed. The noise reduction system, the noise reduction equipment and the computer readable storage medium for the digital microphone solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a circuit diagram of two digital microphones;
FIG. 2 is a timing diagram of signals from two digital microphones;
fig. 3 is a first flowchart of a noise reduction method for a digital microphone according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a noise reduction system of a digital microphone according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a digital microphone noise reduction device according to an embodiment of the present disclosure;
fig. 6 is another schematic structural diagram of a digital microphone noise reduction device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In wearing electronic products such as earphones and the like, an end-fire beam forming function can be formed by two or more digital microphones to realize a noise reduction function, for example, a first digital microphone and a second digital microphone respectively pick up a main speaker and ambient noise, and parameters such as distance/delay between the two digital microphones are adjusted to achieve the purpose of reducing the ambient noise, and meanwhile, the sound of the main speaker is kept and is sent to a receiver through a network so as to improve the signal-to-noise ratio in the sending direction. However, as can be seen from fig. 1 and 2, the two digital microphones share the DATA line, and only the high/low level of CLK is used to select which digital microphone signal is currently on the DATA, so that when one of the two digital microphones fails, in the noise reduction process, the sound signal received by the undamaged digital microphone is duplicated, and the duplicated sound signal is used as the sound signal received by the damaged digital microphone and is subjected to noise reduction by the dual noise reduction algorithm. The noise reduction method of the digital microphone can ensure the noise reduction effect of the digital microphone. Fig. 1 is a circuit diagram of two digital microphones, fig. 2 is a signal timing diagram of the two digital microphones, MIC _ a in fig. 1 represents a first digital microphone, and MIC _ B represents a second digital microphone.
Referring to fig. 3, fig. 3 is a first flowchart of a noise reduction method for a digital microphone according to an embodiment of the present disclosure.
The noise reduction method for the digital microphone provided by the embodiment of the application can comprise the following steps:
step S101: a first sound signal collected by a first digital microphone is acquired.
Step S102: and acquiring a second sound signal collected by the second digital microphone.
In practical applications, the manner of acquiring the first sound signal and the second sound signal may be determined according to actual needs, for example, when the first digital microphone and the second digital microphone are both normal, the sound signal may be acquired from the corresponding digital microphone by adjusting the high-low level of CLK; when one of the first digital microphone and the second digital microphone fails, the sound information of the digital microphone which is not failed is acquired and copied, the copied sound signal is taken as the sound signal of the failed digital microphone, taking the first digital microphone as the failed digital microphone as an example, the second sound signal of the second digital microphone can be acquired first, the second sound signal is copied, and the copied second sound signal is taken as the first sound signal.
Step S103: judging whether the first sound signal and the second sound signal meet the similarity judgment condition or not; if the first sound signal and the second sound signal satisfy the similarity determination condition, executing step S104; if the first audio signal and the second audio signal do not satisfy the similarity determination condition, step S105 is executed.
Step S104: and carrying out noise reduction processing by adopting a single noise reduction algorithm.
Step S105: and carrying out noise reduction processing by adopting a double noise reduction algorithm.
In practical applications, after the first audio signal and the second audio signal are obtained, it can be determined whether the first audio signal and the second audio signal satisfy the similarity determination condition, if the first audio signal and the second audio signal satisfy the similarity determination condition, the first sound signal may be considered to be the same as the second sound signal, and at this time, one of the first sound signal and the second sound signal may be considered to be a copy of the other sound signal, and in order to ensure the noise reduction effect of the digital microphone, at this time, a single noise reduction algorithm may be used for noise reduction, it being noted that, since the duplication of the acoustic signal marks a malfunction of the digital microphone, therefore, the fault of the digital microphone can be prompted, and in a specific application scene, whether the digital microphone has the fault can be further judged according to other conditions, so that the accuracy rate of prompting the fault of the digital microphone is improved. And when the first sound signal and the second sound signal do not meet the similarity judgment condition, the first digital microphone and the second digital microphone can be considered to be normal, and the double noise reduction algorithm is adopted for noise reduction processing, so that the noise reduction effect of the digital microphone is ensured. It is understood that the similarity determination condition determines whether the first sound signal is similar to the second sound signal, and further may affect the determination of whether the first digital microphone and the second digital microphone are faulty, so in a specific application scenario, the similarity determination condition may be determined as accurately as possible, for example, the similarity determination condition may be determined according to an empirical value, the similarity determination condition may be determined according to a fault simulation of the digital microphone, and the like.
The noise reduction method for the digital microphone comprises the steps of obtaining a first sound signal collected by a first digital microphone; acquiring a second sound signal acquired by a second digital microphone; judging whether the first sound signal and the second sound signal meet the similarity judgment condition or not; if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm; and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm. The application provides a digital microphone noise reduction method, when first sound signal and second sound signal satisfy similar judgement condition, still adopt two noise reduction algorithms to carry out noise reduction among the prior art, however, continue to adopt two noise reduction algorithms to carry out noise reduction this moment, can influence digital microphone's noise reduction effect, can bring worse noise reduction effect even, and under this kind of condition, this application can adopt single noise reduction algorithm to carry out noise reduction in a flexible way, digital microphone's noise reduction effect has been guaranteed.
In the digital microphone noise reduction method provided by the application, when judging whether a first sound signal and a second sound signal meet a similarity judgment condition, the sound signals can be converted into data which is easy to perform mathematical processing, and then whether the first sound signal is similar to the second sound signal is judged through a mathematical processing method, specifically, a first frequency response curve corresponding to the first sound signal can be obtained; acquiring a second frequency response curve corresponding to the second sound signal; and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
In practical application, when judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition, the difference value reflects the similarity of the two data to a certain extent, so that the first frequency response curve and the second frequency response curve can be subtracted to obtain a third frequency response curve; solving the absolute value of the third frequency response curve to obtain a fourth frequency response curve; and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition or not based on the fourth frequency response curve.
In a specific application scenario, when whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition is judged based on the fourth frequency response curve, the response values of all frequency points in the fourth frequency response curve can be added to obtain an accumulated value of the frequency points; judging whether the accumulated value of the frequency points is larger than a first similarity judgment threshold value in the similarity judgment condition; if the frequency point accumulated value is larger than a first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the frequency point accumulated value is less than or equal to the first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve meet the similarity judgment condition. That is, the response values of the frequency points in the fourth frequency response curve may be added to obtain an accumulated value of the frequency points, and since the fourth frequency response curve is an absolute value result of the third frequency response curve, and the third frequency response curve is a difference result between the first frequency response curve and the second frequency response curve, the accumulated value of the frequency points is an accumulated value of absolute values of difference values in the first frequency response curve and the second frequency response curve, and the accumulated value of the frequency points may reflect an overall difference value between the first frequency response curve and the second frequency response curve, and then, when the accumulated value of the frequency points is used to determine whether the first frequency response curve and the second frequency response curve are similar, the determination accuracy may be improved.
In a specific application scenario, when whether the first frequency response curve and the second frequency response curve meet the similarity determination condition is determined based on the fourth frequency response curve, the maximum response value can be determined in the fourth frequency response curve as a response value to be determined; judging whether the response value to be judged is larger than a second similarity judgment threshold value in the similarity judgment condition; if the response value to be judged is larger than the second similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the response value to be determined is less than or equal to the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition. Since only the maximum response value in the fourth frequency response curve is used as the response value to be determined, and the response value to be determined reflects the maximum difference between the first frequency response curve and the second frequency response curve, whether the first frequency response curve is similar to the second frequency response curve can be quickly determined by the response value to be determined.
In practical application, when judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition, calculating the similarity value of the first frequency response curve and the second frequency response curve; judging whether the similarity value is between a third similarity judgment threshold value and a complete similarity value in the similarity judgment condition; if not, judging that the first frequency response curve and the second frequency response curve do not meet the similar judgment condition; if so, judging that the first frequency response curve and the second frequency response curve meet the similar judgment condition; and the complete similarity value is a similarity value obtained by calculating when the first frequency response curve is the same as the second frequency response curve. That is, whether the first frequency response curve is similar to the second frequency response curve or not can be determined quickly and accurately by directly calculating the similarity value between the first frequency response curve and the second frequency response curve, and the method for calculating the similarity value can be determined according to actual needs, for example, the similarity value between the first frequency response curve and the second frequency response curve and the like can be calculated by an euclidean distance algorithm, a pearson correlation coefficient algorithm, a cosine similarity algorithm and the like. For convenience of understanding, taking the euclidean distance algorithm as an example, when the first frequency response curve is the same as the second frequency response curve, the complete similarity value is 0, that is, the closer the calculated similarity value is to 0, the more similar the first frequency response curve is to the second frequency response curve, at this time, the third similarity determination threshold is a value greater than 0, and therefore, when the similarity value is between the third similarity determination threshold and 0, it may be considered that the first frequency response curve is similar to the second frequency response curve, and when the similarity value is greater than the third similarity determination threshold, it may be considered that the first frequency response curve is not similar to the second frequency response curve; if the cosine similarity calculation method is taken as an example, when the first frequency response curve is the same as the second frequency response curve, the complete similarity value is 1, that is, the closer the calculated similarity value is to 1, the more similar the first frequency response curve is to the second frequency response curve, and at this time, the third similarity determination threshold is a value smaller than 1, so that when the similarity value is between the third similarity determination threshold and 1, the first frequency response curve may be considered to be similar to the second frequency response curve, and when the similarity value is smaller than the third similarity determination threshold, the first frequency response curve may be considered to be dissimilar to the second frequency response curve.
In the digital microphone noise reduction algorithm provided by the embodiment of the present application, before determining whether the first sound signal and the second sound signal satisfy the similarity determination condition, the similarity determination threshold in the similarity determination condition may be determined based on a system of a device to which the first digital microphone and the second digital microphone belong. Since the sound signals are copied by the device to which the two digital microphones belong when one of the first digital microphone and the second digital microphone fails, the copying process of the sound signals by the device determines the similarity between the two sound signals, so that, in order to accurately judge whether the first sound signal is similar to the second sound signal, the similarity determination threshold in the similarity determination condition may be determined according to the system of the device to which the first digital microphone and the second digital microphone belong, and it should be noted that the types of the similarity determination threshold include the first similarity determination threshold, the second similarity determination threshold, and the third similarity determination threshold.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a noise reduction system of a digital microphone according to an embodiment of the present disclosure.
The noise reduction system for the digital microphone provided by the embodiment of the application can comprise:
a first obtaining module 101, configured to obtain a first sound signal collected by a first digital microphone;
a second obtaining module 102, configured to obtain a second sound signal collected by a second digital microphone;
the first judging module 103 is configured to judge whether the first sound signal and the second sound signal satisfy a similarity judgment condition; if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm; and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm.
In the noise reduction system for a digital microphone provided in the embodiment of the present application, the first determining module may include:
the first obtaining submodule is used for obtaining a first frequency response curve corresponding to the first sound signal;
the second obtaining submodule is used for obtaining a second frequency response curve corresponding to the second sound signal;
and the first judgment submodule is used for judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
In the noise reduction system for a digital microphone provided in the embodiment of the present application, the first determining sub-module may include:
the first processing submodule is used for subtracting the first frequency response curve from the second frequency response curve to obtain a third frequency response curve;
the second processing submodule is used for solving the absolute value of the third frequency response curve to obtain a fourth frequency response curve;
and the second judgment submodule is used for judging whether the first frequency response curve and the second frequency response curve meet the similar judgment condition or not based on the fourth frequency response curve.
In the digital microphone noise reduction system provided in the embodiment of the present application, the second determining sub-module may include:
the first processing unit is used for adding the response values of all the frequency points in the fourth frequency response curve to obtain a frequency point accumulated value;
the first judgment unit is used for judging whether the frequency point accumulated value is larger than a first similarity judgment threshold value in the similarity judgment condition or not; if the frequency point accumulated value is larger than a first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the frequency point accumulated value is less than or equal to the first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
In the digital microphone noise reduction system provided in the embodiment of the present application, the second determining sub-module may include:
the first determining unit is used for determining the maximum response value as the response value to be judged in the fourth frequency response curve;
the second judging unit is used for judging whether the response value to be judged is larger than a second similarity judging threshold value in the similarity judging condition; if the response value to be judged is larger than the second similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the response value to be determined is less than or equal to the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition.
In the noise reduction system for a digital microphone provided in the embodiment of the present application, the first determining sub-module may include:
the first calculating unit is used for calculating the similarity value of the first frequency response curve and the second frequency response curve;
a third judgment unit configured to judge whether or not the similarity value is between a third similarity determination threshold value and a complete similarity value in the similarity determination condition; if not, judging that the first frequency response curve and the second frequency response curve do not meet the similar judgment condition; if so, judging that the first frequency response curve and the second frequency response curve meet the similar judgment condition;
and the complete similarity value is a similarity value obtained by calculating when the first frequency response curve is the same as the second frequency response curve.
The noise reduction system for the digital microphone provided by the embodiment of the application can further comprise:
and the first determining module is used for determining a similarity determination threshold value in the similarity determination condition based on the systems of the devices to which the first digital microphone and the second digital microphone belong before the first judging module judges whether the first sound signal and the second sound signal meet the similarity determination condition.
The application also provides a digital microphone noise reduction device and a computer readable storage medium, which have the corresponding effects of the digital microphone noise reduction method provided by the embodiment of the application. Referring to fig. 5, fig. 5 is a schematic structural diagram of a digital microphone noise reduction apparatus according to an embodiment of the present disclosure.
The digital microphone noise reduction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps:
acquiring a first sound signal collected by a first digital microphone;
acquiring a second sound signal acquired by a second digital microphone;
judging whether the first sound signal and the second sound signal meet the similarity judgment condition or not; if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm; and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm.
The digital microphone noise reduction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: acquiring a first frequency response curve corresponding to a first sound signal; acquiring a second frequency response curve corresponding to the second sound signal; and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
The digital microphone noise reduction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: subtracting the first frequency response curve from the second frequency response curve to obtain a third frequency response curve; solving the absolute value of the third frequency response curve to obtain a fourth frequency response curve; and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition or not based on the fourth frequency response curve.
The digital microphone noise reduction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: adding the response values of all frequency points in the fourth frequency response curve to obtain a frequency point accumulated value; judging whether the accumulated value of the frequency points is larger than a first similarity judgment threshold value in the similarity judgment condition; if the frequency point accumulated value is larger than a first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the frequency point accumulated value is less than or equal to the first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
The digital microphone noise reduction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: in the fourth frequency response curve, determining the maximum response value as the response value to be judged; judging whether the response value to be judged is larger than a second similarity judgment threshold value in the similarity judgment condition; if the response value to be judged is larger than the second similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the response value to be determined is less than or equal to the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition.
The digital microphone noise reduction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: calculating the similarity value of the first frequency response curve and the second frequency response curve; judging whether the similarity value is between a third similarity judgment threshold value and a complete similarity value in the similarity judgment condition; if not, judging that the first frequency response curve and the second frequency response curve do not meet the similar judgment condition; if so, judging that the first frequency response curve and the second frequency response curve meet the similar judgment condition; and the complete similarity value is a similarity value obtained by calculating when the first frequency response curve is the same as the second frequency response curve.
The digital microphone noise reduction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: before judging whether the first sound signal and the second sound signal meet the similarity judgment condition, determining a similarity judgment threshold value in the similarity judgment condition based on the system of the equipment to which the first digital microphone and the second digital microphone belong.
Referring to fig. 6, another digital microphone noise reduction apparatus provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202, for transmitting externally input commands to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing the communication between the digital microphone noise reduction device and the outside. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
acquiring a first sound signal collected by a first digital microphone;
acquiring a second sound signal acquired by a second digital microphone;
judging whether the first sound signal and the second sound signal meet the similarity judgment condition or not; if the first sound signal and the second sound signal meet the similarity judgment condition, performing noise reduction processing by adopting a single noise reduction algorithm; and if the first sound signal and the second sound signal do not meet the similarity judgment condition, performing noise reduction processing by adopting a double noise reduction algorithm.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: acquiring a first frequency response curve corresponding to a first sound signal; acquiring a second frequency response curve corresponding to the second sound signal; and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: subtracting the first frequency response curve from the second frequency response curve to obtain a third frequency response curve; solving the absolute value of the third frequency response curve to obtain a fourth frequency response curve; and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition or not based on the fourth frequency response curve.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: adding the response values of all frequency points in the fourth frequency response curve to obtain a frequency point accumulated value; judging whether the accumulated value of the frequency points is larger than a first similarity judgment threshold value in the similarity judgment condition; if the frequency point accumulated value is larger than a first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the frequency point accumulated value is less than or equal to the first similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: in the fourth frequency response curve, determining the maximum response value as the response value to be judged; judging whether the response value to be judged is larger than a second similarity judgment threshold value in the similarity judgment condition; if the response value to be judged is larger than the second similarity judgment threshold value, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition; and if the response value to be determined is less than or equal to the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: calculating the similarity value of the first frequency response curve and the second frequency response curve; judging whether the similarity value is between a third similarity judgment threshold value and a complete similarity value in the similarity judgment condition; if not, judging that the first frequency response curve and the second frequency response curve do not meet the similar judgment condition; if so, judging that the first frequency response curve and the second frequency response curve meet the similar judgment condition; and the complete similarity value is a similarity value obtained by calculating when the first frequency response curve is the same as the second frequency response curve.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: before judging whether the first sound signal and the second sound signal meet the similarity judgment condition, determining a similarity judgment threshold value in the similarity judgment condition based on the system of the equipment to which the first digital microphone and the second digital microphone belong.
The computer-readable storage media to which this application relates include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
For a description of relevant parts in the digital microphone noise reduction system, the digital microphone noise reduction device, and the computer-readable storage medium provided in the embodiments of the present application, reference is made to detailed descriptions of corresponding parts in the digital microphone noise reduction method provided in the embodiments of the present application, and details are not repeated here. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method for reducing noise in a digital microphone, comprising:
acquiring a first sound signal collected by a first digital microphone;
acquiring a second sound signal acquired by a second digital microphone;
judging whether the first sound signal and the second sound signal meet a similarity judgment condition or not;
if the first sound signal and the second sound signal meet the similarity judgment condition, judging that one digital microphone in the first digital microphone and the second digital microphone has a fault, and performing noise reduction processing by adopting a single noise reduction algorithm;
if the first sound signal and the second sound signal do not meet the similarity judgment condition, judging that the first digital microphone and the second digital microphone are normal, and performing noise reduction processing by adopting a double noise reduction algorithm;
wherein the determining whether the first sound signal and the second sound signal satisfy a similarity determination condition includes:
acquiring a first frequency response curve corresponding to the first sound signal;
acquiring a second frequency response curve corresponding to the second sound signal;
and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
2. The method of claim 1, wherein the determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition comprises:
subtracting the second frequency response curve from the first frequency response curve to obtain a third frequency response curve;
solving an absolute value of the third frequency response curve to obtain a fourth frequency response curve;
and judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition or not based on the fourth frequency response curve.
3. The method of claim 2, wherein said determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition based on the fourth frequency response curve comprises:
adding the response values of all frequency points in the fourth frequency response curve to obtain an accumulated value of the frequency points;
judging whether the accumulated value of the frequency points is larger than a first similarity judgment threshold value in the similarity judgment condition;
if the frequency point accumulated value is larger than the first similarity determination threshold value, determining that the first frequency response curve and the second frequency response curve do not meet the similarity determination condition;
and if the frequency point accumulated value is less than or equal to the first similarity determination threshold value, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition.
4. The method of claim 2, wherein said determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition based on the fourth frequency response curve comprises:
determining the maximum response value as a response value to be judged in the fourth frequency response curve;
judging whether the response value to be judged is larger than a second similarity judgment threshold value in the similarity judgment condition;
if the response value to be determined is larger than the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve do not meet the similarity determination condition;
and if the response value to be determined is less than or equal to the second similarity determination threshold, determining that the first frequency response curve and the second frequency response curve meet the similarity determination condition.
5. The method of claim 1, wherein the determining whether the first frequency response curve and the second frequency response curve satisfy the similarity determination condition comprises:
calculating the similarity value of the first frequency response curve and the second frequency response curve;
judging whether the similarity value is between a third similarity judgment threshold value and a complete similarity value in the similarity judgment condition;
if not, judging that the first frequency response curve and the second frequency response curve do not meet the similarity judgment condition;
if so, judging that the first frequency response curve and the second frequency response curve meet the similarity judgment condition;
and the complete similarity value is a similarity value obtained by calculating when the first frequency response curve is the same as the second frequency response curve.
6. The method according to any one of claims 1 to 5, wherein before determining whether the first sound signal and the second sound signal satisfy the similarity determination condition, the method further comprises:
determining a similarity determination threshold in the similarity determination condition based on a system of devices to which the first digital microphone and the second digital microphone belong.
7. A digital microphone noise reduction system, comprising:
the first acquisition module is used for acquiring a first sound signal acquired by a first digital microphone;
the second acquisition module is used for acquiring a second sound signal acquired by a second digital microphone;
the first judging module is used for judging whether the first sound signal and the second sound signal meet a similarity judging condition or not; if the first sound signal and the second sound signal meet the similarity judgment condition, judging that one digital microphone in the first digital microphone and the second digital microphone has a fault, and performing noise reduction processing by adopting a single noise reduction algorithm; if the first sound signal and the second sound signal do not meet the similarity judgment condition, judging that the first digital microphone and the second digital microphone are normal, and performing noise reduction processing by adopting a double noise reduction algorithm;
wherein, the first judging module comprises:
the first obtaining submodule is used for obtaining a first frequency response curve corresponding to the first sound signal;
the second obtaining submodule is used for obtaining a second frequency response curve corresponding to the second sound signal;
and the first judgment submodule is used for judging whether the first frequency response curve and the second frequency response curve meet the similarity judgment condition.
8. A digital microphone noise reduction apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the digital microphone noise reduction method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the digital microphone noise reduction method according to any one of claims 1 to 6.
CN201911192929.8A 2019-11-28 2019-11-28 Method, system and equipment for reducing noise of digital microphone and computer storage medium Active CN110853665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911192929.8A CN110853665B (en) 2019-11-28 2019-11-28 Method, system and equipment for reducing noise of digital microphone and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911192929.8A CN110853665B (en) 2019-11-28 2019-11-28 Method, system and equipment for reducing noise of digital microphone and computer storage medium

Publications (2)

Publication Number Publication Date
CN110853665A CN110853665A (en) 2020-02-28
CN110853665B true CN110853665B (en) 2022-04-26

Family

ID=69606150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911192929.8A Active CN110853665B (en) 2019-11-28 2019-11-28 Method, system and equipment for reducing noise of digital microphone and computer storage medium

Country Status (1)

Country Link
CN (1) CN110853665B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8081772B2 (en) * 2008-11-20 2011-12-20 Gentex Corporation Vehicular microphone assembly using fractional power phase normalization
CN102300140B (en) * 2011-08-10 2013-12-18 歌尔声学股份有限公司 Speech enhancing method and device of communication earphone and noise reduction communication earphone
CN103873625B (en) * 2014-03-31 2015-11-25 努比亚技术有限公司 A kind of enhancing receives the method for speech loudness, device and mobile terminal
CN108401218B (en) * 2018-03-01 2020-10-30 会听声学科技(北京)有限公司 Fault diagnosis method for active noise reduction earphone
CN108540887B (en) * 2018-05-21 2019-12-20 歌尔股份有限公司 Head-wearing noise reduction earphone and noise reduction processing method
CN109327757B (en) * 2018-09-30 2020-10-02 歌尔科技有限公司 Dual-microphone noise reduction earphone and sound processing method and device thereof

Also Published As

Publication number Publication date
CN110853665A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
JP2019091005A (en) Multi apparatus interactive method, device, apparatus and computer readable medium
EP3084756B1 (en) Systems and methods for feedback detection
CN108510982B (en) Audio event detection method and device and computer readable storage medium
CN111800687A (en) Active noise reduction method and device, electronic equipment and storage medium
CN109285554B (en) Echo cancellation method, server, terminal and system
CN107708048B (en) Howling detection method and device, storage medium and electronic device
CN109688498B (en) Volume adjusting method, earphone and storage medium
CN110809214B (en) Audio playing method, audio playing device and terminal equipment
CN109756818B (en) Dual-microphone noise reduction method and device, storage medium and electronic equipment
WO2023178869A1 (en) Earbud wearing detection method, earbud and storage medium
US9680999B2 (en) Apparatus and method for removing acoustic echo in teleconference system
TWI648732B (en) Method for synchronously accessing audio data and audio playback system using the same
WO2020020247A1 (en) Signal processing method and device, and computer storage medium
CN111028855A (en) Echo suppression method, device, equipment and storage medium
EP3820162A1 (en) Speech data processing method and related product
CN110853665B (en) Method, system and equipment for reducing noise of digital microphone and computer storage medium
WO2016054180A1 (en) Combined active noise cancellation and noise compensation in headphone
CN112289336A (en) Audio signal processing method and device
CN108605191A (en) abnormal sound detection method and device
US10186279B2 (en) Device for detecting, monitoring, and cancelling ghost echoes in an audio signal
CN111083250A (en) Mobile terminal and noise reduction method thereof
CN115835094A (en) Audio signal processing method, system, device, product and medium
CN113766385B (en) Earphone noise reduction method and device
CN110399114B (en) Method, device and terminal equipment for controlling robot to perform video monitoring
CN111615122B (en) Communication method, device and terminal for unmanned ship formation

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